Uses of Interface
org.biojava.utils.bytecode.CodeClass
-
Packages that use CodeClass Package Description org.biojava.utils.bytecode A Java object-model for a Java Bytecode Macro-Assembler. -
-
Uses of CodeClass in org.biojava.utils.bytecode
Classes in org.biojava.utils.bytecode that implement CodeClass Modifier and Type Class Description classGeneratedCodeClassA CodeClass implementation that is used to generate new classes.classIntrospectedCodeClassCodeClass instances that represent normal Java Class objects.Fields in org.biojava.utils.bytecode declared as CodeClass Modifier and Type Field Description static CodeClass[]CodeUtils. EMPTY_LISTstatic CodeClassCodeUtils. TYPE_BOOLEANstatic CodeClassCodeUtils. TYPE_BYTEstatic CodeClassCodeUtils. TYPE_CHARstatic CodeClassCodeUtils. TYPE_DOUBLEstatic CodeClassCodeUtils. TYPE_FLOATstatic CodeClassCodeUtils. TYPE_INTstatic CodeClassCodeUtils. TYPE_LONGstatic CodeClassCodeUtils. TYPE_OBJECTstatic CodeClassCodeUtils. TYPE_SHORTstatic CodeClassCodeUtils. TYPE_VOIDMethods in org.biojava.utils.bytecode that return CodeClass Modifier and Type Method Description static CodeClassIntrospectedCodeClass. forClass(Class c)Get the CodeClass for a Java Class.static CodeClassIntrospectedCodeClass. forClass(String name)Get the CodeClass for a Java class name.CodeClass[]ParametricType. getClasses()CodeClassCodeContext. getCodeClass()Get the class for which a method is being generated.CodeClassCodeField. getContainingClass()Get the class that contains this field.CodeClassCodeMethod. getContainingClass()The class that contains this methodCodeClassGeneratedCodeMethod. getContainingClass()CodeClassCodeMethod. getParameterType(int pos)Get the type of the parameter at a given positionCodeClassGeneratedCodeMethod. getParameterType(int pos)CodeClassCodeMethod. getReturnType()Get the return typeCodeClassGeneratedCodeMethod. getReturnType()CodeClassCodeClass. getSuperClass()CodeClassGeneratedCodeClass. getSuperClass()CodeClassIntrospectedCodeClass. getSuperClass()CodeClassCodeField. getType()Get the type of the field.CodeClassLocalVariable. getType()CodeClassCodeContext. resolveParametricType(ParametricType type)Resolve a parametric type to a concrete class.Methods in org.biojava.utils.bytecode with parameters of type CodeClass Modifier and Type Method Description voidCodeContext. addExceptionTableEntry(Label startHandled, Label endHandled, CodeClass eClass, Label handler)Add an exception table entry.voidGeneratedCodeMethod. addThrownException(CodeClass cc)Adds a feature to the ThrownException attribute of the GeneratedCodeMethod objectbooleanParametricType. canAccept(CodeClass cc)static StringCodeUtils. classListToString(CodeClass[] classes)Format an array of classes as a comma-seperated list.CodeFieldGeneratedCodeClass. createField(String name, CodeClass clazz, int mods)GeneratedCodeMethodGeneratedCodeClass. createMethod(String name, CodeClass type, CodeClass[] args, int mods)Create a new method.GeneratedCodeMethodGeneratedCodeClass. createMethod(String name, CodeClass type, CodeClass[] args, String[] argNames, int mods)Create a new method.static ParametricTypeParametricType. createType(String name, CodeClass[] classes)Create a new ParametricType that claims to be castable to all the classes in a list.CodeMethodCodeClass. getConstructor(CodeClass[] args)Get a constructor by argument list.CodeMethodGeneratedCodeClass. getConstructor(CodeClass[] args)CodeMethodIntrospectedCodeClass. getConstructor(CodeClass[] args)CodeMethodCodeClass. getMethod(String name, CodeClass[] args)Get a method by name and argument list.CodeMethodGeneratedCodeClass. getMethod(String name, CodeClass[] args)CodeMethodIntrospectedCodeClass. getMethod(String name, CodeClass[] args)static booleanCodeUtils. isFloatType(CodeClass cc)Returns true if the class is a floating point number.static booleanCodeUtils. isIntegerType(CodeClass cc)Returns true if the class is an integer number.static InstructionByteCode. make_checkcast(CodeClass clazz)static InstructionByteCode. make_instanceof(CodeClass clazz)static InstructionByteCode. make_new(CodeClass clazz)static InstructionByteCode. make_newarray(CodeClass clazz)static InstructionByteCode. make_return(CodeClass clazz)Creates the return Instruction suitable for a given class or type.voidCodeContext. registerParametricType(ParametricType type, CodeClass concreteType)Register a concrete type for a parametric type.intConstantPool. resolveClass(CodeClass c)static intCodeUtils. wordsForType(CodeClass cc)Number of words needed for local variables of this type.Constructors in org.biojava.utils.bytecode with parameters of type CodeClass Constructor Description GeneratedCodeClass(String name, CodeClass superClass, CodeClass[] interfaces, int modifiers)LocalVariable(CodeClass clazz)Create a new local variable that will store values of a given type.LocalVariable(CodeClass clazz, String name)Create a new local variable with a type and a name.
-