@Deprecated public final class ConstantDynamic extends Object
| 构造器和说明 |
|---|
ConstantDynamic(String name,
String descriptor,
Handle bootstrapMethod,
Object... bootstrapMethodArguments)
已过时。
Constructs a new
ConstantDynamic. |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object object)
已过时。
|
Handle |
getBootstrapMethod()
已过时。
Returns the bootstrap method used to compute the value of this constant.
|
Object[] |
getBootstrapMethodArguments()
已过时。
Returns the arguments to pass to the bootstrap method, in order to compute the value of this
constant.
|
String |
getDescriptor()
已过时。
Returns the type of this constant.
|
String |
getName()
已过时。
Returns the name of this constant.
|
int |
hashCode()
已过时。
|
String |
toString()
已过时。
|
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 © 2022. All rights reserved.