|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.acm.seguin.summary.query.MethodQuery
public class MethodQuery
Finds a method associated with a particular type summary. A permission is also specified to insure that we find something interesting.
Field Summary | |
---|---|
static int |
DEFAULT
The method we are looking for must have default protection level or higher |
static int |
PRIVATE
The method we are looking for can have any protection level |
static int |
PROTECTED
The method we are looking for must have protected protection level or higher |
static int |
PUBLIC
The method we are looking for must be public |
Constructor Summary | |
---|---|
MethodQuery()
|
Method Summary | |
---|---|
static MethodSummary |
find(TypeSummary typeSummary,
java.lang.String name)
Finds an associated method |
static MethodSummary |
query(TypeSummary typeSummary,
java.lang.String name,
int protection)
Finds the method associated with a type |
static MethodSummary |
queryAncestors(TypeSummary typeSummary,
java.lang.String name,
int protection)
Finds the method 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 MethodQuery()
Method Detail |
---|
public static MethodSummary find(TypeSummary typeSummary, java.lang.String name)
typeSummary
- the typename
- the name
public static MethodSummary query(TypeSummary typeSummary, java.lang.String name, int protection)
typeSummary
- the type to searchname
- the name of the methodprotection
- the minimum protection level
public static MethodSummary queryAncestors(TypeSummary typeSummary, java.lang.String name, int protection)
typeSummary
- the type to searchname
- the name of the methodprotection
- the minimum protection level
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |