Uses of Class
at.dms.kjc.CClassType

Packages that use CClassType
at.dms.kjc   
 

Uses of CClassType in at.dms.kjc
 

Subclasses of CClassType in at.dms.kjc
 class CArrayType
          This class represents the type of an array in the type structure.
 class CClassNameType
          ClassTypes that are referred to by name and that are resolved when needed.
 class CNullType
          This class represents null class type in the type structure.
 class COuterThisType
          This class represents a special outer-this class type in the type structure.
 

Fields in at.dms.kjc declared as CClassType
static CClassType[] CClassType.EMPTY
          Constant for an empty aray of CClassType.
protected  CClassType JNewObjectExpression.type
          The class to construct.
static CClassType CStdType.Object
           
static CClassType CStdType.Class
           
static CClassType CStdType.String
           
static CClassType CStdType.Throwable
           
static CClassType CStdType.Exception
           
static CClassType CStdType.Error
           
static CClassType CStdType.RuntimeException
           
 

Methods in at.dms.kjc that return CClassType
static CClassType CClassType.lookup(java.lang.String className)
          Looks up CClassType object for the qualifiedName using a static Map.
static CClassType CClassType.lookup(java.lang.String className, InnerClassInfo extraInfo)
          Looks up CClassType object for the qualifiedName using a static Map.
 CClassType CContext.lookupClass(java.lang.String name)
          Search for a class with the provided name.
 CClassType CBlockContext.lookupClass(java.lang.String name)
          lookupClass search for a class with the provided type parameters
 CClassType KjcParser.jClassTypeSpec()
           
 CClassType[] KjcParser.jImplementsClause()
           
 CClassType[] KjcParser.jInterfaceExtends()
           
 CClassType[] KjcParser.jNameList()
           
 CClassType[] KjcParser.jThrowsClause()
           
 CClassType CClass.getType()
          Returns the type of this class.
 CClassType[] CClass.getInnerClasses()
          Returns the InnerClasses of this clas.
 CClassType[] JMethodDeclaration.getExceptions()
           
 CClassType CCompilationUnitContext.lookupClass(java.lang.String name)
           
 CClassType JCatchClause.getType()
          Returns the type of the exception caught by this catch clause.
 CClassType CThrowableInfo.getThrowable()
          Returns the type of exception.
 CClassType CCompilationUnit.lookupClass(java.lang.String name)
          Returns a class according to imports or null if error occur.
 CClassType[] JTypeDeclaration.getInterfaces()
          Returns the interfaces implemented by this type.
 CClassType JTypeNameExpression.getClassType()
          Compute the type of this expression (called after parsing)
 CClassType[] CMethod.getThrowables()
           
protected  CClassType[] CBinaryClass.loadInterfaces(java.lang.String[] interfaces)
          Loads the ClassType objects that represent the types of the interfaces that are implemented by this class.
protected  CClassType[] CBinaryClass.loadInnerClasses(InnerClassInfo[] inners)
          Loads the information for the inner that are used by this class.
 CClassType CEmptyTopLevelContext.lookupClass(java.lang.String name)
           
 CClassType CClassContext.lookupClass(java.lang.String name)
          Search for a class with the provided name.
 

Methods in at.dms.kjc with parameters of type CClassType
 void CClass.close(CClassType[] interfaces, CField[] fields, CMethod[] methods)
          Ends the definition of this class.
 void CClass.setSuperClass(CClassType superClass)
          Sets the super class of this class.
 void CClass.setInnerClasses(CClassType[] inners)
          End of first pass, we need inner classes/interfaces.
 void CClass.addInnerClass(CClassType newInner)
          Add synthetic inner class.
 void JTypeDeclaration.setInterfaces(CClassType[] interfaces)
          Sets the interfaces implemented by this type.
