|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavassist.bytecode.AttributeInfo
javassist.bytecode.SourceFileAttribute
public class SourceFileAttribute
SourceFile_attribute.
| Field Summary | |
|---|---|
static java.lang.String |
tag
The name of this attribute "SourceFile". |
| Fields inherited from class javassist.bytecode.AttributeInfo |
|---|
constPool |
| Constructor Summary | |
|---|---|
SourceFileAttribute(ConstPool cp,
java.lang.String filename)
Constructs a SourceFile attribute. |
|
| Method Summary | |
|---|---|
AttributeInfo |
copy(ConstPool newCp,
java.util.Map classnames)
Makes a copy. |
java.lang.String |
getFileName()
Returns the file name indicated by sourcefile_index. |
| Methods inherited from class javassist.bytecode.AttributeInfo |
|---|
get, getConstPool, getName, length, set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String tag
"SourceFile".
| Constructor Detail |
|---|
public SourceFileAttribute(ConstPool cp,
java.lang.String filename)
cp - a constant pool table.filename - the name of the source file.| Method Detail |
|---|
public java.lang.String getFileName()
sourcefile_index.
public AttributeInfo copy(ConstPool newCp,
java.util.Map classnames)
Map object.
copy in class AttributeInfonewCp - the constant pool table used by the new copy.classnames - pairs of replaced and substituted
class names.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||