| java.lang.Object org.acm.seguin.summary.query.FieldQuery
FieldQuery | public class FieldQuery (Code) | | Finds a field 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 field we are looking for must have default protection level or
higher
|
PRIVATE | final public static int PRIVATE(Code) | | The field we are looking for can have any protection level
|
PROTECTED | final public static int PROTECTED(Code) | | The field we are looking for must have protected protection level or
higher
|
PUBLIC | final public static int PUBLIC(Code) | | The field we are looking for must be public
|
find | public static FieldSummary find(TypeSummary typeSummary, String name)(Code) | | Finds an associated field
Parameters: typeSummary - the type Parameters: name - the name the field found or null if none |
query | public static FieldSummary query(TypeSummary typeSummary, String name, int protection)(Code) | | Finds the field associated with a type
Parameters: typeSummary - the type to search Parameters: name - the name of the field Parameters: protection - the minimum protection level the field summary if one is found, null if none isfound |
queryAncestors | public static FieldSummary queryAncestors(TypeSummary typeSummary, String name, int protection)(Code) | | Finds the field associated with a type in the ancestors of that type
Parameters: typeSummary - the type to search Parameters: name - the name of the field Parameters: protection - the minimum protection level the field summary if one is found, null if none isfound |
|
|