java.lang.classfile.attribute
55 classes of the module java.base.
Load them with:
using {
"java.lang.classfile.attribute"
}
AnnotationDefaultAttribute#
interface · java.lang.classfile.attribute.AnnotationDefaultAttribute
Extends: Attribute, MethodElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
defaultValue | defaultValue() | AnnotationValue defaultValue() |
of | of(annotationDefault) | static AnnotationDefaultAttribute of(AnnotationValue annotationDefault) |
BootstrapMethodsAttribute#
interface · java.lang.classfile.attribute.BootstrapMethodsAttribute
Extends: Attribute
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
bootstrapMethods | bootstrapMethods() | List bootstrapMethods() |
bootstrapMethodsSize | bootstrapMethodsSize() | int bootstrapMethodsSize() |
CharacterRangeInfo#
interface · java.lang.classfile.attribute.CharacterRangeInfo
Methods
| Method | Ring call | Java overloads |
|---|---|---|
characterRangeEnd | characterRangeEnd() | int characterRangeEnd() |
characterRangeStart | characterRangeStart() | int characterRangeStart() |
endPc | endPc() | int endPc() |
flags | flags() | int flags() |
of | of(startPc,endPc,characterRangeStart,characterRangeEnd,flags) | static CharacterRangeInfo of(int startPc, int endPc, int characterRangeStart, int characterRangeEnd, int flags) |
startPc | startPc() | int startPc() |
CharacterRangeTableAttribute#
interface · java.lang.classfile.attribute.CharacterRangeTableAttribute
Extends: Attribute
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
characterRangeTable | characterRangeTable() | List characterRangeTable() |
of | of(ranges) | static CharacterRangeTableAttribute of(List ranges) |
CodeAttribute#
interface · java.lang.classfile.attribute.CodeAttribute
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@forEach | @forEach(consumer) | void forEach(Consumer consumer) |
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
attributes | attributes() | List attributes() |
codeArray | codeArray() | byte[] codeArray() |
codeLength | codeLength() | int codeLength() |
elementList | elementList() | List elementList() |
elementStream | elementStream() | Stream elementStream() |
exceptionHandlers | exceptionHandlers() | List exceptionHandlers() |
findAttribute | findAttribute(attr) | Optional findAttribute(AttributeMapper attr) |
findAttributes | findAttributes(attr) | List findAttributes(AttributeMapper attr) |
iterator | iterator() | Iterator iterator() |
labelToBci | labelToBci(label) | int labelToBci(Label label) |
maxLocals | maxLocals() | int maxLocals() |
maxStack | maxStack() | int maxStack() |
parent | parent() | Optional parent() |
spliterator | spliterator() | Spliterator spliterator() |
toDebugString | toDebugString() | String toDebugString() |
CompilationIDAttribute#
interface · java.lang.classfile.attribute.CompilationIDAttribute
Extends: Attribute, ClassElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
compilationId | compilationId() | Utf8Entry compilationId() |
of | of(id) | static CompilationIDAttribute of(Utf8Entry id)static CompilationIDAttribute of(String id) |
ConstantValueAttribute#
interface · java.lang.classfile.attribute.ConstantValueAttribute
Extends: Attribute, FieldElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
constant | constant() | ConstantValueEntry constant() |
of | of(value) | static ConstantValueAttribute of(ConstantValueEntry value)static ConstantValueAttribute of(ConstantDesc value) |
DeprecatedAttribute#
interface · java.lang.classfile.attribute.DeprecatedAttribute
Extends: Attribute, ClassElement, MethodElement, FieldElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
of | of() | static DeprecatedAttribute of() |
EnclosingMethodAttribute#
interface · java.lang.classfile.attribute.EnclosingMethodAttribute
Extends: Attribute, ClassElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
enclosingClass | enclosingClass() | ClassEntry enclosingClass() |
enclosingMethod | enclosingMethod() | Optional enclosingMethod() |
enclosingMethodName | enclosingMethodName() | Optional enclosingMethodName() |
enclosingMethodType | enclosingMethodType() | Optional enclosingMethodType() |
enclosingMethodTypeSymbol | enclosingMethodTypeSymbol() | Optional enclosingMethodTypeSymbol() |
of | of([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
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
exceptions | exceptions() | List exceptions() |
of | of(exceptions) | static ExceptionsAttribute of(ClassEntry[] exceptions)static ExceptionsAttribute of(List exceptions) |
ofSymbols | ofSymbols(exceptions) | static ExceptionsAttribute ofSymbols(List exceptions)static ExceptionsAttribute ofSymbols(ClassDesc[] exceptions) |
InnerClassesAttribute#
interface · java.lang.classfile.attribute.InnerClassesAttribute
Extends: Attribute, ClassElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
classes | classes() | List classes() |
of | of(innerClasses) | static InnerClassesAttribute of(List innerClasses)static InnerClassesAttribute of(InnerClassInfo[] innerClasses) |
InnerClassInfo#
interface · java.lang.classfile.attribute.InnerClassInfo
Methods
| Method | Ring call | Java overloads |
|---|---|---|
flags | flags() | Set flags() |
flagsMask | flagsMask() | int flagsMask() |
has | has(flag) | boolean has(AccessFlag flag) |
innerClass | innerClass() | ClassEntry innerClass() |
innerName | innerName() | Optional innerName() |
of | of(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) |
outerClass | outerClass() | Optional outerClass() |
LineNumberInfo#
interface · java.lang.classfile.attribute.LineNumberInfo
Methods
| Method | Ring call | Java overloads |
|---|---|---|
lineNumber | lineNumber() | int lineNumber() |
of | of(startPc,lineNumber) | static LineNumberInfo of(int startPc, int lineNumber) |
startPc | startPc() | int startPc() |
LineNumberTableAttribute#
interface · java.lang.classfile.attribute.LineNumberTableAttribute
Extends: Attribute
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
lineNumbers | lineNumbers() | List lineNumbers() |
of | of(lines) | static LineNumberTableAttribute of(List lines) |
LocalVariableInfo#
interface · java.lang.classfile.attribute.LocalVariableInfo
Methods
| Method | Ring call | Java overloads |
|---|---|---|
length | length() | int length() |
name | name() | Utf8Entry name() |
slot | slot() | int slot() |
startPc | startPc() | int startPc() |
type | type() | Utf8Entry type() |
typeSymbol | typeSymbol() | ClassDesc typeSymbol() |
LocalVariableTableAttribute#
interface · java.lang.classfile.attribute.LocalVariableTableAttribute
Extends: Attribute
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
localVariables | localVariables() | List localVariables() |
of | of(locals) | static LocalVariableTableAttribute of(List locals) |
LocalVariableTypeInfo#
interface · java.lang.classfile.attribute.LocalVariableTypeInfo
Methods
| Method | Ring call | Java overloads |
|---|---|---|
length | length() | int length() |
name | name() | Utf8Entry name() |
signature | signature() | Utf8Entry signature() |
slot | slot() | int slot() |
startPc | startPc() | int startPc() |
LocalVariableTypeTableAttribute#
interface · java.lang.classfile.attribute.LocalVariableTypeTableAttribute
Extends: Attribute
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
localVariableTypes | localVariableTypes() | List localVariableTypes() |
of | of(locals) | static LocalVariableTypeTableAttribute of(List locals) |
MethodParameterInfo#
interface · java.lang.classfile.attribute.MethodParameterInfo
Methods
| Method | Ring call | Java overloads |
|---|---|---|
flags | flags() | Set flags() |
flagsMask | flagsMask() | int flagsMask() |
has | has(flag) | boolean has(AccessFlag flag) |
name | name() | Optional name() |
of | of(name,flags) | static MethodParameterInfo of(Optional name, AccessFlag[] flags)static MethodParameterInfo of(Optional name, int flags) |
ofParameter | ofParameter(name,flags) | static MethodParameterInfo ofParameter(Optional name, int flags) |
MethodParametersAttribute#
interface · java.lang.classfile.attribute.MethodParametersAttribute
Extends: Attribute, MethodElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
of | of(parameters) | static MethodParametersAttribute of(List parameters)static MethodParametersAttribute of(MethodParameterInfo[] parameters) |
parameters | parameters() | List parameters() |
ModuleAttribute#
interface · java.lang.classfile.attribute.ModuleAttribute
Extends: Attribute, ClassElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
exports | exports() | List exports() |
has | has(flag) | boolean has(AccessFlag flag) |
moduleFlags | moduleFlags() | Set moduleFlags() |
moduleFlagsMask | moduleFlagsMask() | int moduleFlagsMask() |
moduleName | moduleName() | ModuleEntry moduleName() |
moduleVersion | moduleVersion() | Optional moduleVersion() |
of | of([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) |
opens | opens() | List opens() |
provides | provides() | List provides() |
requires | requires() | List requires() |
uses | uses() | List uses() |
ModuleAttributeModuleAttributeBuilder#
interface · java.lang.classfile.attribute.ModuleAttribute$ModuleAttributeBuilder
Methods
| Method | Ring call | Java overloads |
|---|---|---|
exports | exports(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) |
moduleFlags | moduleFlags(moduleFlags) | ModuleAttributeBuilder moduleFlags(AccessFlag[] moduleFlags)ModuleAttributeBuilder moduleFlags(int flagsMask) |
moduleName | moduleName(moduleName) | ModuleAttributeBuilder moduleName(ModuleDesc moduleName) |
moduleVersion | moduleVersion(version) | ModuleAttributeBuilder moduleVersion(String version) |
opens | opens(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) |
provides | provides(provides)provides([service,implClasses])provides([ :service = v, :implClasses = v ]) | ModuleAttributeBuilder provides(ModuleProvideInfo provides)ModuleAttributeBuilder provides(ClassDesc service, ClassDesc[] implClasses) |
requires | requires(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) |
uses | uses(uses) | ModuleAttributeBuilder uses(ClassEntry uses)ModuleAttributeBuilder uses(ClassDesc service) |
ModuleExportInfo#
interface · java.lang.classfile.attribute.ModuleExportInfo
Methods
| Method | Ring call | Java overloads |
|---|---|---|
exportedPackage | exportedPackage() | PackageEntry exportedPackage() |
exportsFlags | exportsFlags() | Set exportsFlags() |
exportsFlagsMask | exportsFlagsMask() | int exportsFlagsMask() |
exportsTo | exportsTo() | List exportsTo() |
has | has(flag) | boolean has(AccessFlag flag) |
of | of(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
| Method | Ring call | Java overloads |
|---|---|---|
algorithm | algorithm() | Utf8Entry algorithm() |
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
hashes | hashes() | List hashes() |
of | of(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
| Method | Ring call | Java overloads |
|---|---|---|
hash | hash() | byte[] hash() |
moduleName | moduleName() | ModuleEntry moduleName() |
of | of(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
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
mainClass | mainClass() | ClassEntry mainClass() |
of | of(mainClass) | static ModuleMainClassAttribute of(ClassEntry mainClass)static ModuleMainClassAttribute of(ClassDesc mainClass) |
ModuleOpenInfo#
interface · java.lang.classfile.attribute.ModuleOpenInfo
Methods
| Method | Ring call | Java overloads |
|---|---|---|
has | has(flag) | boolean has(AccessFlag flag) |
of | of(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) |
openedPackage | openedPackage() | PackageEntry openedPackage() |
opensFlags | opensFlags() | Set opensFlags() |
opensFlagsMask | opensFlagsMask() | int opensFlagsMask() |
opensTo | opensTo() | List opensTo() |
ModulePackagesAttribute#
interface · java.lang.classfile.attribute.ModulePackagesAttribute
Extends: Attribute, ClassElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
of | of(packages) | static ModulePackagesAttribute of(PackageEntry[] packages)static ModulePackagesAttribute of(List packages) |
ofNames | ofNames(packages) | static ModulePackagesAttribute ofNames(List packages)static ModulePackagesAttribute ofNames(PackageDesc[] packages) |
packages | packages() | List packages() |
ModuleProvideInfo#
interface · java.lang.classfile.attribute.ModuleProvideInfo
Methods
| Method | Ring call | Java overloads |
|---|---|---|
of | of(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) |
provides | provides() | ClassEntry provides() |
providesWith | providesWith() | List providesWith() |
ModuleRequireInfo#
interface · java.lang.classfile.attribute.ModuleRequireInfo
Methods
| Method | Ring call | Java overloads |
|---|---|---|
has | has(flag) | boolean has(AccessFlag flag) |
of | of(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) |
requires | requires() | ModuleEntry requires() |
requiresFlags | requiresFlags() | Set requiresFlags() |
requiresFlagsMask | requiresFlagsMask() | int requiresFlagsMask() |
requiresVersion | requiresVersion() | Optional requiresVersion() |
ModuleResolutionAttribute#
interface · java.lang.classfile.attribute.ModuleResolutionAttribute
Extends: Attribute, ClassElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
of | of(resolutionFlags) | static ModuleResolutionAttribute of(int resolutionFlags) |
resolutionFlags | resolutionFlags() | int resolutionFlags() |
ModuleTargetAttribute#
interface · java.lang.classfile.attribute.ModuleTargetAttribute
Extends: Attribute, ClassElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
of | of(targetPlatform) | static ModuleTargetAttribute of(String targetPlatform)static ModuleTargetAttribute of(Utf8Entry targetPlatform) |
targetPlatform | targetPlatform() | Utf8Entry targetPlatform() |
NestHostAttribute#
interface · java.lang.classfile.attribute.NestHostAttribute
Extends: Attribute, ClassElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
nestHost | nestHost() | ClassEntry nestHost() |
of | of(nestHost) | static NestHostAttribute of(ClassEntry nestHost)static NestHostAttribute of(ClassDesc nestHost) |
NestMembersAttribute#
interface · java.lang.classfile.attribute.NestMembersAttribute
Extends: Attribute, ClassElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
nestMembers | nestMembers() | List nestMembers() |
of | of(nestMembers) | static NestMembersAttribute of(ClassEntry[] nestMembers)static NestMembersAttribute of(List nestMembers) |
ofSymbols | ofSymbols(nestMembers) | static NestMembersAttribute ofSymbols(List nestMembers)static NestMembersAttribute ofSymbols(ClassDesc[] nestMembers) |
PermittedSubclassesAttribute#
interface · java.lang.classfile.attribute.PermittedSubclassesAttribute
Extends: Attribute, ClassElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
of | of(permittedSubclasses) | static PermittedSubclassesAttribute of(ClassEntry[] permittedSubclasses)static PermittedSubclassesAttribute of(List permittedSubclasses) |
ofSymbols | ofSymbols(permittedSubclasses) | static PermittedSubclassesAttribute ofSymbols(List permittedSubclasses)static PermittedSubclassesAttribute ofSymbols(ClassDesc[] permittedSubclasses) |
permittedSubclasses | permittedSubclasses() | List permittedSubclasses() |
RecordAttribute#
interface · java.lang.classfile.attribute.RecordAttribute
Extends: Attribute, ClassElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
components | components() | List components() |
of | of(components) | static RecordAttribute of(List components)static RecordAttribute of(RecordComponentInfo[] components) |
RecordComponentInfo#
interface · java.lang.classfile.attribute.RecordComponentInfo
Extends: AttributedElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributes | attributes() | List attributes() |
descriptor | descriptor() | Utf8Entry descriptor() |
descriptorSymbol | descriptorSymbol() | ClassDesc descriptorSymbol() |
findAttribute | findAttribute(attr) | Optional findAttribute(AttributeMapper attr) |
findAttributes | findAttributes(attr) | List findAttributes(AttributeMapper attr) |
name | name() | Utf8Entry name() |
of | of(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
| Method | Ring call | Java overloads |
|---|---|---|
annotations | annotations() | List annotations() |
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
of | of(annotations) | static RuntimeInvisibleAnnotationsAttribute of(List annotations)static RuntimeInvisibleAnnotationsAttribute of(Annotation[] annotations) |
RuntimeInvisibleParameterAnnotationsAttribute#
interface · java.lang.classfile.attribute.RuntimeInvisibleParameterAnnotationsAttribute
Extends: Attribute, MethodElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
of | of(parameterAnnotations) | static RuntimeInvisibleParameterAnnotationsAttribute of(List parameterAnnotations) |
parameterAnnotations | parameterAnnotations() | List parameterAnnotations() |
RuntimeInvisibleTypeAnnotationsAttribute#
interface · java.lang.classfile.attribute.RuntimeInvisibleTypeAnnotationsAttribute
Extends: Attribute, ClassElement, MethodElement, FieldElement, CodeElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
annotations | annotations() | List annotations() |
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
of | of(annotations) | static RuntimeInvisibleTypeAnnotationsAttribute of(List annotations)static RuntimeInvisibleTypeAnnotationsAttribute of(TypeAnnotation[] annotations) |
RuntimeVisibleAnnotationsAttribute#
interface · java.lang.classfile.attribute.RuntimeVisibleAnnotationsAttribute
Extends: Attribute, ClassElement, MethodElement, FieldElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
annotations | annotations() | List annotations() |
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
of | of(annotations) | static RuntimeVisibleAnnotationsAttribute of(List annotations)static RuntimeVisibleAnnotationsAttribute of(Annotation[] annotations) |
RuntimeVisibleParameterAnnotationsAttribute#
interface · java.lang.classfile.attribute.RuntimeVisibleParameterAnnotationsAttribute
Extends: Attribute, MethodElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
of | of(parameterAnnotations) | static RuntimeVisibleParameterAnnotationsAttribute of(List parameterAnnotations) |
parameterAnnotations | parameterAnnotations() | List parameterAnnotations() |
RuntimeVisibleTypeAnnotationsAttribute#
interface · java.lang.classfile.attribute.RuntimeVisibleTypeAnnotationsAttribute
Extends: Attribute, ClassElement, MethodElement, FieldElement, CodeElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
annotations | annotations() | List annotations() |
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
of | of(annotations) | static RuntimeVisibleTypeAnnotationsAttribute of(List annotations)static RuntimeVisibleTypeAnnotationsAttribute of(TypeAnnotation[] annotations) |
SignatureAttribute#
interface · java.lang.classfile.attribute.SignatureAttribute
Extends: Attribute, ClassElement, MethodElement, FieldElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
asClassSignature | asClassSignature() | ClassSignature asClassSignature() |
asMethodSignature | asMethodSignature() | MethodSignature asMethodSignature() |
asTypeSignature | asTypeSignature() | Signature asTypeSignature() |
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
of | of(classSignature) | static SignatureAttribute of(ClassSignature classSignature)static SignatureAttribute of(MethodSignature methodSignature)static SignatureAttribute of(Signature signature)static SignatureAttribute of(Utf8Entry signature) |
signature | signature() | Utf8Entry signature() |
SourceDebugExtensionAttribute#
interface · java.lang.classfile.attribute.SourceDebugExtensionAttribute
Extends: Attribute, ClassElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
contents | contents() | byte[] contents() |
of | of(contents) | static SourceDebugExtensionAttribute of(byte[] contents) |
SourceFileAttribute#
interface · java.lang.classfile.attribute.SourceFileAttribute
Extends: Attribute, ClassElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
of | of(sourceFile) | static SourceFileAttribute of(String sourceFile)static SourceFileAttribute of(Utf8Entry sourceFile) |
sourceFile | sourceFile() | Utf8Entry sourceFile() |
SourceIDAttribute#
interface · java.lang.classfile.attribute.SourceIDAttribute
Extends: Attribute, ClassElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
of | of(sourceId) | static SourceIDAttribute of(Utf8Entry sourceId)static SourceIDAttribute of(String sourceId) |
sourceId | sourceId() | Utf8Entry sourceId() |
StackMapFrameInfo#
interface · java.lang.classfile.attribute.StackMapFrameInfo
Methods
| Method | Ring call | Java overloads |
|---|---|---|
frameType | frameType() | int frameType() |
locals | locals() | List locals() |
of | of(target,locals,stack) | static StackMapFrameInfo of(Label target, List locals, List stack) |
stack | stack() | List stack() |
target | target() | Label target() |
StackMapFrameInfoObjectVerificationTypeInfo#
interface · java.lang.classfile.attribute.StackMapFrameInfo$ObjectVerificationTypeInfo
Extends: StackMapFrameInfoVerificationTypeInfo
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ITEM_TOP | int | constant · static | o.ITEM_TOP |
ITEM_INTEGER | int | constant · static | o.ITEM_INTEGER |
ITEM_FLOAT | int | constant · static | o.ITEM_FLOAT |
ITEM_DOUBLE | int | constant · static | o.ITEM_DOUBLE |
ITEM_LONG | int | constant · static | o.ITEM_LONG |
ITEM_NULL | int | constant · static | o.ITEM_NULL |
ITEM_UNINITIALIZED_THIS | int | constant · static | o.ITEM_UNINITIALIZED_THIS |
ITEM_OBJECT | int | constant · static | o.ITEM_OBJECT |
ITEM_UNINITIALIZED | int | constant · static | o.ITEM_UNINITIALIZED |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@className | @className() | ClassEntry className() |
classSymbol | classSymbol() | ClassDesc classSymbol() |
of | of(className) | static ObjectVerificationTypeInfo of(ClassEntry className)static ObjectVerificationTypeInfo of(ClassDesc classDesc) |
tag | tag() | int tag() |
StackMapFrameInfoSimpleVerificationTypeInfo#
enum · extends Enum · java.lang.classfile.attribute.StackMapFrameInfo$SimpleVerificationTypeInfo
Implements: StackMapFrameInfoVerificationTypeInfo
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
TOP | SimpleVerificationTypeInfo | constant · static | o.TOP |
INTEGER | SimpleVerificationTypeInfo | constant · static | o.INTEGER |
FLOAT | SimpleVerificationTypeInfo | constant · static | o.FLOAT |
DOUBLE | SimpleVerificationTypeInfo | constant · static | o.DOUBLE |
LONG | SimpleVerificationTypeInfo | constant · static | o.LONG |
NULL | SimpleVerificationTypeInfo | constant · static | o.NULL |
UNINITIALIZED_THIS | SimpleVerificationTypeInfo | constant · static | o.UNINITIALIZED_THIS |
ITEM_TOP | int | constant · static | o.ITEM_TOP |
ITEM_INTEGER | int | constant · static | o.ITEM_INTEGER |
ITEM_FLOAT | int | constant · static | o.ITEM_FLOAT |
ITEM_DOUBLE | int | constant · static | o.ITEM_DOUBLE |
ITEM_LONG | int | constant · static | o.ITEM_LONG |
ITEM_NULL | int | constant · static | o.ITEM_NULL |
ITEM_UNINITIALIZED_THIS | int | constant · static | o.ITEM_UNINITIALIZED_THIS |
ITEM_OBJECT | int | constant · static | o.ITEM_OBJECT |
ITEM_UNINITIALIZED | int | constant · static | o.ITEM_UNINITIALIZED |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
tag | tag() | int tag() |
valueOf | valueOf(p1)valueOf([enumClass,name])valueOf([ :enumClass = v, :name = v ]) | static SimpleVerificationTypeInfo valueOf(String p1)static Enum valueOf(Class enumClass, String name) |
values | values() | static SimpleVerificationTypeInfo[] values() |
The methods and fields of Enum are inherited.
StackMapFrameInfoUninitializedVerificationTypeInfo#
interface · java.lang.classfile.attribute.StackMapFrameInfo$UninitializedVerificationTypeInfo
Extends: StackMapFrameInfoVerificationTypeInfo
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ITEM_TOP | int | constant · static | o.ITEM_TOP |
ITEM_INTEGER | int | constant · static | o.ITEM_INTEGER |
ITEM_FLOAT | int | constant · static | o.ITEM_FLOAT |
ITEM_DOUBLE | int | constant · static | o.ITEM_DOUBLE |
ITEM_LONG | int | constant · static | o.ITEM_LONG |
ITEM_NULL | int | constant · static | o.ITEM_NULL |
ITEM_UNINITIALIZED_THIS | int | constant · static | o.ITEM_UNINITIALIZED_THIS |
ITEM_OBJECT | int | constant · static | o.ITEM_OBJECT |
ITEM_UNINITIALIZED | int | constant · static | o.ITEM_UNINITIALIZED |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
newTarget | newTarget() | Label newTarget() |
of | of(newTarget) | static UninitializedVerificationTypeInfo of(Label newTarget) |
tag | tag() | int tag() |
StackMapFrameInfoVerificationTypeInfo#
interface · java.lang.classfile.attribute.StackMapFrameInfo$VerificationTypeInfo
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
ITEM_TOP | int | constant · static | o.ITEM_TOP |
ITEM_INTEGER | int | constant · static | o.ITEM_INTEGER |
ITEM_FLOAT | int | constant · static | o.ITEM_FLOAT |
ITEM_DOUBLE | int | constant · static | o.ITEM_DOUBLE |
ITEM_LONG | int | constant · static | o.ITEM_LONG |
ITEM_NULL | int | constant · static | o.ITEM_NULL |
ITEM_UNINITIALIZED_THIS | int | constant · static | o.ITEM_UNINITIALIZED_THIS |
ITEM_OBJECT | int | constant · static | o.ITEM_OBJECT |
ITEM_UNINITIALIZED | int | constant · static | o.ITEM_UNINITIALIZED |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
tag | tag() | int tag() |
StackMapTableAttribute#
interface · java.lang.classfile.attribute.StackMapTableAttribute
Extends: Attribute, CodeElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
entries | entries() | List entries() |
of | of(entries) | static StackMapTableAttribute of(List entries) |
SyntheticAttribute#
interface · java.lang.classfile.attribute.SyntheticAttribute
Extends: Attribute, ClassElement, MethodElement, FieldElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
of | of() | static SyntheticAttribute of() |
UnknownAttribute#
interface · java.lang.classfile.attribute.UnknownAttribute
Extends: Attribute, ClassElement, MethodElement, FieldElement, CodeElement
Methods
| Method | Ring call | Java overloads |
|---|---|---|
attributeMapper | attributeMapper() | AttributeMapper attributeMapper() |
attributeName | attributeName() | Utf8Entry attributeName() |
contents | contents() | byte[] contents() |