Module org.glavo.classfile
Package org.glavo.classfile.impl
Class UnboundAttribute.UnboundEnclosingMethodAttribute
java.lang.Object
org.glavo.classfile.impl.AbstractElement
org.glavo.classfile.impl.UnboundAttribute<EnclosingMethodAttribute>
org.glavo.classfile.impl.UnboundAttribute.UnboundEnclosingMethodAttribute
- All Implemented Interfaces:
Attribute<EnclosingMethodAttribute>,EnclosingMethodAttribute,ClassElement,ClassfileElement,WritableElement<EnclosingMethodAttribute>
- Enclosing class:
UnboundAttribute<T extends Attribute<T>>
public static final class UnboundAttribute.UnboundEnclosingMethodAttribute
extends UnboundAttribute<EnclosingMethodAttribute>
implements EnclosingMethodAttribute
-
Nested Class Summary
Nested classes/interfaces inherited from class org.glavo.classfile.impl.UnboundAttribute
UnboundAttribute.AdHocAttribute<T extends Attribute<T>>, UnboundAttribute.CustomAttribute<T extends UnboundAttribute.CustomAttribute<T>>, UnboundAttribute.EmptyBootstrapAttribute, UnboundAttribute.TypePathComponentImpl, UnboundAttribute.UnboundAnnotationDefaultAttribute, UnboundAttribute.UnboundCharacterRangeInfo, UnboundAttribute.UnboundCharacterRangeTableAttribute, UnboundAttribute.UnboundCompilationIDAttribute, UnboundAttribute.UnboundConstantValueAttribute, UnboundAttribute.UnboundDeprecatedAttribute, UnboundAttribute.UnboundEnclosingMethodAttribute, UnboundAttribute.UnboundExceptionsAttribute, UnboundAttribute.UnboundInnerClassesAttribute, UnboundAttribute.UnboundInnerClassInfo, UnboundAttribute.UnboundLineNumberInfo, UnboundAttribute.UnboundLineNumberTableAttribute, UnboundAttribute.UnboundLocalVariableInfo, UnboundAttribute.UnboundLocalVariableTableAttribute, UnboundAttribute.UnboundLocalVariableTypeInfo, UnboundAttribute.UnboundLocalVariableTypeTableAttribute, UnboundAttribute.UnboundMethodParameterInfo, UnboundAttribute.UnboundMethodParametersAttribute, UnboundAttribute.UnboundModuleAttribute, UnboundAttribute.UnboundModuleExportInfo, UnboundAttribute.UnboundModuleHashesAttribute, UnboundAttribute.UnboundModuleHashInfo, UnboundAttribute.UnboundModuleMainClassAttribute, UnboundAttribute.UnboundModuleOpenInfo, UnboundAttribute.UnboundModulePackagesAttribute, UnboundAttribute.UnboundModuleProvideInfo, UnboundAttribute.UnboundModuleRequiresInfo, UnboundAttribute.UnboundModuleResolutionAttribute, UnboundAttribute.UnboundModuleTargetAttribute, UnboundAttribute.UnboundNestHostAttribute, UnboundAttribute.UnboundNestMembersAttribute, UnboundAttribute.UnboundPermittedSubclassesAttribute, UnboundAttribute.UnboundRecordAttribute, UnboundAttribute.UnboundRecordComponentInfo, UnboundAttribute.UnboundRuntimeInvisibleAnnotationsAttribute, UnboundAttribute.UnboundRuntimeInvisibleParameterAnnotationsAttribute, UnboundAttribute.UnboundRuntimeInvisibleTypeAnnotationsAttribute, UnboundAttribute.UnboundRuntimeVisibleAnnotationsAttribute, UnboundAttribute.UnboundRuntimeVisibleParameterAnnotationsAttribute, UnboundAttribute.UnboundRuntimeVisibleTypeAnnotationsAttribute, UnboundAttribute.UnboundSignatureAttribute, UnboundAttribute.UnboundSourceDebugExtensionAttribute, UnboundAttribute.UnboundSourceFileAttribute, UnboundAttribute.UnboundSourceIDAttribute, UnboundAttribute.UnboundStackMapTableAttribute, UnboundAttribute.UnboundSyntheticAttribute, UnboundAttribute.UnboundTypeAnnotation -
Field Summary
Fields inherited from class org.glavo.classfile.impl.UnboundAttribute
mapper -
Constructor Summary
ConstructorsConstructorDescriptionUnboundEnclosingMethodAttribute(ClassEntry classEntry, NameAndTypeEntry method) -
Method Summary
Modifier and TypeMethodDescriptionReturns the innermost class that encloses the declaration of the current class.Returns the name and type of the enclosing method, if the class is immediately enclosed by a method or constructor.Methods inherited from class org.glavo.classfile.impl.UnboundAttribute
attributeMapper, attributeName, toString, writeTo, writeTo, writeTo, writeTo, writeToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.glavo.classfile.Attribute
attributeMapper, attributeNameMethods inherited from interface org.glavo.classfile.attribute.EnclosingMethodAttribute
enclosingMethodName, enclosingMethodType, enclosingMethodTypeSymbolMethods inherited from interface org.glavo.classfile.WritableElement
writeTo
-
Constructor Details
-
UnboundEnclosingMethodAttribute
-
-
Method Details
-
enclosingClass
Description copied from interface:EnclosingMethodAttributeReturns the innermost class that encloses the declaration of the current class.- Specified by:
enclosingClassin interfaceEnclosingMethodAttribute- Returns:
- the innermost class that encloses the declaration of the current class
-
enclosingMethod
Description copied from interface:EnclosingMethodAttributeReturns the name and type of the enclosing method, if the class is immediately enclosed by a method or constructor.- Specified by:
enclosingMethodin interfaceEnclosingMethodAttribute- Returns:
- the name and type of the enclosing method, if the class is immediately enclosed by a method or constructor
-