RingJavafor Ring

java.lang.classfile

102 classes of the module java.base.

Load them with:

using {
	"java.lang.classfile"
}

All packages

AccessFlags AnnotationElement AnnotationValue AnnotationValueOfAnnotation AnnotationValueOfArray AnnotationValueOfBoolean AnnotationValueOfByte AnnotationValueOfChar AnnotationValueOfClass AnnotationValueOfConstant AnnotationValueOfDouble AnnotationValueOfEnum AnnotationValueOfFloat AnnotationValueOfInt AnnotationValueOfLong AnnotationValueOfShort AnnotationValueOfString Attribute AttributedElement AttributeMapper AttributeMapperAttributeStability Attributes BootstrapMethodEntry BufWriter ClassBuilder ClassElement ClassFile ClassfileAnnotation ClassFileAttributeMapperOption ClassFileAttributesProcessingOption ClassFileBuilder ClassFileClassHierarchyResolverOption ClassFileConstantPoolSharingOption ClassFileDeadCodeOption ClassFileDeadLabelsOption ClassFileDebugElementsOption ClassFileElement ClassFileLineNumbersOption ClassFileOption ClassFileShortJumpsOption ClassFileStackMapsOption ClassFileTransform ClassFileVersion ClassHierarchyResolver ClassHierarchyResolverClassHierarchyInfo ClassModel ClassReader ClassSignature ClassTransform CodeBuilder CodeBuilderBlockCodeBuilder CodeBuilderCatchBuilder CodeElement CodeModel CodeTransform CompoundElement CustomAttribute FieldBuilder FieldElement FieldModel FieldTransform Instruction Interfaces Label MethodBuilder MethodElement MethodModel MethodSignature MethodTransform Opcode OpcodeKind PseudoInstruction Signature SignatureArrayTypeSig SignatureBaseTypeSig SignatureClassTypeSig SignatureRefTypeSig SignatureThrowableSig SignatureTypeArg SignatureTypeArgBounded SignatureTypeArgBoundedWildcardIndicator SignatureTypeArgUnbounded SignatureTypeParam SignatureTypeVarSig Superclass TypeAnnotation TypeAnnotationCatchTarget TypeAnnotationEmptyTarget TypeAnnotationFormalParameterTarget TypeAnnotationLocalVarTarget TypeAnnotationLocalVarTargetInfo TypeAnnotationOffsetTarget TypeAnnotationSupertypeTarget TypeAnnotationTargetInfo TypeAnnotationTargetType TypeAnnotationThrowsTarget TypeAnnotationTypeArgumentTarget TypeAnnotationTypeParameterBoundTarget TypeAnnotationTypeParameterTarget TypeAnnotationTypePathComponent TypeAnnotationTypePathComponentKind TypeKind

AccessFlags#

interface · java.lang.classfile.AccessFlags

Extends: ClassElement, MethodElement, FieldElement

Methods

MethodRing callJava overloads
flagsflags()Set flags()
flagsMaskflagsMask()int flagsMask()
hashas(flag)boolean has(AccessFlag flag)
locationlocation()Location location()

AnnotationElement#

interface · java.lang.classfile.AnnotationElement

Methods

MethodRing callJava overloads
namename()Utf8Entry name()
ofof(name,value)static AnnotationElement of(String name, AnnotationValue value)
static AnnotationElement of(Utf8Entry name, AnnotationValue value)
ofAnnotationofAnnotation(name,value)static AnnotationElement ofAnnotation(String name, Annotation value)
ofArrayofArray(name,values)static AnnotationElement ofArray(String name, AnnotationValue[] values)
ofBooleanofBoolean(name,value)static AnnotationElement ofBoolean(String name, boolean value)
ofByteofByte(name,value)static AnnotationElement ofByte(String name, byte value)
ofCharofChar(name,value)static AnnotationElement ofChar(String name, char value)
ofClassofClass(name,value)static AnnotationElement ofClass(String name, ClassDesc value)
ofDoubleofDouble(name,value)static AnnotationElement ofDouble(String name, double value)
ofFloatofFloat(name,value)static AnnotationElement ofFloat(String name, float value)
ofIntofInt(name,value)static AnnotationElement ofInt(String name, int value)
ofLongofLong(name,value)static AnnotationElement ofLong(String name, long value)
ofShortofShort(name,value)static AnnotationElement ofShort(String name, short value)
ofStringofString(name,value)static AnnotationElement ofString(String name, String value)
valuevalue()AnnotationValue value()

AnnotationValue#

interface · java.lang.classfile.AnnotationValue

Fields

NameTypeAccessIn Ring
TAG_BYTEintconstant · statico.TAG_BYTE
TAG_CHARintconstant · statico.TAG_CHAR
TAG_DOUBLEintconstant · statico.TAG_DOUBLE
TAG_FLOATintconstant · statico.TAG_FLOAT
TAG_INTintconstant · statico.TAG_INT
TAG_LONGintconstant · statico.TAG_LONG
TAG_SHORTintconstant · statico.TAG_SHORT
TAG_BOOLEANintconstant · statico.TAG_BOOLEAN
TAG_STRINGintconstant · statico.TAG_STRING
TAG_ENUMintconstant · statico.TAG_ENUM
TAG_CLASSintconstant · statico.TAG_CLASS
TAG_ANNOTATIONintconstant · statico.TAG_ANNOTATION
TAG_ARRAYintconstant · statico.TAG_ARRAY

Methods

MethodRing callJava overloads
ofof(value)static AnnotationValue of(Object value)
ofAnnotationofAnnotation(value)static OfAnnotation ofAnnotation(Annotation value)
ofArrayofArray(values)static OfArray ofArray(List values)
static OfArray ofArray(AnnotationValue[] values)
ofBooleanofBoolean(value)static OfBoolean ofBoolean(IntegerEntry value)
static OfBoolean ofBoolean(boolean value)
ofByteofByte(value)static OfByte ofByte(IntegerEntry value)
static OfByte ofByte(byte value)
ofCharofChar(value)static OfChar ofChar(char value)
static OfChar ofChar(IntegerEntry value)
ofClassofClass(className)static OfClass ofClass(Utf8Entry className)
static OfClass ofClass(ClassDesc className)
ofDoubleofDouble(value)static OfDouble ofDouble(double value)
static OfDouble ofDouble(DoubleEntry value)
ofEnumofEnum(className,constantName)static OfEnum ofEnum(ClassDesc className, String constantName)
static OfEnum ofEnum(Utf8Entry className, Utf8Entry constantName)
ofFloatofFloat(value)static OfFloat ofFloat(float value)
static OfFloat ofFloat(FloatEntry value)
ofIntofInt(value)static OfInt ofInt(int value)
static OfInt ofInt(IntegerEntry value)
ofLongofLong(value)static OfLong ofLong(long value)
static OfLong ofLong(LongEntry value)
ofShortofShort(value)static OfShort ofShort(short value)
static OfShort ofShort(IntegerEntry value)
ofStringofString(value)static OfString ofString(String value)
static OfString ofString(Utf8Entry value)
tagtag()int tag()

AnnotationValueOfAnnotation#

interface · java.lang.classfile.AnnotationValue$OfAnnotation

Extends: AnnotationValue

Fields

NameTypeAccessIn Ring
TAG_BYTEintconstant · statico.TAG_BYTE
TAG_CHARintconstant · statico.TAG_CHAR
TAG_DOUBLEintconstant · statico.TAG_DOUBLE
TAG_FLOATintconstant · statico.TAG_FLOAT
TAG_INTintconstant · statico.TAG_INT
TAG_LONGintconstant · statico.TAG_LONG
TAG_SHORTintconstant · statico.TAG_SHORT
TAG_BOOLEANintconstant · statico.TAG_BOOLEAN
TAG_STRINGintconstant · statico.TAG_STRING
TAG_ENUMintconstant · statico.TAG_ENUM
TAG_CLASSintconstant · statico.TAG_CLASS
TAG_ANNOTATIONintconstant · statico.TAG_ANNOTATION
TAG_ARRAYintconstant · statico.TAG_ARRAY

Methods

MethodRing callJava overloads
annotationannotation()Annotation annotation()
tagtag()int tag()

AnnotationValueOfArray#

interface · java.lang.classfile.AnnotationValue$OfArray

Extends: AnnotationValue

Fields

NameTypeAccessIn Ring
TAG_BYTEintconstant · statico.TAG_BYTE
TAG_CHARintconstant · statico.TAG_CHAR
TAG_DOUBLEintconstant · statico.TAG_DOUBLE
TAG_FLOATintconstant · statico.TAG_FLOAT
TAG_INTintconstant · statico.TAG_INT
TAG_LONGintconstant · statico.TAG_LONG
TAG_SHORTintconstant · statico.TAG_SHORT
TAG_BOOLEANintconstant · statico.TAG_BOOLEAN
TAG_STRINGintconstant · statico.TAG_STRING
TAG_ENUMintconstant · statico.TAG_ENUM
TAG_CLASSintconstant · statico.TAG_CLASS
TAG_ANNOTATIONintconstant · statico.TAG_ANNOTATION
TAG_ARRAYintconstant · statico.TAG_ARRAY

Methods

MethodRing callJava overloads
tagtag()int tag()
valuesvalues()List values()

AnnotationValueOfBoolean#

interface · java.lang.classfile.AnnotationValue$OfBoolean

Extends: AnnotationValueOfConstant

Fields

NameTypeAccessIn Ring
TAG_BYTEintconstant · statico.TAG_BYTE
TAG_CHARintconstant · statico.TAG_CHAR
TAG_DOUBLEintconstant · statico.TAG_DOUBLE
TAG_FLOATintconstant · statico.TAG_FLOAT
TAG_INTintconstant · statico.TAG_INT
TAG_LONGintconstant · statico.TAG_LONG
TAG_SHORTintconstant · statico.TAG_SHORT
TAG_BOOLEANintconstant · statico.TAG_BOOLEAN
TAG_STRINGintconstant · statico.TAG_STRING
TAG_ENUMintconstant · statico.TAG_ENUM
TAG_CLASSintconstant · statico.TAG_CLASS
TAG_ANNOTATIONintconstant · statico.TAG_ANNOTATION
TAG_ARRAYintconstant · statico.TAG_ARRAY

Methods

MethodRing callJava overloads
booleanValuebooleanValue()boolean booleanValue()
constantconstant()IntegerEntry constant()
resolvedValueresolvedValue()Boolean resolvedValue()
tagtag()int tag()

AnnotationValueOfByte#

interface · java.lang.classfile.AnnotationValue$OfByte

Extends: AnnotationValueOfConstant

Fields

NameTypeAccessIn Ring
TAG_BYTEintconstant · statico.TAG_BYTE
TAG_CHARintconstant · statico.TAG_CHAR
TAG_DOUBLEintconstant · statico.TAG_DOUBLE
TAG_FLOATintconstant · statico.TAG_FLOAT
TAG_INTintconstant · statico.TAG_INT
TAG_LONGintconstant · statico.TAG_LONG
TAG_SHORTintconstant · statico.TAG_SHORT
TAG_BOOLEANintconstant · statico.TAG_BOOLEAN
TAG_STRINGintconstant · statico.TAG_STRING
TAG_ENUMintconstant · statico.TAG_ENUM
TAG_CLASSintconstant · statico.TAG_CLASS
TAG_ANNOTATIONintconstant · statico.TAG_ANNOTATION
TAG_ARRAYintconstant · statico.TAG_ARRAY

Methods

MethodRing callJava overloads
byteValuebyteValue()byte byteValue()
constantconstant()IntegerEntry constant()
resolvedValueresolvedValue()Byte resolvedValue()
tagtag()int tag()

AnnotationValueOfChar#

interface · java.lang.classfile.AnnotationValue$OfChar

Extends: AnnotationValueOfConstant

Fields

NameTypeAccessIn Ring
TAG_BYTEintconstant · statico.TAG_BYTE
TAG_CHARintconstant · statico.TAG_CHAR
TAG_DOUBLEintconstant · statico.TAG_DOUBLE
TAG_FLOATintconstant · statico.TAG_FLOAT
TAG_INTintconstant · statico.TAG_INT
TAG_LONGintconstant · statico.TAG_LONG
TAG_SHORTintconstant · statico.TAG_SHORT
TAG_BOOLEANintconstant · statico.TAG_BOOLEAN
TAG_STRINGintconstant · statico.TAG_STRING
TAG_ENUMintconstant · statico.TAG_ENUM
TAG_CLASSintconstant · statico.TAG_CLASS
TAG_ANNOTATIONintconstant · statico.TAG_ANNOTATION
TAG_ARRAYintconstant · statico.TAG_ARRAY

Methods

MethodRing callJava overloads
charValuecharValue()char charValue()
constantconstant()IntegerEntry constant()
resolvedValueresolvedValue()Character resolvedValue()
tagtag()int tag()

AnnotationValueOfClass#

interface · java.lang.classfile.AnnotationValue$OfClass

Extends: AnnotationValue

Fields

NameTypeAccessIn Ring
TAG_BYTEintconstant · statico.TAG_BYTE
TAG_CHARintconstant · statico.TAG_CHAR
TAG_DOUBLEintconstant · statico.TAG_DOUBLE
TAG_FLOATintconstant · statico.TAG_FLOAT
TAG_INTintconstant · statico.TAG_INT
TAG_LONGintconstant · statico.TAG_LONG
TAG_SHORTintconstant · statico.TAG_SHORT
TAG_BOOLEANintconstant · statico.TAG_BOOLEAN
TAG_STRINGintconstant · statico.TAG_STRING
TAG_ENUMintconstant · statico.TAG_ENUM
TAG_CLASSintconstant · statico.TAG_CLASS
TAG_ANNOTATIONintconstant · statico.TAG_ANNOTATION
TAG_ARRAYintconstant · statico.TAG_ARRAY

Methods

MethodRing callJava overloads
@className@className()Utf8Entry className()
classSymbolclassSymbol()ClassDesc classSymbol()
tagtag()int tag()

AnnotationValueOfConstant#

interface · java.lang.classfile.AnnotationValue$OfConstant

Extends: AnnotationValue

Fields

NameTypeAccessIn Ring
TAG_BYTEintconstant · statico.TAG_BYTE
TAG_CHARintconstant · statico.TAG_CHAR
TAG_DOUBLEintconstant · statico.TAG_DOUBLE
TAG_FLOATintconstant · statico.TAG_FLOAT
TAG_INTintconstant · statico.TAG_INT
TAG_LONGintconstant · statico.TAG_LONG
TAG_SHORTintconstant · statico.TAG_SHORT
TAG_BOOLEANintconstant · statico.TAG_BOOLEAN
TAG_STRINGintconstant · statico.TAG_STRING
TAG_ENUMintconstant · statico.TAG_ENUM
TAG_CLASSintconstant · statico.TAG_CLASS
TAG_ANNOTATIONintconstant · statico.TAG_ANNOTATION
TAG_ARRAYintconstant · statico.TAG_ARRAY

Methods

MethodRing callJava overloads
constantconstant()AnnotationConstantValueEntry constant()
resolvedValueresolvedValue()Constable resolvedValue()
tagtag()int tag()

AnnotationValueOfDouble#

interface · java.lang.classfile.AnnotationValue$OfDouble

Extends: AnnotationValueOfConstant

Fields

NameTypeAccessIn Ring
TAG_BYTEintconstant · statico.TAG_BYTE
TAG_CHARintconstant · statico.TAG_CHAR
TAG_DOUBLEintconstant · statico.TAG_DOUBLE
TAG_FLOATintconstant · statico.TAG_FLOAT
TAG_INTintconstant · statico.TAG_INT
TAG_LONGintconstant · statico.TAG_LONG
TAG_SHORTintconstant · statico.TAG_SHORT
TAG_BOOLEANintconstant · statico.TAG_BOOLEAN
TAG_STRINGintconstant · statico.TAG_STRING
TAG_ENUMintconstant · statico.TAG_ENUM
TAG_CLASSintconstant · statico.TAG_CLASS
TAG_ANNOTATIONintconstant · statico.TAG_ANNOTATION
TAG_ARRAYintconstant · statico.TAG_ARRAY

Methods

MethodRing callJava overloads
constantconstant()DoubleEntry constant()
doubleValuedoubleValue()double doubleValue()
resolvedValueresolvedValue()Double resolvedValue()
tagtag()int tag()

AnnotationValueOfEnum#

interface · java.lang.classfile.AnnotationValue$OfEnum

Extends: AnnotationValue

Fields

NameTypeAccessIn Ring
TAG_BYTEintconstant · statico.TAG_BYTE
TAG_CHARintconstant · statico.TAG_CHAR
TAG_DOUBLEintconstant · statico.TAG_DOUBLE
TAG_FLOATintconstant · statico.TAG_FLOAT
TAG_INTintconstant · statico.TAG_INT
TAG_LONGintconstant · statico.TAG_LONG
TAG_SHORTintconstant · statico.TAG_SHORT
TAG_BOOLEANintconstant · statico.TAG_BOOLEAN
TAG_STRINGintconstant · statico.TAG_STRING
TAG_ENUMintconstant · statico.TAG_ENUM
TAG_CLASSintconstant · statico.TAG_CLASS
TAG_ANNOTATIONintconstant · statico.TAG_ANNOTATION
TAG_ARRAYintconstant · statico.TAG_ARRAY

Methods

MethodRing callJava overloads
@className@className()Utf8Entry className()
classSymbolclassSymbol()ClassDesc classSymbol()
constantNameconstantName()Utf8Entry constantName()
tagtag()int tag()

AnnotationValueOfFloat#

interface · java.lang.classfile.AnnotationValue$OfFloat

Extends: AnnotationValueOfConstant

Fields

NameTypeAccessIn Ring
TAG_BYTEintconstant · statico.TAG_BYTE
TAG_CHARintconstant · statico.TAG_CHAR
TAG_DOUBLEintconstant · statico.TAG_DOUBLE
TAG_FLOATintconstant · statico.TAG_FLOAT
TAG_INTintconstant · statico.TAG_INT
TAG_LONGintconstant · statico.TAG_LONG
TAG_SHORTintconstant · statico.TAG_SHORT
TAG_BOOLEANintconstant · statico.TAG_BOOLEAN
TAG_STRINGintconstant · statico.TAG_STRING
TAG_ENUMintconstant · statico.TAG_ENUM
TAG_CLASSintconstant · statico.TAG_CLASS
TAG_ANNOTATIONintconstant · statico.TAG_ANNOTATION
TAG_ARRAYintconstant · statico.TAG_ARRAY

Methods

MethodRing callJava overloads
constantconstant()FloatEntry constant()
floatValuefloatValue()float floatValue()
resolvedValueresolvedValue()Float resolvedValue()
tagtag()int tag()

AnnotationValueOfInt#

interface · java.lang.classfile.AnnotationValue$OfInt

Extends: AnnotationValueOfConstant

Fields

NameTypeAccessIn Ring
TAG_BYTEintconstant · statico.TAG_BYTE
TAG_CHARintconstant · statico.TAG_CHAR
TAG_DOUBLEintconstant · statico.TAG_DOUBLE
TAG_FLOATintconstant · statico.TAG_FLOAT
TAG_INTintconstant · statico.TAG_INT
TAG_LONGintconstant · statico.TAG_LONG
TAG_SHORTintconstant · statico.TAG_SHORT
TAG_BOOLEANintconstant · statico.TAG_BOOLEAN
TAG_STRINGintconstant · statico.TAG_STRING
TAG_ENUMintconstant · statico.TAG_ENUM
TAG_CLASSintconstant · statico.TAG_CLASS
TAG_ANNOTATIONintconstant · statico.TAG_ANNOTATION
TAG_ARRAYintconstant · statico.TAG_ARRAY

Methods

MethodRing callJava overloads
constantconstant()IntegerEntry constant()
intValueintValue()int intValue()
resolvedValueresolvedValue()Integer resolvedValue()
tagtag()int tag()

AnnotationValueOfLong#

interface · java.lang.classfile.AnnotationValue$OfLong

Extends: AnnotationValueOfConstant

Fields

NameTypeAccessIn Ring
TAG_BYTEintconstant · statico.TAG_BYTE
TAG_CHARintconstant · statico.TAG_CHAR
TAG_DOUBLEintconstant · statico.TAG_DOUBLE
TAG_FLOATintconstant · statico.TAG_FLOAT
TAG_INTintconstant · statico.TAG_INT
TAG_LONGintconstant · statico.TAG_LONG
TAG_SHORTintconstant · statico.TAG_SHORT
TAG_BOOLEANintconstant · statico.TAG_BOOLEAN
TAG_STRINGintconstant · statico.TAG_STRING
TAG_ENUMintconstant · statico.TAG_ENUM
TAG_CLASSintconstant · statico.TAG_CLASS
TAG_ANNOTATIONintconstant · statico.TAG_ANNOTATION
TAG_ARRAYintconstant · statico.TAG_ARRAY

Methods

MethodRing callJava overloads
constantconstant()LongEntry constant()
longValuelongValue()long longValue()
resolvedValueresolvedValue()Long resolvedValue()
tagtag()int tag()

AnnotationValueOfShort#

interface · java.lang.classfile.AnnotationValue$OfShort

Extends: AnnotationValueOfConstant

Fields

NameTypeAccessIn Ring
TAG_BYTEintconstant · statico.TAG_BYTE
TAG_CHARintconstant · statico.TAG_CHAR
TAG_DOUBLEintconstant · statico.TAG_DOUBLE
TAG_FLOATintconstant · statico.TAG_FLOAT
TAG_INTintconstant · statico.TAG_INT
TAG_LONGintconstant · statico.TAG_LONG
TAG_SHORTintconstant · statico.TAG_SHORT
TAG_BOOLEANintconstant · statico.TAG_BOOLEAN
TAG_STRINGintconstant · statico.TAG_STRING
TAG_ENUMintconstant · statico.TAG_ENUM
TAG_CLASSintconstant · statico.TAG_CLASS
TAG_ANNOTATIONintconstant · statico.TAG_ANNOTATION
TAG_ARRAYintconstant · statico.TAG_ARRAY

Methods

MethodRing callJava overloads
constantconstant()IntegerEntry constant()
resolvedValueresolvedValue()Short resolvedValue()
shortValueshortValue()short shortValue()
tagtag()int tag()

AnnotationValueOfString#

interface · java.lang.classfile.AnnotationValue$OfString

Extends: AnnotationValueOfConstant

Fields

NameTypeAccessIn Ring
TAG_BYTEintconstant · statico.TAG_BYTE
TAG_CHARintconstant · statico.TAG_CHAR
TAG_DOUBLEintconstant · statico.TAG_DOUBLE
TAG_FLOATintconstant · statico.TAG_FLOAT
TAG_INTintconstant · statico.TAG_INT
TAG_LONGintconstant · statico.TAG_LONG
TAG_SHORTintconstant · statico.TAG_SHORT
TAG_BOOLEANintconstant · statico.TAG_BOOLEAN
TAG_STRINGintconstant · statico.TAG_STRING
TAG_ENUMintconstant · statico.TAG_ENUM
TAG_CLASSintconstant · statico.TAG_CLASS
TAG_ANNOTATIONintconstant · statico.TAG_ANNOTATION
TAG_ARRAYintconstant · statico.TAG_ARRAY

Methods

MethodRing callJava overloads
constantconstant()Utf8Entry constant()
resolvedValueresolvedValue()String resolvedValue()
stringValuestringValue()String stringValue()
tagtag()int tag()

Attribute#

interface · java.lang.classfile.Attribute

Extends: ClassFileElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()

AttributedElement#

interface · java.lang.classfile.AttributedElement

Extends: ClassFileElement

Methods

MethodRing callJava overloads
attributesattributes()List attributes()
findAttributefindAttribute(attr)Optional findAttribute(AttributeMapper attr)
findAttributesfindAttributes(attr)List findAttributes(AttributeMapper attr)

AttributeMapper#

interface · java.lang.classfile.AttributeMapper

Methods

MethodRing callJava overloads
allowMultipleallowMultiple()boolean allowMultiple()
namename()String name()
readAttributereadAttribute(enclosing,cf,pos)Attribute readAttribute(AttributedElement enclosing, ClassReader cf, int pos)
stabilitystability()AttributeStability stability()
writeAttributewriteAttribute(buf,attr)void writeAttribute(BufWriter buf, Attribute attr)

AttributeMapperAttributeStability#

enum · extends Enum · java.lang.classfile.AttributeMapper$AttributeStability

Fields

NameTypeAccessIn Ring
STATELESSAttributeStabilityconstant · statico.STATELESS
CP_REFSAttributeStabilityconstant · statico.CP_REFS
LABELSAttributeStabilityconstant · statico.LABELS
UNSTABLEAttributeStabilityconstant · statico.UNSTABLE
UNKNOWNAttributeStabilityconstant · statico.UNKNOWN

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static AttributeStability valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static AttributeStability[] values()

The methods and fields of Enum are inherited.

Attributes#

class final · extends Object · java.lang.classfile.Attributes

Fields

NameTypeAccessIn Ring
NAME_ANNOTATION_DEFAULTStringconstant · statico.NAME_ANNOTATION_DEFAULT
NAME_BOOTSTRAP_METHODSStringconstant · statico.NAME_BOOTSTRAP_METHODS
NAME_CHARACTER_RANGE_TABLEStringconstant · statico.NAME_CHARACTER_RANGE_TABLE
NAME_CODEStringconstant · statico.NAME_CODE
NAME_COMPILATION_IDStringconstant · statico.NAME_COMPILATION_ID
NAME_CONSTANT_VALUEStringconstant · statico.NAME_CONSTANT_VALUE
NAME_DEPRECATEDStringconstant · statico.NAME_DEPRECATED
NAME_ENCLOSING_METHODStringconstant · statico.NAME_ENCLOSING_METHOD
NAME_EXCEPTIONSStringconstant · statico.NAME_EXCEPTIONS
NAME_INNER_CLASSESStringconstant · statico.NAME_INNER_CLASSES
NAME_LINE_NUMBER_TABLEStringconstant · statico.NAME_LINE_NUMBER_TABLE
NAME_LOCAL_VARIABLE_TABLEStringconstant · statico.NAME_LOCAL_VARIABLE_TABLE
NAME_LOCAL_VARIABLE_TYPE_TABLEStringconstant · statico.NAME_LOCAL_VARIABLE_TYPE_TABLE
NAME_METHOD_PARAMETERSStringconstant · statico.NAME_METHOD_PARAMETERS
NAME_MODULEStringconstant · statico.NAME_MODULE
NAME_MODULE_HASHESStringconstant · statico.NAME_MODULE_HASHES
NAME_MODULE_MAIN_CLASSStringconstant · statico.NAME_MODULE_MAIN_CLASS
NAME_MODULE_PACKAGESStringconstant · statico.NAME_MODULE_PACKAGES
NAME_MODULE_RESOLUTIONStringconstant · statico.NAME_MODULE_RESOLUTION
NAME_MODULE_TARGETStringconstant · statico.NAME_MODULE_TARGET
NAME_NEST_HOSTStringconstant · statico.NAME_NEST_HOST
NAME_NEST_MEMBERSStringconstant · statico.NAME_NEST_MEMBERS
NAME_PERMITTED_SUBCLASSESStringconstant · statico.NAME_PERMITTED_SUBCLASSES
NAME_RECORDStringconstant · statico.NAME_RECORD
NAME_RUNTIME_INVISIBLE_ANNOTATIONSStringconstant · statico.NAME_RUNTIME_INVISIBLE_ANNOTATIONS
NAME_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONSStringconstant · statico.NAME_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS
NAME_RUNTIME_INVISIBLE_TYPE_ANNOTATIONSStringconstant · statico.NAME_RUNTIME_INVISIBLE_TYPE_ANNOTATIONS
NAME_RUNTIME_VISIBLE_ANNOTATIONSStringconstant · statico.NAME_RUNTIME_VISIBLE_ANNOTATIONS
NAME_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONSStringconstant · statico.NAME_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS
NAME_RUNTIME_VISIBLE_TYPE_ANNOTATIONSStringconstant · statico.NAME_RUNTIME_VISIBLE_TYPE_ANNOTATIONS
NAME_SIGNATUREStringconstant · statico.NAME_SIGNATURE
NAME_SOURCE_DEBUG_EXTENSIONStringconstant · statico.NAME_SOURCE_DEBUG_EXTENSION
NAME_SOURCE_FILEStringconstant · statico.NAME_SOURCE_FILE
NAME_SOURCE_IDStringconstant · statico.NAME_SOURCE_ID
NAME_STACK_MAP_TABLEStringconstant · statico.NAME_STACK_MAP_TABLE
NAME_SYNTHETICStringconstant · statico.NAME_SYNTHETIC

Methods

MethodRing callJava overloads
annotationDefaultannotationDefault()static AttributeMapper annotationDefault()
bootstrapMethodsbootstrapMethods()static AttributeMapper bootstrapMethods()
characterRangeTablecharacterRangeTable()static AttributeMapper characterRangeTable()
codecode()static AttributeMapper code()
compilationIdcompilationId()static AttributeMapper compilationId()
constantValueconstantValue()static AttributeMapper constantValue()
deprecateddeprecated()static AttributeMapper deprecated()
enclosingMethodenclosingMethod()static AttributeMapper enclosingMethod()
exceptionsexceptions()static AttributeMapper exceptions()
innerClassesinnerClasses()static AttributeMapper innerClasses()
lineNumberTablelineNumberTable()static AttributeMapper lineNumberTable()
localVariableTablelocalVariableTable()static AttributeMapper localVariableTable()
localVariableTypeTablelocalVariableTypeTable()static AttributeMapper localVariableTypeTable()
methodParametersmethodParameters()static AttributeMapper methodParameters()
modulemodule()static AttributeMapper module()
moduleHashesmoduleHashes()static AttributeMapper moduleHashes()
moduleMainClassmoduleMainClass()static AttributeMapper moduleMainClass()
modulePackagesmodulePackages()static AttributeMapper modulePackages()
moduleResolutionmoduleResolution()static AttributeMapper moduleResolution()
moduleTargetmoduleTarget()static AttributeMapper moduleTarget()
nestHostnestHost()static AttributeMapper nestHost()
nestMembersnestMembers()static AttributeMapper nestMembers()
permittedSubclassespermittedSubclasses()static AttributeMapper permittedSubclasses()
recordrecord()static AttributeMapper record()
runtimeInvisibleAnnotationsruntimeInvisibleAnnotations()static AttributeMapper runtimeInvisibleAnnotations()
runtimeInvisibleParameterAnnotationsruntimeInvisibleParameterAnnotations()static AttributeMapper runtimeInvisibleParameterAnnotations()
runtimeInvisibleTypeAnnotationsruntimeInvisibleTypeAnnotations()static AttributeMapper runtimeInvisibleTypeAnnotations()
runtimeVisibleAnnotationsruntimeVisibleAnnotations()static AttributeMapper runtimeVisibleAnnotations()
runtimeVisibleParameterAnnotationsruntimeVisibleParameterAnnotations()static AttributeMapper runtimeVisibleParameterAnnotations()
runtimeVisibleTypeAnnotationsruntimeVisibleTypeAnnotations()static AttributeMapper runtimeVisibleTypeAnnotations()
signaturesignature()static AttributeMapper signature()
sourceDebugExtensionsourceDebugExtension()static AttributeMapper sourceDebugExtension()
sourceFilesourceFile()static AttributeMapper sourceFile()
sourceIdsourceId()static AttributeMapper sourceId()
stackMapTablestackMapTable()static AttributeMapper stackMapTable()
syntheticsynthetic()static AttributeMapper synthetic()

The methods and fields of Object are inherited.

BootstrapMethodEntry#

interface · java.lang.classfile.BootstrapMethodEntry

Methods

MethodRing callJava overloads
argumentsarguments()List arguments()
bootstrapMethodbootstrapMethod()MethodHandleEntry bootstrapMethod()
bsmIndexbsmIndex()int bsmIndex()
constantPoolconstantPool()ConstantPool constantPool()

BufWriter#

interface · java.lang.classfile.BufWriter

Methods

MethodRing callJava overloads
canWriteDirectcanWriteDirect(other)boolean canWriteDirect(ConstantPool other)
constantPoolconstantPool()ConstantPoolBuilder constantPool()
patchIntpatchInt(offset,size,value)void patchInt(int offset, int size, int value)
reserveSpacereserveSpace(freeBytes)void reserveSpace(int freeBytes)
sizesize()int size()
writeByteswriteBytes(arr)
writeBytes([arr,start,length])
writeBytes([ :arr = v, :start = v, :length = v ])
void writeBytes(byte[] arr)
void writeBytes(byte[] arr, int start, int length)
writeDoublewriteDouble(x)void writeDouble(double x)
writeFloatwriteFloat(x)void writeFloat(float x)
writeIndexwriteIndex(entry)void writeIndex(PoolEntry entry)
writeIndexOrZerowriteIndexOrZero(entry)void writeIndexOrZero(PoolEntry entry)
writeIntwriteInt(x)void writeInt(int x)
writeIntByteswriteIntBytes(intSize,intValue)void writeIntBytes(int intSize, long intValue)
writeLongwriteLong(x)void writeLong(long x)
writeU1writeU1(x)void writeU1(int x)
writeU2writeU2(x)void writeU2(int x)

ClassBuilder#

interface · java.lang.classfile.ClassBuilder

Extends: ClassFileBuilder

Methods

MethodRing callJava overloads
acceptaccept(e)void accept(ClassFileElement e)
andThenandThen(after)Consumer andThen(Consumer after)
constantPoolconstantPool()ConstantPoolBuilder constantPool()
transformtransform(model,transform)ClassFileBuilder transform(CompoundElement model, ClassFileTransform transform)
transformFieldtransformField(field,transform)ClassBuilder transformField(FieldModel field, FieldTransform transform)
transformMethodtransformMethod(method,transform)ClassBuilder transformMethod(MethodModel method, MethodTransform transform)
withwith(e)ClassFileBuilder with(ClassFileElement e)
withFieldwithField(name,descriptor,handler)ClassBuilder withField(String name, ClassDesc descriptor, Consumer handler)
ClassBuilder withField(Utf8Entry name, Utf8Entry descriptor, int flags)
ClassBuilder withField(String name, ClassDesc descriptor, int flags)
ClassBuilder withField(Utf8Entry name, Utf8Entry descriptor, Consumer handler)
withFlagswithFlags(flags)ClassBuilder withFlags(int flags)
ClassBuilder withFlags(AccessFlag[] flags)
withInterfaceswithInterfaces(interfaces)ClassBuilder withInterfaces(List interfaces)
ClassBuilder withInterfaces(ClassEntry[] interfaces)
withInterfaceSymbolswithInterfaceSymbols(interfaces)ClassBuilder withInterfaceSymbols(List interfaces)
ClassBuilder withInterfaceSymbols(ClassDesc[] interfaces)
withMethodwithMethod(name,descriptor,methodFlags,handler)ClassBuilder withMethod(Utf8Entry name, Utf8Entry descriptor, int methodFlags, Consumer handler)
ClassBuilder withMethod(String name, MethodTypeDesc descriptor, int methodFlags, Consumer handler)
withMethodBodywithMethodBody(name,descriptor,methodFlags,handler)ClassBuilder withMethodBody(Utf8Entry name, Utf8Entry descriptor, int methodFlags, Consumer handler)
ClassBuilder withMethodBody(String name, MethodTypeDesc descriptor, int methodFlags, Consumer handler)
withSuperclasswithSuperclass(superclassEntry)ClassBuilder withSuperclass(ClassEntry superclassEntry)
ClassBuilder withSuperclass(ClassDesc desc)
withVersionwithVersion(major,minor)ClassBuilder withVersion(int major, int minor)

ClassElement#

interface · java.lang.classfile.ClassElement

Extends: ClassFileElement

ClassFile#

interface · java.lang.classfile.ClassFile

Fields

NameTypeAccessIn Ring
MAGIC_NUMBERintconstant · statico.MAGIC_NUMBER
ACC_PUBLICintconstant · statico.ACC_PUBLIC
ACC_PROTECTEDintconstant · statico.ACC_PROTECTED
ACC_PRIVATEintconstant · statico.ACC_PRIVATE
ACC_INTERFACEintconstant · statico.ACC_INTERFACE
ACC_ENUMintconstant · statico.ACC_ENUM
ACC_ANNOTATIONintconstant · statico.ACC_ANNOTATION
ACC_SUPERintconstant · statico.ACC_SUPER
ACC_ABSTRACTintconstant · statico.ACC_ABSTRACT
ACC_VOLATILEintconstant · statico.ACC_VOLATILE
ACC_TRANSIENTintconstant · statico.ACC_TRANSIENT
ACC_SYNTHETICintconstant · statico.ACC_SYNTHETIC
ACC_STATICintconstant · statico.ACC_STATIC
ACC_FINALintconstant · statico.ACC_FINAL
ACC_SYNCHRONIZEDintconstant · statico.ACC_SYNCHRONIZED
ACC_BRIDGEintconstant · statico.ACC_BRIDGE
ACC_VARARGSintconstant · statico.ACC_VARARGS
ACC_NATIVEintconstant · statico.ACC_NATIVE
ACC_STRICTintconstant · statico.ACC_STRICT
ACC_MODULEintconstant · statico.ACC_MODULE
ACC_OPENintconstant · statico.ACC_OPEN
ACC_MANDATEDintconstant · statico.ACC_MANDATED
ACC_TRANSITIVEintconstant · statico.ACC_TRANSITIVE
ACC_STATIC_PHASEintconstant · statico.ACC_STATIC_PHASE
JAVA_1_VERSIONintconstant · statico.JAVA_1_VERSION
JAVA_2_VERSIONintconstant · statico.JAVA_2_VERSION
JAVA_3_VERSIONintconstant · statico.JAVA_3_VERSION
JAVA_4_VERSIONintconstant · statico.JAVA_4_VERSION
JAVA_5_VERSIONintconstant · statico.JAVA_5_VERSION
JAVA_6_VERSIONintconstant · statico.JAVA_6_VERSION
JAVA_7_VERSIONintconstant · statico.JAVA_7_VERSION
JAVA_8_VERSIONintconstant · statico.JAVA_8_VERSION
JAVA_9_VERSIONintconstant · statico.JAVA_9_VERSION
JAVA_10_VERSIONintconstant · statico.JAVA_10_VERSION
JAVA_11_VERSIONintconstant · statico.JAVA_11_VERSION
JAVA_12_VERSIONintconstant · statico.JAVA_12_VERSION
JAVA_13_VERSIONintconstant · statico.JAVA_13_VERSION
JAVA_14_VERSIONintconstant · statico.JAVA_14_VERSION
JAVA_15_VERSIONintconstant · statico.JAVA_15_VERSION
JAVA_16_VERSIONintconstant · statico.JAVA_16_VERSION
JAVA_17_VERSIONintconstant · statico.JAVA_17_VERSION
JAVA_18_VERSIONintconstant · statico.JAVA_18_VERSION
JAVA_19_VERSIONintconstant · statico.JAVA_19_VERSION
JAVA_20_VERSIONintconstant · statico.JAVA_20_VERSION
JAVA_21_VERSIONintconstant · statico.JAVA_21_VERSION
JAVA_22_VERSIONintconstant · statico.JAVA_22_VERSION
JAVA_23_VERSIONintconstant · statico.JAVA_23_VERSION
JAVA_24_VERSIONintconstant · statico.JAVA_24_VERSION
JAVA_25_VERSIONintconstant · statico.JAVA_25_VERSION
PREVIEW_MINOR_VERSIONintconstant · statico.PREVIEW_MINOR_VERSION

Methods

MethodRing callJava overloads
@of@of(options)static ClassFile of(Option[] options)
buildbuild([thisClass,handler])
build([ :thisClass = v, :handler = v ])
build([thisClassEntry,constantPool,handler])
build([ :thisClassEntry = v, :constantPool = v, :handler = v ])
byte[] build(ClassDesc thisClass, Consumer handler)
byte[] build(ClassEntry thisClassEntry, ConstantPoolBuilder constantPool, Consumer handler)
buildModulebuildModule(moduleAttribute)
buildModule([moduleAttribute,handler])
buildModule([ :moduleAttribute = v, :handler = v ])
byte[] buildModule(ModuleAttribute moduleAttribute)
byte[] buildModule(ModuleAttribute moduleAttribute, Consumer handler)
buildModuleTobuildModuleTo([path,moduleAttribute])
buildModuleTo([ :path = v, :moduleAttribute = v ])
buildModuleTo([path,moduleAttribute,handler])
buildModuleTo([ :path = v, :moduleAttribute = v, :handler = v ])
void buildModuleTo(Path path, ModuleAttribute moduleAttribute)
void buildModuleTo(Path path, ModuleAttribute moduleAttribute, Consumer handler)
buildTobuildTo([path,thisClass,handler])
buildTo([ :path = v, :thisClass = v, :handler = v ])
buildTo([path,thisClassEntry,constantPool,handler])
buildTo([ :path = v, :thisClassEntry = v, :constantPool = v, :handler = v ])
void buildTo(Path path, ClassDesc thisClass, Consumer handler)
void buildTo(Path path, ClassEntry thisClassEntry, ConstantPoolBuilder constantPool, Consumer handler)
latestMajorVersionlatestMajorVersion()static int latestMajorVersion()
latestMinorVersionlatestMinorVersion()static int latestMinorVersion()
ofof()static ClassFile of()
parseparse(bytes)ClassModel parse(byte[] bytes)
ClassModel parse(Path path)
transformClasstransformClass([model,transform])
transformClass([ :model = v, :transform = v ])
transformClass([model,newClassName,transform])
transformClass([ :model = v, :newClassName = v, :transform = v ])
byte[] transformClass(ClassModel model, ClassTransform transform)
byte[] transformClass(ClassModel model, ClassDesc newClassName, ClassTransform transform)
byte[] transformClass(ClassModel model, ClassEntry newClassName, ClassTransform transform)
verifyverify(model)List verify(ClassModel model)
List verify(Path path)
List verify(byte[] bytes)
withOptionswithOptions(options)ClassFile withOptions(Option[] options)

ClassfileAnnotation#

interface · java.lang.classfile.Annotation

Methods

MethodRing callJava overloads
@className@className()Utf8Entry className()
classSymbolclassSymbol()ClassDesc classSymbol()
elementselements()List elements()
ofof(annotationClass,elements)static Annotation of(Utf8Entry annotationClass, AnnotationElement[] elements)
static Annotation of(ClassDesc annotationClass, List elements)
static Annotation of(ClassDesc annotationClass, AnnotationElement[] elements)
static Annotation of(Utf8Entry annotationClass, List elements)

ClassFileAttributeMapperOption#

interface · java.lang.classfile.ClassFile$AttributeMapperOption

Extends: ClassFileOption

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()Function attributeMapper()
ofof(attributeMapper)static AttributeMapperOption of(Function attributeMapper)

ClassFileAttributesProcessingOption#

enum · extends Enum · java.lang.classfile.ClassFile$AttributesProcessingOption

Implements: ClassFileOption

Fields

NameTypeAccessIn Ring
PASS_ALL_ATTRIBUTESAttributesProcessingOptionconstant · statico.PASS_ALL_ATTRIBUTES
DROP_UNKNOWN_ATTRIBUTESAttributesProcessingOptionconstant · statico.DROP_UNKNOWN_ATTRIBUTES
DROP_UNSTABLE_ATTRIBUTESAttributesProcessingOptionconstant · statico.DROP_UNSTABLE_ATTRIBUTES

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static AttributesProcessingOption valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static AttributesProcessingOption[] values()

The methods and fields of Enum are inherited.

ClassFileBuilder#

interface · java.lang.classfile.ClassFileBuilder

Extends: Consumer

Methods

MethodRing callJava overloads
acceptaccept(e)void accept(ClassFileElement e)
andThenandThen(after)Consumer andThen(Consumer after)
constantPoolconstantPool()ConstantPoolBuilder constantPool()
transformtransform(model,transform)ClassFileBuilder transform(CompoundElement model, ClassFileTransform transform)
withwith(e)ClassFileBuilder with(ClassFileElement e)

ClassFileClassHierarchyResolverOption#

interface · java.lang.classfile.ClassFile$ClassHierarchyResolverOption

Extends: ClassFileOption

Methods

MethodRing callJava overloads
classHierarchyResolverclassHierarchyResolver()ClassHierarchyResolver classHierarchyResolver()
ofof(classHierarchyResolver)static ClassHierarchyResolverOption of(ClassHierarchyResolver classHierarchyResolver)

ClassFileConstantPoolSharingOption#

enum · extends Enum · java.lang.classfile.ClassFile$ConstantPoolSharingOption

Implements: ClassFileOption

Fields

NameTypeAccessIn Ring
SHARED_POOLConstantPoolSharingOptionconstant · statico.SHARED_POOL
NEW_POOLConstantPoolSharingOptionconstant · statico.NEW_POOL

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static ConstantPoolSharingOption valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static ConstantPoolSharingOption[] values()

The methods and fields of Enum are inherited.

ClassFileDeadCodeOption#

enum · extends Enum · java.lang.classfile.ClassFile$DeadCodeOption

Implements: ClassFileOption

Fields

NameTypeAccessIn Ring
PATCH_DEAD_CODEDeadCodeOptionconstant · statico.PATCH_DEAD_CODE
KEEP_DEAD_CODEDeadCodeOptionconstant · statico.KEEP_DEAD_CODE

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static DeadCodeOption valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static DeadCodeOption[] values()

The methods and fields of Enum are inherited.

ClassFileDeadLabelsOption#

enum · extends Enum · java.lang.classfile.ClassFile$DeadLabelsOption

Implements: ClassFileOption

Fields

NameTypeAccessIn Ring
FAIL_ON_DEAD_LABELSDeadLabelsOptionconstant · statico.FAIL_ON_DEAD_LABELS
DROP_DEAD_LABELSDeadLabelsOptionconstant · statico.DROP_DEAD_LABELS

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static DeadLabelsOption valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static DeadLabelsOption[] values()

The methods and fields of Enum are inherited.

ClassFileDebugElementsOption#

enum · extends Enum · java.lang.classfile.ClassFile$DebugElementsOption

Implements: ClassFileOption

Fields

NameTypeAccessIn Ring
PASS_DEBUGDebugElementsOptionconstant · statico.PASS_DEBUG
DROP_DEBUGDebugElementsOptionconstant · statico.DROP_DEBUG

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static DebugElementsOption valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static DebugElementsOption[] values()

The methods and fields of Enum are inherited.

ClassFileElement#

interface · java.lang.classfile.ClassFileElement

ClassFileLineNumbersOption#

enum · extends Enum · java.lang.classfile.ClassFile$LineNumbersOption

Implements: ClassFileOption

Fields

NameTypeAccessIn Ring
PASS_LINE_NUMBERSLineNumbersOptionconstant · statico.PASS_LINE_NUMBERS
DROP_LINE_NUMBERSLineNumbersOptionconstant · statico.DROP_LINE_NUMBERS

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static LineNumbersOption valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static LineNumbersOption[] values()

The methods and fields of Enum are inherited.

ClassFileOption#

interface · java.lang.classfile.ClassFile$Option

ClassFileShortJumpsOption#

enum · extends Enum · java.lang.classfile.ClassFile$ShortJumpsOption

Implements: ClassFileOption

Fields

NameTypeAccessIn Ring
FIX_SHORT_JUMPSShortJumpsOptionconstant · statico.FIX_SHORT_JUMPS
FAIL_ON_SHORT_JUMPSShortJumpsOptionconstant · statico.FAIL_ON_SHORT_JUMPS

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static ShortJumpsOption valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static ShortJumpsOption[] values()

The methods and fields of Enum are inherited.

ClassFileStackMapsOption#

enum · extends Enum · java.lang.classfile.ClassFile$StackMapsOption

Implements: ClassFileOption

Fields

NameTypeAccessIn Ring
STACK_MAPS_WHEN_REQUIREDStackMapsOptionconstant · statico.STACK_MAPS_WHEN_REQUIRED
GENERATE_STACK_MAPSStackMapsOptionconstant · statico.GENERATE_STACK_MAPS
DROP_STACK_MAPSStackMapsOptionconstant · statico.DROP_STACK_MAPS

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static StackMapsOption valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static StackMapsOption[] values()

The methods and fields of Enum are inherited.

ClassFileTransform#

interface · java.lang.classfile.ClassFileTransform

Methods

MethodRing callJava overloads
acceptaccept(builder,element)void accept(ClassFileBuilder builder, ClassFileElement element)
andThenandThen(next)ClassFileTransform andThen(ClassFileTransform next)
atEndatEnd(builder)void atEnd(ClassFileBuilder builder)
atStartatStart(builder)void atStart(ClassFileBuilder builder)

ClassFileVersion#

interface · java.lang.classfile.ClassFileVersion

Extends: ClassElement

Methods

MethodRing callJava overloads
majorVersionmajorVersion()int majorVersion()
minorVersionminorVersion()int minorVersion()
ofof(majorVersion,minorVersion)static ClassFileVersion of(int majorVersion, int minorVersion)

ClassHierarchyResolver#

interface · java.lang.classfile.ClassHierarchyResolver

Methods

MethodRing callJava overloads
@cached@cached(cacheFactory)ClassHierarchyResolver cached(Supplier cacheFactory)
cachedcached()ClassHierarchyResolver cached()
defaultResolverdefaultResolver()static ClassHierarchyResolver defaultResolver()
getClassInfogetClassInfo(classDesc)ClassHierarchyInfo getClassInfo(ClassDesc classDesc)
ofof(interfaces,classToSuperClass)static ClassHierarchyResolver of(Collection interfaces, Map classToSuperClass)
ofClassLoadingofClassLoading(loader)static ClassHierarchyResolver ofClassLoading(ClassLoader loader)
static ClassHierarchyResolver ofClassLoading(Lookup lookup)
ofResourceParsingofResourceParsing(loader)static ClassHierarchyResolver ofResourceParsing(ClassLoader loader)
static ClassHierarchyResolver ofResourceParsing(Function classStreamResolver)
orElseorElse(other)ClassHierarchyResolver orElse(ClassHierarchyResolver other)

ClassHierarchyResolverClassHierarchyInfo#

interface · java.lang.classfile.ClassHierarchyResolver$ClassHierarchyInfo

Methods

MethodRing callJava overloads
ofClassofClass(superClass)static ClassHierarchyInfo ofClass(ClassDesc superClass)
ofInterfaceofInterface()static ClassHierarchyInfo ofInterface()

ClassModel#

interface · java.lang.classfile.ClassModel

Extends: CompoundElement, AttributedElement

Methods

MethodRing callJava overloads
@forEach@forEach(consumer)void forEach(Consumer consumer)
attributesattributes()List attributes()
constantPoolconstantPool()ConstantPool constantPool()
elementListelementList()List elementList()
elementStreamelementStream()Stream elementStream()
fieldsfields()List fields()
findAttributefindAttribute(attr)Optional findAttribute(AttributeMapper attr)
findAttributesfindAttributes(attr)List findAttributes(AttributeMapper attr)
flagsflags()AccessFlags flags()
interfacesinterfaces()List interfaces()
isModuleInfoisModuleInfo()boolean isModuleInfo()
iteratoriterator()Iterator iterator()
majorVersionmajorVersion()int majorVersion()
methodsmethods()List methods()
minorVersionminorVersion()int minorVersion()
spliteratorspliterator()Spliterator spliterator()
superclasssuperclass()Optional superclass()
thisClassthisClass()ClassEntry thisClass()
toDebugStringtoDebugString()String toDebugString()

ClassReader#

interface · java.lang.classfile.ClassReader

Extends: ConstantPool

Methods

MethodRing callJava overloads
@forEach@forEach(action)void forEach(Consumer action)
bootstrapMethodCountbootstrapMethodCount()int bootstrapMethodCount()
bootstrapMethodEntrybootstrapMethodEntry(index)BootstrapMethodEntry bootstrapMethodEntry(int index)
classfileLengthclassfileLength()int classfileLength()
copyBytesTocopyBytesTo(buf,offset,len)void copyBytesTo(BufWriter buf, int offset, int len)
customAttributescustomAttributes()Function customAttributes()
entryByIndexentryByIndex(index)
entryByIndex([index,cls])
entryByIndex([ :index = v, :cls = v ])
PoolEntry entryByIndex(int index)
PoolEntry entryByIndex(int index, Class cls)
flagsflags()int flags()
iteratoriterator()Iterator iterator()
readBytesreadBytes(offset,len)byte[] readBytes(int offset, int len)
readDoublereadDouble(offset)double readDouble(int offset)
readEntryreadEntry(offset)
readEntry([offset,cls])
readEntry([ :offset = v, :cls = v ])
PoolEntry readEntry(int offset)
PoolEntry readEntry(int offset, Class cls)
readEntryOrNullreadEntryOrNull(offset)
readEntryOrNull([offset,cls])
readEntryOrNull([ :offset = v, :cls = v ])
PoolEntry readEntryOrNull(int offset)
PoolEntry readEntryOrNull(int offset, Class cls)
readFloatreadFloat(offset)float readFloat(int offset)
readIntreadInt(offset)int readInt(int offset)
readLongreadLong(offset)long readLong(int offset)
readS1readS1(offset)int readS1(int offset)
readS2readS2(offset)int readS2(int offset)
readU1readU1(offset)int readU1(int offset)
readU2readU2(offset)int readU2(int offset)
sizesize()int size()
spliteratorspliterator()Spliterator spliterator()
superclassEntrysuperclassEntry()Optional superclassEntry()
thisClassEntrythisClassEntry()ClassEntry thisClassEntry()

ClassSignature#

interface · java.lang.classfile.ClassSignature

Methods

MethodRing callJava overloads
ofof([superclassSignature,superinterfaceSignatures])
of([ :superclassSignature = v, :superinterfaceSignatures = v ])
of([typeParameters,superclassSignature,superinterfaceSignatures])
of([ :typeParameters = v, :superclassSignature = v, :superinterfaceSignatures = v ])
static ClassSignature of(ClassTypeSig superclassSignature, ClassTypeSig[] superinterfaceSignatures)
static ClassSignature of(List typeParameters, ClassTypeSig superclassSignature, ClassTypeSig[] superinterfaceSignatures)
parseFromparseFrom(classSignature)static ClassSignature parseFrom(String classSignature)
signatureStringsignatureString()String signatureString()
superclassSignaturesuperclassSignature()ClassTypeSig superclassSignature()
superinterfaceSignaturessuperinterfaceSignatures()List superinterfaceSignatures()
typeParameterstypeParameters()List typeParameters()

ClassTransform#

interface · java.lang.classfile.ClassTransform

Extends: ClassFileTransform

Fields

NameTypeAccessIn Ring
ACCEPT_ALLClassTransformconstant · statico.ACCEPT_ALL

Methods

MethodRing callJava overloads
acceptaccept(builder,element)void accept(ClassFileBuilder builder, ClassFileElement element)
andThenandThen(t)ClassTransform andThen(ClassTransform t)
atEndatEnd(builder)void atEnd(ClassFileBuilder builder)
atStartatStart(builder)void atStart(ClassFileBuilder builder)
droppingdropping(filter)static ClassTransform dropping(Predicate filter)
endHandlerendHandler(finisher)static ClassTransform endHandler(Consumer finisher)
ofStatefulofStateful(supplier)static ClassTransform ofStateful(Supplier supplier)
transformingFieldstransformingFields(xform)static ClassTransform transformingFields(FieldTransform xform)
transformingMethodBodiestransformingMethodBodies(xform)
transformingMethodBodies([filter,xform])
transformingMethodBodies([ :filter = v, :xform = v ])
static ClassTransform transformingMethodBodies(CodeTransform xform)
static ClassTransform transformingMethodBodies(Predicate filter, CodeTransform xform)
transformingMethodstransformingMethods(xform)
transformingMethods([filter,xform])
transformingMethods([ :filter = v, :xform = v ])
static ClassTransform transformingMethods(MethodTransform xform)
static ClassTransform transformingMethods(Predicate filter, MethodTransform xform)

CodeBuilder#

interface · java.lang.classfile.CodeBuilder

Extends: ClassFileBuilder

Methods

