RingJavafor Ring

java.lang.classfile.attribute

55 classes of the module java.base.

Load them with:

using {
	"java.lang.classfile.attribute"
}

All packages

AnnotationDefaultAttribute#

interface · java.lang.classfile.attribute.AnnotationDefaultAttribute

Extends: Attribute, MethodElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
defaultValuedefaultValue()AnnotationValue defaultValue()
ofof(annotationDefault)static AnnotationDefaultAttribute of(AnnotationValue annotationDefault)

BootstrapMethodsAttribute#

interface · java.lang.classfile.attribute.BootstrapMethodsAttribute

Extends: Attribute

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
bootstrapMethodsbootstrapMethods()List bootstrapMethods()
bootstrapMethodsSizebootstrapMethodsSize()int bootstrapMethodsSize()

CharacterRangeInfo#

interface · java.lang.classfile.attribute.CharacterRangeInfo

Methods

MethodRing callJava overloads
characterRangeEndcharacterRangeEnd()int characterRangeEnd()
characterRangeStartcharacterRangeStart()int characterRangeStart()
endPcendPc()int endPc()
flagsflags()int flags()
ofof(startPc,endPc,characterRangeStart,characterRangeEnd,flags)static CharacterRangeInfo of(int startPc, int endPc, int characterRangeStart, int characterRangeEnd, int flags)
startPcstartPc()int startPc()

CharacterRangeTableAttribute#

interface · java.lang.classfile.attribute.CharacterRangeTableAttribute

Extends: Attribute

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
characterRangeTablecharacterRangeTable()List characterRangeTable()
ofof(ranges)static CharacterRangeTableAttribute of(List ranges)

CodeAttribute#

interface · java.lang.classfile.attribute.CodeAttribute

Extends: Attribute, CodeModel

Methods

MethodRing callJava overloads
@forEach@forEach(consumer)void forEach(Consumer consumer)
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
attributesattributes()List attributes()
codeArraycodeArray()byte[] codeArray()
codeLengthcodeLength()int codeLength()
elementListelementList()List elementList()
elementStreamelementStream()Stream elementStream()
exceptionHandlersexceptionHandlers()List exceptionHandlers()
findAttributefindAttribute(attr)Optional findAttribute(AttributeMapper attr)
findAttributesfindAttributes(attr)List findAttributes(AttributeMapper attr)
iteratoriterator()Iterator iterator()
labelToBcilabelToBci(label)int labelToBci(Label label)
maxLocalsmaxLocals()int maxLocals()
maxStackmaxStack()int maxStack()
parentparent()Optional parent()
spliteratorspliterator()Spliterator spliterator()
toDebugStringtoDebugString()String toDebugString()

CompilationIDAttribute#

interface · java.lang.classfile.attribute.CompilationIDAttribute

Extends: Attribute, ClassElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
compilationIdcompilationId()Utf8Entry compilationId()
ofof(id)static CompilationIDAttribute of(Utf8Entry id)
static CompilationIDAttribute of(String id)

ConstantValueAttribute#

interface · java.lang.classfile.attribute.ConstantValueAttribute

Extends: Attribute, FieldElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
constantconstant()ConstantValueEntry constant()
ofof(value)static ConstantValueAttribute of(ConstantValueEntry value)
static ConstantValueAttribute of(ConstantDesc value)

DeprecatedAttribute#

interface · java.lang.classfile.attribute.DeprecatedAttribute

Extends: Attribute, ClassElement, MethodElement, FieldElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
ofof()static DeprecatedAttribute of()

EnclosingMethodAttribute#

interface · java.lang.classfile.attribute.EnclosingMethodAttribute

Extends: Attribute, ClassElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
enclosingClassenclosingClass()ClassEntry enclosingClass()
enclosingMethodenclosingMethod()Optional enclosingMethod()
enclosingMethodNameenclosingMethodName()Optional enclosingMethodName()
enclosingMethodTypeenclosingMethodType()Optional enclosingMethodType()
enclosingMethodTypeSymbolenclosingMethodTypeSymbol()Optional enclosingMethodTypeSymbol()
ofof([className,method])
of([ :className = v, :method = v ])
of([className,methodName,methodType])
of([ :className = v, :methodName = v, :methodType = v ])
static EnclosingMethodAttribute of(ClassEntry className, Optional method)
static EnclosingMethodAttribute of(ClassDesc className, Optional methodName, Optional methodType)

