|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Method | |
jparse | Provides the main classes that parse and evaluate Java programs. |
jparse.expr | Provides classes that represent Java expressions. |
Uses of Method in jparse |
Classes in jparse that implement Method | |
class |
CompiledMethod
Information on a Java method defined in a Java class file |
class |
MethAST
An AST node that represents a method definition |
Methods in jparse that return Method | |
abstract Method[] |
Type.getMethods()
Returns an array containing Method objects representing
all the methods that are members of this type. |
abstract Method |
Type.getMethod(String methName,
Type[] paramTypes,
Type caller)
Get an object representing a method in this class with the specified parameter types |
abstract Method[] |
Type.getMeths(String name,
Type[] params,
Type caller)
Retrieve matching methods |
Method |
SymbolTable.getMeth(String name,
Type[] params,
Type caller)
Find a method symbol in the symbol table |
Method[] |
SymbolTable.getMeths(String name,
Type[] params,
Type caller)
Retrieve all matching methods |
Method[] |
SymbolTable.getMeths()
Retrieve all methods defined by this symbol table |
Method[] |
SourceType.getMethods()
|
Method |
SourceType.getMethod(String methName,
Type[] paramTypes,
Type caller)
|
Method[] |
SourceType.getMeths(String name,
Type[] params,
Type caller)
|
Method |
Method.bestMatch(Method meth)
Find the best match, given two matching methods |
Method |
MethAST.bestMatch(Method meth)
Find the best match, given two matching methods |
Method[] |
CompiledType.getMethods()
|
Method |
CompiledType.getMethod(String methName,
Type[] paramTypes,
Type caller)
|
Method[] |
CompiledType.getMeths(String name,
Type[] params,
Type caller)
|
Method |
CompiledMethod.bestMatch(Method meth)
Find the best match, given two matching methods |
Methods in jparse with parameters of type Method | |
Method |
Method.bestMatch(Method meth)
Find the best match, given two matching methods |
boolean |
Method.exactMatch(Method meth)
Determine whether two methods are exact matches: i.e., whether the names are the same, they take the same number of parameters, and all the parameter types are exactly equal. |
Method |
MethAST.bestMatch(Method meth)
Find the best match, given two matching methods |
boolean |
MethAST.exactMatch(Method meth)
|
Method |
CompiledMethod.bestMatch(Method meth)
Find the best match, given two matching methods |
boolean |
CompiledMethod.exactMatch(Method meth)
|
Uses of Method in jparse.expr |
Fields in jparse.expr declared as Method | |
private Method |
MethodCallAST.theMethod
The method that this call is calling (for method calls) |
Methods in jparse.expr that return Method | |
Method |
MethodCallAST.getMethod()
Get the method that will actually be called |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |