mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Make Optional.Interface repeatable (#4138)
This commit is contained in:
1 parent
cc25a58760
commit
df6b628140
1 file changed
+2
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user