com.jeffpalm.basic.bytecode.base
Class SourceFileAttribute
java.lang.Object
com.jeffpalm.basic.bytecode.base.SourceFileAttribute
- All Implemented Interfaces:
- IAttribute, ICodeGenerator, ISourceFileAttribute, IDumpable
public final class SourceFileAttribute
- extends java.lang.Object
- implements ISourceFileAttribute
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.jeffpalm.basic.util.IDumpable |
dump |
SourceFileAttribute
public SourceFileAttribute(IConstantPool pool,
java.lang.String sourceFile)
sourceFile
public java.lang.String sourceFile()
- Specified by:
sourceFile
in interface ISourceFileAttribute
length
public int length()
- Specified by:
length
in interface IAttribute
genRest
protected void genRest(ICodeStream code)
throws java.io.IOException
- Throws:
java.io.IOException
dumpRest
protected void dumpRest(IAppendable out)
pool
public final IConstantPool pool()
- Specified by:
pool
in interface IAttribute
name
public final java.lang.String name()
- Specified by:
name
in interface IAttribute
gen
public final void gen(ICodeStream code)
throws java.io.IOException
- Specified by:
gen
in interface ICodeGenerator
- Throws:
java.io.IOException
dump
public final void dump(IAppendable out)
- Specified by:
dump
in interface IDumpable