PsiReference[] (@NotNull PsiLiteralExpression literalArgument, @NotNull PsiReferenceExpression methodReference, @NotNull ProcessingContext context) { PsiElement parent = literalArgument.getParent(); if (parent instanceof PsiExpressionList) { PsiExpression[] arguments = ((PsiExpressionList)parent).getExpressions(); return new PsiReference[]{new JavaLangClassMemberReference(literalArgument, arguments[0])}; } return PsiReference.EMPTY_ARRAY; }