mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-21 14:37:45 +07:00
optimization: retrieve PsiElement when problem occurs only
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user