@Deprecated
public final class ConstantDynamic
extends java.lang.Object
| Constructor | Description |
|---|---|
ConstantDynamic(java.lang.String name,
java.lang.String descriptor,
Handle bootstrapMethod,
java.lang.Object... bootstrapMethodArguments) |
Deprecated.
Constructs a new
ConstantDynamic. |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object object) |
Deprecated.
|
Handle |
getBootstrapMethod() |
Deprecated.
Returns the bootstrap method used to compute the value of this constant.
|
java.lang.Object[] |
getBootstrapMethodArguments() |
Deprecated.
Returns the arguments to pass to the bootstrap method, in order to compute the value of this
constant.
|
java.lang.String |
getDescriptor() |
Deprecated.
Returns the type of this constant.
|
java.lang.String |
getName() |
Deprecated.
Returns the name of this constant.
|
int |
hashCode() |
Deprecated.
|
java.lang.String |
toString() |
Deprecated.
|
public ConstantDynamic(java.lang.String name,
java.lang.String descriptor,
Handle bootstrapMethod,
java.lang.Object... bootstrapMethodArguments)
ConstantDynamic.name - the constant name (can be arbitrary).descriptor - the constant type (must be a field descriptor).bootstrapMethod - the bootstrap method to use to compute the constant value at runtime.bootstrapMethodArguments - the arguments to pass to the bootstrap method, in order to
compute the constant value at runtime.public java.lang.String getName()
public java.lang.String getDescriptor()
public Handle getBootstrapMethod()
public java.lang.Object[] getBootstrapMethodArguments()
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object