|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.dynamicjava.symbol.JavaClass
edu.rice.cs.dynamicjava.symbol.Java5Class
public class Java5Class
DJClass implementation that wraps a Java 5 reflection Class object. To prevent linkage errors, this class should only be dynamically loaded if it's possible that the target platform does not support the Java 5 APIs.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class edu.rice.cs.dynamicjava.symbol.JavaClass |
|---|
JavaClass.JavaConstructor, JavaClass.JavaField, JavaClass.JavaMethod |
| Field Summary |
|---|
| Fields inherited from class edu.rice.cs.dynamicjava.symbol.JavaClass |
|---|
_c |
| Constructor Summary | |
|---|---|
Java5Class(Class<?> c)
|
|
| Method Summary | |
|---|---|
Access.Module |
accessModule()
Get the module enclosing this symbol's declaration. |
Iterable<DJClass> |
declaredClasses()
|
Iterable<DJConstructor> |
declaredConstructors()
|
Iterable<DJField> |
declaredFields()
|
Iterable<DJMethod> |
declaredMethods()
|
String |
declaredName()
Produce the (unqualified) declared name of the given class |
Iterable<Type> |
declaredSupertypes()
List the declared supertypes of this class |
Iterable<VariableType> |
declaredTypeParameters()
List all type variables declared by this class (but not by its enclosing classes) |
DJClass |
declaringClass()
The class that declares this class, or null if this is declared at a top-level or local scope |
Type |
immediateSuperclass()
Return the type bound to super in the context of this class, or
null if super is not defined |
String |
toString()
|
| Methods inherited from class edu.rice.cs.dynamicjava.symbol.JavaClass |
|---|
accessibility, equals, fullName, hashCode, hasRuntimeBindingsParams, isAbstract, isAnonymous, isFinal, isInterface, isStatic, load, packageName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Java5Class(Class<?> c)
| Method Detail |
|---|
public String declaredName()
DJClass
declaredName in interface Access.LimiteddeclaredName in interface DJClassdeclaredName in class JavaClasspublic Access.Module accessModule()
Access.Limited
accessModule in interface Access.LimitedaccessModule in class JavaClasspublic DJClass declaringClass()
DJClassnull if this is declared at a top-level or local scope
declaringClass in interface DJClassdeclaringClass in class JavaClasspublic Iterable<VariableType> declaredTypeParameters()
declaredTypeParameters in interface DJClassdeclaredTypeParameters in class JavaClasspublic Iterable<Type> declaredSupertypes()
declaredSupertypes in interface DJClassdeclaredSupertypes in class JavaClasspublic Iterable<DJField> declaredFields()
declaredFields in interface DJClassdeclaredFields in class JavaClasspublic Iterable<DJConstructor> declaredConstructors()
declaredConstructors in interface DJClassdeclaredConstructors in class JavaClasspublic Iterable<DJMethod> declaredMethods()
declaredMethods in interface DJClassdeclaredMethods in class JavaClasspublic Iterable<DJClass> declaredClasses()
declaredClasses in interface DJClassdeclaredClasses in class JavaClasspublic Type immediateSuperclass()
super in the context of this class, or
null if super is not defined
immediateSuperclass in interface DJClassimmediateSuperclass in class JavaClasssuper in the context of this class, or
null if super is not definedpublic String toString()
toString in class JavaClass
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||