Make Optional.Interface repeatable (#4138)

This commit is contained in:
Thanh-Phuong 2017-07-20 17:36:05 -04:00 committed by LexManos
parent cc25a58760
commit df6b628140

View file

@ -20,6 +20,7 @@
package net.minecraftforge.fml.common;
import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@ -56,6 +57,7 @@ public final class Optional {
* @author cpw
*
*/
@Repeatable(InterfaceList.class)
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Interface {