|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.summary.query.FieldQuery
public class FieldQuery
Finds a field associated with a particular type summary. A permission is also specified to insure that we find something interesting.
Field Summary | |
---|---|
static int |
DEFAULT
The field we are looking for must have default protection level or higher |
static int |
PRIVATE
The field we are looking for can have any protection level |
static int |
PROTECTED
The field we are looking for must have protected protection level or higher |
static int |
PUBLIC
The field we are looking for must be public |
Constructor Summary | |
---|---|
FieldQuery()
|
Method Summary | |
---|---|
static FieldSummary |
find(TypeSummary typeSummary,
java.lang.String name)
Finds an associated field |
static FieldSummary |
query(TypeSummary typeSummary,
java.lang.String name,
int protection)
Finds the field associated with a type |
static FieldSummary |
queryAncestors(TypeSummary typeSummary,
java.lang.String name,
int protection)
Finds the field associated with a type in the ancestors of that type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PRIVATE
public static final int DEFAULT
public static final int PROTECTED
public static final int PUBLIC
Constructor Detail |
---|
public FieldQuery()
Method Detail |
---|
public static FieldSummary find(TypeSummary typeSummary, java.lang.String name)
typeSummary
- the typename
- the name
public static FieldSummary query(TypeSummary typeSummary, java.lang.String name, int protection)
typeSummary
- the type to searchname
- the name of the fieldprotection
- the minimum protection level
public static FieldSummary queryAncestors(TypeSummary typeSummary, java.lang.String name, int protection)
typeSummary
- the type to searchname
- the name of the fieldprotection
- the minimum protection level
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |