Class ConstantPoolInfoFactory
java.lang.Object
org.fife.rsta.ac.java.classreader.constantpool.ConstantPoolInfoFactory
- All Implemented Interfaces:
ConstantTypes
A factory for constant pool information.
- Version:
- 1.0
-
Field Summary
Fields inherited from interface 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
ConstructorsModifierConstructorDescriptionprivatePrivate constructor to prevent instantiation. -
Method Summary
-
Constructor Details
-
ConstantPoolInfoFactory
private ConstantPoolInfoFactory()Private constructor to prevent instantiation.
-
-
Method Details
-
readConstantPoolInfo
public static ConstantPoolInfo readConstantPoolInfo(ClassFile cf, DataInputStream in) throws 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:
IOException- If an IO error occurs.
-