public static enum MethodDelegationBinder.ParameterBinding.Illegal extends Enum<MethodDelegationBinder.ParameterBinding.Illegal> implements MethodDelegationBinder.ParameterBinding<Void>
MethodDelegationBinder.ParameterBinding.Anonymous, MethodDelegationBinder.ParameterBinding.Illegal, MethodDelegationBinder.ParameterBinding.Unique<T>
StackManipulation.AbstractBase, StackManipulation.Compound, StackManipulation.Simple, StackManipulation.Size, StackManipulation.Trivial
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
StackManipulation.Size |
apply(MethodVisitor methodVisitor,
Implementation.Context implementationContext)
Applies the stack manipulation that is described by this instance.
|
Void |
getIdentificationToken()
Returns an identification token for this binding.
|
boolean |
isValid()
Determines if this stack manipulation is valid.
|
static MethodDelegationBinder.ParameterBinding.Illegal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodDelegationBinder.ParameterBinding.Illegal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MethodDelegationBinder.ParameterBinding.Illegal INSTANCE
public static MethodDelegationBinder.ParameterBinding.Illegal[] values()
for (MethodDelegationBinder.ParameterBinding.Illegal c : MethodDelegationBinder.ParameterBinding.Illegal.values()) System.out.println(c);
public static MethodDelegationBinder.ParameterBinding.Illegal valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Void getIdentificationToken()
getIdentificationToken
in interface MethodDelegationBinder.ParameterBinding<Void>
public boolean isValid()
isValid
in interface StackManipulation
false
, this manipulation cannot be applied and should throw an exception.public StackManipulation.Size apply(MethodVisitor methodVisitor, Implementation.Context implementationContext)
apply
in interface StackManipulation
methodVisitor
- The method visitor used to write the method implementation to.implementationContext
- The context of the current implementation.Copyright © 2014–2025. All rights reserved.