javassist.bytecode
public class SourceFileAttribute extends AttributeInfo
SourceFile_attribute.
| Field Summary | |
|---|---|
| static String | tag
The name of this attribute "SourceFile". |
| Constructor Summary | |
|---|---|
| SourceFileAttribute(ConstPool cp, String filename)
Constructs a SourceFile attribute.
| |
| Method Summary | |
|---|---|
| AttributeInfo | copy(ConstPool newCp, Map classnames)
Makes a copy. |
| String | getFileName()
Returns the file name indicated by sourcefile_index. |
"SourceFile".Parameters: cp a constant pool table. filename the name of the source file.
Map object.
Parameters: newCp the constant pool table used by the new copy. classnames pairs of replaced and substituted class names.
sourcefile_index.