|
||||||||||
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 (something that comes from a bad classfile) This class is not usable to anything, so it will sooner or later produce a comprehensive error. |
class |
CBinaryClass
This class represents the exported members of a binary class, i.e. |
class |
CSourceClass
This class represents the exported members of a class (inner classes, methods and fields) It is build from a parsed files so values are accessibles differently after build and after interface checked |
Fields in at.dms.kjc declared as CClass | |
---|---|
protected static CClass |
CClass.CLS_UNDEFINED
|
CClass |
JOuterLocalVariableExpression.outer
|
protected CClass |
CMember.owner
|
Methods in at.dms.kjc that return CClass | |
---|---|
CClass |
JMemberDeclaration.getCClass()
|
CClass |
CType.getCClass()
|
CClass |
CNullType.getCClass()
Returns the class object associated with this type If this type was never checked (read from class files) check it! |
CClass |
CMember.getCClass()
|
CClass |
CClassType.getCClass()
Returns the class object associated with this type If this type was never checked (read from class files) check it! |
CClass |
CClassNameType.getCClass()
Returns the class object associated with this type If this type was never checked (read from class files) check it! |
CClass |
CClassContext.getCClass()
getCClass |
CClass |
CClass.getCClass()
|
CClass |
JTypeDeclaration.getOwner()
|
CClass |
CMember.getOwner()
Returns the owner of this member |
CClass |
CClass.getSuperClass()
Returns the super class of this class |
static CClass |
CTopLevel.loadClass(String name)
Loads class definition from .class file |
CClass |
CClass.lookupClass(CClass caller,
String name)
This can be used to see if a given class name is visible inside of this file. |
CClass |
CBadClass.lookupClass(CClass caller,
String name)
This can be used to see if a given class name is visible inside of this file. |
Methods in at.dms.kjc with parameters of type CClass | |
---|---|
void |
CBlockContext.addClass(CClass clazz)
addLocalClass |
static boolean |
CTopLevel.addSourceClass(CClass cl)
|
void |
JFieldAccessExpression.checkAccess(CClass local,
CExpressionContext context)
Checks is access to prefix is okay |
protected void |
CClass.deepCloneInto(CClass other)
Clones all fields of this into |
boolean |
CClass.descendsFrom(CClass from)
descendsFrom |
boolean |
CBadClass.descendsFrom(CClass from)
descendsFrom |
protected void |
JFieldAccessExpression.findPrefix(CClass local,
CExpressionContext context)
Finds the type of the prefix. |
void |
JTypeDeclaration.generateInterface(CClass owner,
String prefix)
Defines an intermediate external representation of this class to use internally |
protected CMethod |
CClass.getImplementingMethod(CMethod pattern,
CClass caller,
boolean localClassOnly)
Returns the non-abstract method that implements the specified method, or null if the method is not implemented. |
boolean |
CMember.isAccessible(CClass from)
Checks whether this type is accessible from the specified class (JLS 6.6). |
boolean |
CClass.isAccessible(CClass from)
Checks whether this type is accessible from the specified class (JLS 6.6). |
boolean |
CBadClass.isAccessible(CClass from)
|
boolean |
CClass.isDefinedInside(CClass outer)
Returns true iff this class is defined inside the specified class |
CClassType |
CContext.lookupClass(CClass caller,
String name)
lookupClass search for a class with the provided type parameters |
CClassType |
CCompilationUnitContext.lookupClass(CClass caller,
String name)
|
CClassType |
CCompilationUnit.lookupClass(CClass caller,
String name)
|
CClassType |
CClassContext.lookupClass(CClass caller,
String name)
lookupClass search for a class with the provided type parameters |
CClass |
CClass.lookupClass(CClass caller,
String name)
This can be used to see if a given class name is visible inside of this file. |
CClassType |
CBlockContext.lookupClass(CClass caller,
String ident)
lookupClass search for a class with the provided type parameters |
CClass |
CBadClass.lookupClass(CClass caller,
String name)
This can be used to see if a given class name is visible inside of this file. |
CField |
CContext.lookupField(CClass caller,
String ident)
Searches the class or interface to locate declarations of fields that are accessible. |
CField |
CClassContext.lookupField(CClass caller,
String ident)
Searches the class or interface to locate declarations of fields that are accessible. |
CField |
CClass.lookupField(CClass caller,
String ident)
Searches the class or interface to locate declarations of fields that are accessible. |
CMethod |
CContext.lookupMethod(CClass caller,
String ident,
CType[] actuals)
JLS 15.12.2 : Searches the class or interface to locate method declarations that are both applicable and accessible, that is, declarations that can be correctly invoked on the given arguments. |
CMethod |
CClassContext.lookupMethod(CClass caller,
String ident,
CType[] actuals)
JLS 15.12.2 : Searches the class or interface to locate method declarations that are both applicable and accessible, that is, declarations that can be correctly invoked on the given arguments. |
CMethod |
CClass.lookupMethod(CClass caller,
String ident,
CType[] actuals)
JLS 15.12.2 : Searches the class or interface to locate method declarations that are both applicable and accessible, that is, declarations that can be correctly invoked on the given arguments. |
CField |
CClassContext.lookupOuterField(CClass caller,
String ident)
Searches the class or interface to locate declarations of fields that are accessible. |
CField |
CClass.lookupSuperField(CClass caller,
String ident)
Searches the class or interface to locate declarations of fields that are accessible. |
void |
CClassType.setClass(CClass clazz)
|
Constructors in at.dms.kjc with parameters of type CClass | |
---|---|
CBinaryField(CClass owner,
FieldInfo fieldInfo)
Constructs a field export |
|
CBinaryMethod(CClass owner,
MethodInfo methodInfo)
Constructs method |
|
CClass(CClass owner,
String sourceFile,
int modifiers,
String ident,
String qualifiedName,
CClassType superClass,
boolean deprecated)
Constructs a class export from file |
|
CClassType(CClass clazz)
Construct a class type |
|
CField(CClass owner,
int modifiers,
JVariableDefinition variable,
boolean deprecated)
Constructs a field export |
|
CField(CClass owner,
int modifiers,
String ident,
CType type,
boolean deprecated)
Constructs a field export |
|
CMember(CClass owner,
int modifiers,
String ident,
boolean deprecated)
Constructs a field export |
|
CMethod(CClass owner,
int modifiers,
String ident,
CType returnType,
CType[] parameters,
CClassType[] exceptions,
boolean deprecated)
Constructs a method member. |
|
CSourceClass(CClass owner,
TokenReference where,
int modifiers,
String ident,
String qualifiedName,
boolean deprecated)
Constructs a class export from source |
|
CSourceField(CClass owner,
int modifiers,
JVariableDefinition variable,
boolean deprecated)
Constructs a field export |
|
CSourceField(CClass owner,
int modifiers,
String ident,
CType type,
boolean deprecated)
Constructs a field export |
|
CSourceMethod(CClass owner,
int modifiers,
String ident,
CType returnType,
CType[] paramTypes,
CClassType[] exceptions,
boolean deprecated,
JBlock body)
Constructs a method export. |
|
JOuterLocalVariableExpression(TokenReference where,
JLocalVariable var,
CClass outer)
Construct a node in the parsing tree |
|
JThisExpression(TokenReference where,
CClass self)
Construct a node in the parsing tree |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |