Package editor
Class AnnotationCompletionHandler
- java.lang.Object
-
- editor.AbstractPathCompletionHandler
-
- editor.SymbolCompletionHandler
-
- editor.AnnotationCompletionHandler
-
- All Implemented Interfaces:
IPathCompletionHandler
public class AnnotationCompletionHandler extends SymbolCompletionHandler
-
-
Constructor Summary
Constructors Constructor Description AnnotationCompletionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhandleCompletePath(ISymbolTable transientSymTable)protected booleanisAnnotationsOnly()-
Methods inherited from class editor.AbstractPathCompletionHandler
displayFeaturePathCompletionBeanInfoPopup, displayPathCompletionBeanInfoPopup, getGosuEditor, getMemberPathFromPath, getPathAtCaret, getRootBeanFromPath, getSingleNameAtCaret, getSymbolAtCaret, getWordAtCaret, getWordBeforeCaret, isWordAtCaret, setGosuEditor
-
-
-
-
Method Detail
-
handleCompletePath
public boolean handleCompletePath(ISymbolTable transientSymTable)
- Specified by:
handleCompletePathin interfaceIPathCompletionHandler- Overrides:
handleCompletePathin classSymbolCompletionHandler- Parameters:
transientSymTable- The symbol table corresponding with the scope at the editor's caret position.- Returns:
- True if this handler handled path completion. Note it is the handler's responsibility to determine whether or not it can handle completing the path. If it can't, it should return false and have no side effects on the system.
-
isAnnotationsOnly
protected boolean isAnnotationsOnly()
- Overrides:
isAnnotationsOnlyin classSymbolCompletionHandler
-
-