public static enum MemberSubstitution.Replacement.Binding.Unresolved extends Enum<MemberSubstitution.Replacement.Binding.Unresolved> implements MemberSubstitution.Replacement.Binding
MemberSubstitution.Replacement.Binding.Resolved, MemberSubstitution.Replacement.Binding.Unresolved| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBound()
Returns
true if this binding is resolved. |
StackManipulation |
make(TypeList.Generic parameters,
TypeDescription.Generic result,
int freeOffset)
Creates a stack manipulation that represents the substitution.
|
static MemberSubstitution.Replacement.Binding.Unresolved |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MemberSubstitution.Replacement.Binding.Unresolved[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MemberSubstitution.Replacement.Binding.Unresolved INSTANCE
public static MemberSubstitution.Replacement.Binding.Unresolved[] values()
for (MemberSubstitution.Replacement.Binding.Unresolved c : MemberSubstitution.Replacement.Binding.Unresolved.values()) System.out.println(c);
public static MemberSubstitution.Replacement.Binding.Unresolved 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 boolean isBound()
true if this binding is resolved.isBound in interface MemberSubstitution.Replacement.Bindingtrue if this binding is resolved.public StackManipulation make(TypeList.Generic parameters, TypeDescription.Generic result, int freeOffset)
make in interface MemberSubstitution.Replacement.Bindingparameters - The parameters that are accessible to the substitution target.result - The result that is expected from the substitution target or void if none is expected.freeOffset - The first offset that can be used for storing local variables.Copyright © 2014–2019. All rights reserved.