|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ter.API.Search.BasicsSearch
Title: BasicsSearch
Description: This class allows to make a simple search based on an AdvancedAnalyser. You've got some filter to make your search more precise.
Copyright: Copyright (c) 2003
Company: UNICE
Constructor Summary | |
BasicsSearch()
make a new basic Search object. |
Method Summary | |
java.util.ArrayList |
getMethod(ClassifierAnalyser analyser,
int attr,
int is_static,
int is_final,
int type)
Search the method that match exactely the name and the mod specified. |
java.util.ArrayList |
getMethod(ClassifierAnalyser analyser,
java.lang.String name)
Search all the method of the analyser that exactely matches with the pattern. |
java.util.ArrayList |
getMethod(ClassifierAnalyser analyser,
java.lang.String name,
int attr,
int is_static,
int is_final,
int type)
Search the method that match exactely the name and the mod specified. |
java.util.ArrayList |
getVariable(ClassifierAnalyser analyser,
int is_static,
int is_final)
Search all the variable of the analyser that matches with the pattern and the condition specified by is_static and is_final. |
java.util.ArrayList |
getVariable(ClassifierAnalyser analyser,
java.lang.String name)
Search all the variable of the analyser that matches with the pattern name. |
java.util.ArrayList |
getVariable(ClassifierAnalyser analyser,
java.lang.String name,
int is_static,
int is_final)
Search all the variable of the analyser that matches with the pattern and the condition specified by is_static and is_final.Note that we can't specifie the [public private or protected condition}]. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BasicsSearch()
Method Detail |
public java.util.ArrayList getMethod(ClassifierAnalyser analyser, java.lang.String name)
getMethod
in interface SearchServices
analyser
- the analyser to search intoname
- the name of the method search
public java.util.ArrayList getMethod(ClassifierAnalyser analyser, java.lang.String name, int attr, int is_static, int is_final, int type)
getMethod
in interface SearchServices
analyser
- the analyser to search intoname
- the name of the method searchattr
- the type of attribute for the method [private, public, protected]is_static
- set the search for a static method or notis_final
- set the search for a final method or nottype
- set if the method is abstract or not.
public java.util.ArrayList getMethod(ClassifierAnalyser analyser, int attr, int is_static, int is_final, int type)
getMethod
in interface SearchServices
analyser
- the analyser to search intoattr
- the type of attribute for the method [private, public, protected]is_static
- set the search for a static method or notis_final
- set the search for a final method or nottype
- set if the method is abstract or not.
public java.util.ArrayList getVariable(ClassifierAnalyser analyser, java.lang.String name)
getVariable
in interface SearchServices
analyser
- the analyser to search intoname
- the name of the variable search
public java.util.ArrayList getVariable(ClassifierAnalyser analyser, java.lang.String name, int is_static, int is_final)
getVariable
in interface SearchServices
analyser
- the analyser to search intoname
- the name of the variable searchis_static
- set the search for a static method or notis_final
- set the search for a final method or not
public java.util.ArrayList getVariable(ClassifierAnalyser analyser, int is_static, int is_final)
getVariable
in interface SearchServices
analyser
- the analyser to search intois_static
- set the search for a static method or notis_final
- set the search for a final method or not
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |