| java.lang.Object org.netbeans.editor.ext.java.JavaCompletionQuery
JavaCompletionQuery | public class JavaCompletionQuery implements CompletionQuery(Code) | | Java completion support finder
author: Miloslav Metelka version: 1.00 |
Inner Class :static class Context | |
Method Summary | |
static List | findFieldsAndMethods(JCFinder finder, JCClass cls, String name, boolean exactMatch, boolean staticOnly, boolean inspectOuterClasses) Finds the fields, methods and the inner classes. | public CompletionQuery.Result | query(JTextComponent component, int offset, SyntaxSupport support) | public CompletionQuery.Result | query(JTextComponent component, int offset, SyntaxSupport support, boolean sourceHelp) Perform the query on the given component. |
findFieldsAndMethods | static List findFieldsAndMethods(JCFinder finder, JCClass cls, String name, boolean exactMatch, boolean staticOnly, boolean inspectOuterClasses)(Code) | | Finds the fields, methods and the inner classes.
|
query | public CompletionQuery.Result query(JTextComponent component, int offset, SyntaxSupport support, boolean sourceHelp)(Code) | | Perform the query on the given component. The query usually gets the
component's document, the caret position and searches back to find the
last command start. Then it inspects the text up to the caret position
and returns the result.
Parameters: component - the component to use in this query. Parameters: offset - position in the component's document to which the query willbe performed. Usually it's a caret position. Parameters: support - syntax-support that will be used during resolving of thequery. Parameters: sourceHelp - whether the help is retrieved to open the source file. Thequery behavior is slightly modified if this flag is true result of the query or null if there's no result. |
|
|