Uses of Class
org.apache.bcel.classfile.ClassFormatException
Packages that use ClassFormatException
Package
Description
This package contains the classes that describe the structure of a
Java class file and a class file parser.
-
Uses of ClassFormatException in org.apache.bcel.classfile
Methods in org.apache.bcel.classfile that throw ClassFormatExceptionModifier and TypeMethodDescriptionConstantPool.constantToString
(int index, byte tag) Retrieve constant at `index' from constant pool and resolve it to a string representation.ConstantPool.constantToString
(Constant c) Resolve constant to a string representation.ConstantPool.getConstant
(int index, byte tag) Get constant from constant pool and check whether it has the expected type.ConstantPool.getConstantString
(int index, byte tag) Get string from constant pool and bypass the indirection of `ConstantClass' and `ConstantString' objects.static final String[]
Utility.methodSignatureArgumentTypes
(String signature) static final String[]
Utility.methodSignatureArgumentTypes
(String signature, boolean chopit) static final String
Utility.methodSignatureReturnType
(String signature) static final String
Utility.methodSignatureReturnType
(String signature, boolean chopit) static final String
Utility.methodSignatureToString
(String signature, String name, String access, boolean chopit, LocalVariableTable vars) A returntype signature represents the return value from a method.static final String
Utility.methodTypeToSignature
(String ret, String[] argv) Converts string containing the method return and argument types to a byte code method signature.ClassParser.parse()
Parse the given Java class file and return an object that represents the contained data, i.e., constants, methods, fields and commands.static final Attribute
Attribute.readAttribute
(DataInputStream file, ConstantPool constant_pool) static final byte
Utility.typeOfMethodSignature
(String signature) Return type of method signature as a byte value as defined in Constantsstatic final byte
Utility.typeOfSignature
(String signature) Return type of signature as a byte value as defined in ConstantsConstructors in org.apache.bcel.classfile that throw ClassFormatExceptionModifierConstructorDescriptionprotected
FieldOrMethod
(DataInputStream file, ConstantPool constant_pool) Construct object from file stream.