protected  void JTypeDeclaration.checkInterface(CContext context, CClassType superClass)
          Second pass (quick), check interface looks good
 void KjcPrettyPrinter.visitClassDeclaration(JClassDeclaration self, int modifiers, java.lang.String ident, java.lang.String superName, CClassType[] interfaces, JPhylum[] body, JMethodDeclaration[] methods, JTypeDeclaration[] decls)
          prints a class declaration
 void KjcPrettyPrinter.visitInnerClassDeclaration(JClassDeclaration self, int modifiers, java.lang.String ident, java.lang.String superName, CClassType[] interfaces, JTypeDeclaration[] decls, JPhylum[] body, JMethodDeclaration[] methods)
          prints a class declaration
 void KjcPrettyPrinter.visitInterfaceDeclaration(JInterfaceDeclaration self, int modifiers, java.lang.String ident, CClassType[] interfaces, JPhylum[] body, JMethodDeclaration[] methods)
          prints an interface declaration
 void KjcPrettyPrinter.visitMethodDeclaration(JMethodDeclaration self, int modifiers, CType returnType, java.lang.String ident, JFormalParameter[] parameters, CClassType[] exceptions, JBlock body)
          prints a method declaration
 void KjcPrettyPrinter.visitConstructorDeclaration(JConstructorDeclaration self, int modifiers, java.lang.String ident, JFormalParameter[] parameters, CClassType[] exceptions, JBlock body)
          prints a method declaration
 void KjcPrettyPrinter.visitNewObjectExpression(JNewObjectExpression self, CClassType type, JExpression[] params, JClassDeclaration innerBody)
          prints an object allocator expression
 void CSourceClass.close(CClassType[] interfaces, CClassType superClass, CField[] fields, CMethod[] methods)
          Ends the definition of this class
 void KjcVisitor.visitClassDeclaration(JClassDeclaration self, int modifiers, java.lang.String ident, java.lang.String superName, CClassType[] interfaces, JPhylum[] body, JMethodDeclaration[] methods, JTypeDeclaration[] decls)
          visits a class declaration
 void KjcVisitor.visitInnerClassDeclaration(JClassDeclaration self, int modifiers, java.lang.String ident, java.lang.String superName, CClassType[] interfaces, JTypeDeclaration[] decls, JPhylum[] body, JMethodDeclaration[] methods)
          visits a class declaration
 void KjcVisitor.visitInterfaceDeclaration(JInterfaceDeclaration self, int modifiers, java.lang.String ident, CClassType[] interfaces, JPhylum[] body, JMethodDeclaration[] methods)
          visits an interface declaration
 void KjcVisitor.visitMethodDeclaration(JMethodDeclaration self, int modifiers, CType returnType, java.lang.String ident, JFormalParameter[] parameters, CClassType[] exceptions, JBlock body)
          visits a method declaration
 void KjcVisitor.visitConstructorDeclaration(JConstructorDeclaration self, int modifiers, java.lang.String ident, JFormalParameter[] parameters, CClassType[] exceptions, JBlock body)
          visits a method declaration
 void KjcVisitor.visitNewObjectExpression(JNewObjectExpression self, CClassType type, JExpression[] params, JClassDeclaration innerBody)
          visits an object allocator expression
 

Constructors in at.dms.kjc with parameters of type CClassType
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.
JMethodDeclaration(TokenReference where, int modifiers, CType returnType, java.lang.String ident, JFormalParameter[] parameters, CClassType[] exceptions, JBlock body, JavadocComment javadoc, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JConstructorDeclaration(TokenReference where, int modifiers, java.lang.String ident, JFormalParameter[] parameters, CClassType[] exceptions, JConstructorBlock body, JavadocComment javadoc, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
CThrowableInfo(CClassType throwable, JPhylum location, CBodyContext context, boolean subTypePossible)
          Constructs a throwable-information handler.
JNewObjectExpression(TokenReference where, CClassType objectType, JExpression explicitThis, java.lang.String identifier, JExpression[] args)
          Construct a node in the parsing tree.
JNewAnonymousClassExpression(TokenReference where, CClassType objectType, JExpression explicitThis, java.lang.String identifier, JExpression[] args, JClassDeclaration decl)
          Construct a node in the parsing tree.
JTypeDeclaration(TokenReference where, int modifiers, java.lang.String ident, CClassType[] interfaces, JFieldDeclaration[] fields, JMethodDeclaration[] methods, JTypeDeclaration[] inners, JPhylum[] initializers, JavadocComment javadoc, JavaStyleComment[] comments)
          Constructs a type declaration in the parsing tree.
JClassDeclaration(TokenReference where, int modifiers, java.lang.String ident, java.lang.String superName, CClassType[] interfaces, JFieldDeclaration[] fields, JMethodDeclaration[] methods, JTypeDeclaration[] inners, JPhylum[] initializers, JavadocComment javadoc, JavaStyleComment[] comment)
          Construct a node in the parsing tree.
JTypeNameExpression(TokenReference where, CClassType type)
          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.
JInterfaceDeclaration(TokenReference where, int modifiers, java.lang.String shortName, CClassType[] interfaces, JFieldDeclaration[] fields, JMethodDeclaration[] methods, JTypeDeclaration[] inners, JPhylum[] initializers, JavadocComment javadoc, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
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.