MethodRing callJava overloads
@getfield@getfield(ref)
@getfield([owner,name,type])
@getfield([ :owner = v, :name = v, :type = v ])
CodeBuilder getfield(FieldRefEntry ref)
CodeBuilder getfield(ClassDesc owner, String name, ClassDesc type)
@instanceOf@instanceOf(target)CodeBuilder instanceOf(ClassDesc target)
CodeBuilder instanceOf(ClassEntry target)
@return_@return_(tk)CodeBuilder return_(TypeKind tk)
aaloadaaload()CodeBuilder aaload()
aastoreaastore()CodeBuilder aastore()
acceptaccept(e)void accept(ClassFileElement e)
aconst_nullaconst_null()CodeBuilder aconst_null()
allocateLocalallocateLocal(typeKind)int allocateLocal(TypeKind typeKind)
aloadaload(slot)CodeBuilder aload(int slot)
andThenandThen(after)Consumer andThen(Consumer after)
anewarrayanewarray(classEntry)CodeBuilder anewarray(ClassEntry classEntry)
CodeBuilder anewarray(ClassDesc className)
areturnareturn()CodeBuilder areturn()
arraylengtharraylength()CodeBuilder arraylength()
arrayLoadarrayLoad(tk)CodeBuilder arrayLoad(TypeKind tk)
arrayStorearrayStore(tk)CodeBuilder arrayStore(TypeKind tk)
astoreastore(slot)CodeBuilder astore(int slot)
athrowathrow()CodeBuilder athrow()
baloadbaload()CodeBuilder baload()
bastorebastore()CodeBuilder bastore()
bipushbipush(b)CodeBuilder bipush(int b)
blockblock(handler)CodeBuilder block(Consumer handler)
branchbranch(op,target)CodeBuilder branch(Opcode op, Label target)
caloadcaload()CodeBuilder caload()
castorecastore()CodeBuilder castore()
characterRangecharacterRange(startScope,endScope,characterRangeStart,characterRangeEnd,flags)CodeBuilder characterRange(Label startScope, Label endScope, int characterRangeStart, int characterRangeEnd, int flags)
checkcastcheckcast(type)CodeBuilder checkcast(ClassEntry type)
CodeBuilder checkcast(ClassDesc type)
constantPoolconstantPool()ConstantPoolBuilder constantPool()
conversionconversion(fromType,toType)CodeBuilder conversion(TypeKind fromType, TypeKind toType)
d2fd2f()CodeBuilder d2f()
d2id2i()CodeBuilder d2i()
d2ld2l()CodeBuilder d2l()
dadddadd()CodeBuilder dadd()
daloaddaload()CodeBuilder daload()
dastoredastore()CodeBuilder dastore()
dcmpgdcmpg()CodeBuilder dcmpg()
dcmpldcmpl()CodeBuilder dcmpl()
dconst_0dconst_0()CodeBuilder dconst_0()
dconst_1dconst_1()CodeBuilder dconst_1()
ddivddiv()CodeBuilder ddiv()
dloaddload(slot)CodeBuilder dload(int slot)
dmuldmul()CodeBuilder dmul()
dnegdneg()CodeBuilder dneg()
dremdrem()CodeBuilder drem()
dreturndreturn()CodeBuilder dreturn()
dstoredstore(slot)CodeBuilder dstore(int slot)
dsubdsub()CodeBuilder dsub()
dupdup()CodeBuilder dup()
dup2dup2()CodeBuilder dup2()
dup2_x1dup2_x1()CodeBuilder dup2_x1()
dup2_x2dup2_x2()CodeBuilder dup2_x2()
dup_x1dup_x1()CodeBuilder dup_x1()
dup_x2dup_x2()CodeBuilder dup_x2()
endLabelendLabel()Label endLabel()
exceptionCatchexceptionCatch(start,end,handler,catchType)CodeBuilder exceptionCatch(Label start, Label end, Label handler, ClassEntry catchType)
CodeBuilder exceptionCatch(Label start, Label end, Label handler, ClassDesc catchType)
CodeBuilder exceptionCatch(Label start, Label end, Label handler, Optional catchType)
exceptionCatchAllexceptionCatchAll(start,end,handler)CodeBuilder exceptionCatchAll(Label start, Label end, Label handler)
f2df2d()CodeBuilder f2d()
f2if2i()CodeBuilder f2i()
f2lf2l()CodeBuilder f2l()
faddfadd()CodeBuilder fadd()
faloadfaload()CodeBuilder faload()
fastorefastore()CodeBuilder fastore()
fcmpgfcmpg()CodeBuilder fcmpg()
fcmplfcmpl()CodeBuilder fcmpl()
fconst_0fconst_0()CodeBuilder fconst_0()
fconst_1fconst_1()CodeBuilder fconst_1()
fconst_2fconst_2()CodeBuilder fconst_2()
fdivfdiv()CodeBuilder fdiv()
fieldAccessfieldAccess([opcode,ref])
fieldAccess([ :opcode = v, :ref = v ])
fieldAccess([opcode,owner,name,type])
fieldAccess([ :opcode = v, :owner = v, :name = v, :type = v ])
CodeBuilder fieldAccess(Opcode opcode, FieldRefEntry ref)
CodeBuilder fieldAccess(Opcode opcode, ClassDesc owner, String name, ClassDesc type)
floadfload(slot)CodeBuilder fload(int slot)
fmulfmul()CodeBuilder fmul()
fnegfneg()CodeBuilder fneg()
fremfrem()CodeBuilder frem()
freturnfreturn()CodeBuilder freturn()
fstorefstore(slot)CodeBuilder fstore(int slot)
fsubfsub()CodeBuilder fsub()
getstaticgetstatic(ref)
getstatic([owner,name,type])
getstatic([ :owner = v, :name = v, :type = v ])
CodeBuilder getstatic(FieldRefEntry ref)
CodeBuilder getstatic(ClassDesc owner, String name, ClassDesc type)
goto_goto_(target)CodeBuilder goto_(Label target)
goto_wgoto_w(target)CodeBuilder goto_w(Label target)
i2bi2b()CodeBuilder i2b()
i2ci2c()CodeBuilder i2c()
i2di2d()CodeBuilder i2d()
i2fi2f()CodeBuilder i2f()
i2li2l()CodeBuilder i2l()
i2si2s()CodeBuilder i2s()
iaddiadd()CodeBuilder iadd()
ialoadiaload()CodeBuilder iaload()
iandiand()CodeBuilder iand()
iastoreiastore()CodeBuilder iastore()
iconst_0iconst_0()CodeBuilder iconst_0()
iconst_1iconst_1()CodeBuilder iconst_1()
iconst_2iconst_2()CodeBuilder iconst_2()
iconst_3iconst_3()CodeBuilder iconst_3()
iconst_4iconst_4()CodeBuilder iconst_4()
iconst_5iconst_5()CodeBuilder iconst_5()
iconst_m1iconst_m1()CodeBuilder iconst_m1()
idividiv()CodeBuilder idiv()
if_acmpeqif_acmpeq(target)CodeBuilder if_acmpeq(Label target)
if_acmpneif_acmpne(target)CodeBuilder if_acmpne(Label target)
if_icmpeqif_icmpeq(target)CodeBuilder if_icmpeq(Label target)
if_icmpgeif_icmpge(target)CodeBuilder if_icmpge(Label target)
if_icmpgtif_icmpgt(target)CodeBuilder if_icmpgt(Label target)
if_icmpleif_icmple(target)CodeBuilder if_icmple(Label target)
if_icmpltif_icmplt(target)CodeBuilder if_icmplt(Label target)
if_icmpneif_icmpne(target)CodeBuilder if_icmpne(Label target)
ifeqifeq(target)CodeBuilder ifeq(Label target)
ifgeifge(target)CodeBuilder ifge(Label target)
ifgtifgt(target)CodeBuilder ifgt(Label target)
ifleifle(target)CodeBuilder ifle(Label target)
ifltiflt(target)CodeBuilder iflt(Label target)
ifneifne(target)CodeBuilder ifne(Label target)
ifnonnullifnonnull(target)CodeBuilder ifnonnull(Label target)
ifnullifnull(target)CodeBuilder ifnull(Label target)
ifThenifThen(thenHandler)
ifThen([opcode,thenHandler])
ifThen([ :opcode = v, :thenHandler = v ])
CodeBuilder ifThen(Consumer thenHandler)
CodeBuilder ifThen(Opcode opcode, Consumer thenHandler)
ifThenElseifThenElse([thenHandler,elseHandler])
ifThenElse([ :thenHandler = v, :elseHandler = v ])
ifThenElse([opcode,thenHandler,elseHandler])
ifThenElse([ :opcode = v, :thenHandler = v, :elseHandler = v ])
CodeBuilder ifThenElse(Consumer thenHandler, Consumer elseHandler)
CodeBuilder ifThenElse(Opcode opcode, Consumer thenHandler, Consumer elseHandler)
iinciinc(slot,val)CodeBuilder iinc(int slot, int val)
iloadiload(slot)CodeBuilder iload(int slot)
imulimul()CodeBuilder imul()
inegineg()CodeBuilder ineg()
invokeinvoke([opcode,ref])
invoke([ :opcode = v, :ref = v ])
invoke([opcode,owner,name,desc,isInterface])
invoke([ :opcode = v, :owner = v, :name = v, :desc = v, :isInterface = v ])
CodeBuilder invoke(Opcode opcode, MemberRefEntry ref)
CodeBuilder invoke(Opcode opcode, ClassDesc owner, String name, MethodTypeDesc desc, boolean isInterface)
invokedynamicinvokedynamic(ref)CodeBuilder invokedynamic(InvokeDynamicEntry ref)
CodeBuilder invokedynamic(DynamicCallSiteDesc ref)
invokeinterfaceinvokeinterface(ref)
invokeinterface([owner,name,type])
invokeinterface([ :owner = v, :name = v, :type = v ])
CodeBuilder invokeinterface(InterfaceMethodRefEntry ref)
CodeBuilder invokeinterface(ClassDesc owner, String name, MethodTypeDesc type)
invokespecialinvokespecial(ref)
invokespecial([owner,name,type])
invokespecial([ :owner = v, :name = v, :type = v ])
invokespecial([owner,name,type,isInterface])
invokespecial([ :owner = v, :name = v, :type = v, :isInterface = v ])
CodeBuilder invokespecial(MethodRefEntry ref)
CodeBuilder invokespecial(InterfaceMethodRefEntry ref)
CodeBuilder invokespecial(ClassDesc owner, String name, MethodTypeDesc type)
CodeBuilder invokespecial(ClassDesc owner, String name, MethodTypeDesc type, boolean isInterface)
invokestaticinvokestatic(ref)
invokestatic([owner,name,type])
invokestatic([ :owner = v, :name = v, :type = v ])
invokestatic([owner,name,type,isInterface])
invokestatic([ :owner = v, :name = v, :type = v, :isInterface = v ])
CodeBuilder invokestatic(MethodRefEntry ref)
CodeBuilder invokestatic(InterfaceMethodRefEntry ref)
CodeBuilder invokestatic(ClassDesc owner, String name, MethodTypeDesc type)
CodeBuilder invokestatic(ClassDesc owner, String name, MethodTypeDesc type, boolean isInterface)
invokevirtualinvokevirtual(ref)
invokevirtual([owner,name,type])
invokevirtual([ :owner = v, :name = v, :type = v ])
CodeBuilder invokevirtual(MethodRefEntry ref)
CodeBuilder invokevirtual(ClassDesc owner, String name, MethodTypeDesc type)
iorior()CodeBuilder ior()
iremirem()CodeBuilder irem()
ireturnireturn()CodeBuilder ireturn()
ishlishl()CodeBuilder ishl()
ishrishr()CodeBuilder ishr()
istoreistore(slot)CodeBuilder istore(int slot)
isubisub()CodeBuilder isub()
iushriushr()CodeBuilder iushr()
ixorixor()CodeBuilder ixor()
l2dl2d()CodeBuilder l2d()
l2fl2f()CodeBuilder l2f()
l2il2i()CodeBuilder l2i()
labelBindinglabelBinding(label)CodeBuilder labelBinding(Label label)
laddladd()CodeBuilder ladd()
laloadlaload()CodeBuilder laload()
landland()CodeBuilder land()
lastorelastore()CodeBuilder lastore()
lcmplcmp()CodeBuilder lcmp()
lconst_0lconst_0()CodeBuilder lconst_0()
lconst_1lconst_1()CodeBuilder lconst_1()
ldcldc(value)CodeBuilder ldc(ConstantDesc value)
CodeBuilder ldc(LoadableConstantEntry entry)
ldivldiv()CodeBuilder ldiv()
lineNumberlineNumber(line)CodeBuilder lineNumber(int line)
lloadlload(slot)CodeBuilder lload(int slot)
lmullmul()CodeBuilder lmul()
lneglneg()CodeBuilder lneg()
loadConstantloadConstant(value)CodeBuilder loadConstant(double value)
CodeBuilder loadConstant(long value)
CodeBuilder loadConstant(int value)
CodeBuilder loadConstant(ConstantDesc value)
CodeBuilder loadConstant(float value)
loadLocalloadLocal(tk,slot)CodeBuilder loadLocal(TypeKind tk, int slot)
localVariablelocalVariable(slot,name,descriptor,startScope,endScope)CodeBuilder localVariable(int slot, String name, ClassDesc descriptor, Label startScope, Label endScope)
CodeBuilder localVariable(int slot, Utf8Entry nameEntry, Utf8Entry descriptorEntry, Label startScope, Label endScope)
localVariableTypelocalVariableType(slot,nameEntry,signatureEntry,startScope,endScope)CodeBuilder localVariableType(int slot, Utf8Entry nameEntry, Utf8Entry signatureEntry, Label startScope, Label endScope)
CodeBuilder localVariableType(int slot, String name, Signature signature, Label startScope, Label endScope)
lookupswitchlookupswitch(defaultTarget,cases)CodeBuilder lookupswitch(Label defaultTarget, List cases)
lorlor()CodeBuilder lor()
lremlrem()CodeBuilder lrem()
lreturnlreturn()CodeBuilder lreturn()
lshllshl()CodeBuilder lshl()
lshrlshr()CodeBuilder lshr()
lstorelstore(slot)CodeBuilder lstore(int slot)
lsublsub()CodeBuilder lsub()
lushrlushr()CodeBuilder lushr()
lxorlxor()CodeBuilder lxor()
monitorentermonitorenter()CodeBuilder monitorenter()
monitorexitmonitorexit()CodeBuilder monitorexit()
multianewarraymultianewarray(array,dims)CodeBuilder multianewarray(ClassEntry array, int dims)
CodeBuilder multianewarray(ClassDesc array, int dims)
new_new_(clazz)CodeBuilder new_(ClassEntry clazz)
CodeBuilder new_(ClassDesc clazz)
newarraynewarray(typeKind)CodeBuilder newarray(TypeKind typeKind)
newBoundLabelnewBoundLabel()Label newBoundLabel()
newLabelnewLabel()Label newLabel()
nopnop()CodeBuilder nop()
parameterSlotparameterSlot(paramNo)int parameterSlot(int paramNo)
poppop()CodeBuilder pop()
pop2pop2()CodeBuilder pop2()
putfieldputfield(ref)
putfield([owner,name,type])
putfield([ :owner = v, :name = v, :type = v ])
CodeBuilder putfield(FieldRefEntry ref)
CodeBuilder putfield(ClassDesc owner, String name, ClassDesc type)
putstaticputstatic(ref)
putstatic([owner,name,type])
putstatic([ :owner = v, :name = v, :type = v ])
CodeBuilder putstatic(FieldRefEntry ref)
CodeBuilder putstatic(ClassDesc owner, String name, ClassDesc type)
receiverSlotreceiverSlot()int receiverSlot()
return_return_()CodeBuilder return_()
saloadsaload()CodeBuilder saload()
sastoresastore()CodeBuilder sastore()
sipushsipush(s)CodeBuilder sipush(int s)
startLabelstartLabel()Label startLabel()
storeLocalstoreLocal(tk,slot)CodeBuilder storeLocal(TypeKind tk, int slot)
swapswap()CodeBuilder swap()
tableswitchtableswitch([defaultTarget,cases])
tableswitch([ :defaultTarget = v, :cases = v ])
tableswitch([low,high,defaultTarget,cases])
tableswitch([ :low = v, :high = v, :defaultTarget = v, :cases = v ])
CodeBuilder tableswitch(Label defaultTarget, List cases)
CodeBuilder tableswitch(int low, int high, Label defaultTarget, List cases)
transformtransform(model,transform)ClassFileBuilder transform(CompoundElement model, ClassFileTransform transform)
transformingtransforming(transform,handler)CodeBuilder transforming(CodeTransform transform, Consumer handler)
tryingtrying(tryHandler,catchesHandler)CodeBuilder trying(Consumer tryHandler, Consumer catchesHandler)
withwith(e)ClassFileBuilder with(ClassFileElement e)

CodeBuilderBlockCodeBuilder#

interface · java.lang.classfile.CodeBuilder$BlockCodeBuilder

Extends: CodeBuilder

Methods

