void (PsiMethod psiWhat, UExpression expression) { //TODO support kotlin enums final PsiClass containingClass = psiWhat.getContainingClass(); if (containingClass != null && containingClass.isEnum() && "values".equals(psiWhat.getName())) { for (PsiField enumConstant : containingClass.getFields()) { if (enumConstant instanceof PsiEnumConstant) { final RefJavaElementImpl enumConstantReference = (RefJavaElementImpl)getRefManager().getReference(enumConstant); if (enumConstantReference != null) { addOutReference(enumConstantReference); enumConstantReference.markReferenced(this, false, true, expression); } } } } }