Package | Description |
---|---|
org.cojen.classfile | |
org.cojen.classfile.attribute | |
org.cojen.classfile.constant |
Modifier and Type | Method and Description |
---|---|
ConstantUTFInfo |
ConstantPool.addConstantUTF(String str)
Get or create a constant UTF string from the constant pool.
|
ConstantUTFInfo |
MethodInfo.getDescriptorConstant()
Returns a constant from the constant pool with this method's type
descriptor string.
|
ConstantUTFInfo |
FieldInfo.getDescriptorConstant()
Returns a constant from the constant pool with this field's type
descriptor string.
|
ConstantUTFInfo |
MethodInfo.getNameConstant()
Returns a constant from the constant pool with this method's name.
|
ConstantUTFInfo |
FieldInfo.getNameConstant()
Returns a constant from the constant pool with this field's name.
|
ConstantUTFInfo |
Attribute.getNameConstant() |
Modifier and Type | Method and Description |
---|---|
ConstantNameAndTypeInfo |
ConstantPool.addConstantNameAndType(ConstantUTFInfo nameConstant,
ConstantUTFInfo descConstant)
Get or create a constant name and type structure from the constant pool.
|
Modifier and Type | Method and Description |
---|---|
ConstantUTFInfo |
Annotation.EnumConstValue.getConstName() |
ConstantUTFInfo |
SourceFileAttr.getFileName()
Returns the source file name.
|
ConstantUTFInfo |
InnerClassesAttr.Info.getInnerClassName()
Returns null if no inner class specified or is anonymous.
|
ConstantUTFInfo |
SignatureAttr.getSignature()
Returns the signature.
|
ConstantUTFInfo |
Annotation.getTypeConstant() |
ConstantUTFInfo |
Annotation.EnumConstValue.getTypeName() |
Modifier and Type | Method and Description |
---|---|
void |
Annotation.setTypeConstant(ConstantUTFInfo type) |
Constructor and Description |
---|
Annotation.EnumConstValue(ConstantUTFInfo typeName,
ConstantUTFInfo constName) |
SignatureAttr(ConstantPool cp,
ConstantUTFInfo signature) |
SignatureAttr(ConstantPool cp,
String name,
ConstantUTFInfo signature) |
Constructor and Description |
---|
ConstantClassInfo(ConstantUTFInfo nameConstant) |
ConstantNameAndTypeInfo(ConstantUTFInfo nameConstant,
ConstantUTFInfo descConstant) |
ConstantStringInfo(ConstantUTFInfo constant) |
Copyright © 2004-2015 Cojen. All Rights Reserved.