java.lang.classfile.constantpool
26 classes of the module java.base.
Load them with:
using {
"java.lang.classfile.constantpool"
}
AnnotationConstantValueEntry#
interface · java.lang.classfile.constantpool.AnnotationConstantValueEntry
Extends: PoolEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
constantPool | constantPool() | ConstantPool constantPool() |
constantValue | constantValue() | ConstantDesc constantValue() |
index | index() | int index() |
tag | tag() | int tag() |
width | width() | int width() |
ClassEntry#
interface · java.lang.classfile.constantpool.ClassEntry
Extends: LoadableConstantEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
asInternalName | asInternalName() | String asInternalName() |
asSymbol | asSymbol() | ClassDesc asSymbol() |
constantPool | constantPool() | ConstantPool constantPool() |
constantValue | constantValue() | ConstantDesc constantValue() |
index | index() | int index() |
matches | matches(desc) | boolean matches(ClassDesc desc) |
name | name() | Utf8Entry name() |
tag | tag() | int tag() |
typeKind | typeKind() | TypeKind typeKind() |
width | width() | int width() |
ConstantDynamicEntry#
interface · java.lang.classfile.constantpool.ConstantDynamicEntry
Extends: DynamicConstantPoolEntry, LoadableConstantEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
asSymbol | asSymbol() | DynamicConstantDesc asSymbol() |
bootstrap | bootstrap() | BootstrapMethodEntry bootstrap() |
bootstrapMethodIndex | bootstrapMethodIndex() | int bootstrapMethodIndex() |
constantPool | constantPool() | ConstantPool constantPool() |
constantValue | constantValue() | ConstantDesc constantValue() |
index | index() | int index() |
name | name() | Utf8Entry name() |
nameAndType | nameAndType() | NameAndTypeEntry nameAndType() |
tag | tag() | int tag() |
type | type() | Utf8Entry type() |
typeKind | typeKind() | TypeKind typeKind() |
typeSymbol | typeSymbol() | ClassDesc typeSymbol() |
width | width() | int width() |
ConstantPool#
interface · java.lang.classfile.constantpool.ConstantPool
Extends: Iterable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@forEach | @forEach(action) | void forEach(Consumer action) |
bootstrapMethodCount | bootstrapMethodCount() | int bootstrapMethodCount() |
bootstrapMethodEntry | bootstrapMethodEntry(index) | BootstrapMethodEntry bootstrapMethodEntry(int index) |
entryByIndex | entryByIndex(index)entryByIndex([index,cls])entryByIndex([ :index = v, :cls = v ]) | PoolEntry entryByIndex(int index)PoolEntry entryByIndex(int index, Class cls) |
iterator | iterator() | Iterator iterator() |
size | size() | int size() |
spliterator | spliterator() | Spliterator spliterator() |
ConstantPoolBuilder#
interface · java.lang.classfile.constantpool.ConstantPoolBuilder
Extends: ConstantPool
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@forEach | @forEach(action) | void forEach(Consumer action) |
@of | @of(classModel) | static ConstantPoolBuilder of(ClassModel classModel) |
bootstrapMethodCount | bootstrapMethodCount() | int bootstrapMethodCount() |
bootstrapMethodEntry | bootstrapMethodEntry(index) | BootstrapMethodEntry bootstrapMethodEntry(int index) |
bsmEntry | bsmEntry(methodReference,arguments) | BootstrapMethodEntry bsmEntry(DirectMethodHandleDesc methodReference, List arguments)BootstrapMethodEntry bsmEntry(MethodHandleEntry methodReference, List arguments) |
canWriteDirect | canWriteDirect(constantPool) | boolean canWriteDirect(ConstantPool constantPool) |
classEntry | classEntry(ne) | ClassEntry classEntry(Utf8Entry ne)ClassEntry classEntry(ClassDesc classDesc) |
constantDynamicEntry | constantDynamicEntry(dcd)constantDynamicEntry([bootstrapMethodEntry,nameAndType])constantDynamicEntry([ :bootstrapMethodEntry = v, :nameAndType = v ]) | ConstantDynamicEntry constantDynamicEntry(DynamicConstantDesc dcd)ConstantDynamicEntry constantDynamicEntry(BootstrapMethodEntry bootstrapMethodEntry, NameAndTypeEntry nameAndType) |
constantValueEntry | constantValueEntry(c) | ConstantValueEntry constantValueEntry(ConstantDesc c) |
doubleEntry | doubleEntry(value) | DoubleEntry doubleEntry(double value) |
entryByIndex | entryByIndex(index)entryByIndex([index,cls])entryByIndex([ :index = v, :cls = v ]) | PoolEntry entryByIndex(int index)PoolEntry entryByIndex(int index, Class cls) |
fieldRefEntry | fieldRefEntry([owner,nameAndType])fieldRefEntry([ :owner = v, :nameAndType = v ])fieldRefEntry([owner,name,type])fieldRefEntry([ :owner = v, :name = v, :type = v ]) | FieldRefEntry fieldRefEntry(ClassEntry owner, NameAndTypeEntry nameAndType)FieldRefEntry fieldRefEntry(ClassDesc owner, String name, ClassDesc type) |
floatEntry | floatEntry(value) | FloatEntry floatEntry(float value) |
intEntry | intEntry(value) | IntegerEntry intEntry(int value) |
interfaceMethodRefEntry | interfaceMethodRefEntry([owner,nameAndType])interfaceMethodRefEntry([ :owner = v, :nameAndType = v ])interfaceMethodRefEntry([owner,name,type])interfaceMethodRefEntry([ :owner = v, :name = v, :type = v ]) | InterfaceMethodRefEntry interfaceMethodRefEntry(ClassEntry owner, NameAndTypeEntry nameAndType)InterfaceMethodRefEntry interfaceMethodRefEntry(ClassDesc owner, String name, MethodTypeDesc type) |
invokeDynamicEntry | invokeDynamicEntry(dcsd)invokeDynamicEntry([bootstrapMethodEntry,nameAndType])invokeDynamicEntry([ :bootstrapMethodEntry = v, :nameAndType = v ]) | InvokeDynamicEntry invokeDynamicEntry(DynamicCallSiteDesc dcsd)InvokeDynamicEntry invokeDynamicEntry(BootstrapMethodEntry bootstrapMethodEntry, NameAndTypeEntry nameAndType) |
iterator | iterator() | Iterator iterator() |
loadableConstantEntry | loadableConstantEntry(c) | LoadableConstantEntry loadableConstantEntry(ConstantDesc c) |
longEntry | longEntry(value) | LongEntry longEntry(long value) |
methodHandleEntry | methodHandleEntry(descriptor)methodHandleEntry([refKind,reference])methodHandleEntry([ :refKind = v, :reference = v ]) | MethodHandleEntry methodHandleEntry(DirectMethodHandleDesc descriptor)MethodHandleEntry methodHandleEntry(int refKind, MemberRefEntry reference) |
methodRefEntry | methodRefEntry([owner,nameAndType])methodRefEntry([ :owner = v, :nameAndType = v ])methodRefEntry([owner,name,type])methodRefEntry([ :owner = v, :name = v, :type = v ]) | MethodRefEntry methodRefEntry(ClassEntry owner, NameAndTypeEntry nameAndType)MethodRefEntry methodRefEntry(ClassDesc owner, String name, MethodTypeDesc type) |
methodTypeEntry | methodTypeEntry(descriptor) | MethodTypeEntry methodTypeEntry(MethodTypeDesc descriptor)MethodTypeEntry methodTypeEntry(Utf8Entry descriptor) |
moduleEntry | moduleEntry(moduleName) | ModuleEntry moduleEntry(Utf8Entry moduleName)ModuleEntry moduleEntry(ModuleDesc moduleDesc) |
nameAndTypeEntry | nameAndTypeEntry(name,type) | NameAndTypeEntry nameAndTypeEntry(String name, MethodTypeDesc type)NameAndTypeEntry nameAndTypeEntry(String name, ClassDesc type)NameAndTypeEntry nameAndTypeEntry(Utf8Entry nameEntry, Utf8Entry typeEntry) |
of | of() | static ConstantPoolBuilder of() |
packageEntry | packageEntry(packageDesc) | PackageEntry packageEntry(PackageDesc packageDesc)PackageEntry packageEntry(Utf8Entry nameEntry) |
size | size() | int size() |
spliterator | spliterator() | Spliterator spliterator() |
stringEntry | stringEntry(utf8) | StringEntry stringEntry(Utf8Entry utf8)StringEntry stringEntry(String value) |
utf8Entry | utf8Entry(desc) | Utf8Entry utf8Entry(ClassDesc desc)Utf8Entry utf8Entry(MethodTypeDesc desc)Utf8Entry utf8Entry(String s) |
ConstantPoolException#
class · extends IllegalArgumentException · java.lang.classfile.constantpool.ConstantPoolException
Constructors
new ConstantPoolException() |
new ConstantPoolException(Throwable cause) |
new ConstantPoolException(String message) |
new ConstantPoolException(String message, Throwable cause) |
Ring: new ConstantPoolException(args) uses the constructor with the fewest parameters (at least one); new ConstantPoolException makes the object with the constructor without parameters; the others: (new ConstantPoolException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of IllegalArgumentException are inherited.
ConstantValueEntry#
interface · java.lang.classfile.constantpool.ConstantValueEntry
Extends: LoadableConstantEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
constantPool | constantPool() | ConstantPool constantPool() |
constantValue | constantValue() | ConstantDesc constantValue() |
index | index() | int index() |
tag | tag() | int tag() |
typeKind | typeKind() | TypeKind typeKind() |
width | width() | int width() |
DoubleEntry#
interface · java.lang.classfile.constantpool.DoubleEntry
Extends: AnnotationConstantValueEntry, ConstantValueEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
constantPool | constantPool() | ConstantPool constantPool() |
constantValue | constantValue() | ConstantDesc constantValue()ConstantDesc constantValue() |
doubleValue | doubleValue() | double doubleValue() |
index | index() | int index() |
tag | tag() | int tag() |
typeKind | typeKind() | TypeKind typeKind() |
width | width() | int width() |
DynamicConstantPoolEntry#
interface · java.lang.classfile.constantpool.DynamicConstantPoolEntry
Extends: PoolEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
bootstrap | bootstrap() | BootstrapMethodEntry bootstrap() |
bootstrapMethodIndex | bootstrapMethodIndex() | int bootstrapMethodIndex() |
constantPool | constantPool() | ConstantPool constantPool() |
index | index() | int index() |
name | name() | Utf8Entry name() |
nameAndType | nameAndType() | NameAndTypeEntry nameAndType() |
tag | tag() | int tag() |
type | type() | Utf8Entry type() |
width | width() | int width() |
FieldRefEntry#
interface · java.lang.classfile.constantpool.FieldRefEntry
Extends: MemberRefEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
constantPool | constantPool() | ConstantPool constantPool() |
index | index() | int index() |
name | name() | Utf8Entry name() |
nameAndType | nameAndType() | NameAndTypeEntry nameAndType() |
owner | owner() | ClassEntry owner() |
tag | tag() | int tag() |
type | type() | Utf8Entry type() |
typeSymbol | typeSymbol() | ClassDesc typeSymbol() |
width | width() | int width() |
FloatEntry#
interface · java.lang.classfile.constantpool.FloatEntry
Extends: AnnotationConstantValueEntry, ConstantValueEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
constantPool | constantPool() | ConstantPool constantPool() |
constantValue | constantValue() | ConstantDesc constantValue()ConstantDesc constantValue() |
floatValue | floatValue() | float floatValue() |
index | index() | int index() |
tag | tag() | int tag() |
typeKind | typeKind() | TypeKind typeKind() |
width | width() | int width() |
IntegerEntry#
interface · java.lang.classfile.constantpool.IntegerEntry
Extends: AnnotationConstantValueEntry, ConstantValueEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
constantPool | constantPool() | ConstantPool constantPool() |
constantValue | constantValue() | ConstantDesc constantValue()ConstantDesc constantValue() |
index | index() | int index() |
intValue | intValue() | int intValue() |
tag | tag() | int tag() |
typeKind | typeKind() | TypeKind typeKind() |
width | width() | int width() |
InterfaceMethodRefEntry#
interface · java.lang.classfile.constantpool.InterfaceMethodRefEntry
Extends: MemberRefEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
constantPool | constantPool() | ConstantPool constantPool() |
index | index() | int index() |
name | name() | Utf8Entry name() |
nameAndType | nameAndType() | NameAndTypeEntry nameAndType() |
owner | owner() | ClassEntry owner() |
tag | tag() | int tag() |
type | type() | Utf8Entry type() |
typeSymbol | typeSymbol() | MethodTypeDesc typeSymbol() |
width | width() | int width() |
InvokeDynamicEntry#
interface · java.lang.classfile.constantpool.InvokeDynamicEntry
Extends: DynamicConstantPoolEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
asSymbol | asSymbol() | DynamicCallSiteDesc asSymbol() |
bootstrap | bootstrap() | BootstrapMethodEntry bootstrap() |
bootstrapMethodIndex | bootstrapMethodIndex() | int bootstrapMethodIndex() |
constantPool | constantPool() | ConstantPool constantPool() |
index | index() | int index() |
name | name() | Utf8Entry name() |
nameAndType | nameAndType() | NameAndTypeEntry nameAndType() |
tag | tag() | int tag() |
type | type() | Utf8Entry type() |
typeSymbol | typeSymbol() | MethodTypeDesc typeSymbol() |
width | width() | int width() |
LoadableConstantEntry#
interface · java.lang.classfile.constantpool.LoadableConstantEntry
Extends: PoolEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
constantPool | constantPool() | ConstantPool constantPool() |
constantValue | constantValue() | ConstantDesc constantValue() |
index | index() | int index() |
tag | tag() | int tag() |
typeKind | typeKind() | TypeKind typeKind() |
width | width() | int width() |
LongEntry#
interface · java.lang.classfile.constantpool.LongEntry
Extends: AnnotationConstantValueEntry, ConstantValueEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
constantPool | constantPool() | ConstantPool constantPool() |
constantValue | constantValue() | ConstantDesc constantValue()ConstantDesc constantValue() |
index | index() | int index() |
longValue | longValue() | long longValue() |
tag | tag() | int tag() |
typeKind | typeKind() | TypeKind typeKind() |
width | width() | int width() |
MemberRefEntry#
interface · java.lang.classfile.constantpool.MemberRefEntry
Extends: PoolEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
constantPool | constantPool() | ConstantPool constantPool() |
index | index() | int index() |
name | name() | Utf8Entry name() |
nameAndType | nameAndType() | NameAndTypeEntry nameAndType() |
owner | owner() | ClassEntry owner() |
tag | tag() | int tag() |
type | type() | Utf8Entry type() |
width | width() | int width() |
MethodHandleEntry#
interface · java.lang.classfile.constantpool.MethodHandleEntry
Extends: LoadableConstantEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
asSymbol | asSymbol() | DirectMethodHandleDesc asSymbol() |
constantPool | constantPool() | ConstantPool constantPool() |
constantValue | constantValue() | ConstantDesc constantValue() |
index | index() | int index() |
kind | kind() | int kind() |
reference | reference() | MemberRefEntry reference() |
tag | tag() | int tag() |
typeKind | typeKind() | TypeKind typeKind() |
width | width() | int width() |
MethodRefEntry#
interface · java.lang.classfile.constantpool.MethodRefEntry
Extends: MemberRefEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
constantPool | constantPool() | ConstantPool constantPool() |
index | index() | int index() |
name | name() | Utf8Entry name() |
nameAndType | nameAndType() | NameAndTypeEntry nameAndType() |
owner | owner() | ClassEntry owner() |
tag | tag() | int tag() |
type | type() | Utf8Entry type() |
typeSymbol | typeSymbol() | MethodTypeDesc typeSymbol() |
width | width() | int width() |
MethodTypeEntry#
interface · java.lang.classfile.constantpool.MethodTypeEntry
Extends: LoadableConstantEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
asSymbol | asSymbol() | MethodTypeDesc asSymbol() |
constantPool | constantPool() | ConstantPool constantPool() |
constantValue | constantValue() | ConstantDesc constantValue() |
descriptor | descriptor() | Utf8Entry descriptor() |
index | index() | int index() |
matches | matches(desc) | boolean matches(MethodTypeDesc desc) |
tag | tag() | int tag() |
typeKind | typeKind() | TypeKind typeKind() |
width | width() | int width() |
ModuleEntry#
interface · java.lang.classfile.constantpool.ModuleEntry
Extends: PoolEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
asSymbol | asSymbol() | ModuleDesc asSymbol() |
constantPool | constantPool() | ConstantPool constantPool() |
index | index() | int index() |
matches | matches(desc) | boolean matches(ModuleDesc desc) |
name | name() | Utf8Entry name() |
tag | tag() | int tag() |
width | width() | int width() |
NameAndTypeEntry#
interface · java.lang.classfile.constantpool.NameAndTypeEntry
Extends: PoolEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
constantPool | constantPool() | ConstantPool constantPool() |
index | index() | int index() |
name | name() | Utf8Entry name() |
tag | tag() | int tag() |
type | type() | Utf8Entry type() |
width | width() | int width() |
PackageEntry#
interface · java.lang.classfile.constantpool.PackageEntry
Extends: PoolEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
asSymbol | asSymbol() | PackageDesc asSymbol() |
constantPool | constantPool() | ConstantPool constantPool() |
index | index() | int index() |
matches | matches(desc) | boolean matches(PackageDesc desc) |
name | name() | Utf8Entry name() |
tag | tag() | int tag() |
width | width() | int width() |
PoolEntry#
interface · java.lang.classfile.constantpool.PoolEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
constantPool | constantPool() | ConstantPool constantPool() |
index | index() | int index() |
tag | tag() | int tag() |
width | width() | int width() |
StringEntry#
interface · java.lang.classfile.constantpool.StringEntry
Extends: ConstantValueEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
constantPool | constantPool() | ConstantPool constantPool() |
constantValue | constantValue() | ConstantDesc constantValue() |
equalsString | equalsString(value) | boolean equalsString(String value) |
index | index() | int index() |
stringValue | stringValue() | String stringValue() |
tag | tag() | int tag() |
typeKind | typeKind() | TypeKind typeKind() |
utf8 | utf8() | Utf8Entry utf8() |
width | width() | int width() |
Utf8Entry#
interface · java.lang.classfile.constantpool.Utf8Entry
Extends: CharSequence, AnnotationConstantValueEntry
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TAG_CLASS | int | constant · static | o.TAG_CLASS |
TAG_DOUBLE | int | constant · static | o.TAG_DOUBLE |
TAG_DYNAMIC | int | constant · static | o.TAG_DYNAMIC |
TAG_FIELDREF | int | constant · static | o.TAG_FIELDREF |
TAG_FLOAT | int | constant · static | o.TAG_FLOAT |
TAG_INTEGER | int | constant · static | o.TAG_INTEGER |
TAG_INTERFACE_METHODREF | int | constant · static | o.TAG_INTERFACE_METHODREF |
TAG_INVOKE_DYNAMIC | int | constant · static | o.TAG_INVOKE_DYNAMIC |
TAG_LONG | int | constant · static | o.TAG_LONG |
TAG_METHOD_HANDLE | int | constant · static | o.TAG_METHOD_HANDLE |
TAG_METHODREF | int | constant · static | o.TAG_METHODREF |
TAG_METHOD_TYPE | int | constant · static | o.TAG_METHOD_TYPE |
TAG_MODULE | int | constant · static | o.TAG_MODULE |
TAG_NAME_AND_TYPE | int | constant · static | o.TAG_NAME_AND_TYPE |
TAG_PACKAGE | int | constant · static | o.TAG_PACKAGE |
TAG_STRING | int | constant · static | o.TAG_STRING |
TAG_UTF8 | int | constant · static | o.TAG_UTF8 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
charAt | charAt(index) | char charAt(int index) |
chars | chars() | IntStream chars() |
codePoints | codePoints() | IntStream codePoints() |
constantPool | constantPool() | ConstantPool constantPool() |
constantValue | constantValue() | ConstantDesc constantValue() |
equalsString | equalsString(s) | boolean equalsString(String s) |
getChars | getChars(srcBegin,srcEnd,dst,dstBegin) | void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) |
index | index() | int index() |
isEmpty | isEmpty() | boolean isEmpty() |
isFieldType | isFieldType(desc) | boolean isFieldType(ClassDesc desc) |
isMethodType | isMethodType(desc) | boolean isMethodType(MethodTypeDesc desc) |
length | length() | int length() |
stringValue | stringValue() | String stringValue() |
subSequence | subSequence(start,end) | CharSequence subSequence(int start, int end) |
tag | tag() | int tag() |
width | width() | int width() |