optimization: retrieve PsiElement when problem occurs only

This commit is contained in:
Anna Kozlova
2013-09-06 17:36:18 +04:00
parent 683ece54e2
commit ac384331af
3 changed files with 10 additions and 1 deletions
@@ -15,6 +15,7 @@
*/
package com.intellij.codeInspection.reference;
import com.intellij.openapi.util.Key;
import com.intellij.psi.PsiField;
/**
@@ -24,6 +25,7 @@ import com.intellij.psi.PsiField;
* @since 6.0
*/
public interface RefField extends RefJavaElement {
Key<Boolean> ENUM_CONSTANT = Key.create("ENUM_CONSTANT");
/**
* Checks if the field is used for reading.
*