ExceptionsAttribute#

interface · java.lang.classfile.attribute.ExceptionsAttribute

Extends: Attribute, MethodElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
exceptionsexceptions()List exceptions()
ofof(exceptions)static ExceptionsAttribute of(ClassEntry[] exceptions)
static ExceptionsAttribute of(List exceptions)
ofSymbolsofSymbols(exceptions)static ExceptionsAttribute ofSymbols(List exceptions)
static ExceptionsAttribute ofSymbols(ClassDesc[] exceptions)

InnerClassesAttribute#

interface · java.lang.classfile.attribute.InnerClassesAttribute

Extends: Attribute, ClassElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
classesclasses()List classes()
ofof(innerClasses)static InnerClassesAttribute of(List innerClasses)
static InnerClassesAttribute of(InnerClassInfo[] innerClasses)

InnerClassInfo#

interface · java.lang.classfile.attribute.InnerClassInfo

Methods

MethodRing callJava overloads
flagsflags()Set flags()
flagsMaskflagsMask()int flagsMask()
hashas(flag)boolean has(AccessFlag flag)
innerClassinnerClass()ClassEntry innerClass()
innerNameinnerName()Optional innerName()
ofof(innerClass,outerClass,innerName,flags)static InnerClassInfo of(ClassDesc innerClass, Optional outerClass, Optional innerName, AccessFlag[] flags)
static InnerClassInfo of(ClassEntry innerClass, Optional outerClass, Optional innerName, int flags)
static InnerClassInfo of(ClassDesc innerClass, Optional outerClass, Optional innerName, int flags)
outerClassouterClass()Optional outerClass()

LineNumberInfo#

interface · java.lang.classfile.attribute.LineNumberInfo

Methods

MethodRing callJava overloads
lineNumberlineNumber()int lineNumber()
ofof(startPc,lineNumber)static LineNumberInfo of(int startPc, int lineNumber)
startPcstartPc()int startPc()

LineNumberTableAttribute#

interface · java.lang.classfile.attribute.LineNumberTableAttribute

Extends: Attribute

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
lineNumberslineNumbers()List lineNumbers()
ofof(lines)static LineNumberTableAttribute of(List lines)

LocalVariableInfo#

interface · java.lang.classfile.attribute.LocalVariableInfo

Methods

MethodRing callJava overloads
lengthlength()int length()
namename()Utf8Entry name()
slotslot()int slot()
startPcstartPc()int startPc()
typetype()Utf8Entry type()
typeSymboltypeSymbol()ClassDesc typeSymbol()

LocalVariableTableAttribute#

interface · java.lang.classfile.attribute.LocalVariableTableAttribute

Extends: Attribute

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
localVariableslocalVariables()List localVariables()
ofof(locals)static LocalVariableTableAttribute of(List locals)

LocalVariableTypeInfo#

interface · java.lang.classfile.attribute.LocalVariableTypeInfo

Methods

MethodRing callJava overloads
lengthlength()int length()
namename()Utf8Entry name()
signaturesignature()Utf8Entry signature()
slotslot()int slot()
startPcstartPc()int startPc()

LocalVariableTypeTableAttribute#

interface · java.lang.classfile.attribute.LocalVariableTypeTableAttribute

Extends: Attribute

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
localVariableTypeslocalVariableTypes()List localVariableTypes()
ofof(locals)static LocalVariableTypeTableAttribute of(List locals)

MethodParameterInfo#

interface · java.lang.classfile.attribute.MethodParameterInfo

Methods

MethodRing callJava overloads
flagsflags()Set flags()
flagsMaskflagsMask()int flagsMask()
hashas(flag)boolean has(AccessFlag flag)
namename()Optional name()
ofof(name,flags)static MethodParameterInfo of(Optional name, AccessFlag[] flags)
static MethodParameterInfo of(Optional name, int flags)
ofParameterofParameter(name,flags)static MethodParameterInfo ofParameter(Optional name, int flags)

MethodParametersAttribute#

interface · java.lang.classfile.attribute.MethodParametersAttribute

Extends: Attribute, MethodElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
ofof(parameters)static MethodParametersAttribute of(List parameters)
static MethodParametersAttribute of(MethodParameterInfo[] parameters)
parametersparameters()List parameters()

ModuleAttribute#

interface · java.lang.classfile.attribute.ModuleAttribute

Extends: Attribute, ClassElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
exportsexports()List exports()
hashas(flag)boolean has(AccessFlag flag)
moduleFlagsmoduleFlags()Set moduleFlags()
moduleFlagsMaskmoduleFlagsMask()int moduleFlagsMask()
moduleNamemoduleName()ModuleEntry moduleName()
moduleVersionmoduleVersion()Optional moduleVersion()
ofof([moduleName,attrHandler])
of([ :moduleName = v, :attrHandler = v ])
of([moduleName,moduleFlags,moduleVersion,requires,exports,opens,uses,provides])
of([ :moduleName = v, :moduleFlags = v, :moduleVersion = v, :requires = v, :exports = v, :opens = v, :uses = v, :provides = v ])
static ModuleAttribute of(ModuleDesc moduleName, Consumer attrHandler)
static ModuleAttribute of(ModuleEntry moduleName, Consumer attrHandler)
static ModuleAttribute of(ModuleEntry moduleName, int moduleFlags, Utf8Entry moduleVersion, Collection requires, Collection exports, Collection opens, Collection uses, Collection provides)
opensopens()List opens()
providesprovides()List provides()
requiresrequires()List requires()
usesuses()List uses()

ModuleAttributeModuleAttributeBuilder#

interface · java.lang.classfile.attribute.ModuleAttribute$ModuleAttributeBuilder

Methods

MethodRing callJava overloads
exportsexports(exports)
exports([pkge,exportsFlagsMask,exportsToModules])
exports([ :pkge = v, :exportsFlagsMask = v, :exportsToModules = v ])
ModuleAttributeBuilder exports(ModuleExportInfo exports)
ModuleAttributeBuilder exports(PackageDesc pkge, int exportsFlagsMask, ModuleDesc[] exportsToModules)
ModuleAttributeBuilder exports(PackageDesc pkge, Collection exportsFlags, ModuleDesc[] exportsToModules)
moduleFlagsmoduleFlags(moduleFlags)ModuleAttributeBuilder moduleFlags(AccessFlag[] moduleFlags)
ModuleAttributeBuilder moduleFlags(int flagsMask)
moduleNamemoduleName(moduleName)ModuleAttributeBuilder moduleName(ModuleDesc moduleName)
moduleVersionmoduleVersion(version)ModuleAttributeBuilder moduleVersion(String version)
opensopens(opens)
opens([pkge,opensFlags,opensToModules])
opens([ :pkge = v, :opensFlags = v, :opensToModules = v ])
ModuleAttributeBuilder opens(ModuleOpenInfo opens)
ModuleAttributeBuilder opens(PackageDesc pkge, Collection opensFlags, ModuleDesc[] opensToModules)
ModuleAttributeBuilder opens(PackageDesc pkge, int opensFlagsMask, ModuleDesc[] opensToModules)
providesprovides(provides)
provides([service,implClasses])
provides([ :service = v, :implClasses = v ])
ModuleAttributeBuilder provides(ModuleProvideInfo provides)
ModuleAttributeBuilder provides(ClassDesc service, ClassDesc[] implClasses)
requiresrequires(requires)
requires([module,requiresFlagsMask,version])
requires([ :module = v, :requiresFlagsMask = v, :version = v ])
ModuleAttributeBuilder requires(ModuleRequireInfo requires)
ModuleAttributeBuilder requires(ModuleDesc module, int requiresFlagsMask, String version)
ModuleAttributeBuilder requires(ModuleDesc module, Collection requiresFlags, String version)
usesuses(uses)ModuleAttributeBuilder uses(ClassEntry uses)
ModuleAttributeBuilder uses(ClassDesc service)

