@Deprecated public final class ConstantDynamic extends Object
| Constructor and Description |
|---|
ConstantDynamic(String name,
String descriptor,
Handle bootstrapMethod,
Object... bootstrapMethodArguments)
Deprecated.
Constructs a new
ConstantDynamic. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
Deprecated.
|
Handle |
getBootstrapMethod()
Deprecated.
Returns the bootstrap method used to compute the value of this constant.
|
Object[] |
getBootstrapMethodArguments()
Deprecated.
Returns the arguments to pass to the bootstrap method, in order to compute the value of this
constant.
|
String |
getDescriptor()
Deprecated.
Returns the type of this constant.
|
String |
getName()
Deprecated.
Returns the name of this constant.
|
int |
hashCode()
Deprecated.
|
String |
toString()
Deprecated.
|
public ConstantDynamic(String name, String descriptor, Handle bootstrapMethod, 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 String getName()
public String getDescriptor()
public Handle getBootstrapMethod()
public Object[] getBootstrapMethodArguments()
Copyright © 2018. All rights reserved.