Uses of Interface
org.biojava.utils.bytecode.CodeClass
-
Uses of CodeClass in org.biojava.utils.bytecode
Classes in org.biojava.utils.bytecode that implement CodeClassModifier and TypeClassDescriptionclassA CodeClass implementation that is used to generate new classes.classCodeClass instances that represent normal Java Class objects.Fields in org.biojava.utils.bytecode declared as CodeClassModifier and TypeFieldDescriptionstatic final CodeClass[]CodeUtils.EMPTY_LISTstatic final CodeClassCodeUtils.TYPE_BOOLEANstatic final CodeClassCodeUtils.TYPE_BYTEstatic final CodeClassCodeUtils.TYPE_CHARstatic final CodeClassCodeUtils.TYPE_DOUBLEstatic final CodeClassCodeUtils.TYPE_FLOATstatic final CodeClassCodeUtils.TYPE_INTstatic final CodeClassCodeUtils.TYPE_LONGstatic final CodeClassCodeUtils.TYPE_OBJECTstatic final CodeClassCodeUtils.TYPE_SHORTstatic final CodeClassCodeUtils.TYPE_VOIDMethods in org.biojava.utils.bytecode that return CodeClassModifier and TypeMethodDescriptionstatic CodeClassGet the CodeClass for a Java Class.static CodeClassGet the CodeClass for a Java class name.ParametricType.getClasses()CodeContext.getCodeClass()Get the class for which a method is being generated.CodeField.getContainingClass()Get the class that contains this field.CodeMethod.getContainingClass()The class that contains this methodGeneratedCodeMethod.getContainingClass()CodeMethod.getParameterType(int pos) Get the type of the parameter at a given positionGeneratedCodeMethod.getParameterType(int pos) CodeMethod.getReturnType()Get the return typeGeneratedCodeMethod.getReturnType()CodeClass.getSuperClass()GeneratedCodeClass.getSuperClass()IntrospectedCodeClass.getSuperClass()CodeField.getType()Get the type of the field.LocalVariable.getType()CodeContext.resolveParametricType(ParametricType type) Resolve a parametric type to a concrete class.Methods in org.biojava.utils.bytecode with parameters of type CodeClassModifier and TypeMethodDescriptionvoidCodeContext.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 objectbooleanstatic StringCodeUtils.classListToString(CodeClass[] classes) Format an array of classes as a comma-seperated list.GeneratedCodeClass.createField(String name, CodeClass clazz, int mods) GeneratedCodeClass.createMethod(String name, CodeClass type, CodeClass[] args, int mods) Create a new method.GeneratedCodeClass.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.CodeClass.getConstructor(CodeClass[] args) Get a constructor by argument list.GeneratedCodeClass.getConstructor(CodeClass[] args) IntrospectedCodeClass.getConstructor(CodeClass[] args) Get a method by name and argument list.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 Instructionstatic 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 CodeClassModifierConstructorDescriptionGeneratedCodeClass(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.