MethodRing callJava overloads
@getfield@getfield(ref)
@getfield([owner,name,type])
@getfield([ :owner = v, :name = v, :type = v ])
CodeBuilder getfield(FieldRefEntry ref)
CodeBuilder getfield(ClassDesc owner, String name, ClassDesc type)
@instanceOf@instanceOf(target)CodeBuilder instanceOf(ClassDesc target)
CodeBuilder instanceOf(ClassEntry target)
@return_@return_(tk)CodeBuilder return_(TypeKind tk)
aaloadaaload()CodeBuilder aaload()
aastoreaastore()CodeBuilder aastore()
acceptaccept(e)void accept(ClassFileElement e)
aconst_nullaconst_null()CodeBuilder aconst_null()
allocateLocalallocateLocal(typeKind)int allocateLocal(TypeKind typeKind)
aloadaload(slot)CodeBuilder aload(int slot)
andThenandThen(after)Consumer andThen(Consumer after)
anewarrayanewarray(classEntry)CodeBuilder anewarray(ClassEntry classEntry)
CodeBuilder anewarray(ClassDesc className)
areturnareturn()CodeBuilder areturn()
arraylengtharraylength()CodeBuilder arraylength()
arrayLoadarrayLoad(tk)CodeBuilder arrayLoad(TypeKind tk)
arrayStorearrayStore(tk)CodeBuilder arrayStore(TypeKind tk)
astoreastore(slot)CodeBuilder astore(int slot)
athrowathrow()CodeBuilder athrow()
baloadbaload()CodeBuilder baload()
bastorebastore()CodeBuilder bastore()
bipushbipush(b)CodeBuilder bipush(int b)
blockblock(handler)CodeBuilder block(Consumer handler)
branchbranch(op,target)CodeBuilder branch(Opcode op, Label target)
breakLabelbreakLabel()Label breakLabel()
caloadcaload()CodeBuilder caload()
castorecastore()CodeBuilder castore()
characterRangecharacterRange(startScope,endScope,characterRangeStart,characterRangeEnd,flags)CodeBuilder characterRange(Label startScope, Label endScope, int characterRangeStart, int characterRangeEnd, int flags)
checkcastcheckcast(type)CodeBuilder checkcast(ClassEntry type)
CodeBuilder checkcast(ClassDesc type)
constantPoolconstantPool()ConstantPoolBuilder constantPool()
conversionconversion(fromType,toType)CodeBuilder conversion(TypeKind fromType, TypeKind toType)
d2fd2f()CodeBuilder d2f()
d2id2i()CodeBuilder d2i()
d2ld2l()CodeBuilder d2l()
dadddadd()CodeBuilder dadd()
daloaddaload()CodeBuilder daload()
dastoredastore()CodeBuilder dastore()
dcmpgdcmpg()CodeBuilder dcmpg()
dcmpldcmpl()CodeBuilder dcmpl()
dconst_0dconst_0()CodeBuilder dconst_0()
dconst_1dconst_1()CodeBuilder dconst_1()
ddivddiv()CodeBuilder ddiv()
dloaddload(slot)CodeBuilder dload(int slot)
dmuldmul()CodeBuilder dmul()
dnegdneg()CodeBuilder dneg()
dremdrem()CodeBuilder drem()
dreturndreturn()CodeBuilder dreturn()
dstoredstore(slot)CodeBuilder dstore(int slot)
dsubdsub()CodeBuilder dsub()
dupdup()CodeBuilder dup()
dup2dup2()CodeBuilder dup2()
dup2_x1dup2_x1()CodeBuilder dup2_x1()
dup2_x2dup2_x2()CodeBuilder dup2_x2()
dup_x1dup_x1()CodeBuilder dup_x1()
dup_x2dup_x2()CodeBuilder dup_x2()
endLabelendLabel()Label endLabel()
exceptionCatchexceptionCatch(start,end,handler,catchType)CodeBuilder exceptionCatch(Label start, Label end, Label handler, ClassEntry catchType)
CodeBuilder exceptionCatch(Label start, Label end, Label handler, ClassDesc catchType)
CodeBuilder exceptionCatch(Label start, Label end, Label handler, Optional catchType)
exceptionCatchAllexceptionCatchAll(start,end,handler)CodeBuilder exceptionCatchAll(Label start, Label end, Label handler)
f2df2d()CodeBuilder f2d()
f2if2i()CodeBuilder f2i()
f2lf2l()CodeBuilder f2l()
faddfadd()CodeBuilder fadd()
faloadfaload()CodeBuilder faload()
fastorefastore()CodeBuilder fastore()
fcmpgfcmpg()CodeBuilder fcmpg()
fcmplfcmpl()CodeBuilder fcmpl()
fconst_0fconst_0()CodeBuilder fconst_0()
fconst_1fconst_1()CodeBuilder fconst_1()
fconst_2fconst_2()CodeBuilder fconst_2()
fdivfdiv()CodeBuilder fdiv()
fieldAccessfieldAccess([opcode,ref])
fieldAccess([ :opcode = v, :ref = v ])
fieldAccess([opcode,owner,name,type])
fieldAccess([ :opcode = v, :owner = v, :name = v, :type = v ])
CodeBuilder fieldAccess(Opcode opcode, FieldRefEntry ref)
CodeBuilder fieldAccess(Opcode opcode, ClassDesc owner, String name, ClassDesc type)
floadfload(slot)CodeBuilder fload(int slot)
fmulfmul()CodeBuilder fmul()
fnegfneg()CodeBuilder fneg()
fremfrem()CodeBuilder frem()
freturnfreturn()CodeBuilder freturn()
fstorefstore(slot)CodeBuilder fstore(int slot)
fsubfsub()CodeBuilder fsub()
getstaticgetstatic(ref)
getstatic([owner,name,type])
getstatic([ :owner = v, :name = v, :type = v ])
CodeBuilder getstatic(FieldRefEntry ref)
CodeBuilder getstatic(ClassDesc owner, String name, ClassDesc type)
goto_goto_(target)CodeBuilder goto_(Label target)
goto_wgoto_w(target)CodeBuilder goto_w(Label target)
i2bi2b()CodeBuilder i2b()
i2ci2c()CodeBuilder i2c()
i2di2d()CodeBuilder i2d()
i2fi2f()CodeBuilder i2f()
i2li2l()CodeBuilder i2l()
i2si2s()CodeBuilder i2s()
iaddiadd()CodeBuilder iadd()
ialoadiaload()CodeBuilder iaload()
iandiand()CodeBuilder iand()
iastoreiastore()CodeBuilder iastore()
iconst_0iconst_0()CodeBuilder iconst_0()
iconst_1iconst_1()CodeBuilder iconst_1()
iconst_2iconst_2()CodeBuilder iconst_2()
iconst_3iconst_3()CodeBuilder iconst_3()
iconst_4iconst_4()CodeBuilder iconst_4()
iconst_5iconst_5()CodeBuilder iconst_5()
iconst_m1iconst_m1()CodeBuilder iconst_m1()
idividiv()CodeBuilder idiv()
if_acmpeqif_acmpeq(target)CodeBuilder if_acmpeq(Label target)
if_acmpneif_acmpne(target)CodeBuilder if_acmpne(Label target)
if_icmpeqif_icmpeq(target)CodeBuilder if_icmpeq(Label target)
if_icmpgeif_icmpge(target)CodeBuilder if_icmpge(Label target)
if_icmpgtif_icmpgt(target)CodeBuilder if_icmpgt(Label target)
if_icmpleif_icmple(target)CodeBuilder if_icmple(Label target)
if_icmpltif_icmplt(target)CodeBuilder if_icmplt(Label target)
if_icmpneif_icmpne(target)CodeBuilder if_icmpne(Label target)
ifeqifeq(target)CodeBuilder ifeq(Label target)
ifgeifge(target)CodeBuilder ifge(Label target)
ifgtifgt(target)CodeBuilder ifgt(Label target)
ifleifle(target)CodeBuilder ifle(Label target)
ifltiflt(target)CodeBuilder iflt(Label target)
ifneifne(target)CodeBuilder ifne(Label target)
ifnonnullifnonnull(target)CodeBuilder ifnonnull(Label target)
ifnullifnull(target)CodeBuilder ifnull(Label target)
ifThenifThen(thenHandler)
ifThen([opcode,thenHandler])
ifThen([ :opcode = v, :thenHandler = v ])
CodeBuilder ifThen(Consumer thenHandler)
CodeBuilder ifThen(Opcode opcode, Consumer thenHandler)
ifThenElseifThenElse([thenHandler,elseHandler])
ifThenElse([ :thenHandler = v, :elseHandler = v ])
ifThenElse([opcode,thenHandler,elseHandler])
ifThenElse([ :opcode = v, :thenHandler = v, :elseHandler = v ])
CodeBuilder ifThenElse(Consumer thenHandler, Consumer elseHandler)
CodeBuilder ifThenElse(Opcode opcode, Consumer thenHandler, Consumer elseHandler)
iinciinc(slot,val)CodeBuilder iinc(int slot, int val)
iloadiload(slot)CodeBuilder iload(int slot)
imulimul()CodeBuilder imul()
inegineg()CodeBuilder ineg()
invokeinvoke([opcode,ref])
invoke([ :opcode = v, :ref = v ])
invoke([opcode,owner,name,desc,isInterface])
invoke([ :opcode = v, :owner = v, :name = v, :desc = v, :isInterface = v ])
CodeBuilder invoke(Opcode opcode, MemberRefEntry ref)
CodeBuilder invoke(Opcode opcode, ClassDesc owner, String name, MethodTypeDesc desc, boolean isInterface)
invokedynamicinvokedynamic(ref)CodeBuilder invokedynamic(InvokeDynamicEntry ref)
CodeBuilder invokedynamic(DynamicCallSiteDesc ref)
invokeinterfaceinvokeinterface(ref)
invokeinterface([owner,name,type])
invokeinterface([ :owner = v, :name = v, :type = v ])
CodeBuilder invokeinterface(InterfaceMethodRefEntry ref)
CodeBuilder invokeinterface(ClassDesc owner, String name, MethodTypeDesc type)
invokespecialinvokespecial(ref)
invokespecial([owner,name,type])
invokespecial([ :owner = v, :name = v, :type = v ])
invokespecial([owner,name,type,isInterface])
invokespecial([ :owner = v, :name = v, :type = v, :isInterface = v ])
CodeBuilder invokespecial(MethodRefEntry ref)
CodeBuilder invokespecial(InterfaceMethodRefEntry ref)
CodeBuilder invokespecial(ClassDesc owner, String name, MethodTypeDesc type)
CodeBuilder invokespecial(ClassDesc owner, String name, MethodTypeDesc type, boolean isInterface)
invokestaticinvokestatic(ref)
invokestatic([owner,name,type])
invokestatic([ :owner = v, :name = v, :type = v ])
invokestatic([owner,name,type,isInterface])
invokestatic([ :owner = v, :name = v, :type = v, :isInterface = v ])
CodeBuilder invokestatic(MethodRefEntry ref)
CodeBuilder invokestatic(InterfaceMethodRefEntry ref)
CodeBuilder invokestatic(ClassDesc owner, String name, MethodTypeDesc type)
CodeBuilder invokestatic(ClassDesc owner, String name, MethodTypeDesc type, boolean isInterface)
invokevirtualinvokevirtual(ref)
invokevirtual([owner,name,type])
invokevirtual([ :owner = v, :name = v, :type = v ])
CodeBuilder invokevirtual(MethodRefEntry ref)
CodeBuilder invokevirtual(ClassDesc owner, String name, MethodTypeDesc type)
iorior()CodeBuilder ior()
iremirem()CodeBuilder irem()
ireturnireturn()CodeBuilder ireturn()
ishlishl()CodeBuilder ishl()
ishrishr()CodeBuilder ishr()
istoreistore(slot)CodeBuilder istore(int slot)
isubisub()CodeBuilder isub()
iushriushr()CodeBuilder iushr()
ixorixor()CodeBuilder ixor()
l2dl2d()CodeBuilder l2d()
l2fl2f()CodeBuilder l2f()
l2il2i()CodeBuilder l2i()
labelBindinglabelBinding(label)CodeBuilder labelBinding(Label label)
laddladd()CodeBuilder ladd()
laloadlaload()CodeBuilder laload()
landland()CodeBuilder land()
lastorelastore()CodeBuilder lastore()
lcmplcmp()CodeBuilder lcmp()
lconst_0lconst_0()CodeBuilder lconst_0()
lconst_1lconst_1()CodeBuilder lconst_1()
ldcldc(value)CodeBuilder ldc(ConstantDesc value)
CodeBuilder ldc(LoadableConstantEntry entry)
ldivldiv()CodeBuilder ldiv()
lineNumberlineNumber(line)CodeBuilder lineNumber(int line)
lloadlload(slot)CodeBuilder lload(int slot)
lmullmul()CodeBuilder lmul()
lneglneg()CodeBuilder lneg()
loadConstantloadConstant(value)CodeBuilder loadConstant(double value)
CodeBuilder loadConstant(long value)
CodeBuilder loadConstant(int value)
CodeBuilder loadConstant(ConstantDesc value)
CodeBuilder loadConstant(float value)
loadLocalloadLocal(tk,slot)CodeBuilder loadLocal(TypeKind tk, int slot)
localVariablelocalVariable(slot,name,descriptor,startScope,endScope)CodeBuilder localVariable(int slot, String name, ClassDesc descriptor, Label startScope, Label endScope)
CodeBuilder localVariable(int slot, Utf8Entry nameEntry, Utf8Entry descriptorEntry, Label startScope, Label endScope)
localVariableTypelocalVariableType(slot,nameEntry,signatureEntry,startScope,endScope)CodeBuilder localVariableType(int slot, Utf8Entry nameEntry, Utf8Entry signatureEntry, Label startScope, Label endScope)
CodeBuilder localVariableType(int slot, String name, Signature signature, Label startScope, Label endScope)
lookupswitchlookupswitch(defaultTarget,cases)CodeBuilder lookupswitch(Label defaultTarget, List cases)
lorlor()CodeBuilder lor()
lremlrem()CodeBuilder lrem()
lreturnlreturn()CodeBuilder lreturn()
lshllshl()CodeBuilder lshl()
lshrlshr()CodeBuilder lshr()
lstorelstore(slot)CodeBuilder lstore(int slot)
lsublsub()CodeBuilder lsub()
lushrlushr()CodeBuilder lushr()
lxorlxor()CodeBuilder lxor()
monitorentermonitorenter()CodeBuilder monitorenter()
monitorexitmonitorexit()CodeBuilder monitorexit()
multianewarraymultianewarray(array,dims)CodeBuilder multianewarray(ClassEntry array, int dims)
CodeBuilder multianewarray(ClassDesc array, int dims)
new_new_(clazz)CodeBuilder new_(ClassEntry clazz)
CodeBuilder new_(ClassDesc clazz)
newarraynewarray(typeKind)CodeBuilder newarray(TypeKind typeKind)
newBoundLabelnewBoundLabel()Label newBoundLabel()
newLabelnewLabel()Label newLabel()
nopnop()CodeBuilder nop()
parameterSlotparameterSlot(paramNo)int parameterSlot(int paramNo)
poppop()CodeBuilder pop()
pop2pop2()CodeBuilder pop2()
putfieldputfield(ref)
putfield([owner,name,type])
putfield([ :owner = v, :name = v, :type = v ])
CodeBuilder putfield(FieldRefEntry ref)
CodeBuilder putfield(ClassDesc owner, String name, ClassDesc type)
putstaticputstatic(ref)
putstatic([owner,name,type])
putstatic([ :owner = v, :name = v, :type = v ])
CodeBuilder putstatic(FieldRefEntry ref)
CodeBuilder putstatic(ClassDesc owner, String name, ClassDesc type)
receiverSlotreceiverSlot()int receiverSlot()
return_return_()CodeBuilder return_()
saloadsaload()CodeBuilder saload()
sastoresastore()CodeBuilder sastore()
sipushsipush(s)CodeBuilder sipush(int s)
startLabelstartLabel()Label startLabel()
storeLocalstoreLocal(tk,slot)CodeBuilder storeLocal(TypeKind tk, int slot)
swapswap()CodeBuilder swap()
tableswitchtableswitch([defaultTarget,cases])
tableswitch([ :defaultTarget = v, :cases = v ])
tableswitch([low,high,defaultTarget,cases])
tableswitch([ :low = v, :high = v, :defaultTarget = v, :cases = v ])
CodeBuilder tableswitch(Label defaultTarget, List cases)
CodeBuilder tableswitch(int low, int high, Label defaultTarget, List cases)
transformtransform(model,transform)ClassFileBuilder transform(CompoundElement model, ClassFileTransform transform)
transformingtransforming(transform,handler)CodeBuilder transforming(CodeTransform transform, Consumer handler)
tryingtrying(tryHandler,catchesHandler)CodeBuilder trying(Consumer tryHandler, Consumer catchesHandler)
withwith(e)ClassFileBuilder with(ClassFileElement e)

CodeBuilderCatchBuilder#

interface · java.lang.classfile.CodeBuilder$CatchBuilder

Methods

MethodRing callJava overloads
catchingcatching(exceptionType,catchHandler)CatchBuilder catching(ClassDesc exceptionType, Consumer catchHandler)
catchingAllcatchingAll(catchAllHandler)void catchingAll(Consumer catchAllHandler)
catchingMulticatchingMulti(exceptionTypes,catchHandler)CatchBuilder catchingMulti(List exceptionTypes, Consumer catchHandler)

CodeElement#

interface · java.lang.classfile.CodeElement

Extends: ClassFileElement

CodeModel#

interface · java.lang.classfile.CodeModel

Extends: CompoundElement, AttributedElement, MethodElement

Methods

MethodRing callJava overloads
@forEach@forEach(consumer)void forEach(Consumer consumer)
attributesattributes()List attributes()
elementListelementList()List elementList()
elementStreamelementStream()Stream elementStream()
exceptionHandlersexceptionHandlers()List exceptionHandlers()
findAttributefindAttribute(attr)Optional findAttribute(AttributeMapper attr)
findAttributesfindAttributes(attr)List findAttributes(AttributeMapper attr)
iteratoriterator()Iterator iterator()
parentparent()Optional parent()
spliteratorspliterator()Spliterator spliterator()
toDebugStringtoDebugString()String toDebugString()

CodeTransform#

interface · java.lang.classfile.CodeTransform

Extends: ClassFileTransform

Fields

NameTypeAccessIn Ring
ACCEPT_ALLCodeTransformconstant · statico.ACCEPT_ALL

Methods

MethodRing callJava overloads
acceptaccept(builder,element)void accept(ClassFileBuilder builder, ClassFileElement element)
andThenandThen(t)CodeTransform andThen(CodeTransform t)
atEndatEnd(builder)void atEnd(ClassFileBuilder builder)
atStartatStart(builder)void atStart(ClassFileBuilder builder)
endHandlerendHandler(finisher)static CodeTransform endHandler(Consumer finisher)
ofStatefulofStateful(supplier)static CodeTransform ofStateful(Supplier supplier)

CompoundElement#

interface · java.lang.classfile.CompoundElement

Extends: ClassFileElement, Iterable

Methods

MethodRing callJava overloads
@forEach@forEach(consumer)void forEach(Consumer consumer)
elementListelementList()List elementList()
elementStreamelementStream()Stream elementStream()
iteratoriterator()Iterator iterator()
spliteratorspliterator()Spliterator spliterator()
toDebugStringtoDebugString()String toDebugString()

CustomAttribute#

abstract · extends Object · java.lang.classfile.CustomAttribute

Implements: Attribute, CodeElement, ClassElement, MethodElement, FieldElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()

The methods and fields of Object are inherited.

FieldBuilder#

interface · java.lang.classfile.FieldBuilder

Extends: ClassFileBuilder

Methods

MethodRing callJava overloads
acceptaccept(e)void accept(ClassFileElement e)
andThenandThen(after)Consumer andThen(Consumer after)
constantPoolconstantPool()ConstantPoolBuilder constantPool()
transformtransform(model,transform)ClassFileBuilder transform(CompoundElement model, ClassFileTransform transform)
withwith(e)ClassFileBuilder with(ClassFileElement e)
withFlagswithFlags(flags)FieldBuilder withFlags(int flags)
FieldBuilder withFlags(AccessFlag[] flags)

FieldElement#

interface · java.lang.classfile.FieldElement

Extends: ClassFileElement

FieldModel#

interface · java.lang.classfile.FieldModel

Extends: CompoundElement, AttributedElement, ClassElement

Methods

MethodRing callJava overloads
@forEach@forEach(consumer)void forEach(Consumer consumer)
attributesattributes()List attributes()
elementListelementList()List elementList()
elementStreamelementStream()Stream elementStream()
fieldNamefieldName()Utf8Entry fieldName()
fieldTypefieldType()Utf8Entry fieldType()
fieldTypeSymbolfieldTypeSymbol()ClassDesc fieldTypeSymbol()
findAttributefindAttribute(attr)Optional findAttribute(AttributeMapper attr)
findAttributesfindAttributes(attr)List findAttributes(AttributeMapper attr)
flagsflags()AccessFlags flags()
iteratoriterator()Iterator iterator()
parentparent()Optional parent()
spliteratorspliterator()Spliterator spliterator()
toDebugStringtoDebugString()String toDebugString()

FieldTransform#

interface · java.lang.classfile.FieldTransform

Extends: ClassFileTransform

Fields

NameTypeAccessIn Ring
ACCEPT_ALLFieldTransformconstant · statico.ACCEPT_ALL

Methods

MethodRing callJava overloads
acceptaccept(builder,element)void accept(ClassFileBuilder builder, ClassFileElement element)
andThenandThen(t)FieldTransform andThen(FieldTransform t)
atEndatEnd(builder)void atEnd(ClassFileBuilder builder)
atStartatStart(builder)void atStart(ClassFileBuilder builder)
droppingdropping(filter)static FieldTransform dropping(Predicate filter)
endHandlerendHandler(finisher)static FieldTransform endHandler(Consumer finisher)
ofStatefulofStateful(supplier)static FieldTransform ofStateful(Supplier supplier)

Instruction#

interface · java.lang.classfile.Instruction

Extends: CodeElement

Methods

MethodRing callJava overloads
opcodeopcode()Opcode opcode()
sizeInBytessizeInBytes()int sizeInBytes()

Interfaces#

interface · java.lang.classfile.Interfaces

Extends: ClassElement

Methods

MethodRing callJava overloads
interfacesinterfaces()List interfaces()
ofof(interfaces)static Interfaces of(ClassEntry[] interfaces)
static Interfaces of(List interfaces)
ofSymbolsofSymbols(interfaces)static Interfaces ofSymbols(List interfaces)
static Interfaces ofSymbols(ClassDesc[] interfaces)

Label#

interface · java.lang.classfile.Label

