Uses of Class org.apache.bcel.classfile.ClassFormatException

Uses in package org.apache.bcel.classfile

Constructors which throw type org.apache.bcel.classfile.ClassFormatException

ConstantPool.ConstantPool(DataInputStream file)
Read constants from given file stream.
Field.Field(DataInputStream file, ConstantPool constant_pool)
Construct object from file stream.
FieldOrMethod.FieldOrMethod(DataInputStream file, ConstantPool constant_pool)
Construct object from file stream.
Method.Method(DataInputStream file, ConstantPool constant_pool)
Construct object from file stream.

Methods which throw type org.apache.bcel.classfile.ClassFormatException

String
ConstantPool.constantToString(int index, byte tag)
Retrieve constant at `index' from constant pool and resolve it to a string representation.
String
Resolve constant to a string representation.
Constant
ConstantPool.getConstant(int index, byte tag)
Get constant from constant pool and check whether it has the expected type.
String
ConstantPool.getConstantString(int index, byte tag)
Get string from constant pool and bypass the indirection of `ConstantClass' and `ConstantString' objects.
String[]
String[]
Utility.methodSignatureArgumentTypes(String signature, boolean chopit)
String
String
Utility.methodSignatureReturnType(String signature, boolean chopit)
String
Utility.methodSignatureToString(String signature, String name, String access, boolean chopit, LocalVariableTable vars)
A return?type signature represents the return value from a method.
String
Utility.methodTypeToSignature(String ret, String[] argv)
Converts string containing the method return and argument types to a byte code method signature.
JavaClass
Parse the given Java class file and return an object that represents the contained data, i.e., constants, methods, fields and commands.
Attribute
Attribute.readAttribute(DataInputStream file, ConstantPool constant_pool)
void
Read information about the attributes of the class.
void
Read information about the class and its super class.
Constant
Constant.readConstant(DataInputStream file)
Read one constant from the given file, the type depends on a tag byte.
void
Read constant pool entries.
void
Read information about the fields of the class, i.e., its variables.
void
Check whether the header of the file is ok.
void
Read information about the interfaces implemented by this class.
void
Read information about the methods of the class.
void
Read major and minor version of compiler which created the file.
byte
Utility.typeOfMethodSignature(String signature)
Return type of method signature as a byte value as defined in Constants
byte
Utility.typeOfSignature(String signature)
Return type of signature as a byte value as defined in Constants