ModuleExportInfo#

interface · java.lang.classfile.attribute.ModuleExportInfo

Methods

MethodRing callJava overloads
exportedPackageexportedPackage()PackageEntry exportedPackage()
exportsFlagsexportsFlags()Set exportsFlags()
exportsFlagsMaskexportsFlagsMask()int exportsFlagsMask()
exportsToexportsTo()List exportsTo()
hashas(flag)boolean has(AccessFlag flag)
ofof(exports,exportFlags,exportsTo)static ModuleExportInfo of(PackageDesc exports, Collection exportFlags, ModuleDesc[] exportsTo)
static ModuleExportInfo of(PackageEntry exports, int exportFlags, ModuleEntry[] exportsTo)
static ModuleExportInfo of(PackageEntry exports, Collection exportFlags, ModuleEntry[] exportsTo)
static ModuleExportInfo of(PackageDesc exports, int exportFlags, List exportsTo)
static ModuleExportInfo of(PackageDesc exports, Collection exportFlags, List exportsTo)
static ModuleExportInfo of(PackageDesc exports, int exportFlags, ModuleDesc[] exportsTo)
static ModuleExportInfo of(PackageEntry exports, int exportFlags, List exportsTo)
static ModuleExportInfo of(PackageEntry exports, Collection exportFlags, List exportsTo)

ModuleHashesAttribute#

interface · java.lang.classfile.attribute.ModuleHashesAttribute

Extends: Attribute, ClassElement

Methods

MethodRing callJava overloads
algorithmalgorithm()Utf8Entry algorithm()
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
hasheshashes()List hashes()
ofof(algorithm,hashes)static ModuleHashesAttribute of(Utf8Entry algorithm, List hashes)
static ModuleHashesAttribute of(Utf8Entry algorithm, ModuleHashInfo[] hashes)
static ModuleHashesAttribute of(String algorithm, List hashes)
static ModuleHashesAttribute of(String algorithm, ModuleHashInfo[] hashes)

ModuleHashInfo#

interface · java.lang.classfile.attribute.ModuleHashInfo

Methods

MethodRing callJava overloads
hashhash()byte[] hash()
moduleNamemoduleName()ModuleEntry moduleName()
ofof(moduleDesc,hash)static ModuleHashInfo of(ModuleDesc moduleDesc, byte[] hash)
static ModuleHashInfo of(ModuleEntry moduleName, byte[] hash)

ModuleMainClassAttribute#

interface · java.lang.classfile.attribute.ModuleMainClassAttribute

Extends: Attribute, ClassElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
mainClassmainClass()ClassEntry mainClass()
ofof(mainClass)static ModuleMainClassAttribute of(ClassEntry mainClass)
static ModuleMainClassAttribute of(ClassDesc mainClass)

ModuleOpenInfo#

interface · java.lang.classfile.attribute.ModuleOpenInfo

Methods

MethodRing callJava overloads
hashas(flag)boolean has(AccessFlag flag)
ofof(opens,opensFlags,opensTo)static ModuleOpenInfo of(PackageDesc opens, Collection opensFlags, ModuleDesc[] opensTo)
static ModuleOpenInfo of(PackageEntry opens, int opensFlags, ModuleEntry[] opensTo)
static ModuleOpenInfo of(PackageEntry opens, Collection opensFlags, ModuleEntry[] opensTo)
static ModuleOpenInfo of(PackageDesc opens, int opensFlags, List opensTo)
static ModuleOpenInfo of(PackageDesc opens, Collection opensFlags, List opensTo)
static ModuleOpenInfo of(PackageDesc opens, int opensFlags, ModuleDesc[] opensTo)
static ModuleOpenInfo of(PackageEntry opens, int opensFlags, List opensTo)
static ModuleOpenInfo of(PackageEntry opens, Collection opensFlags, List opensTo)
openedPackageopenedPackage()PackageEntry openedPackage()
opensFlagsopensFlags()Set opensFlags()
opensFlagsMaskopensFlagsMask()int opensFlagsMask()
opensToopensTo()List opensTo()

ModulePackagesAttribute#

interface · java.lang.classfile.attribute.ModulePackagesAttribute

Extends: Attribute, ClassElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
ofof(packages)static ModulePackagesAttribute of(PackageEntry[] packages)
static ModulePackagesAttribute of(List packages)
ofNamesofNames(packages)static ModulePackagesAttribute ofNames(List packages)
static ModulePackagesAttribute ofNames(PackageDesc[] packages)
packagespackages()List packages()

ModuleProvideInfo#

interface · java.lang.classfile.attribute.ModuleProvideInfo

Methods

MethodRing callJava overloads
ofof(provides,providesWith)static ModuleProvideInfo of(ClassDesc provides, List providesWith)
static ModuleProvideInfo of(ClassDesc provides, ClassDesc[] providesWith)
static ModuleProvideInfo of(ClassEntry provides, List providesWith)
static ModuleProvideInfo of(ClassEntry provides, ClassEntry[] providesWith)
providesprovides()ClassEntry provides()
providesWithprovidesWith()List providesWith()

ModuleRequireInfo#

interface · java.lang.classfile.attribute.ModuleRequireInfo

Methods

MethodRing callJava overloads
hashas(flag)boolean has(AccessFlag flag)
ofof(requires,requiresFlags,requiresVersion)static ModuleRequireInfo of(ModuleEntry requires, Collection requiresFlags, Utf8Entry requiresVersion)
static ModuleRequireInfo of(ModuleDesc requires, int requiresFlags, String requiresVersion)
static ModuleRequireInfo of(ModuleDesc requires, Collection requiresFlags, String requiresVersion)
static ModuleRequireInfo of(ModuleEntry requires, int requiresFlags, Utf8Entry requiresVersion)
requiresrequires()ModuleEntry requires()
requiresFlagsrequiresFlags()Set requiresFlags()
requiresFlagsMaskrequiresFlagsMask()int requiresFlagsMask()
requiresVersionrequiresVersion()Optional requiresVersion()

ModuleResolutionAttribute#

interface · java.lang.classfile.attribute.ModuleResolutionAttribute

Extends: Attribute, ClassElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
ofof(resolutionFlags)static ModuleResolutionAttribute of(int resolutionFlags)
resolutionFlagsresolutionFlags()int resolutionFlags()

ModuleTargetAttribute#

interface · java.lang.classfile.attribute.ModuleTargetAttribute

Extends: Attribute, ClassElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
ofof(targetPlatform)static ModuleTargetAttribute of(String targetPlatform)
static ModuleTargetAttribute of(Utf8Entry targetPlatform)
targetPlatformtargetPlatform()Utf8Entry targetPlatform()

NestHostAttribute#

interface · java.lang.classfile.attribute.NestHostAttribute

Extends: Attribute, ClassElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
nestHostnestHost()ClassEntry nestHost()
ofof(nestHost)static NestHostAttribute of(ClassEntry nestHost)
static NestHostAttribute of(ClassDesc nestHost)

NestMembersAttribute#

interface · java.lang.classfile.attribute.NestMembersAttribute

Extends: Attribute, ClassElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
nestMembersnestMembers()List nestMembers()
ofof(nestMembers)static NestMembersAttribute of(ClassEntry[] nestMembers)
static NestMembersAttribute of(List nestMembers)
ofSymbolsofSymbols(nestMembers)static NestMembersAttribute ofSymbols(List nestMembers)
static NestMembersAttribute ofSymbols(ClassDesc[] nestMembers)

PermittedSubclassesAttribute#

interface · java.lang.classfile.attribute.PermittedSubclassesAttribute

