@NotNull
 @Override
 public JavaResolveResult[] resolve(
     @NotNull ClsJavaCodeReferenceElementImpl ref, boolean incompleteCode) {
   final JavaResolveResult resolveResult = ref.advancedResolveImpl();
   return resolveResult.getElement() == null
       ? JavaResolveResult.EMPTY_ARRAY
       : new JavaResolveResult[] {resolveResult};
 }
コード例 #2
0
 @Nullable
 public String getQualifiedName() {
   if (myReferenceElement == null) return null;
   return myReferenceElement.getCanonicalText();
 }
コード例 #3
0
 public void appendMirrorText(final int indentLevel, final StringBuffer buffer) {
   buffer.append("@").append(myReferenceElement.getCanonicalText());
   myParameterList.appendMirrorText(indentLevel, buffer);
 }