ProGuard

proguard.classfile
Class LongCpInfo

java.lang.Object
  extended byproguard.classfile.CpInfo
      extended byproguard.classfile.LongCpInfo
All Implemented Interfaces:
VisitorAccepter

public class LongCpInfo
extends CpInfo

Representation of a 'long' entry in the ConstantPool (takes up two indices).


Field Summary
 int u4highBytes
           
 int u4lowBytes
           
 
Fields inherited from class proguard.classfile.CpInfo
visitorInfo
 
Constructor Summary
protected LongCpInfo()
           
  LongCpInfo(long value)
          Creates a new LongCpInfo with the given long value.
 
Method Summary
 void accept(ClassFile classFile, CpInfoVisitor cpInfoVisitor)
          Accepts the given visitor.
 int getTag()
          Returns the class pool info tag that specifies the entry type.
 long getValue()
          Returns the long value of this LongCpInfo.
protected  void readInfo(DataInput din)
          Reads the 'info' data following the u1tag byte.
 void setValue(long value)
          Sets the long value of this LongCpInfo.
protected  void writeInfo(DataOutput dout)
          Writes the 'info' data following the u1tag byte.
 
Methods inherited from class proguard.classfile.CpInfo
create, createOrShare, getVisitorInfo, setVisitorInfo, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

u4highBytes

public int u4highBytes

u4lowBytes

public int u4lowBytes
Constructor Detail

LongCpInfo

public LongCpInfo(long value)
Creates a new LongCpInfo with the given long value.


LongCpInfo

protected LongCpInfo()
Method Detail

getValue

public long getValue()
Returns the long value of this LongCpInfo.


setValue

public void setValue(long value)
Sets the long value of this LongCpInfo.


getTag

public int getTag()
Description copied from class: CpInfo
Returns the class pool info tag that specifies the entry type.

Specified by:
getTag in class CpInfo

readInfo

protected void readInfo(DataInput din)
                 throws IOException
Description copied from class: CpInfo
Reads the 'info' data following the u1tag byte.

Specified by:
readInfo in class CpInfo
Throws:
IOException

writeInfo

protected void writeInfo(DataOutput dout)
                  throws IOException
Description copied from class: CpInfo
Writes the 'info' data following the u1tag byte.

Specified by:
writeInfo in class CpInfo
Throws:
IOException

accept

public void accept(ClassFile classFile,
                   CpInfoVisitor cpInfoVisitor)
Description copied from class: CpInfo
Accepts the given visitor.

Specified by:
accept in class CpInfo

ProGuard