Package org.biojava.utils.bytecode
Class ConstantPool
java.lang.Object
org.biojava.utils.bytecode.ConstantPool
Build a Java class file constant pool.
- Author:
- Thomas Down, Matthew Pocock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintresolveDouble(double d) intintresolveFloat(float f) intresolveInt(int i) intintresolveLong(long l) intintresolveNameAndType(String name, String desc) intintvoid
-
Constructor Details
-
ConstantPool
public ConstantPool()
-
-
Method Details
-
resolveClass
-
resolveField
-
resolveMethod
-
resolveInterfaceMethod
-
resolveString
-
resolveInt
public int resolveInt(int i) -
resolveFloat
public int resolveFloat(float f) -
resolveLong
public int resolveLong(long l) -
resolveDouble
public int resolveDouble(double d) -
resolveUtf8
-
resolveNameAndType
-
constantPoolSize
public int constantPoolSize() -
writeConstantPool
- Throws:
IOException
-