Interface ISourceAttribute
- All Superinterfaces:
IClassFileAttribute
- All Known Implementing Classes:
SourceFileAttribute
Description of a source attribute as described in the JVM
specifications.
This interface may be implemented by clients.
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionintAnswer back the source file index of this attribute.char[]Answer back the source file name of this attribute.Methods inherited from interface IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndexModifier and TypeMethodDescriptionlongAnswer back the attribute length as specified in the JVM specifications.char[]Answer back the attribute name as specified in the JVM specifications.intAnswer back the attribute name index in the constant pool as specified in the JVM specifications.
-
Method Details
-
getSourceFileIndex
int getSourceFileIndex()Answer back the source file index of this attribute.- Returns:
- the source file index of this attribute
-
getSourceFileName
char[] getSourceFileName()Answer back the source file name of this attribute.- Returns:
- the source file name of this attribute
-