| org.netbeans.editor.ext.java.JCFinder
All known Subclasses: org.netbeans.editor.ext.java.JCBaseFinder,
JCFinder | public interface JCFinder extends JCClassProvider(Code) | | Java completion finder
author: Miloslav Metelka version: 1.00 |
Method Summary | |
public List | findClasses(JCPackage pkg, String name, boolean exactMatch) Find classes by name and possibly in some package
Parameters: pkg - package where the classes should be searched for. | public List | findFields(JCClass c, String name, boolean exactMatch, boolean staticOnly, boolean inspectOuterClasses) Find fields by name in a given class. | public List | findMethods(JCClass c, String name, boolean exactMatch, boolean staticOnly, boolean inspectOuterClasses) Find methods by name in a given class.
Parameters: c - class which is searched for the methods. Parameters: name - start of the name of the method Parameters: exactMatch - whether the given name of the method is exact Parameters: staticOnly - whether search for the static methods only Parameters: inspectOuterClasses - if the given class is inner class of some outer class, whetherthe methods of the outer class should be possibly added ornot. | public List | findPackages(String name, boolean exactMatch, boolean subPackages) | public JCClass | getExactClass(String classFullName) | public JCPackage | getExactPackage(String packageName) |
findClasses | public List findClasses(JCPackage pkg, String name, boolean exactMatch)(Code) | | Find classes by name and possibly in some package
Parameters: pkg - package where the classes should be searched for. It can benull Parameters: begining - of the name of the class. The package name must be omitted. Parameters: exactMatch - whether the given name is the exact requested name of theclass or not. list of the matching classes |
findFields | public List findFields(JCClass c, String name, boolean exactMatch, boolean staticOnly, boolean inspectOuterClasses)(Code) | | Find fields by name in a given class.
Parameters: c - class which is searched for the fields. Parameters: name - start of the name of the field Parameters: exactMatch - whether the given name of the field is exact Parameters: staticOnly - whether search for the static fields only Parameters: inspectOuterClasses - if the given class is inner class of some outer class, whetherthe fields of the outer class should be possibly added or not.This should be false when searching for 'this.' list of the matching fields |
findMethods | public List findMethods(JCClass c, String name, boolean exactMatch, boolean staticOnly, boolean inspectOuterClasses)(Code) | | Find methods by name in a given class.
Parameters: c - class which is searched for the methods. Parameters: name - start of the name of the method Parameters: exactMatch - whether the given name of the method is exact Parameters: staticOnly - whether search for the static methods only Parameters: inspectOuterClasses - if the given class is inner class of some outer class, whetherthe methods of the outer class should be possibly added ornot. This should be false when searching for 'this.' list of the matching methods |
findPackages | public List findPackages(String name, boolean exactMatch, boolean subPackages)(Code) | | Get the list of packages that start with the given name
Parameters: name - the start of the requested package(s) name list of the matching packages |
getExactClass | public JCClass getExactClass(String classFullName)(Code) | | Get the class from full name of the class
|
getExactPackage | public JCPackage getExactPackage(String packageName)(Code) | | Get the package from the package name
|
|
|