public interface IExtensibleEnum
For example, an enum with the constructor MyEnum(Object foo) would
require the method:
public static MyEnum create(String name, Object foo)
{
throw new IllegalStateException("Enum not extended");
}
The method contents will be replaced with ASM at runtime. Multiple
create methods can be defined as long as each
matches a constructor.| Modifier and Type | Method and Description |
|---|---|
default void |
init()
Deprecated.
|