Uses of Class
at.dms.kjc.CMethod

Packages that use CMethod
at.dms.kjc   
 

Uses of CMethod in at.dms.kjc
 

Subclasses of CMethod in at.dms.kjc
 class CBinaryMethod
          This class represents a loaded (already compiled) class method.
 class CSourceMethod
          This class represents an exported method declaration of a class or interface.
 

Fields in at.dms.kjc declared as CMethod
protected  CMethod JMethodCallExpression.method
          When it is possible to determine, this field is assigned with the method export that is the target of this expression.
protected  CMethod JNewObjectExpression.constructor
          The constructor to invoke.
 

Methods in at.dms.kjc that return CMethod
 CMethod CContext.lookupMethod(CClass caller, java.lang.String ident, CType[] params)
          Search for a matching method with the provided type parameters.
 CMethod CMember.getMethod()
           
 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.
 CMethod[] CClass.getAbstractMethods()
          Returns a list of abstract methods
 CMethod[] CClass.getInterfaceMethods()
          Returns a list of interface methods
 CMethod JMemberDeclaration.getMethod()
           
 CMethod CMethodContext.getCMethod()
          getCMethod
 CMethod CMethod.getMethod()
           
 CMethod CClassContext.lookupMethod(CClass caller, java.lang.String ident, CType[] params)
          Searches for a matching method with the provided type parameters.
 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.
 CMethod[] CBadClass.getInterfaceMethods()
          Returns a list of interface methods.
 CMethod[] CBadClass.getAbstractMethods()
          Returns a list of abstract methods.
 

Methods in at.dms.kjc with parameters of type CMethod
 void CClass.close(CClassType[] interfaces, CField[] fields, CMethod[] methods)
          Ends the definition of this class.
protected  void JMethodDeclaration.checkOverriding(CClassContext context, CMethod superMethod)
           
protected  void JMethodDeclaration.checkAccess(CClassContext context, CMethod superMethod)
          Checks whether access modifiers are valid with resprect to the method that it overrides; an overridden method cannot be more strict than the method that it overries.
protected  void JInitializerDeclaration.checkOverriding(CClassContext context, CMethod superMethod)
           
 boolean CMethod.equals(CMethod method)
          equals search if two methods have same signature
 boolean CMethod.isMoreSpecificThan(CMethod other)
          isMoreSpecificThan search if this method is more specific than other
 void CSourceClass.close(CClassType[] interfaces, CClassType superClass, CField[] fields, CMethod[] methods)
          Ends the definition of this class
 JExpression CSourceClass.getOuterLocalAccess(TokenReference ref, JLocalVariable var, CMethod constructor)
          Gets the code to access outer local vars.
 CMethodContext CClassContext.createMethodContext(CMethod self)
          Makes new method context.
 CConstructorContext CClassContext.createConstructorContext(CMethod self)
          Makes new constructor-method context.
 

Constructors in at.dms.kjc with parameters of type CMethod
CMethodContext(CClassContext parent, CMethod self)
          CMethodContext.
CInitializerContext(CClassContext parent, CMethod self)
          CInitializerContext.
CConstructorContext(CClassContext parent, CMethod self)
          Makes a new CConstructorContext object.