SourceFile_attribute.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | tag
The name of this attribute |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public | SourceFileAttribute(ConstPool
a constant pool table. cp, String the name of the source file. filename)Constructs a SourceFile attribute. |
| Modifier and Type | Method and Description |
|---|---|
| public AttributeInfo | |
| public String |
| tag | back to summary |
|---|---|
| public static final String tag The name of this attribute | |
| SourceFileAttribute | back to summary |
|---|---|
| pack-priv SourceFileAttribute(ConstPool cp, int n, DataInputStream in) throws IOException | |
| SourceFileAttribute | back to summary |
|---|---|
| public SourceFileAttribute(ConstPool cp, String filename) Constructs a SourceFile attribute. | |
| copy | back to summary |
|---|---|
| public AttributeInfo copy(ConstPool newCp, Map<String, String> classnames) Overrides javassist. Makes a copy. Class names are replaced according to the
given | |
| getFileName | back to summary |
|---|---|
| public String getFileName() Returns the file name indicated by | |