MethodBuilder#

interface · java.lang.classfile.MethodBuilder

Extends: ClassFileBuilder

Methods

MethodRing callJava overloads
acceptaccept(e)void accept(ClassFileElement e)
andThenandThen(after)Consumer andThen(Consumer after)
constantPoolconstantPool()ConstantPoolBuilder constantPool()
transformtransform(model,transform)ClassFileBuilder transform(CompoundElement model, ClassFileTransform transform)
transformCodetransformCode(code,transform)MethodBuilder transformCode(CodeModel code, CodeTransform transform)
withwith(e)ClassFileBuilder with(ClassFileElement e)
withCodewithCode(code)MethodBuilder withCode(Consumer code)
withFlagswithFlags(flags)MethodBuilder withFlags(int flags)
MethodBuilder withFlags(AccessFlag[] flags)

MethodElement#

interface · java.lang.classfile.MethodElement

Extends: ClassFileElement

MethodModel#

interface · java.lang.classfile.MethodModel

Extends: CompoundElement, AttributedElement, ClassElement

Methods

MethodRing callJava overloads
@forEach@forEach(consumer)void forEach(Consumer consumer)
attributesattributes()List attributes()
codecode()Optional code()
elementListelementList()List elementList()
elementStreamelementStream()Stream elementStream()
findAttributefindAttribute(attr)Optional findAttribute(AttributeMapper attr)
findAttributesfindAttributes(attr)List findAttributes(AttributeMapper attr)
flagsflags()AccessFlags flags()
iteratoriterator()Iterator iterator()
methodNamemethodName()Utf8Entry methodName()
methodTypemethodType()Utf8Entry methodType()
methodTypeSymbolmethodTypeSymbol()MethodTypeDesc methodTypeSymbol()
parentparent()Optional parent()
spliteratorspliterator()Spliterator spliterator()
toDebugStringtoDebugString()String toDebugString()

MethodSignature#

interface · java.lang.classfile.MethodSignature

Methods

MethodRing callJava overloads
argumentsarguments()List arguments()
ofof(methodDescriptor)
of([result,arguments])
of([ :result = v, :arguments = v ])
of([typeParameters,exceptions,result,arguments])
of([ :typeParameters = v, :exceptions = v, :result = v, :arguments = v ])
static MethodSignature of(MethodTypeDesc methodDescriptor)
static MethodSignature of(Signature result, Signature[] arguments)
static MethodSignature of(List typeParameters, List exceptions, Signature result, Signature[] arguments)
parseFromparseFrom(methodSignature)static MethodSignature parseFrom(String methodSignature)
resultresult()Signature result()
signatureStringsignatureString()String signatureString()
throwableSignaturesthrowableSignatures()List throwableSignatures()
typeParameterstypeParameters()List typeParameters()

MethodTransform#

interface · java.lang.classfile.MethodTransform

Extends: ClassFileTransform

Fields

NameTypeAccessIn Ring
ACCEPT_ALLMethodTransformconstant · statico.ACCEPT_ALL

Methods

MethodRing callJava overloads
acceptaccept(builder,element)void accept(ClassFileBuilder builder, ClassFileElement element)
andThenandThen(t)MethodTransform andThen(MethodTransform t)
atEndatEnd(builder)void atEnd(ClassFileBuilder builder)
atStartatStart(builder)void atStart(ClassFileBuilder builder)
droppingdropping(filter)static MethodTransform dropping(Predicate filter)
endHandlerendHandler(finisher)static MethodTransform endHandler(Consumer finisher)
ofStatefulofStateful(supplier)static MethodTransform ofStateful(Supplier supplier)
transformingCodetransformingCode(xform)static MethodTransform transformingCode(CodeTransform xform)

Opcode#

enum · extends Enum · java.lang.classfile.Opcode

Fields

NameTypeAccessIn Ring
NOPOpcodeconstant · statico.NOP
ACONST_NULLOpcodeconstant · statico.ACONST_NULL
ICONST_M1Opcodeconstant · statico.ICONST_M1
ICONST_0Opcodeconstant · statico.ICONST_0
ICONST_1Opcodeconstant · statico.ICONST_1
ICONST_2Opcodeconstant · statico.ICONST_2
ICONST_3Opcodeconstant · statico.ICONST_3
ICONST_4Opcodeconstant · statico.ICONST_4
ICONST_5Opcodeconstant · statico.ICONST_5
LCONST_0Opcodeconstant · statico.LCONST_0
LCONST_1Opcodeconstant · statico.LCONST_1
FCONST_0Opcodeconstant · statico.FCONST_0
FCONST_1Opcodeconstant · statico.FCONST_1
FCONST_2Opcodeconstant · statico.FCONST_2
DCONST_0Opcodeconstant · statico.DCONST_0
DCONST_1Opcodeconstant · statico.DCONST_1
BIPUSHOpcodeconstant · statico.BIPUSH
SIPUSHOpcodeconstant · statico.SIPUSH
LDCOpcodeconstant · statico.LDC
LDC_WOpcodeconstant · statico.LDC_W
LDC2_WOpcodeconstant · statico.LDC2_W
ILOADOpcodeconstant · statico.ILOAD
LLOADOpcodeconstant · statico.LLOAD
FLOADOpcodeconstant · statico.FLOAD
DLOADOpcodeconstant · statico.DLOAD
ALOADOpcodeconstant · statico.ALOAD
ILOAD_0Opcodeconstant · statico.ILOAD_0
ILOAD_1Opcodeconstant · statico.ILOAD_1
ILOAD_2Opcodeconstant · statico.ILOAD_2
ILOAD_3Opcodeconstant · statico.ILOAD_3
LLOAD_0Opcodeconstant · statico.LLOAD_0
LLOAD_1Opcodeconstant · statico.LLOAD_1
LLOAD_2Opcodeconstant · statico.LLOAD_2
LLOAD_3Opcodeconstant · statico.LLOAD_3
FLOAD_0Opcodeconstant · statico.FLOAD_0
FLOAD_1Opcodeconstant · statico.FLOAD_1
FLOAD_2Opcodeconstant · statico.FLOAD_2
FLOAD_3Opcodeconstant · statico.FLOAD_3
DLOAD_0Opcodeconstant · statico.DLOAD_0
DLOAD_1Opcodeconstant · statico.DLOAD_1
DLOAD_2Opcodeconstant · statico.DLOAD_2
DLOAD_3Opcodeconstant · statico.DLOAD_3
ALOAD_0Opcodeconstant · statico.ALOAD_0
ALOAD_1Opcodeconstant · statico.ALOAD_1
ALOAD_2Opcodeconstant · statico.ALOAD_2
ALOAD_3Opcodeconstant · statico.ALOAD_3
IALOADOpcodeconstant · statico.IALOAD
LALOADOpcodeconstant · statico.LALOAD
FALOADOpcodeconstant · statico.FALOAD
DALOADOpcodeconstant · statico.DALOAD
AALOADOpcodeconstant · statico.AALOAD
BALOADOpcodeconstant · statico.BALOAD
CALOADOpcodeconstant · statico.CALOAD
SALOADOpcodeconstant · statico.SALOAD
ISTOREOpcodeconstant · statico.ISTORE
LSTOREOpcodeconstant · statico.LSTORE
FSTOREOpcodeconstant · statico.FSTORE
DSTOREOpcodeconstant · statico.DSTORE
ASTOREOpcodeconstant · statico.ASTORE
ISTORE_0Opcodeconstant · statico.ISTORE_0
ISTORE_1Opcodeconstant · statico.ISTORE_1
ISTORE_2Opcodeconstant · statico.ISTORE_2
ISTORE_3Opcodeconstant · statico.ISTORE_3
LSTORE_0Opcodeconstant · statico.LSTORE_0
LSTORE_1Opcodeconstant · statico.LSTORE_1
LSTORE_2Opcodeconstant · statico.LSTORE_2
LSTORE_3Opcodeconstant · statico.LSTORE_3
FSTORE_0Opcodeconstant · statico.FSTORE_0
FSTORE_1Opcodeconstant · statico.FSTORE_1
FSTORE_2Opcodeconstant · statico.FSTORE_2
FSTORE_3Opcodeconstant · statico.FSTORE_3
DSTORE_0Opcodeconstant · statico.DSTORE_0
DSTORE_1Opcodeconstant · statico.DSTORE_1
DSTORE_2Opcodeconstant · statico.DSTORE_2
DSTORE_3Opcodeconstant · statico.DSTORE_3
ASTORE_0Opcodeconstant · statico.ASTORE_0
ASTORE_1Opcodeconstant · statico.ASTORE_1
ASTORE_2Opcodeconstant · statico.ASTORE_2
ASTORE_3Opcodeconstant · statico.ASTORE_3
IASTOREOpcodeconstant · statico.IASTORE
LASTOREOpcodeconstant · statico.LASTORE
FASTOREOpcodeconstant · statico.FASTORE
DASTOREOpcodeconstant · statico.DASTORE
AASTOREOpcodeconstant · statico.AASTORE
BASTOREOpcodeconstant · statico.BASTORE
CASTOREOpcodeconstant · statico.CASTORE
SASTOREOpcodeconstant · statico.SASTORE
POPOpcodeconstant · statico.POP
POP2Opcodeconstant · statico.POP2
DUPOpcodeconstant · statico.DUP
DUP_X1Opcodeconstant · statico.DUP_X1
DUP_X2Opcodeconstant · statico.DUP_X2
DUP2Opcodeconstant · statico.DUP2
DUP2_X1Opcodeconstant · statico.DUP2_X1
DUP2_X2Opcodeconstant · statico.DUP2_X2
SWAPOpcodeconstant · statico.SWAP
IADDOpcodeconstant · statico.IADD
LADDOpcodeconstant · statico.LADD
FADDOpcodeconstant · statico.FADD
DADDOpcodeconstant · statico.DADD
ISUBOpcodeconstant · statico.ISUB
LSUBOpcodeconstant · statico.LSUB
FSUBOpcodeconstant · statico.FSUB
DSUBOpcodeconstant · statico.DSUB
IMULOpcodeconstant · statico.IMUL
LMULOpcodeconstant · statico.LMUL
FMULOpcodeconstant · statico.FMUL
DMULOpcodeconstant · statico.DMUL
IDIVOpcodeconstant · statico.IDIV
LDIVOpcodeconstant · statico.LDIV
FDIVOpcodeconstant · statico.FDIV
DDIVOpcodeconstant · statico.DDIV
IREMOpcodeconstant · statico.IREM
LREMOpcodeconstant · statico.LREM
FREMOpcodeconstant · statico.FREM
DREMOpcodeconstant · statico.DREM
INEGOpcodeconstant · statico.INEG
LNEGOpcodeconstant · statico.LNEG
FNEGOpcodeconstant · statico.FNEG
DNEGOpcodeconstant · statico.DNEG
ISHLOpcodeconstant · statico.ISHL
LSHLOpcodeconstant · statico.LSHL
ISHROpcodeconstant · statico.ISHR
LSHROpcodeconstant · statico.LSHR
IUSHROpcodeconstant · statico.IUSHR
LUSHROpcodeconstant · statico.LUSHR
IANDOpcodeconstant · statico.IAND
LANDOpcodeconstant · statico.LAND
IOROpcodeconstant · statico.IOR
LOROpcodeconstant · statico.LOR
IXOROpcodeconstant · statico.IXOR
LXOROpcodeconstant · statico.LXOR
IINCOpcodeconstant · statico.IINC
I2LOpcodeconstant · statico.I2L
I2FOpcodeconstant · statico.I2F
I2DOpcodeconstant · statico.I2D
L2IOpcodeconstant · statico.L2I
L2FOpcodeconstant · statico.L2F
L2DOpcodeconstant · statico.L2D
F2IOpcodeconstant · statico.F2I
F2LOpcodeconstant · statico.F2L
F2DOpcodeconstant · statico.F2D
D2IOpcodeconstant · statico.D2I
D2LOpcodeconstant · statico.D2L
D2FOpcodeconstant · statico.D2F
I2BOpcodeconstant · statico.I2B
I2COpcodeconstant · statico.I2C
I2SOpcodeconstant · statico.I2S
LCMPOpcodeconstant · statico.LCMP
FCMPLOpcodeconstant · statico.FCMPL
FCMPGOpcodeconstant · statico.FCMPG
DCMPLOpcodeconstant · statico.DCMPL
DCMPGOpcodeconstant · statico.DCMPG
IFEQOpcodeconstant · statico.IFEQ
IFNEOpcodeconstant · statico.IFNE
IFLTOpcodeconstant · statico.IFLT
IFGEOpcodeconstant · statico.IFGE
IFGTOpcodeconstant · statico.IFGT
IFLEOpcodeconstant · statico.IFLE
IF_ICMPEQOpcodeconstant · statico.IF_ICMPEQ
IF_ICMPNEOpcodeconstant · statico.IF_ICMPNE
IF_ICMPLTOpcodeconstant · statico.IF_ICMPLT
IF_ICMPGEOpcodeconstant · statico.IF_ICMPGE
IF_ICMPGTOpcodeconstant · statico.IF_ICMPGT
IF_ICMPLEOpcodeconstant · statico.IF_ICMPLE
IF_ACMPEQOpcodeconstant · statico.IF_ACMPEQ
IF_ACMPNEOpcodeconstant · statico.IF_ACMPNE
GOTOOpcodeconstant · statico.GOTO
JSROpcodeconstant · statico.JSR
RETOpcodeconstant · statico.RET
TABLESWITCHOpcodeconstant · statico.TABLESWITCH
LOOKUPSWITCHOpcodeconstant · statico.LOOKUPSWITCH
IRETURNOpcodeconstant · statico.IRETURN
LRETURNOpcodeconstant · statico.LRETURN
FRETURNOpcodeconstant · statico.FRETURN
DRETURNOpcodeconstant · statico.DRETURN
ARETURNOpcodeconstant · statico.ARETURN
RETURNOpcodeconstant · statico.@RETURN
GETSTATICOpcodeconstant · statico.GETSTATIC
PUTSTATICOpcodeconstant · statico.PUTSTATIC
PUTFIELDOpcodeconstant · statico.PUTFIELD
INVOKEVIRTUALOpcodeconstant · statico.INVOKEVIRTUAL
INVOKESPECIALOpcodeconstant · statico.INVOKESPECIAL
INVOKESTATICOpcodeconstant · statico.INVOKESTATIC
INVOKEINTERFACEOpcodeconstant · statico.INVOKEINTERFACE
INVOKEDYNAMICOpcodeconstant · statico.INVOKEDYNAMIC
NEWOpcodeconstant · statico.@NEW
NEWARRAYOpcodeconstant · statico.NEWARRAY
ANEWARRAYOpcodeconstant · statico.ANEWARRAY
ARRAYLENGTHOpcodeconstant · statico.ARRAYLENGTH
ATHROWOpcodeconstant · statico.ATHROW
CHECKCASTOpcodeconstant · statico.CHECKCAST
MONITORENTEROpcodeconstant · statico.MONITORENTER
MONITOREXITOpcodeconstant · statico.MONITOREXIT
MULTIANEWARRAYOpcodeconstant · statico.MULTIANEWARRAY
IFNULLOpcodeconstant · statico.IFNULL
IFNONNULLOpcodeconstant · statico.IFNONNULL
GOTO_WOpcodeconstant · statico.GOTO_W
JSR_WOpcodeconstant · statico.JSR_W
ILOAD_WOpcodeconstant · statico.ILOAD_W
LLOAD_WOpcodeconstant · statico.LLOAD_W
FLOAD_WOpcodeconstant · statico.FLOAD_W
DLOAD_WOpcodeconstant · statico.DLOAD_W
ALOAD_WOpcodeconstant · statico.ALOAD_W
ISTORE_WOpcodeconstant · statico.ISTORE_W
LSTORE_WOpcodeconstant · statico.LSTORE_W
FSTORE_WOpcodeconstant · statico.FSTORE_W
DSTORE_WOpcodeconstant · statico.DSTORE_W
ASTORE_WOpcodeconstant · statico.ASTORE_W
RET_WOpcodeconstant · statico.RET_W
IINC_WOpcodeconstant · statico.IINC_W

Methods

MethodRing callJava overloads
bytecodebytecode()int bytecode()
isWideisWide()boolean isWide()
kindkind()Kind kind()
sizeIfFixedsizeIfFixed()int sizeIfFixed()
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static Opcode valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static Opcode[] values()

The methods and fields of Enum are inherited.

OpcodeKind#

enum · extends Enum · java.lang.classfile.Opcode$Kind

Fields

NameTypeAccessIn Ring
LOADKindconstant · statico.@LOAD
STOREKindconstant · statico.STORE
INCREMENTKindconstant · statico.INCREMENT
BRANCHKindconstant · statico.BRANCH
LOOKUP_SWITCHKindconstant · statico.LOOKUP_SWITCH
TABLE_SWITCHKindconstant · statico.TABLE_SWITCH
RETURNKindconstant · statico.@RETURN
THROW_EXCEPTIONKindconstant · statico.THROW_EXCEPTION
FIELD_ACCESSKindconstant · statico.FIELD_ACCESS
INVOKEKindconstant · statico.INVOKE
INVOKE_DYNAMICKindconstant · statico.INVOKE_DYNAMIC
NEW_OBJECTKindconstant · statico.NEW_OBJECT
NEW_PRIMITIVE_ARRAYKindconstant · statico.NEW_PRIMITIVE_ARRAY
NEW_REF_ARRAYKindconstant · statico.NEW_REF_ARRAY
NEW_MULTI_ARRAYKindconstant · statico.NEW_MULTI_ARRAY
TYPE_CHECKKindconstant · statico.TYPE_CHECK
ARRAY_LOADKindconstant · statico.ARRAY_LOAD
ARRAY_STOREKindconstant · statico.ARRAY_STORE
STACKKindconstant · statico.STACK
CONVERTKindconstant · statico.CONVERT
OPERATORKindconstant · statico.OPERATOR
CONSTANTKindconstant · statico.CONSTANT
MONITORKindconstant · statico.MONITOR
NOPKindconstant · statico.NOP
DISCONTINUED_JSRKindconstant · statico.DISCONTINUED_JSR
DISCONTINUED_RETKindconstant · statico.DISCONTINUED_RET

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static Kind valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static Kind[] values()

The methods and fields of Enum are inherited.

PseudoInstruction#

interface · java.lang.classfile.PseudoInstruction

Extends: CodeElement

Signature#

interface · java.lang.classfile.Signature

Methods

MethodRing callJava overloads
ofof(classDesc)static Signature of(ClassDesc classDesc)
parseFromparseFrom(javaTypeSignature)static Signature parseFrom(String javaTypeSignature)
signatureStringsignatureString()String signatureString()

SignatureArrayTypeSig#

interface · java.lang.classfile.Signature$ArrayTypeSig

Extends: SignatureRefTypeSig

Methods

MethodRing callJava overloads
componentSignaturecomponentSignature()Signature componentSignature()
ofof(componentSignature)
of([dims,componentSignature])
of([ :dims = v, :componentSignature = v ])
static ArrayTypeSig of(Signature componentSignature)
static ArrayTypeSig of(int dims, Signature componentSignature)
signatureStringsignatureString()String signatureString()

SignatureBaseTypeSig#

interface · java.lang.classfile.Signature$BaseTypeSig

Extends: Signature

Methods