Extends: Attribute, ClassElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
ofof(permittedSubclasses)static PermittedSubclassesAttribute of(ClassEntry[] permittedSubclasses)
static PermittedSubclassesAttribute of(List permittedSubclasses)
ofSymbolsofSymbols(permittedSubclasses)static PermittedSubclassesAttribute ofSymbols(List permittedSubclasses)
static PermittedSubclassesAttribute ofSymbols(ClassDesc[] permittedSubclasses)
permittedSubclassespermittedSubclasses()List permittedSubclasses()

RecordAttribute#

interface · java.lang.classfile.attribute.RecordAttribute

Extends: Attribute, ClassElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
componentscomponents()List components()
ofof(components)static RecordAttribute of(List components)
static RecordAttribute of(RecordComponentInfo[] components)

RecordComponentInfo#

interface · java.lang.classfile.attribute.RecordComponentInfo

Extends: AttributedElement

Methods

MethodRing callJava overloads
attributesattributes()List attributes()
descriptordescriptor()Utf8Entry descriptor()
descriptorSymboldescriptorSymbol()ClassDesc descriptorSymbol()
findAttributefindAttribute(attr)Optional findAttribute(AttributeMapper attr)
findAttributesfindAttributes(attr)List findAttributes(AttributeMapper attr)
namename()Utf8Entry name()
ofof(name,descriptor,attributes)static RecordComponentInfo of(Utf8Entry name, Utf8Entry descriptor, Attribute[] attributes)
static RecordComponentInfo of(String name, ClassDesc descriptor, List attributes)
static RecordComponentInfo of(String name, ClassDesc descriptor, Attribute[] attributes)
static RecordComponentInfo of(Utf8Entry name, Utf8Entry descriptor, List attributes)

RuntimeInvisibleAnnotationsAttribute#

interface · java.lang.classfile.attribute.RuntimeInvisibleAnnotationsAttribute

Extends: Attribute, ClassElement, MethodElement, FieldElement

Methods

MethodRing callJava overloads
annotationsannotations()List annotations()
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
ofof(annotations)static RuntimeInvisibleAnnotationsAttribute of(List annotations)
static RuntimeInvisibleAnnotationsAttribute of(Annotation[] annotations)

RuntimeInvisibleParameterAnnotationsAttribute#

interface · java.lang.classfile.attribute.RuntimeInvisibleParameterAnnotationsAttribute

Extends: Attribute, MethodElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
ofof(parameterAnnotations)static RuntimeInvisibleParameterAnnotationsAttribute of(List parameterAnnotations)
parameterAnnotationsparameterAnnotations()List parameterAnnotations()

RuntimeInvisibleTypeAnnotationsAttribute#

interface · java.lang.classfile.attribute.RuntimeInvisibleTypeAnnotationsAttribute

Extends: Attribute, ClassElement, MethodElement, FieldElement, CodeElement

Methods

MethodRing callJava overloads
annotationsannotations()List annotations()
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
ofof(annotations)static RuntimeInvisibleTypeAnnotationsAttribute of(List annotations)
static RuntimeInvisibleTypeAnnotationsAttribute of(TypeAnnotation[] annotations)

RuntimeVisibleAnnotationsAttribute#

interface · java.lang.classfile.attribute.RuntimeVisibleAnnotationsAttribute

Extends: Attribute, ClassElement, MethodElement, FieldElement

Methods

MethodRing callJava overloads
annotationsannotations()List annotations()
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
ofof(annotations)static RuntimeVisibleAnnotationsAttribute of(List annotations)
static RuntimeVisibleAnnotationsAttribute of(Annotation[] annotations)

RuntimeVisibleParameterAnnotationsAttribute#

interface · java.lang.classfile.attribute.RuntimeVisibleParameterAnnotationsAttribute

Extends: Attribute, MethodElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
ofof(parameterAnnotations)static RuntimeVisibleParameterAnnotationsAttribute of(List parameterAnnotations)
parameterAnnotationsparameterAnnotations()List parameterAnnotations()

RuntimeVisibleTypeAnnotationsAttribute#

interface · java.lang.classfile.attribute.RuntimeVisibleTypeAnnotationsAttribute

Extends: Attribute, ClassElement, MethodElement, FieldElement, CodeElement

Methods

MethodRing callJava overloads
annotationsannotations()List annotations()
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
ofof(annotations)static RuntimeVisibleTypeAnnotationsAttribute of(List annotations)
static RuntimeVisibleTypeAnnotationsAttribute of(TypeAnnotation[] annotations)

SignatureAttribute#

interface · java.lang.classfile.attribute.SignatureAttribute

Extends: Attribute, ClassElement, MethodElement, FieldElement

Methods

MethodRing callJava overloads
asClassSignatureasClassSignature()ClassSignature asClassSignature()
asMethodSignatureasMethodSignature()MethodSignature asMethodSignature()
asTypeSignatureasTypeSignature()Signature asTypeSignature()
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
ofof(classSignature)static SignatureAttribute of(ClassSignature classSignature)
static SignatureAttribute of(MethodSignature methodSignature)
static SignatureAttribute of(Signature signature)
static SignatureAttribute of(Utf8Entry signature)
signaturesignature()Utf8Entry signature()

SourceDebugExtensionAttribute#

interface · java.lang.classfile.attribute.SourceDebugExtensionAttribute

Extends: Attribute, ClassElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
contentscontents()byte[] contents()
ofof(contents)static SourceDebugExtensionAttribute of(byte[] contents)

SourceFileAttribute#

interface · java.lang.classfile.attribute.SourceFileAttribute

Extends: Attribute, ClassElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
ofof(sourceFile)static SourceFileAttribute of(String sourceFile)
static SourceFileAttribute of(Utf8Entry sourceFile)
sourceFilesourceFile()Utf8Entry sourceFile()

SourceIDAttribute#

interface · java.lang.classfile.attribute.SourceIDAttribute

Extends: Attribute, ClassElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
ofof(sourceId)static SourceIDAttribute of(Utf8Entry sourceId)
static SourceIDAttribute of(String sourceId)
sourceIdsourceId()Utf8Entry sourceId()

StackMapFrameInfo#

interface · java.lang.classfile.attribute.StackMapFrameInfo

Methods

MethodRing callJava overloads
frameTypeframeType()int frameType()
localslocals()List locals()
ofof(target,locals,stack)static StackMapFrameInfo of(Label target, List locals, List stack)
stackstack()List stack()
targettarget()Label target()

StackMapFrameInfoObjectVerificationTypeInfo#

interface · java.lang.classfile.attribute.StackMapFrameInfo$ObjectVerificationTypeInfo

Extends: StackMapFrameInfoVerificationTypeInfo

Fields

NameTypeAccessIn Ring
ITEM_TOPintconstant · statico.ITEM_TOP
ITEM_INTEGERintconstant · statico.ITEM_INTEGER
ITEM_FLOATintconstant · statico.ITEM_FLOAT
ITEM_DOUBLEintconstant · statico.ITEM_DOUBLE
ITEM_LONGintconstant · statico.ITEM_LONG
ITEM_NULLintconstant · statico.ITEM_NULL
ITEM_UNINITIALIZED_THISintconstant · statico.ITEM_UNINITIALIZED_THIS
ITEM_OBJECTintconstant · statico.ITEM_OBJECT
ITEM_UNINITIALIZEDintconstant · statico.ITEM_UNINITIALIZED

Methods

MethodRing callJava overloads
@className@className()ClassEntry className()
classSymbolclassSymbol()ClassDesc classSymbol()
ofof(className)static ObjectVerificationTypeInfo of(ClassEntry className)
static ObjectVerificationTypeInfo of(ClassDesc classDesc)
tagtag()int tag()

StackMapFrameInfoSimpleVerificationTypeInfo#

enum · extends Enum · java.lang.classfile.attribute.StackMapFrameInfo$SimpleVerificationTypeInfo

Implements: StackMapFrameInfoVerificationTypeInfo

Fields

