Class ConstantPoolInfoFactory
- java.lang.Object
-
- org.fife.rsta.ac.java.classreader.constantpool.ConstantPoolInfoFactory
-
- All Implemented Interfaces:
ConstantTypes
public final class ConstantPoolInfoFactory extends java.lang.Object implements ConstantTypes
A factory for constant pool information.- Version:
- 1.0
-
-
Field Summary
-
Fields inherited from interface org.fife.rsta.ac.java.classreader.constantpool.ConstantTypes
CONSTANT_Class, CONSTANT_Double, CONSTANT_Fieldref, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodref, CONSTANT_InvokeDynamic, CONSTANT_Long, CONSTANT_MethodHandle, CONSTANT_Methodref, CONSTANT_MethodType, CONSTANT_NameAndType, CONSTANT_String, CONSTANT_Utf8
-
-
Constructor Summary
Constructors Modifier Constructor Description privateConstantPoolInfoFactory()Private constructor to prevent instantiation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConstantPoolInforeadConstantPoolInfo(ClassFile cf, java.io.DataInputStream in)Reads constant pool information.
-
-
-
Method Detail
-
readConstantPoolInfo
public static ConstantPoolInfo readConstantPoolInfo(ClassFile cf, java.io.DataInputStream in) throws java.io.IOException
Reads constant pool information.- Parameters:
cf- The class file being parsed.in- The input stream to read from.- Returns:
- The next constant pool record.
- Throws:
java.io.IOException- If an IO error occurs.
-
-