|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DJClass
Represents a class declaration.
| Method Summary | |
|---|---|
Access |
accessibility()
The symbol's access level. |
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 |
DJClass |
declaringClass()
The class that declares this class, or null if this is declared at a top-level or local scope |
boolean |
equals(Object o)
Equality must be defined so that distinct DJClasses that wrap the same class are equal. |
String |
fullName()
Produces the binary name for the given class (as in Class.getName()) |
int |
hashCode()
Equality must be defined so that distinct DJClasses that wrap the same class are equal. |
boolean |
hasRuntimeBindingsParams()
|
Type |
immediateSuperclass()
|
boolean |
isAbstract()
|
boolean |
isAnonymous()
|
boolean |
isFinal()
|
boolean |
isInterface()
|
boolean |
isStatic()
|
Class<?> |
load()
Produce the runtime representation of the class (as in ClassLoader.loadClass(java.lang.String),
repeated invocations should produce the same object). |
String |
packageName()
|
| Methods inherited from interface edu.rice.cs.dynamicjava.symbol.Access.Limited |
|---|
accessModule |
| Method Detail |
|---|
String packageName()
packageName in interface Access.ModuleString fullName()
Class.getName())
boolean isAnonymous()
String declaredName()
declaredName in interface Access.LimitedIllegalArgumentException - If the class is anonymousboolean isInterface()
boolean isStatic()
boolean isAbstract()
boolean isFinal()
Access accessibility()
Access.Limited
accessibility in interface Access.Limitedboolean hasRuntimeBindingsParams()
DJClass declaringClass()
null if this is declared at a top-level or local scope
Iterable<VariableType> declaredTypeParameters()
Iterable<Type> declaredSupertypes()
Iterable<DJField> declaredFields()
Iterable<DJConstructor> declaredConstructors()
Iterable<DJMethod> declaredMethods()
Iterable<DJClass> declaredClasses()
Type immediateSuperclass()
super in the context of this class, or
null if super is not definedClass<?> load()
ClassLoader.loadClass(java.lang.String),
repeated invocations should produce the same object).
boolean equals(Object o)
equals in class Objectint hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||