public class SimpleConstantDefinition extends AbstractConstantDefinition<SimpleConstantDefinition>
AbstractConstantDefinition.ResolutionExceptiondescriptor, name, owner, value| Constructor and Description |
|---|
SimpleConstantDefinition(java.lang.String owner,
java.lang.String name)
Constructs an instance of ConstantDefinition that will
have its value and descriptor lazily resolved.
|
SimpleConstantDefinition(java.lang.String owner,
java.lang.String name,
org.objectweb.asm.Type descriptor,
java.lang.String valueString)
Constructs an instance of ConstantDefinition with the
specified value and descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
getDescriptor, getDescriptorString, getName, getOwner, getValue, parseValue, resolve, setValuepublic SimpleConstantDefinition(java.lang.String owner,
java.lang.String name)
owner - the internal name of the class that owns
the represented constant.name - the name of the represented constant.public SimpleConstantDefinition(java.lang.String owner,
java.lang.String name,
org.objectweb.asm.Type descriptor,
java.lang.String valueString)
owner - the internal name of the class that owns
the represented constant.name - the name of the represented constant.descriptor - the descriptor of the represented constant.valueString - the value of the the represented constant, as a String.