avoid content-assist proposals to show up when the cursor is on the anntation type itself
This commit is contained in:
@@ -64,7 +64,8 @@ public class AnnotationAttributeCompletionProcessor implements CompletionProvide
|
||||
createCompletionProposals(project, doc, node, "value", completions, offset, offset, "", (beanName) -> "\"" + beanName + "\"");
|
||||
}
|
||||
// case: @Qualifier(prefix<*>)
|
||||
else if (node instanceof SimpleName && node.getParent() instanceof Annotation) {
|
||||
else if (node instanceof SimpleName && node.getParent() instanceof Annotation
|
||||
&& node != annotation.getTypeName()) {
|
||||
computeProposalsForSimpleName(project, node, "value", completions, offset, doc);
|
||||
}
|
||||
// case: @Qualifier(value=<*>)
|
||||
|
||||
Reference in New Issue
Block a user