|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.classfile.Attribute
org.multijava.util.classfile.DispatcherAttribute
This attribute flags a member as a compiler-generated dispatcher.
| Field Summary | |
private static AsciiConstant |
attr
|
(package private) static java.lang.String |
tagString
|
| Constructor Summary | |
DispatcherAttribute()
Create a dispatcher attribute from source. |
|
DispatcherAttribute(java.io.DataInput in,
ConstantPool cp)
Constructs a dispatcher attribute from a class file stream. |
|
| Method Summary | |
protected int |
getSize()
Returns the space in bytes used by this attribute in the classfile |
protected int |
getTag()
Returns the attribute's tag |
protected void |
resolveConstants(ConstantPool cp)
Insert or check location of constant value on constant pool |
protected void |
write(ConstantPool cp,
java.io.DataOutput out)
Write this class into the the file (out) getting data position from the constant pool |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
static final java.lang.String tagString
private static AsciiConstant attr
| Constructor Detail |
public DispatcherAttribute()
public DispatcherAttribute(java.io.DataInput in,
ConstantPool cp)
throws java.io.IOException,
ClassFileFormatException
in - the stream to read fromcp - the constant pool
java.io.IOException - an I/O problem has occured
ClassFileFormatException - attempt to
read a bad classfile info| Method Detail |
protected int getTag()
protected int getSize()
protected void resolveConstants(ConstantPool cp)
throws ClassFileFormatException
cp - the constant pool for this class
ClassFileFormatException
protected void write(ConstantPool cp,
java.io.DataOutput out)
throws java.io.IOException,
ClassFileFormatException
cp - the constant pool that contain all dataout - the file where to write this object info
java.io.IOException - an io problem has occured
ClassFileFormatException
|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||