Package | Description |
---|---|
org.cojen.classfile | |
org.cojen.classfile.attribute | |
org.cojen.classfile.constant |
Modifier and Type | Method and Description |
---|---|
ConstantInfo |
ConstantPool.addConstant(ConstantInfo constant)
Will only insert into the pool if the constant is not already in the
pool.
|
ConstantInfo |
ConstantPool.getConstant(int index)
Returns a constant from the pool by index, or null if not found.
|
ConstantInfo |
FieldInfo.getConstantValue()
Returns the constant value for this field or null if no constant set.
|
Modifier and Type | Method and Description |
---|---|
Set<ConstantInfo> |
ConstantPool.getAllConstants()
Returns all the constants in the pool, in no particular order.
|
Modifier and Type | Method and Description |
---|---|
ConstantInfo |
ConstantPool.addConstant(ConstantInfo constant)
Will only insert into the pool if the constant is not already in the
pool.
|
Modifier and Type | Method and Description |
---|---|
ConstantInfo |
ConstantValueAttr.getConstant() |
Constructor and Description |
---|
ConstantValueAttr(ConstantPool cp,
ConstantInfo constant) |
ConstantValueAttr(ConstantPool cp,
String name,
ConstantInfo constant) |
Modifier and Type | Class and Description |
---|---|
class |
ConstantClassInfo
This class corresponds to the CONSTANT_Class_info structure as defined in
The Java Virtual Machine Specification.
|
class |
ConstantDoubleInfo
This class corresponds to the CONSTANT_Double_info structure as defined in
The Java Virtual Machine Specification.
|
class |
ConstantFieldInfo
This class corresponds to the CONSTANT_Fieldref_info structure as defined in
The Java Virtual Machine Specification.
|
class |
ConstantFloatInfo
This class corresponds to the CONSTANT_Float_info structure as defined in
The Java Virtual Machine Specification.
|
class |
ConstantIntegerInfo
This class corresponds to the CONSTANT_Integer_info structure as defined in
The Java Virtual Machine Specification.
|
class |
ConstantInterfaceMethodInfo
This class corresponds to the CONSTANT_InterfaceMethodRef_info structure as
defined in The Java Virtual Machine Specification.
|
class |
ConstantLongInfo
This class corresponds to the CONSTANT_Long_info structure as defined in
The Java Virtual Machine Specification.
|
class |
ConstantMethodInfo
This class corresponds to the CONSTANT_Methodref_info structure as defined
in The Java Virtual Machine Specification.
|
class |
ConstantNameAndTypeInfo
This class corresponds to the CONSTANT_NameAndType_info structure as defined
in The Java Virtual Machine Specification.
|
class |
ConstantStringInfo
This class corresponds to the CONSTANT_String_info structure as defined in
The Java Virtual Machine Specification.
|
class |
ConstantUTFInfo
This class corresponds to the CONSTANT_Utf8_info structure as defined in
The Java Virtual Machine Specification.
|
Copyright © 2004-2015 Cojen. All Rights Reserved.