|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of CodeClass in org.biojava.utils.bytecode |
---|
Classes in org.biojava.utils.bytecode that implement CodeClass | |
---|---|
class |
GeneratedCodeClass
A CodeClass implementation that is used to generate new classes. |
class |
IntrospectedCodeClass
CodeClass instances that represent normal Java Class objects. |
Fields in org.biojava.utils.bytecode declared as CodeClass | |
---|---|
static CodeClass[] |
CodeUtils.EMPTY_LIST
|
static CodeClass |
CodeUtils.TYPE_BOOLEAN
|
static CodeClass |
CodeUtils.TYPE_BYTE
|
static CodeClass |
CodeUtils.TYPE_CHAR
|
static CodeClass |
CodeUtils.TYPE_DOUBLE
|
static CodeClass |
CodeUtils.TYPE_FLOAT
|
static CodeClass |
CodeUtils.TYPE_INT
|
static CodeClass |
CodeUtils.TYPE_LONG
|
static CodeClass |
CodeUtils.TYPE_OBJECT
|
static CodeClass |
CodeUtils.TYPE_SHORT
|
static CodeClass |
CodeUtils.TYPE_VOID
|
Methods in org.biojava.utils.bytecode that return CodeClass | |
---|---|
static CodeClass |
IntrospectedCodeClass.forClass(java.lang.Class c)
Get the CodeClass for a Java Class. |
static CodeClass |
IntrospectedCodeClass.forClass(java.lang.String name)
Get the CodeClass for a Java class name. |
CodeClass[] |
ParametricType.getClasses()
|
CodeClass |
CodeContext.getCodeClass()
Get the class for which a method is being generated. |
CodeClass |
GeneratedCodeMethod.getContainingClass()
|
CodeClass |
CodeField.getContainingClass()
Get the class that contains this field. |
CodeClass |
CodeMethod.getContainingClass()
The class that contains this method |
CodeClass |
GeneratedCodeMethod.getParameterType(int pos)
|
CodeClass |
CodeMethod.getParameterType(int pos)
Get the type of the parameter at a given position |
CodeClass |
GeneratedCodeMethod.getReturnType()
|
CodeClass |
CodeMethod.getReturnType()
Get the return type |
CodeClass |
IntrospectedCodeClass.getSuperClass()
|
CodeClass |
CodeClass.getSuperClass()
|
CodeClass |
GeneratedCodeClass.getSuperClass()
|
CodeClass |
LocalVariable.getType()
|
CodeClass |
CodeField.getType()
Get the type of the field. |
CodeClass |
CodeContext.resolveParametricType(ParametricType type)
Resolve a parametric type to a concrete class. |
Methods in org.biojava.utils.bytecode with parameters of type CodeClass | |
---|---|
void |
CodeContext.addExceptionTableEntry(Label startHandled,
Label endHandled,
CodeClass eClass,
Label handler)
Add an exception table entry. |
void |
GeneratedCodeMethod.addThrownException(CodeClass cc)
Adds a feature to the ThrownException attribute of the GeneratedCodeMethod object |
boolean |
ParametricType.canAccept(CodeClass cc)
|
static java.lang.String |
CodeUtils.classListToString(CodeClass[] classes)
Format an array of classes as a comma-seperated list. |
CodeField |
GeneratedCodeClass.createField(java.lang.String name,
CodeClass clazz,
int mods)
|
GeneratedCodeMethod |
GeneratedCodeClass.createMethod(java.lang.String name,
CodeClass type,
CodeClass[] args,
int mods)
Create a new method. |
GeneratedCodeMethod |
GeneratedCodeClass.createMethod(java.lang.String name,
CodeClass type,
CodeClass[] args,
int mods)
Create a new method. |
GeneratedCodeMethod |
GeneratedCodeClass.createMethod(java.lang.String name,
CodeClass type,
CodeClass[] args,
java.lang.String[] argNames,
int mods)
Create a new method. |
GeneratedCodeMethod |
GeneratedCodeClass.createMethod(java.lang.String name,
CodeClass type,
CodeClass[] args,
java.lang.String[] argNames,
int mods)
Create a new method. |
static ParametricType |
ParametricType.createType(java.lang.String name,
CodeClass[] classes)
Create a new ParametricType that claims to be castable to all the classes in a list. |
CodeMethod |
IntrospectedCodeClass.getConstructor(CodeClass[] args)
|
CodeMethod |
CodeClass.getConstructor(CodeClass[] args)
Get a constructor by argument list. |
CodeMethod |
GeneratedCodeClass.getConstructor(CodeClass[] args)
|
CodeMethod |
IntrospectedCodeClass.getMethod(java.lang.String name,
CodeClass[] args)
|
CodeMethod |
CodeClass.getMethod(java.lang.String name,
CodeClass[] args)
Get a method by name and argument list. |
CodeMethod |
GeneratedCodeClass.getMethod(java.lang.String name,
CodeClass[] args)
|
static boolean |
CodeUtils.isFloatType(CodeClass cc)
Returns true if the class is a floating point number. |
static boolean |
CodeUtils.isIntegerType(CodeClass cc)
Returns true if the class is an integer number. |
static Instruction |
ByteCode.make_checkcast(CodeClass clazz)
|
static Instruction |
ByteCode.make_instanceof(CodeClass clazz)
|
static Instruction |
ByteCode.make_new(CodeClass clazz)
|
static Instruction |
ByteCode.make_newarray(CodeClass clazz)
|
static Instruction |
ByteCode.make_return(CodeClass clazz)
Creates the return Instruction suitable for a given class or type. |
void |
CodeContext.registerParametricType(ParametricType type,
CodeClass concreteType)
Register a concrete type for a parametric type. |
int |
ConstantPool.resolveClass(CodeClass c)
|
static int |
CodeUtils.wordsForType(CodeClass cc)
Number of words needed for local variables of this type. |
Constructors in org.biojava.utils.bytecode with parameters of type CodeClass | |
---|---|
GeneratedCodeClass(java.lang.String name,
CodeClass superClass,
CodeClass[] interfaces,
int modifiers)
|
|
GeneratedCodeClass(java.lang.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,
java.lang.String name)
Create a new local variable with a type and a name. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |