Method Summary |
|
public static CpInfo | create(DataInput din) Create a new CpInfo from the data passed. |
public void | decRefCount() Decrement the reference count. |
public void | dump(PrintWriter pw, ClassFile cf, int index) Dump the content of the class file to the specified file (used for debugging). |
public int | getRefCount() Return the reference count. |
public void | incRefCount() Increment the reference count. |
protected void | markNTRefs(ConstantPool pool) Check for NameAndType references to constant pool and mark them; over-ride this in sub-classes. |
protected void | markUtf8Refs(ConstantPool pool) Check for Utf8 references to constant pool and mark them; over-ride this in sub-classes. |
abstract protected void | readInfo(DataInput din) Read the 'info' data following the u1tag byte; over-ride this in sub-classes. |
public void | resetRefCount() Reset the reference count to zero. |
public void | write(DataOutput dout) Export the representation to a DataOutput stream. |
abstract protected void | writeInfo(DataOutput dout) Write the 'info' data following the u1tag byte; over-ride this in sub-classes. |