public class FlagDefinition extends AbstractConstantDefinition<FlagDefinition>
descriptor, name, owner, value| Constructor and Description |
|---|
FlagDefinition(java.lang.String owner,
java.lang.String name)
Constructs an instance of FlagDefinition that will
have its value and descriptor lazily resolved.
|
FlagDefinition(java.lang.String owner,
java.lang.String name,
org.objectweb.asm.Type descriptor,
java.lang.String valueString)
Constructs an instance of FlagDefinition with the
specified value and descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Number |
getValue() |
protected java.lang.Number |
parseValue(java.lang.String valueString) |
java.lang.String |
toString() |
getDescriptor, getDescriptorString, getName, getOwnerpublic FlagDefinition(java.lang.String owner,
java.lang.String name)
owner - the internal name of the class that owns
the represented flag.name - the name of the represented flag.public FlagDefinition(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 flag.name - the name of the represented flag.descriptor - the descriptor of the represented flag.valueString - the value of the the represented flag, as a String.protected java.lang.Number parseValue(java.lang.String valueString)
parseValue in class AbstractConstantDefinition<FlagDefinition>public java.lang.Number getValue()
getValue in class AbstractConstantDefinition<FlagDefinition>public java.lang.String toString()
toString in class java.lang.Object