MethodRing callJava overloads
baseTypebaseType()char baseType()
ofof(classDesc)static BaseTypeSig of(ClassDesc classDesc)
static BaseTypeSig of(char baseType)
signatureStringsignatureString()String signatureString()

SignatureClassTypeSig#

interface · java.lang.classfile.Signature$ClassTypeSig

Extends: SignatureRefTypeSig, SignatureThrowableSig

Methods

MethodRing callJava overloads
@className@className()String className()
classDescclassDesc()ClassDesc classDesc()
ofof([className,typeArgs])
of([ :className = v, :typeArgs = v ])
of([outerType,className,typeArgs])
of([ :outerType = v, :className = v, :typeArgs = v ])
static ClassTypeSig of(String className, TypeArg[] typeArgs)
static ClassTypeSig of(ClassDesc className, TypeArg[] typeArgs)
static ClassTypeSig of(ClassTypeSig outerType, String className, TypeArg[] typeArgs)
static ClassTypeSig of(ClassTypeSig outerType, ClassDesc className, TypeArg[] typeArgs)
outerTypeouterType()Optional outerType()
signatureStringsignatureString()String signatureString()
typeArgstypeArgs()List typeArgs()

SignatureRefTypeSig#

interface · java.lang.classfile.Signature$RefTypeSig

Extends: Signature

Methods

MethodRing callJava overloads
signatureStringsignatureString()String signatureString()

SignatureThrowableSig#

interface · java.lang.classfile.Signature$ThrowableSig

Extends: Signature

Methods

MethodRing callJava overloads
signatureStringsignatureString()String signatureString()

SignatureTypeArg#

interface · java.lang.classfile.Signature$TypeArg

Methods

MethodRing callJava overloads
boundedbounded(wildcard,boundType)static Bounded bounded(WildcardIndicator wildcard, RefTypeSig boundType)
extendsOfextendsOf(boundType)static Bounded extendsOf(RefTypeSig boundType)
ofof(boundType)static Bounded of(RefTypeSig boundType)
superOfsuperOf(boundType)static Bounded superOf(RefTypeSig boundType)
unboundedunbounded()static Unbounded unbounded()

SignatureTypeArgBounded#

interface · java.lang.classfile.Signature$TypeArg$Bounded

Extends: SignatureTypeArg

Methods

MethodRing callJava overloads
boundTypeboundType()RefTypeSig boundType()
wildcardIndicatorwildcardIndicator()WildcardIndicator wildcardIndicator()

SignatureTypeArgBoundedWildcardIndicator#

enum · extends Enum · java.lang.classfile.Signature$TypeArg$Bounded$WildcardIndicator

Fields

NameTypeAccessIn Ring
NONEWildcardIndicatorconstant · statico.NONE
EXTENDSWildcardIndicatorconstant · statico.EXTENDS
SUPERWildcardIndicatorconstant · statico.SUPER

Methods

MethodRing callJava overloads
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static WildcardIndicator valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static WildcardIndicator[] values()

The methods and fields of Enum are inherited.

SignatureTypeArgUnbounded#

interface · java.lang.classfile.Signature$TypeArg$Unbounded

Extends: SignatureTypeArg

SignatureTypeParam#

interface · java.lang.classfile.Signature$TypeParam

Methods

MethodRing callJava overloads
classBoundclassBound()Optional classBound()
identifieridentifier()String identifier()
interfaceBoundsinterfaceBounds()List interfaceBounds()
ofof(identifier,classBound,interfaceBounds)static TypeParam of(String identifier, Optional classBound, RefTypeSig[] interfaceBounds)
static TypeParam of(String identifier, RefTypeSig classBound, RefTypeSig[] interfaceBounds)

SignatureTypeVarSig#

interface · java.lang.classfile.Signature$TypeVarSig

Extends: SignatureRefTypeSig, SignatureThrowableSig

Methods

MethodRing callJava overloads
identifieridentifier()String identifier()
ofof(identifier)static TypeVarSig of(String identifier)
signatureStringsignatureString()String signatureString()

Superclass#

interface · java.lang.classfile.Superclass

Extends: ClassElement

Methods

MethodRing callJava overloads
ofof(superclassEntry)static Superclass of(ClassEntry superclassEntry)
superclassEntrysuperclassEntry()ClassEntry superclassEntry()

TypeAnnotation#

interface · java.lang.classfile.TypeAnnotation

Methods

MethodRing callJava overloads
annotationannotation()Annotation annotation()
ofof(targetInfo,targetPath,annotation)static TypeAnnotation of(TargetInfo targetInfo, List targetPath, Annotation annotation)
targetInfotargetInfo()TargetInfo targetInfo()
targetPathtargetPath()List targetPath()

TypeAnnotationCatchTarget#

interface · java.lang.classfile.TypeAnnotation$CatchTarget

Extends: TypeAnnotationTargetInfo

Fields

NameTypeAccessIn Ring
TARGET_CLASS_TYPE_PARAMETERintconstant · statico.TARGET_CLASS_TYPE_PARAMETER
TARGET_METHOD_TYPE_PARAMETERintconstant · statico.TARGET_METHOD_TYPE_PARAMETER
TARGET_CLASS_EXTENDSintconstant · statico.TARGET_CLASS_EXTENDS
TARGET_CLASS_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_CLASS_TYPE_PARAMETER_BOUND
TARGET_METHOD_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_METHOD_TYPE_PARAMETER_BOUND
TARGET_FIELDintconstant · statico.TARGET_FIELD
TARGET_METHOD_RETURNintconstant · statico.TARGET_METHOD_RETURN
TARGET_METHOD_RECEIVERintconstant · statico.TARGET_METHOD_RECEIVER
TARGET_METHOD_FORMAL_PARAMETERintconstant · statico.TARGET_METHOD_FORMAL_PARAMETER
TARGET_THROWSintconstant · statico.TARGET_THROWS
TARGET_LOCAL_VARIABLEintconstant · statico.TARGET_LOCAL_VARIABLE
TARGET_RESOURCE_VARIABLEintconstant · statico.TARGET_RESOURCE_VARIABLE
TARGET_EXCEPTION_PARAMETERintconstant · statico.TARGET_EXCEPTION_PARAMETER
TARGET_INSTANCEOFintconstant · statico.TARGET_INSTANCEOF
TARGET_NEWintconstant · statico.TARGET_NEW
TARGET_CONSTRUCTOR_REFERENCEintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE
TARGET_METHOD_REFERENCEintconstant · statico.TARGET_METHOD_REFERENCE
TARGET_CASTintconstant · statico.TARGET_CAST
TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
TARGET_METHOD_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_INVOCATION_TYPE_ARGUMENT
TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
TARGET_METHOD_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_REFERENCE_TYPE_ARGUMENT

Methods

MethodRing callJava overloads
exceptionTableIndexexceptionTableIndex()int exceptionTableIndex()
sizesize()int size()
targetTypetargetType()TargetType targetType()

TypeAnnotationEmptyTarget#

interface · java.lang.classfile.TypeAnnotation$EmptyTarget

Extends: TypeAnnotationTargetInfo

Fields

NameTypeAccessIn Ring
TARGET_CLASS_TYPE_PARAMETERintconstant · statico.TARGET_CLASS_TYPE_PARAMETER
TARGET_METHOD_TYPE_PARAMETERintconstant · statico.TARGET_METHOD_TYPE_PARAMETER
TARGET_CLASS_EXTENDSintconstant · statico.TARGET_CLASS_EXTENDS
TARGET_CLASS_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_CLASS_TYPE_PARAMETER_BOUND
TARGET_METHOD_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_METHOD_TYPE_PARAMETER_BOUND
TARGET_FIELDintconstant · statico.TARGET_FIELD
TARGET_METHOD_RETURNintconstant · statico.TARGET_METHOD_RETURN
TARGET_METHOD_RECEIVERintconstant · statico.TARGET_METHOD_RECEIVER
TARGET_METHOD_FORMAL_PARAMETERintconstant · statico.TARGET_METHOD_FORMAL_PARAMETER
TARGET_THROWSintconstant · statico.TARGET_THROWS
TARGET_LOCAL_VARIABLEintconstant · statico.TARGET_LOCAL_VARIABLE
TARGET_RESOURCE_VARIABLEintconstant · statico.TARGET_RESOURCE_VARIABLE
TARGET_EXCEPTION_PARAMETERintconstant · statico.TARGET_EXCEPTION_PARAMETER
TARGET_INSTANCEOFintconstant · statico.TARGET_INSTANCEOF
TARGET_NEWintconstant · statico.TARGET_NEW
TARGET_CONSTRUCTOR_REFERENCEintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE
TARGET_METHOD_REFERENCEintconstant · statico.TARGET_METHOD_REFERENCE
TARGET_CASTintconstant · statico.TARGET_CAST
TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
TARGET_METHOD_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_INVOCATION_TYPE_ARGUMENT
TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
TARGET_METHOD_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_REFERENCE_TYPE_ARGUMENT

Methods

MethodRing callJava overloads
sizesize()int size()
targetTypetargetType()TargetType targetType()

TypeAnnotationFormalParameterTarget#

interface · java.lang.classfile.TypeAnnotation$FormalParameterTarget

Extends: TypeAnnotationTargetInfo

Fields

NameTypeAccessIn Ring
TARGET_CLASS_TYPE_PARAMETERintconstant · statico.TARGET_CLASS_TYPE_PARAMETER
TARGET_METHOD_TYPE_PARAMETERintconstant · statico.TARGET_METHOD_TYPE_PARAMETER
TARGET_CLASS_EXTENDSintconstant · statico.TARGET_CLASS_EXTENDS
TARGET_CLASS_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_CLASS_TYPE_PARAMETER_BOUND
TARGET_METHOD_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_METHOD_TYPE_PARAMETER_BOUND
TARGET_FIELDintconstant · statico.TARGET_FIELD
TARGET_METHOD_RETURNintconstant · statico.TARGET_METHOD_RETURN
TARGET_METHOD_RECEIVERintconstant · statico.TARGET_METHOD_RECEIVER
TARGET_METHOD_FORMAL_PARAMETERintconstant · statico.TARGET_METHOD_FORMAL_PARAMETER
TARGET_THROWSintconstant · statico.TARGET_THROWS
TARGET_LOCAL_VARIABLEintconstant · statico.TARGET_LOCAL_VARIABLE
TARGET_RESOURCE_VARIABLEintconstant · statico.TARGET_RESOURCE_VARIABLE
TARGET_EXCEPTION_PARAMETERintconstant · statico.TARGET_EXCEPTION_PARAMETER
TARGET_INSTANCEOFintconstant · statico.TARGET_INSTANCEOF
TARGET_NEWintconstant · statico.TARGET_NEW
TARGET_CONSTRUCTOR_REFERENCEintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE
TARGET_METHOD_REFERENCEintconstant · statico.TARGET_METHOD_REFERENCE
TARGET_CASTintconstant · statico.TARGET_CAST
TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
TARGET_METHOD_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_INVOCATION_TYPE_ARGUMENT
TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
TARGET_METHOD_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_REFERENCE_TYPE_ARGUMENT

Methods

MethodRing callJava overloads
formalParameterIndexformalParameterIndex()int formalParameterIndex()
sizesize()int size()
targetTypetargetType()TargetType targetType()

TypeAnnotationLocalVarTarget#

interface · java.lang.classfile.TypeAnnotation$LocalVarTarget

Extends: TypeAnnotationTargetInfo

Fields

NameTypeAccessIn Ring
TARGET_CLASS_TYPE_PARAMETERintconstant · statico.TARGET_CLASS_TYPE_PARAMETER
TARGET_METHOD_TYPE_PARAMETERintconstant · statico.TARGET_METHOD_TYPE_PARAMETER
TARGET_CLASS_EXTENDSintconstant · statico.TARGET_CLASS_EXTENDS
TARGET_CLASS_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_CLASS_TYPE_PARAMETER_BOUND
TARGET_METHOD_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_METHOD_TYPE_PARAMETER_BOUND
TARGET_FIELDintconstant · statico.TARGET_FIELD
TARGET_METHOD_RETURNintconstant · statico.TARGET_METHOD_RETURN
TARGET_METHOD_RECEIVERintconstant · statico.TARGET_METHOD_RECEIVER
TARGET_METHOD_FORMAL_PARAMETERintconstant · statico.TARGET_METHOD_FORMAL_PARAMETER
TARGET_THROWSintconstant · statico.TARGET_THROWS
TARGET_LOCAL_VARIABLEintconstant · statico.TARGET_LOCAL_VARIABLE
TARGET_RESOURCE_VARIABLEintconstant · statico.TARGET_RESOURCE_VARIABLE
TARGET_EXCEPTION_PARAMETERintconstant · statico.TARGET_EXCEPTION_PARAMETER
TARGET_INSTANCEOFintconstant · statico.TARGET_INSTANCEOF
TARGET_NEWintconstant · statico.TARGET_NEW
TARGET_CONSTRUCTOR_REFERENCEintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE
TARGET_METHOD_REFERENCEintconstant · statico.TARGET_METHOD_REFERENCE
TARGET_CASTintconstant · statico.TARGET_CAST
TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
TARGET_METHOD_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_INVOCATION_TYPE_ARGUMENT
TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
TARGET_METHOD_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_REFERENCE_TYPE_ARGUMENT

Methods

MethodRing callJava overloads
sizesize()int size()
tabletable()List table()
targetTypetargetType()TargetType targetType()

TypeAnnotationLocalVarTargetInfo#

interface · java.lang.classfile.TypeAnnotation$LocalVarTargetInfo

Methods

MethodRing callJava overloads
endLabelendLabel()Label endLabel()
indexindex()int index()
ofof(startLabel,endLabel,index)static LocalVarTargetInfo of(Label startLabel, Label endLabel, int index)
startLabelstartLabel()Label startLabel()

TypeAnnotationOffsetTarget#

interface · java.lang.classfile.TypeAnnotation$OffsetTarget

Extends: TypeAnnotationTargetInfo

Fields

NameTypeAccessIn Ring
TARGET_CLASS_TYPE_PARAMETERintconstant · statico.TARGET_CLASS_TYPE_PARAMETER
TARGET_METHOD_TYPE_PARAMETERintconstant · statico.TARGET_METHOD_TYPE_PARAMETER
TARGET_CLASS_EXTENDSintconstant · statico.TARGET_CLASS_EXTENDS
TARGET_CLASS_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_CLASS_TYPE_PARAMETER_BOUND
TARGET_METHOD_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_METHOD_TYPE_PARAMETER_BOUND
TARGET_FIELDintconstant · statico.TARGET_FIELD
TARGET_METHOD_RETURNintconstant · statico.TARGET_METHOD_RETURN
TARGET_METHOD_RECEIVERintconstant · statico.TARGET_METHOD_RECEIVER
TARGET_METHOD_FORMAL_PARAMETERintconstant · statico.TARGET_METHOD_FORMAL_PARAMETER
TARGET_THROWSintconstant · statico.TARGET_THROWS
TARGET_LOCAL_VARIABLEintconstant · statico.TARGET_LOCAL_VARIABLE
TARGET_RESOURCE_VARIABLEintconstant · statico.TARGET_RESOURCE_VARIABLE
TARGET_EXCEPTION_PARAMETERintconstant · statico.TARGET_EXCEPTION_PARAMETER
TARGET_INSTANCEOFintconstant · statico.TARGET_INSTANCEOF
TARGET_NEWintconstant · statico.TARGET_NEW
TARGET_CONSTRUCTOR_REFERENCEintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE
TARGET_METHOD_REFERENCEintconstant · statico.TARGET_METHOD_REFERENCE
TARGET_CASTintconstant · statico.TARGET_CAST
TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
TARGET_METHOD_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_INVOCATION_TYPE_ARGUMENT
TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
TARGET_METHOD_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_REFERENCE_TYPE_ARGUMENT

Methods

MethodRing callJava overloads
sizesize()int size()
targettarget()Label target()
targetTypetargetType()TargetType targetType()

TypeAnnotationSupertypeTarget#

interface · java.lang.classfile.TypeAnnotation$SupertypeTarget

Extends: TypeAnnotationTargetInfo

Fields

NameTypeAccessIn Ring
TARGET_CLASS_TYPE_PARAMETERintconstant · statico.TARGET_CLASS_TYPE_PARAMETER
TARGET_METHOD_TYPE_PARAMETERintconstant · statico.TARGET_METHOD_TYPE_PARAMETER
TARGET_CLASS_EXTENDSintconstant · statico.TARGET_CLASS_EXTENDS
TARGET_CLASS_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_CLASS_TYPE_PARAMETER_BOUND
TARGET_METHOD_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_METHOD_TYPE_PARAMETER_BOUND
TARGET_FIELDintconstant · statico.TARGET_FIELD
TARGET_METHOD_RETURNintconstant · statico.TARGET_METHOD_RETURN
TARGET_METHOD_RECEIVERintconstant · statico.TARGET_METHOD_RECEIVER
TARGET_METHOD_FORMAL_PARAMETERintconstant · statico.TARGET_METHOD_FORMAL_PARAMETER
TARGET_THROWSintconstant · statico.TARGET_THROWS
TARGET_LOCAL_VARIABLEintconstant · statico.TARGET_LOCAL_VARIABLE
TARGET_RESOURCE_VARIABLEintconstant · statico.TARGET_RESOURCE_VARIABLE
TARGET_EXCEPTION_PARAMETERintconstant · statico.TARGET_EXCEPTION_PARAMETER
TARGET_INSTANCEOFintconstant · statico.TARGET_INSTANCEOF
TARGET_NEWintconstant · statico.TARGET_NEW
TARGET_CONSTRUCTOR_REFERENCEintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE
TARGET_METHOD_REFERENCEintconstant · statico.TARGET_METHOD_REFERENCE
TARGET_CASTintconstant · statico.TARGET_CAST
TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
TARGET_METHOD_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_INVOCATION_TYPE_ARGUMENT
TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
TARGET_METHOD_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_REFERENCE_TYPE_ARGUMENT

Methods

MethodRing callJava overloads
sizesize()int size()
supertypeIndexsupertypeIndex()int supertypeIndex()
targetTypetargetType()TargetType targetType()

TypeAnnotationTargetInfo#

interface · java.lang.classfile.TypeAnnotation$TargetInfo

Fields

NameTypeAccessIn Ring
TARGET_CLASS_TYPE_PARAMETERintconstant · statico.TARGET_CLASS_TYPE_PARAMETER
TARGET_METHOD_TYPE_PARAMETERintconstant · statico.TARGET_METHOD_TYPE_PARAMETER
TARGET_CLASS_EXTENDSintconstant · statico.TARGET_CLASS_EXTENDS
TARGET_CLASS_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_CLASS_TYPE_PARAMETER_BOUND
TARGET_METHOD_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_METHOD_TYPE_PARAMETER_BOUND
TARGET_FIELDintconstant · statico.TARGET_FIELD
TARGET_METHOD_RETURNintconstant · statico.TARGET_METHOD_RETURN
TARGET_METHOD_RECEIVERintconstant · statico.TARGET_METHOD_RECEIVER
TARGET_METHOD_FORMAL_PARAMETERintconstant · statico.TARGET_METHOD_FORMAL_PARAMETER
TARGET_THROWSintconstant · statico.TARGET_THROWS
TARGET_LOCAL_VARIABLEintconstant · statico.TARGET_LOCAL_VARIABLE
TARGET_RESOURCE_VARIABLEintconstant · statico.TARGET_RESOURCE_VARIABLE
TARGET_EXCEPTION_PARAMETERintconstant · statico.TARGET_EXCEPTION_PARAMETER
TARGET_INSTANCEOFintconstant · statico.TARGET_INSTANCEOF
TARGET_NEWintconstant · statico.TARGET_NEW
TARGET_CONSTRUCTOR_REFERENCEintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE
TARGET_METHOD_REFERENCEintconstant · statico.TARGET_METHOD_REFERENCE
TARGET_CASTintconstant · statico.TARGET_CAST
TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
TARGET_METHOD_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_INVOCATION_TYPE_ARGUMENT
TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
TARGET_METHOD_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_REFERENCE_TYPE_ARGUMENT

