Enum Class IInsnListEx.SpecialNodeType
java.lang.Object
java.lang.Enum<IInsnListEx.SpecialNodeType>
org.spongepowered.asm.mixin.injection.code.IInsnListEx.SpecialNodeType
- All Implemented Interfaces:
Serializable,Comparable<IInsnListEx.SpecialNodeType>,Constable
- Enclosing interface:
IInsnListEx
Type of special nodes supported by
IInsnListEx.getSpecialNode(org.spongepowered.asm.mixin.injection.code.IInsnListEx.SpecialNodeType)-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe location after field initialisers but before the first constructor body instruction, requires line numbers to be present in the target classThe delegate constructor call in a constructorThe location for injected initialisers in a constructor -
Method Summary
Modifier and TypeMethodDescriptionstatic IInsnListEx.SpecialNodeTypeReturns the enum constant of this class with the specified name.static IInsnListEx.SpecialNodeType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DELEGATE_CTOR
The delegate constructor call in a constructor -
INITIALISER_INJECTION_POINT
The location for injected initialisers in a constructor -
CTOR_BODY
The location after field initialisers but before the first constructor body instruction, requires line numbers to be present in the target class
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-