|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DJClass | |
|---|---|
| edu.rice.cs.dynamicjava.interpreter | |
| edu.rice.cs.dynamicjava.symbol | |
| edu.rice.cs.dynamicjava.symbol.type | |
| koala.dynamicjava.interpreter | Contains the classes for interpreting Java language statements. |
| Uses of DJClass in edu.rice.cs.dynamicjava.interpreter |
|---|
| Methods in edu.rice.cs.dynamicjava.interpreter that return DJClass | |
|---|---|
DJClass |
FunctionContext.getThis()
|
DJClass |
DelegatingContext.getThis()
Return the class of this in the current context, or null
if there is no such value (for example, in a static context). |
DJClass |
InitializerContext.getThis()
|
DJClass |
ImportContext.getThis()
Return the type of this in the current context, or null
if there is no such value (for example, in a static context). |
DJClass |
TypeContext.getThis()
Return the class of this in the current context, or null
if there is no such value (for example, in a static context). |
DJClass |
BaseContext.getThis()
|
DJClass |
ClassContext.getThis()
Return the class of this in the current context, or null
if there is no such value (for example, in a static context). |
DJClass |
FunctionContext.getThis(String className)
|
DJClass |
DelegatingContext.getThis(String className)
Return the class of className.this in the current context, or null
if there is no such value (for example, in a static context). |
DJClass |
InitializerContext.getThis(String className)
|
DJClass |
ImportContext.getThis(String className)
Return the type of className.this in the current context, or null
if there is no such value (for example, in a static context). |
DJClass |
TypeContext.getThis(String className)
Return the class of className.this in the current context, or null
if there is no such value (for example, in a static context). |
DJClass |
BaseContext.getThis(String className)
|
DJClass |
ClassContext.getThis(String className)
Return the class of className.this in the current context, or null
if there is no such value (for example, in a static context). |
DJClass |
FunctionContext.getThis(Type expected,
TypeSystem ts)
|
DJClass |
DelegatingContext.getThis(Type expected,
TypeSystem ts)
|
DJClass |
InitializerContext.getThis(Type expected,
TypeSystem ts)
|
DJClass |
ImportContext.getThis(Type expected,
TypeSystem ts)
|
DJClass |
TypeContext.getThis(Type expected,
TypeSystem ts)
Return the innermost "this" class with the given type in the current context, or null if there is no such value (for example, in a static context). |
DJClass |
BaseContext.getThis(Type expected,
TypeSystem ts)
|
DJClass |
ClassContext.getThis(Type expected,
TypeSystem ts)
|
DJClass |
DelegatingContext.getTopLevelClass(String name,
TypeSystem ts)
Return the top-level class with the given name, or null if it does not exist. |
DJClass |
ImportContext.getTopLevelClass(String name,
TypeSystem ts)
|
DJClass |
TypeContext.getTopLevelClass(String name,
TypeSystem ts)
Return the top-level class with the given name, or null if it does not exist. |
DJClass |
BaseContext.getTopLevelClass(String name,
TypeSystem ts)
|
DJClass |
FunctionSignatureContext.getTopLevelClass(String name,
TypeSystem ts)
|
DJClass |
ClassSignatureContext.getTopLevelClass(String name,
TypeSystem ts)
Return the top-level class with the given name, or null if it does not exist. |
DJClass |
ClassContext.getTopLevelClass(String name,
TypeSystem ts)
|
DJClass |
LibraryContext.getTopLevelClass(String name,
TypeSystem ts)
|
DJClass |
LocalContext.getTopLevelClass(String name,
TypeSystem ts)
|
DJClass |
FunctionContext.initializingClass()
|
DJClass |
DelegatingContext.initializingClass()
|
DJClass |
InitializerContext.initializingClass()
|
DJClass |
ImportContext.initializingClass()
|
DJClass |
TypeContext.initializingClass()
Class which is being initialized (via a constructor or initialization block); null otherwise. |
DJClass |
BaseContext.initializingClass()
|
DJClass |
ClassContext.initializingClass()
|
| Methods in edu.rice.cs.dynamicjava.interpreter with parameters of type DJClass | |
|---|---|
Object |
RuntimeBindings.getThis(DJClass c)
|
TypeContext |
DelegatingContext.importField(DJClass c,
String name)
Import the field(s) of c with the given name |
TypeContext |
ImportContext.importField(DJClass c,
String name)
Import the field(s) of c with the given name |
TypeContext |
TypeContext.importField(DJClass c,
String name)
Import the field(s) of c with the given name |
TypeContext |
BaseContext.importField(DJClass c,
String name)
|
TypeContext |
DelegatingContext.importMemberClass(DJClass outer,
String name)
Import the member class(es) of outer with the given name |
TypeContext |
ImportContext.importMemberClass(DJClass outer,
String name)
Import the member class(es) of outer with the given name |
TypeContext |
TypeContext.importMemberClass(DJClass outer,
String name)
Import the member class(es) of outer with the given name |
TypeContext |
BaseContext.importMemberClass(DJClass outer,
String name)
|
TypeContext |
DelegatingContext.importMemberClasses(DJClass outer)
Import on demand all member classes of the given class |
TypeContext |
ImportContext.importMemberClasses(DJClass outer)
Import on demand all member classes of the given class |
TypeContext |
TypeContext.importMemberClasses(DJClass outer)
Import on demand all member classes of the given class |
TypeContext |
BaseContext.importMemberClasses(DJClass outer)
|
TypeContext |
DelegatingContext.importMethod(DJClass c,
String name)
Import the method(s) of c with the given name |
TypeContext |
ImportContext.importMethod(DJClass c,
String name)
Import the method(s) of c with the given name |
TypeContext |
TypeContext.importMethod(DJClass c,
String name)
Import the method(s) of c with the given name |
TypeContext |
BaseContext.importMethod(DJClass c,
String name)
|
TypeContext |
DelegatingContext.importStaticMembers(DJClass c)
Import on demand all static members of the given class |
TypeContext |
ImportContext.importStaticMembers(DJClass c)
Import on demand all static members of the given class |
TypeContext |
TypeContext.importStaticMembers(DJClass c)
Import on demand all static members of the given class |
TypeContext |
BaseContext.importStaticMembers(DJClass c)
|
TypeContext |
DelegatingContext.importTopLevelClass(DJClass c)
Import the given top-level class |
TypeContext |
ImportContext.importTopLevelClass(DJClass c)
Import the given top-level class |
TypeContext |
TypeContext.importTopLevelClass(DJClass c)
Import the given top-level class |
TypeContext |
BaseContext.importTopLevelClass(DJClass c)
|
| Constructors in edu.rice.cs.dynamicjava.interpreter with parameters of type DJClass | |
|---|---|
ClassChecker(DJClass c,
ClassLoader loader,
TypeContext context,
Options opt)
|
|
ClassContext(TypeContext next,
DJClass c)
|
|
ClassSignatureContext(TypeContext next,
DJClass c,
ClassLoader loader)
|
|
InitializerContext(TypeContext next,
boolean isStatic,
DJClass c)
|
|
LocalContext(TypeContext next,
ClassLoader loader,
DJClass c)
|
|
RuntimeBindings(RuntimeBindings parent,
DJClass thisClass,
Object thisObj)
|
|
TreeCompiler.BindingsFactory(RuntimeBindings bindings,
DJClass thisClass)
|
|
| Constructor parameters in edu.rice.cs.dynamicjava.interpreter with type arguments of type DJClass | |
|---|---|
LocalContext(TypeContext next,
ClassLoader loader,
Iterable<DJClass> classes,
Iterable<LocalVariable> vars,
Iterable<LocalFunction> functions)
|
|
RuntimeBindings(RuntimeBindings parent,
Map<LocalVariable,Object> vars,
Map<VariableType,Type> tvars,
Map<DJClass,Object> thisVals)
|
|
| Uses of DJClass in edu.rice.cs.dynamicjava.symbol |
|---|
| Classes in edu.rice.cs.dynamicjava.symbol that implement DJClass | |
|---|---|
class |
FunctionWrapperClass
DJClass implementation that treats a collection of in-scope local functions as a class containing equivalent static methods. |
class |
Java5Class
DJClass implementation that wraps a Java 5 reflection Class object. |
class |
JavaClass
DJClass implementation that wraps a Java reflection Class object. |
class |
TreeClass
A DJClass wrapper for a parsed class or interface declaration. |
| Methods in edu.rice.cs.dynamicjava.symbol that return DJClass | |
|---|---|
DJClass |
JavaClass.declaringClass()
|
DJClass |
JavaClass.JavaField.declaringClass()
|
DJClass |
JavaClass.JavaConstructor.declaringClass()
|
DJClass |
JavaClass.JavaMethod.declaringClass()
|
DJClass |
DJClass.declaringClass()
The class that declares this class, or null if this is declared at a top-level or local scope |
DJClass |
TreeClass.declaringClass()
The class that declares this class, or null if this is declared at a top-level or local scope |
DJClass |
GetClassMethod.declaringClass()
|
DJClass |
DJMethod.declaringClass()
The class declaring this method. |
DJClass |
DJConstructor.declaringClass()
The class declaring this constructor. |
DJClass |
ArrayLengthField.declaringClass()
|
DJClass |
ArrayCloneMethod.declaringClass()
|
DJClass |
Java5Class.declaringClass()
|
DJClass |
DJField.declaringClass()
The class declaring this field. |
DJClass |
FunctionWrapperClass.declaringClass()
The class that declares this class, or null if this is declared at a top-level or local scope |
static DJClass |
SymbolUtil.dynamicOuterClass(DJClass c)
Determine the most deeply-nested dynamically-enclosing class of c. |
static DJClass |
SymbolUtil.outermostClass(DJClass c)
Produce the first element of the class's outerClassChain(). |
static DJClass |
SymbolUtil.wrapClass(Class<?> c)
Create an appropriate DJClass for the given Class, based on the available reflection APIs. |
| Methods in edu.rice.cs.dynamicjava.symbol that return types with arguments of type DJClass | |
|---|---|
Iterable<DJClass> |
JavaClass.declaredClasses()
|
Iterable<DJClass> |
DJClass.declaredClasses()
|
Iterable<DJClass> |
TreeClass.declaredClasses()
|
Iterable<DJClass> |
Java5Class.declaredClasses()
|
Iterable<DJClass> |
FunctionWrapperClass.declaredClasses()
|
Iterable<DJClass> |
JavaLibrary.declaredClasses(String fullName)
|
Iterable<DJClass> |
TreeLibrary.declaredClasses(String fullName)
|
Iterable<DJClass> |
Java5Library.declaredClasses(String fullName)
|
Iterable<DJClass> |
Library.declaredClasses(String fullName)
Get any top-level classes with the given fully-qualified name. |
static Iterable<DJClass> |
SymbolUtil.outerClassChain(DJClass c)
Produces a list of classes enclosing the given class, from the most outer to the most inner. |
| Methods in edu.rice.cs.dynamicjava.symbol with parameters of type DJClass | |
|---|---|
static Iterable<VariableType> |
SymbolUtil.allTypeParameters(DJClass c)
Determine all the in-scope type parameters of c, ordered outermost to innermost. |
static boolean |
SymbolUtil.dynamicallyEncloses(DJClass outer,
DJClass inner)
Determine whether inner is non-statically nested within outer. |
static DJClass |
SymbolUtil.dynamicOuterClass(DJClass c)
Determine the most deeply-nested dynamically-enclosing class of c. |
abstract ClassType |
TypeSystem.makeClassType(DJClass c)
Create a SimpleClassType or RawClassType corresponding to the given class. |
ClassType |
StandardTypeSystem.makeClassType(DJClass c)
Create a SimpleClassType or RawClassType corresponding to the given class. |
abstract ClassType |
TypeSystem.makeClassType(DJClass c,
Iterable<? extends Type> args)
Create a SimpleClassType, RawClassType, or ParameterizedClassType
corresponding to the given class with given type arguments. |
ClassType |
StandardTypeSystem.makeClassType(DJClass c,
Iterable<? extends Type> args)
Create a SimpleClassType, RawClassType, or ParameterizedClassType
corresponding to the given class with given type arguments. |
static Iterable<DJClass> |
SymbolUtil.outerClassChain(DJClass c)
Produces a list of classes enclosing the given class, from the most outer to the most inner. |
static DJClass |
SymbolUtil.outermostClass(DJClass c)
Produce the first element of the class's outerClassChain(). |
static String |
SymbolUtil.shortName(DJClass c)
Produce a short name for the given class -- including all outer class names, but excluding the package name. |
static ClassType |
SymbolUtil.thisType(DJClass c)
Create the type corresponding to this within the body of c |
| Constructors in edu.rice.cs.dynamicjava.symbol with parameters of type DJClass | |
|---|---|
TreeClass(String fullName,
DJClass declaring,
Access.Module accessModule,
Node ast,
TreeClassLoader loader,
Options opt)
All the class's declared members are indexed, and the FIELD, METHOD, and DJ_CLASS properties are set (applied recursively). |
|
| Uses of DJClass in edu.rice.cs.dynamicjava.symbol.type |
|---|
| Methods in edu.rice.cs.dynamicjava.symbol.type that return DJClass | |
|---|---|
DJClass |
ClassType.ofClass()
|
| Constructors in edu.rice.cs.dynamicjava.symbol.type with parameters of type DJClass | |
|---|---|
ClassType(DJClass in_ofClass)
Constructs a ClassType. |
|
ParameterizedClassType(DJClass in_ofClass,
Iterable<? extends Type> in_typeArguments)
Constructs a ParameterizedClassType. |
|
RawClassType(DJClass in_ofClass)
Constructs a RawClassType. |
|
SimpleClassType(DJClass in_ofClass)
Constructs a SimpleClassType. |
|
| Uses of DJClass in koala.dynamicjava.interpreter |
|---|
| Methods in koala.dynamicjava.interpreter that return DJClass | |
|---|---|
static DJClass |
NodeProperties.getDJClass(Node n)
|
static DJClass |
NodeProperties.getEnclosingThis(Node n)
|
static DJClass |
NodeProperties.setDJClass(Node n,
DJClass c)
|
static DJClass |
NodeProperties.setEnclosingThis(Node n,
DJClass c)
|
| Methods in koala.dynamicjava.interpreter with parameters of type DJClass | |
|---|---|
static DJClass |
NodeProperties.setDJClass(Node n,
DJClass c)
|
static DJClass |
NodeProperties.setEnclosingThis(Node n,
DJClass c)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||