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

Constructor Index

 o SourceFileAttr(int, ClassType)
 o SourceFileAttr(String)

Method Index

 o assignConstants(ClassType)
Add any needed constant pool entries for this Attribute.
 o getLength()
Return the length of the attribute in bytes.
 o getSourceFile()
 o print(ClassTypeWriter)
 o setSourceFile(ClassType, String)
 o setSourceFile(String)
 o write(DataOutputStream)
Write out the contents of the Attribute.

Constructors

 o SourceFileAttr
 public SourceFileAttr(String filename)
 o SourceFileAttr
 public SourceFileAttr(int index,
                       ClassType ctype)

Methods

 o getSourceFile
 public String getSourceFile()
 o setSourceFile
 public void setSourceFile(String filename)
 o setSourceFile
 public static void setSourceFile(ClassType cl,
                                  String filename)
 o assignConstants
 public void assignConstants(ClassType cl)
Add any needed constant pool entries for this Attribute.

Overrides:
assignConstants in class Attribute
 o getLength
 public final int getLength()
Return the length of the attribute in bytes.

Overrides:
getLength in class Attribute
 o write
 public void write(DataOutputStream dstr) throws IOException
Write out the contents of the Attribute.

Overrides:
write in class Attribute
 o print
 public void print(ClassTypeWriter dst)
Overrides:
print in class Attribute

All Packages  Class Hierarchy  This Package  Previous  Next  Index