mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
javadocs
This commit is contained in:
+6
-2
@@ -21,8 +21,12 @@ import com.intellij.psi.PsiElement;
|
||||
|
||||
/**
|
||||
* Allows to disable highlighting of certain elements as unused when such elements are not referenced
|
||||
* from the code but are referenced in some other way (for example, from generated code).
|
||||
*
|
||||
* from the code but are referenced in some other way. For example,
|
||||
* <ul>
|
||||
* <li>from generated code</li>
|
||||
* <li>from outside containers: {@code @javax.servlet.annotation.WebServlet public class MyServlet {}}</li>
|
||||
* <li>from some frameworks: {@code @javax.ejb.EJB private DataStore myInjectedDataStore;}</li> etc
|
||||
* </ul>
|
||||
* @author yole
|
||||
* @since 6.0
|
||||
*/
|
||||
|
||||
+8
-1
@@ -24,7 +24,14 @@ import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
* This extension is used in Find Usages, Highlighting and other places to
|
||||
* classify the psi expression as:
|
||||
* <ul>
|
||||
* <li>read variable expression (e.g. {@code int var = expression;} ), see {@link Access#Read}</li>
|
||||
* <li>write variable expression (e.g. {@code expression = value;} ), see {@link Access#Write}</li> or
|
||||
* <li>read/write variable expression (e.g. {@code var++;} ), see {@link Access#ReadWrite}</li>
|
||||
* </ul>
|
||||
*
|
||||
*/
|
||||
public abstract class ReadWriteAccessDetector {
|
||||
public static final ExtensionPointName<ReadWriteAccessDetector> EP_NAME = ExtensionPointName.create("com.intellij.readWriteAccessDetector");
|
||||
|
||||
Reference in New Issue
Block a user