| java.lang.Object org.acm.seguin.summary.query.MethodQuery
MethodQuery | public class MethodQuery (Code) | | Finds a method associated with a particular type summary. A permission is
also specified to insure that we find something interesting.
author: Chris Seguin |
DEFAULT | final public static int DEFAULT(Code) | | The method we are looking for must have default protection level or
higher
|
PRIVATE | final public static int PRIVATE(Code) | | The method we are looking for can have any protection level
|
PROTECTED | final public static int PROTECTED(Code) | | The method we are looking for must have protected protection level or
higher
|
PUBLIC | final public static int PUBLIC(Code) | | The method we are looking for must be public
|
find | public static MethodSummary find(TypeSummary typeSummary, String name)(Code) | | Finds an associated method
Parameters: typeSummary - the type Parameters: name - the name the method found or null if none |
query | public static MethodSummary query(TypeSummary typeSummary, String name, int protection)(Code) | | Finds the method associated with a type
Parameters: typeSummary - the type to search Parameters: name - the name of the method Parameters: protection - the minimum protection level the method summary if one is found, null if none isfound |
queryAncestors | public static MethodSummary queryAncestors(TypeSummary typeSummary, String name, int protection)(Code) | | Finds the method associated with a type in the ancestors of that type
Parameters: typeSummary - the type to search Parameters: name - the name of the method Parameters: protection - the minimum protection level the method summary if one is found, null if none isfound |
|
|