Module org.glavo.classfile
Package org.glavo.classfile.impl
Class BoundAttribute.BoundSourceFileAttribute
java.lang.Object
org.glavo.classfile.impl.AbstractElement
org.glavo.classfile.impl.BoundAttribute<SourceFileAttribute>
org.glavo.classfile.impl.BoundAttribute.BoundSourceFileAttribute
- All Implemented Interfaces:
Attribute<SourceFileAttribute>,SourceFileAttribute,ClassElement,ClassfileElement,WritableElement<SourceFileAttribute>
- Enclosing class:
BoundAttribute<T extends Attribute<T>>
public static final class BoundAttribute.BoundSourceFileAttribute
extends BoundAttribute<SourceFileAttribute>
implements SourceFileAttribute
-
Nested Class Summary
Nested classes/interfaces inherited from class org.glavo.classfile.impl.BoundAttribute
BoundAttribute.BoundAnnotationDefaultAttr, BoundAttribute.BoundBootstrapMethodsAttribute, BoundAttribute.BoundCharacterRangeTableAttribute, BoundAttribute.BoundCodeAttribute, BoundAttribute.BoundCompilationIDAttribute, BoundAttribute.BoundConstantValueAttribute, BoundAttribute.BoundDeprecatedAttribute, BoundAttribute.BoundEnclosingMethodAttribute, BoundAttribute.BoundExceptionsAttribute, BoundAttribute.BoundInnerClassesAttribute, BoundAttribute.BoundLineNumberTableAttribute, BoundAttribute.BoundLocalVariableTableAttribute, BoundAttribute.BoundLocalVariableTypeTableAttribute, BoundAttribute.BoundMethodParametersAttribute, BoundAttribute.BoundModuleAttribute, BoundAttribute.BoundModuleHashesAttribute, BoundAttribute.BoundModuleMainClassAttribute, BoundAttribute.BoundModulePackagesAttribute, BoundAttribute.BoundModuleResolutionAttribute, BoundAttribute.BoundModuleTargetAttribute, BoundAttribute.BoundNestHostAttribute, BoundAttribute.BoundNestMembersAttribute, BoundAttribute.BoundPermittedSubclassesAttribute, BoundAttribute.BoundRecordAttribute, BoundAttribute.BoundRuntimeInvisibleAnnotationsAttribute, BoundAttribute.BoundRuntimeInvisibleParameterAnnotationsAttribute, BoundAttribute.BoundRuntimeInvisibleTypeAnnotationsAttribute, BoundAttribute.BoundRuntimeVisibleAnnotationsAttribute, BoundAttribute.BoundRuntimeVisibleParameterAnnotationsAttribute, BoundAttribute.BoundRuntimeVisibleTypeAnnotationsAttribute, BoundAttribute.BoundSignatureAttribute, BoundAttribute.BoundSourceDebugExtensionAttribute, BoundAttribute.BoundSourceFileAttribute, BoundAttribute.BoundSourceIDAttribute, BoundAttribute.BoundStackMapTableAttribute, BoundAttribute.BoundSyntheticAttribute, BoundAttribute.BoundUnknownAttribute -
Constructor Summary
ConstructorsConstructorDescriptionBoundSourceFileAttribute(ClassReader cf, AttributeMapper<SourceFileAttribute> mapper, int pos) -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the source file from which this class was compiled.Methods inherited from class org.glavo.classfile.impl.BoundAttribute
attributeMapper, attributeName, constantPool, contents, payloadLen, readAttributes, 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.WritableElement
writeTo
-
Constructor Details
-
BoundSourceFileAttribute
public BoundSourceFileAttribute(ClassReader cf, AttributeMapper<SourceFileAttribute> mapper, int pos)
-
-
Method Details
-
sourceFile
Description copied from interface:SourceFileAttributeReturns the name of the source file from which this class was compiled.- Specified by:
sourceFilein interfaceSourceFileAttribute- Returns:
- the name of the source file from which this class was compiled
-