Methods

MethodRing callJava overloads
ofof(targetType)static EmptyTarget of(TargetType targetType)
ofCastExprofCastExpr(target,typeArgumentIndex)static TypeArgumentTarget ofCastExpr(Label target, int typeArgumentIndex)
ofClassExtendsofClassExtends(supertypeIndex)static SupertypeTarget ofClassExtends(int supertypeIndex)
ofClassTypeParameterofClassTypeParameter(typeParameterIndex)static TypeParameterTarget ofClassTypeParameter(int typeParameterIndex)
ofClassTypeParameterBoundofClassTypeParameterBound(typeParameterIndex,boundIndex)static TypeParameterBoundTarget ofClassTypeParameterBound(int typeParameterIndex, int boundIndex)
ofConstructorInvocationTypeArgumentofConstructorInvocationTypeArgument(target,typeArgumentIndex)static TypeArgumentTarget ofConstructorInvocationTypeArgument(Label target, int typeArgumentIndex)
ofConstructorReferenceofConstructorReference(target)static OffsetTarget ofConstructorReference(Label target)
ofConstructorReferenceTypeArgumentofConstructorReferenceTypeArgument(target,typeArgumentIndex)static TypeArgumentTarget ofConstructorReferenceTypeArgument(Label target, int typeArgumentIndex)
ofExceptionParameterofExceptionParameter(exceptionTableIndex)static CatchTarget ofExceptionParameter(int exceptionTableIndex)
ofFieldofField()static EmptyTarget ofField()
ofInstanceofExprofInstanceofExpr(target)static OffsetTarget ofInstanceofExpr(Label target)
ofLocalVariableofLocalVariable(table)static LocalVarTarget ofLocalVariable(List table)
ofMethodFormalParameterofMethodFormalParameter(formalParameterIndex)static FormalParameterTarget ofMethodFormalParameter(int formalParameterIndex)
ofMethodInvocationTypeArgumentofMethodInvocationTypeArgument(target,typeArgumentIndex)static TypeArgumentTarget ofMethodInvocationTypeArgument(Label target, int typeArgumentIndex)
ofMethodReceiverofMethodReceiver()static EmptyTarget ofMethodReceiver()
ofMethodReferenceofMethodReference(target)static OffsetTarget ofMethodReference(Label target)
ofMethodReferenceTypeArgumentofMethodReferenceTypeArgument(target,typeArgumentIndex)static TypeArgumentTarget ofMethodReferenceTypeArgument(Label target, int typeArgumentIndex)
ofMethodReturnofMethodReturn()static EmptyTarget ofMethodReturn()
ofMethodTypeParameterofMethodTypeParameter(typeParameterIndex)static TypeParameterTarget ofMethodTypeParameter(int typeParameterIndex)
ofMethodTypeParameterBoundofMethodTypeParameterBound(typeParameterIndex,boundIndex)static TypeParameterBoundTarget ofMethodTypeParameterBound(int typeParameterIndex, int boundIndex)
ofNewExprofNewExpr(target)static OffsetTarget ofNewExpr(Label target)
ofOffsetofOffset(targetType,target)static OffsetTarget ofOffset(TargetType targetType, Label target)
ofResourceVariableofResourceVariable(table)static LocalVarTarget ofResourceVariable(List table)
ofThrowsofThrows(throwsTargetIndex)static ThrowsTarget ofThrows(int throwsTargetIndex)
ofTypeArgumentofTypeArgument(targetType,target,typeArgumentIndex)static TypeArgumentTarget ofTypeArgument(TargetType targetType, Label target, int typeArgumentIndex)
ofTypeParameterofTypeParameter(targetType,typeParameterIndex)static TypeParameterTarget ofTypeParameter(TargetType targetType, int typeParameterIndex)
ofTypeParameterBoundofTypeParameterBound(targetType,typeParameterIndex,boundIndex)static TypeParameterBoundTarget ofTypeParameterBound(TargetType targetType, int typeParameterIndex, int boundIndex)
ofVariableofVariable(targetType,table)static LocalVarTarget ofVariable(TargetType targetType, List table)
sizesize()int size()
targetTypetargetType()TargetType targetType()

TypeAnnotationTargetType#

enum · extends Enum · java.lang.classfile.TypeAnnotation$TargetType

Fields

NameTypeAccessIn Ring
CLASS_TYPE_PARAMETERTargetTypeconstant · statico.CLASS_TYPE_PARAMETER
METHOD_TYPE_PARAMETERTargetTypeconstant · statico.METHOD_TYPE_PARAMETER
CLASS_EXTENDSTargetTypeconstant · statico.CLASS_EXTENDS
CLASS_TYPE_PARAMETER_BOUNDTargetTypeconstant · statico.CLASS_TYPE_PARAMETER_BOUND
METHOD_TYPE_PARAMETER_BOUNDTargetTypeconstant · statico.METHOD_TYPE_PARAMETER_BOUND
FIELDTargetTypeconstant · statico.FIELD
METHOD_RETURNTargetTypeconstant · statico.METHOD_RETURN
METHOD_RECEIVERTargetTypeconstant · statico.METHOD_RECEIVER
METHOD_FORMAL_PARAMETERTargetTypeconstant · statico.METHOD_FORMAL_PARAMETER
THROWSTargetTypeconstant · statico.THROWS
LOCAL_VARIABLETargetTypeconstant · statico.LOCAL_VARIABLE
RESOURCE_VARIABLETargetTypeconstant · statico.RESOURCE_VARIABLE
EXCEPTION_PARAMETERTargetTypeconstant · statico.EXCEPTION_PARAMETER
NEWTargetTypeconstant · statico.@NEW
CONSTRUCTOR_REFERENCETargetTypeconstant · statico.CONSTRUCTOR_REFERENCE
METHOD_REFERENCETargetTypeconstant · statico.METHOD_REFERENCE
CASTTargetTypeconstant · statico.CAST
CONSTRUCTOR_INVOCATION_TYPE_ARGUMENTTargetTypeconstant · statico.CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
METHOD_INVOCATION_TYPE_ARGUMENTTargetTypeconstant · statico.METHOD_INVOCATION_TYPE_ARGUMENT
CONSTRUCTOR_REFERENCE_TYPE_ARGUMENTTargetTypeconstant · statico.CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
METHOD_REFERENCE_TYPE_ARGUMENTTargetTypeconstant · statico.METHOD_REFERENCE_TYPE_ARGUMENT

Methods

MethodRing callJava overloads
sizeIfFixedsizeIfFixed()int sizeIfFixed()
targetTypeValuetargetTypeValue()int targetTypeValue()
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static TargetType valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static TargetType[] values()

The methods and fields of Enum are inherited.

TypeAnnotationThrowsTarget#

interface · java.lang.classfile.TypeAnnotation$ThrowsTarget

Extends: TypeAnnotationTargetInfo

Fields

NameTypeAccessIn Ring
TARGET_CLASS_TYPE_PARAMETERintconstant · statico.TARGET_CLASS_TYPE_PARAMETER
TARGET_METHOD_TYPE_PARAMETERintconstant · statico.TARGET_METHOD_TYPE_PARAMETER
TARGET_CLASS_EXTENDSintconstant · statico.TARGET_CLASS_EXTENDS
TARGET_CLASS_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_CLASS_TYPE_PARAMETER_BOUND
TARGET_METHOD_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_METHOD_TYPE_PARAMETER_BOUND
TARGET_FIELDintconstant · statico.TARGET_FIELD
TARGET_METHOD_RETURNintconstant · statico.TARGET_METHOD_RETURN
TARGET_METHOD_RECEIVERintconstant · statico.TARGET_METHOD_RECEIVER
TARGET_METHOD_FORMAL_PARAMETERintconstant · statico.TARGET_METHOD_FORMAL_PARAMETER
TARGET_THROWSintconstant · statico.TARGET_THROWS
TARGET_LOCAL_VARIABLEintconstant · statico.TARGET_LOCAL_VARIABLE
TARGET_RESOURCE_VARIABLEintconstant · statico.TARGET_RESOURCE_VARIABLE
TARGET_EXCEPTION_PARAMETERintconstant · statico.TARGET_EXCEPTION_PARAMETER
TARGET_INSTANCEOFintconstant · statico.TARGET_INSTANCEOF
TARGET_NEWintconstant · statico.TARGET_NEW
TARGET_CONSTRUCTOR_REFERENCEintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE
TARGET_METHOD_REFERENCEintconstant · statico.TARGET_METHOD_REFERENCE
TARGET_CASTintconstant · statico.TARGET_CAST
TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
TARGET_METHOD_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_INVOCATION_TYPE_ARGUMENT
TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
TARGET_METHOD_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_REFERENCE_TYPE_ARGUMENT

Methods

MethodRing callJava overloads
sizesize()int size()
targetTypetargetType()TargetType targetType()
throwsTargetIndexthrowsTargetIndex()int throwsTargetIndex()

TypeAnnotationTypeArgumentTarget#

interface · java.lang.classfile.TypeAnnotation$TypeArgumentTarget

Extends: TypeAnnotationTargetInfo

Fields

NameTypeAccessIn Ring
TARGET_CLASS_TYPE_PARAMETERintconstant · statico.TARGET_CLASS_TYPE_PARAMETER
TARGET_METHOD_TYPE_PARAMETERintconstant · statico.TARGET_METHOD_TYPE_PARAMETER
TARGET_CLASS_EXTENDSintconstant · statico.TARGET_CLASS_EXTENDS
TARGET_CLASS_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_CLASS_TYPE_PARAMETER_BOUND
TARGET_METHOD_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_METHOD_TYPE_PARAMETER_BOUND
TARGET_FIELDintconstant · statico.TARGET_FIELD
TARGET_METHOD_RETURNintconstant · statico.TARGET_METHOD_RETURN
TARGET_METHOD_RECEIVERintconstant · statico.TARGET_METHOD_RECEIVER
TARGET_METHOD_FORMAL_PARAMETERintconstant · statico.TARGET_METHOD_FORMAL_PARAMETER
TARGET_THROWSintconstant · statico.TARGET_THROWS
TARGET_LOCAL_VARIABLEintconstant · statico.TARGET_LOCAL_VARIABLE
TARGET_RESOURCE_VARIABLEintconstant · statico.TARGET_RESOURCE_VARIABLE
TARGET_EXCEPTION_PARAMETERintconstant · statico.TARGET_EXCEPTION_PARAMETER
TARGET_INSTANCEOFintconstant · statico.TARGET_INSTANCEOF
TARGET_NEWintconstant · statico.TARGET_NEW
TARGET_CONSTRUCTOR_REFERENCEintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE
TARGET_METHOD_REFERENCEintconstant · statico.TARGET_METHOD_REFERENCE
TARGET_CASTintconstant · statico.TARGET_CAST
TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
TARGET_METHOD_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_INVOCATION_TYPE_ARGUMENT
TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
TARGET_METHOD_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_REFERENCE_TYPE_ARGUMENT

Methods

MethodRing callJava overloads
sizesize()int size()
targettarget()Label target()
targetTypetargetType()TargetType targetType()
typeArgumentIndextypeArgumentIndex()int typeArgumentIndex()

TypeAnnotationTypeParameterBoundTarget#

interface · java.lang.classfile.TypeAnnotation$TypeParameterBoundTarget

Extends: TypeAnnotationTargetInfo

Fields

NameTypeAccessIn Ring
TARGET_CLASS_TYPE_PARAMETERintconstant · statico.TARGET_CLASS_TYPE_PARAMETER
TARGET_METHOD_TYPE_PARAMETERintconstant · statico.TARGET_METHOD_TYPE_PARAMETER
TARGET_CLASS_EXTENDSintconstant · statico.TARGET_CLASS_EXTENDS
TARGET_CLASS_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_CLASS_TYPE_PARAMETER_BOUND
TARGET_METHOD_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_METHOD_TYPE_PARAMETER_BOUND
TARGET_FIELDintconstant · statico.TARGET_FIELD
TARGET_METHOD_RETURNintconstant · statico.TARGET_METHOD_RETURN
TARGET_METHOD_RECEIVERintconstant · statico.TARGET_METHOD_RECEIVER
TARGET_METHOD_FORMAL_PARAMETERintconstant · statico.TARGET_METHOD_FORMAL_PARAMETER
TARGET_THROWSintconstant · statico.TARGET_THROWS
TARGET_LOCAL_VARIABLEintconstant · statico.TARGET_LOCAL_VARIABLE
TARGET_RESOURCE_VARIABLEintconstant · statico.TARGET_RESOURCE_VARIABLE
TARGET_EXCEPTION_PARAMETERintconstant · statico.TARGET_EXCEPTION_PARAMETER
TARGET_INSTANCEOFintconstant · statico.TARGET_INSTANCEOF
TARGET_NEWintconstant · statico.TARGET_NEW
TARGET_CONSTRUCTOR_REFERENCEintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE
TARGET_METHOD_REFERENCEintconstant · statico.TARGET_METHOD_REFERENCE
TARGET_CASTintconstant · statico.TARGET_CAST
TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
TARGET_METHOD_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_INVOCATION_TYPE_ARGUMENT
TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
TARGET_METHOD_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_REFERENCE_TYPE_ARGUMENT

Methods

MethodRing callJava overloads
boundIndexboundIndex()int boundIndex()
sizesize()int size()
targetTypetargetType()TargetType targetType()
typeParameterIndextypeParameterIndex()int typeParameterIndex()

TypeAnnotationTypeParameterTarget#

interface · java.lang.classfile.TypeAnnotation$TypeParameterTarget

Extends: TypeAnnotationTargetInfo

Fields

NameTypeAccessIn Ring
TARGET_CLASS_TYPE_PARAMETERintconstant · statico.TARGET_CLASS_TYPE_PARAMETER
TARGET_METHOD_TYPE_PARAMETERintconstant · statico.TARGET_METHOD_TYPE_PARAMETER
TARGET_CLASS_EXTENDSintconstant · statico.TARGET_CLASS_EXTENDS
TARGET_CLASS_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_CLASS_TYPE_PARAMETER_BOUND
TARGET_METHOD_TYPE_PARAMETER_BOUNDintconstant · statico.TARGET_METHOD_TYPE_PARAMETER_BOUND
TARGET_FIELDintconstant · statico.TARGET_FIELD
TARGET_METHOD_RETURNintconstant · statico.TARGET_METHOD_RETURN
TARGET_METHOD_RECEIVERintconstant · statico.TARGET_METHOD_RECEIVER
TARGET_METHOD_FORMAL_PARAMETERintconstant · statico.TARGET_METHOD_FORMAL_PARAMETER
TARGET_THROWSintconstant · statico.TARGET_THROWS
TARGET_LOCAL_VARIABLEintconstant · statico.TARGET_LOCAL_VARIABLE
TARGET_RESOURCE_VARIABLEintconstant · statico.TARGET_RESOURCE_VARIABLE
TARGET_EXCEPTION_PARAMETERintconstant · statico.TARGET_EXCEPTION_PARAMETER
TARGET_INSTANCEOFintconstant · statico.TARGET_INSTANCEOF
TARGET_NEWintconstant · statico.TARGET_NEW
TARGET_CONSTRUCTOR_REFERENCEintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE
TARGET_METHOD_REFERENCEintconstant · statico.TARGET_METHOD_REFERENCE
TARGET_CASTintconstant · statico.TARGET_CAST
TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT
TARGET_METHOD_INVOCATION_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_INVOCATION_TYPE_ARGUMENT
TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT
TARGET_METHOD_REFERENCE_TYPE_ARGUMENTintconstant · statico.TARGET_METHOD_REFERENCE_TYPE_ARGUMENT

Methods

MethodRing callJava overloads
sizesize()int size()
targetTypetargetType()TargetType targetType()
typeParameterIndextypeParameterIndex()int typeParameterIndex()

TypeAnnotationTypePathComponent#

interface · java.lang.classfile.TypeAnnotation$TypePathComponent

Fields

NameTypeAccessIn Ring
ARRAYTypePathComponentconstant · statico.ARRAY
INNER_TYPETypePathComponentconstant · statico.INNER_TYPE
WILDCARDTypePathComponentconstant · statico.WILDCARD

Methods

MethodRing callJava overloads
ofof(typePathKind,typeArgumentIndex)static TypePathComponent of(Kind typePathKind, int typeArgumentIndex)
typeArgumentIndextypeArgumentIndex()int typeArgumentIndex()
typePathKindtypePathKind()Kind typePathKind()

TypeAnnotationTypePathComponentKind#

enum · extends Enum · java.lang.classfile.TypeAnnotation$TypePathComponent$Kind

Fields

NameTypeAccessIn Ring
ARRAYKindconstant · statico.ARRAY
INNER_TYPEKindconstant · statico.INNER_TYPE
WILDCARDKindconstant · statico.WILDCARD
TYPE_ARGUMENTKindconstant · statico.TYPE_ARGUMENT

Methods

MethodRing callJava overloads
tagtag()int tag()
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static Kind valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static Kind[] values()

The methods and fields of Enum are inherited.

TypeKind#

enum · extends Enum · java.lang.classfile.TypeKind

Fields

NameTypeAccessIn Ring
BOOLEANTypeKindconstant · statico.BOOLEAN
BYTETypeKindconstant · statico.BYTE
CHARTypeKindconstant · statico.CHAR
SHORTTypeKindconstant · statico.SHORT
INTTypeKindconstant · statico.INT
LONGTypeKindconstant · statico.LONG
FLOATTypeKindconstant · statico.FLOAT
DOUBLETypeKindconstant · statico.DOUBLE
REFERENCETypeKindconstant · statico.REFERENCE
VOIDTypeKindconstant · statico.VOID

Methods

MethodRing callJava overloads
asLoadableasLoadable()TypeKind asLoadable()
fromfrom(descriptor)static TypeKind from(OfField descriptor)
fromDescriptorfromDescriptor(s)static TypeKind fromDescriptor(CharSequence s)
fromNewarrayCodefromNewarrayCode(newarrayCode)static TypeKind fromNewarrayCode(int newarrayCode)
newarrayCodenewarrayCode()int newarrayCode()
slotSizeslotSize()int slotSize()
upperBoundupperBound()ClassDesc upperBound()
valueOfvalueOf(p1)
valueOf([enumClass,name])
valueOf([ :enumClass = v, :name = v ])
static TypeKind valueOf(String p1)
static Enum valueOf(Class enumClass, String name)
valuesvalues()static TypeKind[] values()

The methods and fields of Enum are inherited.

RingJava - use Java classes and methods from Ring programs.