|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ClassInfo | |
koala.dynamicjava.classinfo | Contains all the classes and interfaces for using reflection on Java or interpreted classes. |
koala.dynamicjava.interpreter | Contains the classes for interpreting Java language statements. |
Uses of ClassInfo in koala.dynamicjava.classinfo |
Classes in koala.dynamicjava.classinfo that implement ClassInfo | |
class |
JavaClassInfo
The instances of this class provides informations about class compiled to JVM bytecode. |
class |
TreeClassInfo
The instances of this class provides informations about classes not yet compiled to JVM bytecode and represented by a syntax tree |
Methods in koala.dynamicjava.classinfo that return ClassInfo | |
ClassInfo |
TreeFieldInfo.getType()
Returns the type of the underlying field |
ClassInfo |
MethodInfo.getReturnType()
Returns a Class object that represents the return type of the method represented by this object |
ClassInfo[] |
MethodInfo.getParameterTypes()
Returns an array of class infos that represent the parameter types, in declaration order, of the method represented by this object |
ClassInfo[] |
MethodInfo.getExceptionTypes()
Returns an array of class infos that represent the types of the exceptions declared to be thrown by the underlying method |
ClassInfo |
JavaMethodInfo.getReturnType()
Returns a Class object that represents the return type of the method represented by this object |
ClassInfo[] |
JavaMethodInfo.getParameterTypes()
Returns an array of class infos that represent the parameter types, in declaration order, of the method represented by this object |
ClassInfo[] |
JavaMethodInfo.getExceptionTypes()
Returns an array of Class infos that represent the types of the exceptions declared to be thrown by the underlying method |
ClassInfo |
ClassInfo.getDeclaringClass()
Returns the declaring class or null |
ClassInfo |
ClassInfo.getAnonymousDeclaringClass()
Returns the declaring class of an anonymous class or null |
ClassInfo |
ClassInfo.getSuperclass()
Returns the class info of the superclass of the class represented by this info |
ClassInfo[] |
ClassInfo.getInterfaces()
Returns the class infos of the interfaces implemented by the class this info represents |
ClassInfo[] |
ClassInfo.getDeclaredClasses()
Returns the classes and interfaces declared as members of the class represented by this ClassInfo object. |
ClassInfo |
ClassInfo.getArrayType()
Returns the array type that contains elements of this class |
ClassInfo |
ClassInfo.getComponentType()
Returns the component type of this array type |
ClassInfo |
FieldInfo.getType()
Returns the type of the underlying field |
ClassInfo |
JavaClassInfo.getDeclaringClass()
Returns the declaring class or null |
ClassInfo |
JavaClassInfo.getAnonymousDeclaringClass()
Returns the declaring class of an anonymous class or null |
ClassInfo |
JavaClassInfo.getSuperclass()
Returns the class info of the superclass of the class represented by this info |
ClassInfo[] |
JavaClassInfo.getInterfaces()
Returns the class infos of the interfaces implemented by the class this info represents |
ClassInfo[] |
JavaClassInfo.getDeclaredClasses()
Returns the classes and interfaces declared as members of the class represented by this ClassInfo object. |
ClassInfo |
JavaClassInfo.getArrayType()
Returns the array type that contains elements of this class |
ClassInfo |
JavaClassInfo.getComponentType()
Returns the component type of this array type |
ClassInfo |
JavaFieldInfo.getType()
Returns the type of the underlying field |
ClassInfo |
ClassFinder.lookupClass(java.lang.String cname)
Loads the class info that match the given name in the source file |
ClassInfo |
ClassFinder.lookupClass(java.lang.String cname,
ClassInfo cinfo)
Loads the class info that match the given name in the source file |
ClassInfo |
ClassFinder.addClassInfo(java.lang.String cname,
TypeDeclaration decl)
Adds a type declaration in the class info list |
ClassInfo[] |
ConstructorInfo.getParameterTypes()
Returns an array of class infos that represent the parameter types, in declaration order, of the constructor represented by this object |
ClassInfo[] |
ConstructorInfo.getExceptionTypes()
Returns an array of class infos that represent the types of the exceptions declared to be thrown by the underlying constructor |
ClassInfo |
TreeClassInfo.getDeclaringClass()
Returns the declaring class or null |
ClassInfo |
TreeClassInfo.getAnonymousDeclaringClass()
Returns the declaring class of an anonymous class or null |
ClassInfo |
TreeClassInfo.getSuperclass()
Returns the class info of the superclass of the class represented by this class |
ClassInfo[] |
TreeClassInfo.getInterfaces()
Returns the class infos of the interfaces implemented by the class this info represents |
ClassInfo[] |
TreeClassInfo.getDeclaredClasses()
Returns the classes and interfaces declared as members of the class represented by this ClassInfo object. |
ClassInfo |
TreeClassInfo.getArrayType()
Returns the array type that contains elements of this class |
ClassInfo |
TreeClassInfo.getComponentType()
Returns the component type of this array type |
ClassInfo |
TreeMethodInfo.getReturnType()
Returns a Class object that represents the return type of the method represented by this object |
ClassInfo[] |
TreeMethodInfo.getParameterTypes()
Returns an array of class infos that represent the parameter types, in declaration order, of the method represented by this object |
ClassInfo[] |
TreeMethodInfo.getExceptionTypes()
Returns an array of Class infos that represent the types of the exceptions declared to be thrown by the underlying method |
protected ClassInfo |
TreeMethodInfo.lookupClass(java.lang.String s,
ClassInfo c)
Looks for a class from its name |
ClassInfo[] |
JavaConstructorInfo.getParameterTypes()
Returns an array of class infos that represent the parameter types, in declaration order, of the constructor represented by this object |
ClassInfo[] |
JavaConstructorInfo.getExceptionTypes()
Returns an array of Class infos that represent the types of the exceptions declared to be thrown by the underlying constructor |
ClassInfo[] |
TreeConstructorInfo.getParameterTypes()
Returns an array of class infos that represent the parameter types, in declaration order, of the constructor represented by this object |
ClassInfo[] |
TreeConstructorInfo.getExceptionTypes()
Returns an array of Class infos that represent the types of the exceptions declared to be thrown by the underlying constructor |
Methods in koala.dynamicjava.classinfo with parameters of type ClassInfo | |
static ConstructorInfo |
ClassInfoUtilities.lookupConstructor(ClassInfo cl,
ClassInfo[] ac)
Looks for a constructor in the given class or in super classes of this class. |
static boolean |
ClassInfoUtilities.isAssignableFrom(ClassInfo c1,
ClassInfo c2)
Tests whether c1 is assignable from c2. |
static FieldInfo |
ClassInfoUtilities.getField(ClassInfo cl,
java.lang.String name)
Returns a field with the given name declared in the given class or in the superclasses of the given class |
static FieldInfo |
ClassInfoUtilities.getOuterField(ClassInfo cl,
java.lang.String name)
Returns a field with the given name declared in one of the outer classes of the given class |
static MethodInfo |
ClassInfoUtilities.lookupMethod(ClassInfo cl,
java.lang.String name,
ClassInfo[] ac)
Looks for a method in the given class or in super classes of this class. |
static MethodInfo |
ClassInfoUtilities.lookupOuterMethod(ClassInfo cl,
java.lang.String name,
ClassInfo[] ac)
Looks up for a method in an outer classes of this class. |
static java.util.List |
ClassInfoUtilities.getMethods(ClassInfo cl,
java.lang.String name,
int params)
Gets all the methods with the given name in the given class or super classes. |
ClassInfo |
ClassFinder.lookupClass(java.lang.String cname,
ClassInfo cinfo)
Loads the class info that match the given name in the source file |
protected ClassInfo |
TreeMethodInfo.lookupClass(java.lang.String s,
ClassInfo c)
Looks for a class from its name |
Constructors in koala.dynamicjava.classinfo with parameters of type ClassInfo | |
TreeFieldInfo(FieldDeclaration f,
ClassFinder cf,
ClassInfo dc)
Creates a new class info |
|
TypeVisitor(ClassFinder cf,
ClassInfo ctx)
Creates a new type visitor |
|
TreeMethodInfo(MethodDeclaration f,
ClassFinder cf,
ClassInfo dc)
Creates a new method info |
|
TreeConstructorInfo(ConstructorDeclaration f,
ClassFinder cf,
ClassInfo dc)
Creates a new class info |
Uses of ClassInfo in koala.dynamicjava.interpreter |
Fields in koala.dynamicjava.interpreter declared as ClassInfo | |
protected ClassInfo |
TreeCompiler.PseudoError.classInfo
The exception content |
Methods in koala.dynamicjava.interpreter that return ClassInfo | |
ClassInfo |
ClassPool.add(java.lang.String cn,
ClassInfo ci)
Adds a classinfo to the pool |
ClassInfo |
ClassPool.get(java.lang.String cn)
Returns the class info mapped with the given key |
ClassInfo |
ClassPool.getFirstCompilable()
Gets the first compilable class in the pool |
static ClassInfo |
NodeProperties.getClassInfo(Node n)
Returns the type property of a node when it is a class info |
ClassInfo |
TreeCompiler.PseudoError.getClassInfo()
Returns the class info |
ClassInfo |
TreeClassFinder.lookupClass(java.lang.String cname)
Loads the class info that match the given name in the source file |
ClassInfo |
TreeClassFinder.lookupClass(java.lang.String cname,
ClassInfo cinfo)
Loads the class info that match the given name in the source file |
ClassInfo |
TreeClassFinder.addClassInfo(java.lang.String cname,
TypeDeclaration decl)
Adds a type declaration in the class info list |
Methods in koala.dynamicjava.interpreter with parameters of type ClassInfo | |
ClassInfo |
ClassPool.add(java.lang.String cn,
ClassInfo ci)
Adds a classinfo to the pool |
protected java.lang.Class |
TreeCompiler.compileClass(ClassInfo ci,
java.lang.String name)
Compiles the given class info |
ClassInfo |
TreeClassFinder.lookupClass(java.lang.String cname,
ClassInfo cinfo)
Loads the class info that match the given name in the source file |
protected void |
ClassInfoCompiler.addInnerClassesAttribute(ClassInfo ci)
Adds an inner class attribute to the given class |
protected boolean |
ClassInfoCompiler.ConstructorVisitor.fieldExists(ClassInfo dc,
java.lang.String name)
Whether the given name represents a field in this context |
Constructors in koala.dynamicjava.interpreter with parameters of type ClassInfo | |
ClassInfoCompiler(ClassInfo ci)
Creates a new compiler |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |