mjc

Uses of Class
org.multijava.util.classfile.ClassFileFormatException

Packages that use ClassFileFormatException
org.multijava.dis   
org.multijava.mjc Implements mjc, a MultiJava compiler. 
org.multijava.util.classfile Provides an editor for classfiles used by MultiJava and the Java Modeling Language
 

Uses of ClassFileFormatException in org.multijava.dis
 

Methods in org.multijava.dis that throw ClassFileFormatException
 ClassInfo Disassembler.DisassemblerHelper.createClassInfo(DataInput in)
           
 

Uses of ClassFileFormatException in org.multijava.mjc
 

Methods in org.multijava.mjc that throw ClassFileFormatException
 void CClass.genClassFile(Destination dest)
          Generate the code in a class file.
 void CSourceClass.genCode(Destination destination)
          Generate a class file for the class represented by this.
 void CSourceDispatcherClass.genCode(Destination destination)
          Generate a class file for the class represented by this.
 void CMethodInfo.resolveConstants(ConstantPool cp)
          Insert or check location of constant value on constant pool
 

Constructors in org.multijava.mjc that throw ClassFileFormatException
CMethodInfo(DataInput in, ConstantPool cp, boolean interfaceOnly)
          Constructs an instance by reading bytecode from the given stream in and referring to the constant pool cp.
 

Uses of ClassFileFormatException in org.multijava.util.classfile
 

Methods in org.multijava.util.classfile that throw ClassFileFormatException
protected abstract  void Attribute.resolveConstants(ConstantPool cp)
          Insert or check location of constant value on constant pool
protected abstract  void Attribute.write(ConstantPool cp, DataOutput out)
          Write this class into the the file (out) getting data position from the constant pool
protected  void CodeInfo.resolveConstants(ConstantPool cp)
          Insert or check location of constant value on constant pool
protected  void CodeInfo.write(ConstantPool cp, DataOutput out)
          Write this class into the the file (out) getting data position from the constant pool
static void CodeEnv.check(CodeInfo codeInfo)
          Checks the specified CodeInfo structure and computes maxStack and maxLocals.
private  void CodeEnv.checkExecutionPaths()
          Verifies all possible execution path(s).
(package private)  void CodeEnv.checkExecutionPath(InstructionHandle handle, int curStack)
          Verifies execution path(s) starting at specified instruction.
static Instruction[] InstructionIO.read(DataInput in, ConstantPool cp)
          Constructs an array of instructions from a class file stream
private  void InstructionIO.readInstructions()
           
private  void InstructionIO.resolveReferences()
           
 void ClassInfo.write(DataOutput out)
          Writes the content of the class to the specified output stream
 void ClassInfo.write(Destination dest)
          Writes the contents of the class to a file.
private  ConstantPool ClassInfo.resolveConstants()
          Create a constant pool and insert in it all constants from from all the element of the class (fields, method, attributes, ...)
(package private)  void FieldInfo.resolveConstants(ConstantPool cp)
          Insert or check location of constant value on constant pool
(package private)  void FieldInfo.write(ConstantPool cp, DataOutput out)
          Write this class into the the file (out) getting data position from the constant pool
 void MethodInfo.resolveConstants(ConstantPool cp)
          Insert or check location of constant value on constant pool
 void MethodInfo.write(ConstantPool cp, DataOutput out)
          Write this class into the the file (out) getting data position from the constant pool
(package private)  void Instruction.check(CodeEnv env, int curStack)
          Verifies the enclosed instruction and computes the stack height.
(package private)  void JumpInstruction.check(CodeEnv env, int curStack)
          Verifies the enclosed instruction and computes the stack height.
(package private)  void NoArgInstruction.check(CodeEnv env, int curStack)
          Verifies the enclosed instruction and computes the stack height.
(package private)  void SwitchInstruction.check(CodeEnv env, int curStack)
          Verifies the enclosed instruction and computes the stack height.
(package private) static Attribute AttributeList.read(DataInput in, ConstantPool cp)
          This method calls each member of the attribute parsing chain-of-responsibility in order to read the next attribute in the given input stream.
(package private) static Attribute AttributeList.readInterfaceOnly(DataInput in, ConstantPool cp)
          This method calls each member of the attribute parsing chain-of-responsibility in order to read the next attribute in the given input stream.
(package private) static Attribute AttributeList.readCodeInfoAttribute(DataInput in, ConstantPool cp, Instruction[] insns)
          This method calls each member of the attribute parsing chain-of-responsibility, in order, to read the next CodeInfo attribute in the given input stream.
(package private)  void AttributeList.resolveConstants(ConstantPool cp)
          Insert or check location of constant values in constant pool
(package private)  void AttributeList.write(ConstantPool cp, DataOutput out)
          Write this class into the the file (out) getting data position from the constant pool
 void GenericFunctionInfo.resolveConstants(ConstantPool cp)
          Insert or check location of constant value on constant pool
 void GenericFunctionInfo.write(ConstantPool cp, DataOutput out)
          Write this class into the the file (out) getting data position from the constant pool
protected  void AnchorAttribute.resolveConstants(ConstantPool cp)
          Insert or check location of constant value on constant pool
protected  void AnchorAttribute.write(ConstantPool cp, DataOutput out)
          Write this class into the the file (out) getting data position from the constant pool
abstract  Attribute AttributeParser.read(String tag, DataInput in, ConstantPool cp)
          Checks the next attribute in the given input, in, and parses it if it is recognized.
abstract  Attribute AttributeParser.readInterfaceOnly(String tag, DataInput in, ConstantPool cp)
          Checks the next attribute in the given input, in, and parses it if it is recognized, but skips CodeInfo attributes.
abstract  Attribute AttributeParser.readCodeInfoAttribute(String tag, DataInput in, ConstantPool cp, Instruction[] insns)
          Checks the next attribute in the given input, in, and parses it if it is recognized, but only parses attributes that may appear within a CodeInfo attribute.
 Attribute BaseAttributeParser.read(String tag, DataInput in, ConstantPool cp)
          Checks the next attribute in the given input, in, and parses it if it is recognized.
 Attribute BaseAttributeParser.readInterfaceOnly(String tag, DataInput in, ConstantPool cp)
          Checks the next attribute in the given input, in, and parses it if it is recognized, but skips CodeInfo attributes.
 Attribute BaseAttributeParser.readCodeInfoAttribute(String tag, DataInput in, ConstantPool cp, Instruction[] insns)
          Checks the next attribute in the given input, in, and parses it if it is recognized, but only parses attributes that may appear within a CodeInfo attribute.
 ClassInfo ClassInfoCreator.createClassInfo(DataInput data, boolean interfaceOnly)
          Creates a class info object by reading bytecode from the data input stream data.
 FieldInfo ClassInfoCreator.createFieldInfo(DataInput data, ConstantPool cp)
          Creates a field info object by reading bytecode from the data input stream data.
 MethodInfo ClassInfoCreator.createMethodInfo(DataInput data, ConstantPool cp, boolean interfaceOnly)
          Creates a method info object by reading bytecode from the data input stream data.
(package private)  boolean InstructionHandle.checkInstruction(CodeEnv env, int curStack)
          Verifies the enclosed instruction and computes the stack height.
protected  void DispatcherAttribute.resolveConstants(ConstantPool cp)
          Insert or check location of constant value on constant pool
protected  void DispatcherAttribute.write(ConstantPool cp, DataOutput out)
          Write this class into the the file (out) getting data position from the constant pool
protected  void GenericFunctionsAttribute.resolveConstants(ConstantPool cp)
          Insert or check location of constant value on constant pool
protected  void GenericFunctionsAttribute.write(ConstantPool cp, DataOutput out)
          Write this class into the the file (out) getting data position from the constant pool
protected  void RuntimeVisibleParameterAnnotationsAttribute.resolveConstants(ConstantPool cp)
          Insert or check location of constant value on constant pool.
 Attribute MJAttributeParser.read(String tag, DataInput in, ConstantPool cp)
          Checks the next attribute in the given input, in, and parses it if it is recognized.
 Attribute MJAttributeParser.readInterfaceOnly(String tag, DataInput in, ConstantPool cp)
          Checks the next attribute in the given input, in, and parses it if it is recognized, but skips CodeInfo attributes.
 Attribute MJAttributeParser.readCodeInfoAttribute(String tag, DataInput in, ConstantPool cp, Instruction[] insns)
          Checks the next attribute in the given input, in, and parses it if it is recognized, but only parses attributes that may appear within a CodeInfo attribute.
protected  void MultimethodBodyAttribute.resolveConstants(ConstantPool cp)
          Insert or check location of constant value on constant pool
protected  void MultimethodBodyAttribute.write(ConstantPool cp, DataOutput out)
          Write this class into the the file (out) getting data position from the constant pool
protected  void RedirectorAttribute.resolveConstants(ConstantPool cp)
          Insert or check location of constant value on constant pool
protected  void RedirectorAttribute.write(ConstantPool cp, DataOutput out)
          Write this class into the the file (out) getting data position from the constant pool
protected  void RMJAttribute.resolveConstants(ConstantPool cp)
          Insert or check location of constant value on constant pool
protected  void RMJAttribute.write(ConstantPool cp, DataOutput out)
          Write this class into the the file (out) getting data position from the constant pool
protected  void SignatureAttribute.resolveConstants(ConstantPool cp)
          Insert or check location of constant value on constant pool
 Attribute UniverseAttributeParser.read(String tag, DataInput in, ConstantPool cp)
          Checks the next attribute in the given input stream, and parses it if is is recognized.
 Attribute UniverseAttributeParser.readInterfaceOnly(String tag, DataInput in, ConstantPool cp)
          Checks the next attribute in the given input stream, and parses it if is is recognized, but skips CodeInfo attributes Returns an Attribute instance if the attribute is recognized, or null otherwise.
 Attribute UniverseAttributeParser.readCodeInfoAttribute(String tag, DataInput in, ConstantPool cp, Instruction[] insns)
          Checks the next attribute in the given input stream, and parses it if is is recognized, but only parses attributes that may appear within a CodeInfo attribute.
protected  void UniverseMethodAttribute.resolveConstants(ConstantPool cp)
          Insert or check location of constant value on constant pool.
protected  void UniverseMethodAttribute.write(ConstantPool cp, DataOutput out)
          Write this class into the the file (out) getting data position from the constant pool.
(package private)  PooledConstant UnresolvedConstant.resolveConstant(PooledConstant[] constants)
          Insert or check location of constant value on constant pool
 

Constructors in org.multijava.util.classfile with parameters of type ClassFileFormatException
ClassFileReadException(ClassFileFormatException original, String name)
          Constructs an exception to communicate a malformed .class file
 

Constructors in org.multijava.util.classfile that throw ClassFileFormatException
CodeInfo(DataInput in, ConstantPool cp)
          Make up a new attribute
ClassInfo(DataInput in, boolean interfaceOnly)
           
ClassInfo(DataInput in, boolean interfaceOnly, ClassInfoCreator cr)
          Constructs a class info structure from a class file
FieldInfo(DataInput in, ConstantPool cp)
          Constructs a field entry from a class file stream
MethodInfo(DataInput in, ConstantPool cp, boolean interfaceOnly)
          Constructs a method entry from a class file stream
AttributeList(DataInput in, ConstantPool cp, boolean noCode)
          Constructs an attribute list from a class file stream
AttributeList(DataInput in, ConstantPool cp, Instruction[] insns)
          Constructs an sub-attribute list of CodeInfo from a class file stream
GenericFunctionInfo(DataInput in, ConstantPool cp)
          Constructs a generic function info structure from a class file stream
ConstantPool(DataInput in)
          Constructs a constant pool structure from a class file
AnchorAttribute(DataInput in, ConstantPool cp)
          Constructs an anchor attribute from a class file stream.
Annotation(ConstantPool cp, DataInput in)
          Read an annotation structure from a classfile.
Annotation.ElementValuePair(ConstantPool cp, DataInput in)
          Construct an element-value pair in an annotation structure from a classfile stream.
MultimethodInfo(DataInput in, ConstantPool cp, short number, String topConcMethColl)
          Constructs a multimethod info data structure from a class file stream
ConstantValueAttribute(DataInput in, ConstantPool cp)
          Constructs a constant value attribute from a class file stream.
DispatcherAttribute(DataInput in, ConstantPool cp)
          Constructs a dispatcher attribute from a class file stream.
GenericFunctionsAttribute(DataInput in, ConstantPool cp)
          Constructs a generic functions attribute from a class file stream.
InnerClassTable(DataInput in, ConstantPool cp)
          Constructs an InnerClasses attribute from a class file stream.
RuntimeVisibleAnnotationsAttribute(DataInput in, ConstantPool cp)
          Construct a new RuntimeVisibleAnnotations attribute from a classfile stream.
RuntimeVisibleParameterAnnotationsAttribute(DataInput in, ConstantPool cp)
          Constructs a RuntimeVisibleParameterAnnotations attribute from a classfile stream.
MultimethodBodyAttribute(DataInput in, ConstantPool cp)
          Constructs a multimethod body attribute from a class file stream.
RedirectorAttribute(DataInput in, ConstantPool cp)
          Constructs a dispatcher attribute from a class file stream.
SignatureAttribute(DataInput in, ConstantPool cp)
          Constructs a Signature (generic) attribute from a class file stream.
SourceFileAttribute(DataInput in, ConstantPool cp)
          Constructs a source file attribute from a class file stream.
SyntheticAttribute(DataInput in, ConstantPool cp)
          Constructs a synthetic attribute from a class file stream.
UniverseClassAttribute(DataInput in, ConstantPool cp)
          Constructs a universe version attribute from a classfile stream.
UniverseFieldAttribute(DataInput in, ConstantPool cp)
          Constructs a universe field attribute from a class file stream.
UniverseMethodAttribute(DataInput in, ConstantPool cp)
          Constructs a Universe Method Attribute from a class file stream.
 


mjc

mjc is Copyright (C) 2000-2004 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. mjc is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.