org.netbeans.api.java.source.ui
Class TypeElementFinder
java.lang.Object
org.netbeans.api.java.source.ui.TypeElementFinder
public final class TypeElementFinder
- extends Object
Support for browsing of the Java types. Opens search dialog for the type name
with possibility to filter possible results.
- Since:
- 1.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeElementFinder
public TypeElementFinder()
find
public static ElementHandle<TypeElement> find(ClasspathInfo cpInfo,
TypeElementFinder.Customizer customizer)
- Searches for classes on given classpath using defined restrictions.
- Parameters:
cpInfo
- classpath used for search; optional, can be null,
everything available will be searchedcustomizer
- possibility to add restrictions to search result;
optional, can be null, no restriction will be applied
- Returns:
- found type or null if dialog was canceled