|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CClass | |
at.dms.kjc |
Uses of CClass in at.dms.kjc |
Subclasses of CClass in at.dms.kjc | |
class |
CBadClass
This class represents an undefined class. |
class |
CBinaryClass
A class that is pre-compiled and loaded from a .class file. |
class |
CSourceClass
This class represents the exported members of a class (inner classes, methods and fields). |
Fields in at.dms.kjc declared as CClass | |
protected static CClass |
CClass.CLS_UNDEFINED
Special constant that represents an "undefined" class that is used when some class object is needed as a placeholder to generate better error messages. |
protected CClass |
JNewObjectExpression.local
The class in which this new-object expression occurs. |
CClass |
JOuterLocalVariableExpression.outer
Class of method containing local class. |
Methods in at.dms.kjc that return CClass | |
CClass |
CType.getCClass()
|
CClass |
CClassType.getCClass()
Returns the class object associated with this type If this type was never checked (read from class files) check it! |
protected CClass |
CNullType.getObject()
Returns the CClass for java.lang.Object . |
CClass |
CNullType.getCClass()
Returns the CClass for java.lang.Object . |
CClass |
CBlockContext.lookupLocalClass(java.lang.String ident)
lookupLocalClass |
CClass |
CClassNameType.getCClass()
Returns the class object associated with this type If this type was never checked (read from class files) check it! |
CClass |
CMember.getOwner()
Returns the owner of this member |
CClass |
CMember.getCClass()
|
CClass |
CClass.getCClass()
Returns this . |
CClass |
CClass.getSuperClass()
Returns the super class of this class. |
CClass |
CClass.lookupMemberClass(java.lang.String name)
Look up member classes of this class, or of superclasses or interfaces. |
CClass |
JMemberDeclaration.getCClass()
|
CClass |
JThisExpression.getSelf()
|
static CClass |
CTopLevel.loadClass(java.lang.String fqName,
InnerClassInfo innerInfo)
Loads class definition from .class file. |
static CClass |
CTopLevel.reloadClass(CClass clazz)
Reloads the specified class if this class has been defined during a previous compilation session. |
CClass |
CArrayType.getCClass()
Returns the class object associated with this type If this type was never checked (read from class files) check it! |
CClass |
JTypeDeclaration.getOwner()
Returns owner of type. |
CClass |
CBadClass.lookupMemberClass(java.lang.String name)
Look up member classes of this class, or of superclasses or interfaces. |
Methods in at.dms.kjc with parameters of type CClass | |
protected void |
CClassType.setClass(CClass clazz)
Sets the CClass export belonging to this CClassType. |
CMethod |
CContext.lookupMethod(CClass caller,
java.lang.String ident,
CType[] params)
Search for a matching method with the provided type parameters. |
void |
CBlockContext.addClass(CClass clazz)
addLocalClass |
boolean |
CMember.mustUseAccessorMethod(CClass from)
Returns true if it is necessary to use an accessor method to access this member. |
boolean |
CMember.isAccessible(CClass from)
Returns true if this member is accessisble from the specified class according to the JLS. |
boolean |
CClass.descendsFrom(CClass from)
descendsFrom. |
boolean |
CClass.isDefinedInside(CClass outer)
Returns true iff this class is defined inside the specified class |
CMethod |
CClass.lookupMethod(CClass caller,
java.lang.String name,
CType[] params)
Searches for an accessible, matching method with the provided type parameters. |
CMethod |
CClass.lookupSuperMethod(CClass caller,
java.lang.String name,
CType[] params)
Searches for a matching method with the provided type parameters in the superclass and/or interfaces of this type. |
boolean |
CClass.isAccessible(CClass from)
Checks if this class is accessible from another class. |
protected void |
JClassFieldExpression.findPrefix(CClass local,
CExpressionContext context)
Find the type of the prefix. |
void |
JClassFieldExpression.checkAccess(CClass local,
CExpressionContext context)
Checks is access to prefix is okay. |
void |
JThisExpression.setSelf(CClass self)
|
void |
JLocalVariable.setConstructorClass(CClass clazz)
... |
static CClass |
CTopLevel.reloadClass(CClass clazz)
Reloads the specified class if this class has been defined during a previous compilation session. |
static boolean |
CTopLevel.addSourceClass(CClass cl)
Adds a source class to the set of all loaded classes. |
void |
JTypeDeclaration.generateInterface(Compiler compiler,
CClass owner,
java.lang.String prefix)
Defines an intermediate external representation of this class to use internally. |
CMethod |
CClassContext.lookupMethod(CClass caller,
java.lang.String ident,
CType[] params)
Searches for a matching method with the provided type parameters. |
boolean |
CBadClass.descendsFrom(CClass from)
Checks if this class descends from from |
CMethod |
CBadClass.lookupMethod(CClass caller,
java.lang.String name,
CType[] params)
Searches for an accessible, matching method with the provided type parameters. |
CMethod |
CBadClass.lookupSuperMethod(CClass caller,
java.lang.String name,
CType[] params)
Searches for a matching method with the provided type parameters in the superclass and/or interfaces of this type. |
boolean |
CBadClass.isAccessible(CClass from)
Checks if this class is accessible from another class. |
Constructors in at.dms.kjc with parameters of type CClass | |
CClassType(CClass clazz)
Construct a class type. |
|
CMember(CClass owner,
int modifiers,
java.lang.String ident,
boolean deprecated)
Constructs a field export |
|
CClass(Compiler compiler,
CClass owner,
java.lang.String sourceFile,
int modifiers,
java.lang.String ident,
java.lang.String qualifiedName,
CClassType superClass,
boolean deprecated)
Constructs a class export from file. |
|
JThisExpression(TokenReference where,
CClass self)
Construct a node in the parsing tree. |
|
CMethod(CClass owner,
int modifiers,
java.lang.String ident,
CType returnType,
CType[] parameters,
CClassType[] exceptions,
boolean deprecated)
Constructs a method member. |
|
JOuterLocalVariableExpression(TokenReference where,
JLocalVariable var,
CClass outer)
Construct a node in the parsing tree |
|
CField(CClass owner,
int modifiers,
java.lang.String ident,
CType type,
boolean deprecated)
Constructs a field export. |
|
CSourceField(CClass owner,
int modifiers,
java.lang.String ident,
CType type,
boolean deprecated)
Constructs a field export. |
|
CBinaryField(CClass owner,
FieldInfo fieldInfo)
Constructs a field export coming from a pre-compiled class file. |
|
CBinaryMethod(CClass owner,
MethodInfo methodInfo)
Constructs method. |
|
CSourceClass(Compiler compiler,
CClass owner,
JTypeDeclaration counterPart,
TokenReference where,
int modifiers,
java.lang.String ident,
java.lang.String qualifiedName,
boolean deprecated)
Constructs a class export from source |
|
CSourceMethod(CClass owner,
int modifiers,
java.lang.String ident,
CType returnType,
CType[] paramTypes,
CClassType[] exceptions,
boolean deprecated,
JBlock body,
int optimizingLevel)
Constructs a source method export. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |