All Packages Class Hierarchy This Package Previous Next Index
Class gnu.bytecode.SourceFileAttr
java.lang.Object
|
+----gnu.bytecode.Attribute
|
+----gnu.bytecode.SourceFileAttr
- public class SourceFileAttr
- extends Attribute
-
SourceFileAttr(int, ClassType)
-
-
SourceFileAttr(String)
-
-
assignConstants(ClassType)
- Add any needed constant pool entries for this Attribute.
-
getLength()
- Return the length of the attribute in bytes.
-
getSourceFile()
-
-
print(ClassTypeWriter)
-
-
setSourceFile(ClassType, String)
-
-
setSourceFile(String)
-
-
write(DataOutputStream)
- Write out the contents of the Attribute.
SourceFileAttr
public SourceFileAttr(String filename)
SourceFileAttr
public SourceFileAttr(int index,
ClassType ctype)
getSourceFile
public String getSourceFile()
setSourceFile
public void setSourceFile(String filename)
setSourceFile
public static void setSourceFile(ClassType cl,
String filename)
assignConstants
public void assignConstants(ClassType cl)
- Add any needed constant pool entries for this Attribute.
- Overrides:
- assignConstants in class Attribute
getLength
public final int getLength()
- Return the length of the attribute in bytes.
- Overrides:
- getLength in class Attribute
write
public void write(DataOutputStream dstr) throws IOException
- Write out the contents of the Attribute.
- Overrides:
- write in class Attribute
print
public void print(ClassTypeWriter dst)
- Overrides:
- print in class Attribute
All Packages Class Hierarchy This Package Previous Next Index