NameTypeAccessIn Ring
TOPSimpleVerificationTypeInfoconstant · statico.TOP
INTEGERSimpleVerificationTypeInfoconstant · statico.INTEGER
FLOATSimpleVerificationTypeInfoconstant · statico.FLOAT
DOUBLESimpleVerificationTypeInfoconstant · statico.DOUBLE
LONGSimpleVerificationTypeInfoconstant · statico.LONG
NULLSimpleVerificationTypeInfoconstant · statico.NULL
UNINITIALIZED_THISSimpleVerificationTypeInfoconstant · statico.UNINITIALIZED_THIS
ITEM_TOPintconstant · statico.ITEM_TOP
ITEM_INTEGERintconstant · statico.ITEM_INTEGER
ITEM_FLOATintconstant · statico.ITEM_FLOAT
ITEM_DOUBLEintconstant · statico.ITEM_DOUBLE
ITEM_LONGintconstant · statico.ITEM_LONG
ITEM_NULLintconstant · statico.ITEM_NULL
ITEM_UNINITIALIZED_THISintconstant · statico.ITEM_UNINITIALIZED_THIS
ITEM_OBJECTintconstant · statico.ITEM_OBJECT
ITEM_UNINITIALIZEDintconstant · statico.ITEM_UNINITIALIZED

Methods

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

The methods and fields of Enum are inherited.

StackMapFrameInfoUninitializedVerificationTypeInfo#

interface · java.lang.classfile.attribute.StackMapFrameInfo$UninitializedVerificationTypeInfo

Extends: StackMapFrameInfoVerificationTypeInfo

Fields

NameTypeAccessIn Ring
ITEM_TOPintconstant · statico.ITEM_TOP
ITEM_INTEGERintconstant · statico.ITEM_INTEGER
ITEM_FLOATintconstant · statico.ITEM_FLOAT
ITEM_DOUBLEintconstant · statico.ITEM_DOUBLE
ITEM_LONGintconstant · statico.ITEM_LONG
ITEM_NULLintconstant · statico.ITEM_NULL
ITEM_UNINITIALIZED_THISintconstant · statico.ITEM_UNINITIALIZED_THIS
ITEM_OBJECTintconstant · statico.ITEM_OBJECT
ITEM_UNINITIALIZEDintconstant · statico.ITEM_UNINITIALIZED

Methods

MethodRing callJava overloads
newTargetnewTarget()Label newTarget()
ofof(newTarget)static UninitializedVerificationTypeInfo of(Label newTarget)
tagtag()int tag()

StackMapFrameInfoVerificationTypeInfo#

interface · java.lang.classfile.attribute.StackMapFrameInfo$VerificationTypeInfo

Fields

NameTypeAccessIn Ring
ITEM_TOPintconstant · statico.ITEM_TOP
ITEM_INTEGERintconstant · statico.ITEM_INTEGER
ITEM_FLOATintconstant · statico.ITEM_FLOAT
ITEM_DOUBLEintconstant · statico.ITEM_DOUBLE
ITEM_LONGintconstant · statico.ITEM_LONG
ITEM_NULLintconstant · statico.ITEM_NULL
ITEM_UNINITIALIZED_THISintconstant · statico.ITEM_UNINITIALIZED_THIS
ITEM_OBJECTintconstant · statico.ITEM_OBJECT
ITEM_UNINITIALIZEDintconstant · statico.ITEM_UNINITIALIZED

Methods

MethodRing callJava overloads
tagtag()int tag()

StackMapTableAttribute#

interface · java.lang.classfile.attribute.StackMapTableAttribute

Extends: Attribute, CodeElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
entriesentries()List entries()
ofof(entries)static StackMapTableAttribute of(List entries)

SyntheticAttribute#

interface · java.lang.classfile.attribute.SyntheticAttribute

Extends: Attribute, ClassElement, MethodElement, FieldElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
ofof()static SyntheticAttribute of()

UnknownAttribute#

interface · java.lang.classfile.attribute.UnknownAttribute

Extends: Attribute, ClassElement, MethodElement, FieldElement, CodeElement

Methods

MethodRing callJava overloads
attributeMapperattributeMapper()AttributeMapper attributeMapper()
attributeNameattributeName()Utf8Entry attributeName()
contentscontents()byte[] contents()
RingJava - use Java classes and methods from Ring programs.