|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 member of a class (fields) |
Fields in at.dms.kjc declared as CMethod | |
---|---|
protected CMethod |
JMethodCallExpression.method
|
Methods in at.dms.kjc that return CMethod | |
---|---|
CMethod[] |
CClass.getAbstractMethods()
Returns the abstract methods of this class or interface. |
CMethod[] |
CBadClass.getAbstractMethods()
Returns a list of abstract methods |
CMethod[] |
CClass.getApplicableMethods(String ident,
CType[] actuals)
Returns all applicable methods (JLS 15.12.2.1). |
CMethod |
JConstructorDeclaration.getCalledConstructor()
Returns the constructor called by this constructor. |
CMethod |
JConstructorBlock.getCalledConstructor()
Returns the constructor called by this constructor. |
CMethod |
CMethodContext.getCMethod()
getCMethod |
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. |
CMethod |
JMethodCallExpression.getMethod()
|
CMethod |
JMemberDeclaration.getMethod()
|
CMethod |
JConstructorCall.getMethod()
Returns the called method. |
CMethod |
CMethod.getMethod()
|
CMethod |
CMember.getMethod()
|
CMethod[] |
CClass.getMethods()
Returns the methods defined by this class. |
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. |
CMethod |
CBadClass.lookupMethod(String name,
CType[] params)
lookupMethod search for a matching method with the provided type parameters look in parent hierarchy as needed |
CMethod[] |
CClass.lookupSuperMethod(String ident,
CType[] actuals)
Searches the superclass and superinterfaces to locate method declarations that are applicable. |
CMethod[] |
CBadClass.lookupSuperMethod(String name,
CType[] params)
lookupSuperMethod search for a matching method with the provided type parameters look in parent hierarchy as needed |
Methods in at.dms.kjc with parameters of type CMethod | |
---|---|
void |
CMethod.checkOverriding(CMethod superMethod)
Checks that overriding/hiding is correct. |
void |
CSourceClass.close(CClassType[] interfaces,
CClassType superClass,
Hashtable<String,CField> fields,
CMethod[] methods)
Ends the definition of this class |
void |
CClass.close(CClassType[] interfaces,
Hashtable<String,CField> fields,
CMethod[] methods)
Ends the definition of this class |
protected void |
CMethod.deepCloneInto(CMethod other)
Clones all fields of this into |
boolean |
CMethod.equals(CMethod other)
equals search if two methods have same signature |
boolean |
CBinaryMethod.equals(CMethod other)
equals search if two methods have same signature |
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. |
JExpression |
CSourceClass.getOuterLocalAccess(TokenReference ref,
JLocalVariable var,
CMethod constructor)
Gets the code to access outer local vars |
boolean |
CMethod.hasSameSignature(CMethod other)
Has this method the same signature as the one given as argument ? NOTE: return type not considered |
boolean |
CBinaryMethod.hasSameSignature(CMethod other)
Has this method the same signature as the one given as argument ? NOTE: return type not considered |
boolean |
CMethod.isMoreSpecificThan(CMethod other)
Is this method more specific than the one given as argument (JLS 15.12.2.2) ? |
boolean |
CBinaryMethod.isMoreSpecificThan(CMethod other)
Is this method more specific than the one given as argument (JLS 15.12.2.2) ? |
void |
JMethodCallExpression.setMethod(CMethod method)
|
Constructors in at.dms.kjc with parameters of type CMethod | |
---|---|
CConstructorContext(CClassContext parent,
CMethod self)
CConstructorContext |
|
CInitializerContext(CClassContext parent,
CMethod self)
CInitializerContext |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |