ProGuard

proguard.classfile
Class FloatCpInfo

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

public class FloatCpInfo
extends CpInfo

Representation of a 'float' entry in the ConstantPool.


Field Summary
 int u4bytes
           
 
Fields inherited from class proguard.classfile.CpInfo
visitorInfo
 
Constructor Summary
protected FloatCpInfo()
           
  FloatCpInfo(float value)
          Creates a new FloatCpInfo with the given float 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.
 float getValue()
          Returns the float value of this FloatCpInfo.
protected  void readInfo(DataInput din)
          Reads the 'info' data following the u1tag byte.
 void setValue(float value)
          Sets the float value of this FloatCpInfo.
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

u4bytes

public int u4bytes
Constructor Detail

FloatCpInfo

public FloatCpInfo(float value)
Creates a new FloatCpInfo with the given float value.


FloatCpInfo

protected FloatCpInfo()
Method Detail

getValue

public float getValue()
Returns the float value of this FloatCpInfo.


setValue

public void setValue(float value)
Sets the float value of this FloatCpInfo.


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