public abstract class ReadWriteAccessDetector
extends java.lang.Object
int var = expression;
), see ReadWriteAccessDetector.Access.Read
expression = value;
), see ReadWriteAccessDetector.Access.Write
var++;
), see ReadWriteAccessDetector.Access.ReadWrite
Modifier and Type | Class and Description |
---|---|
static class |
ReadWriteAccessDetector.Access |
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<ReadWriteAccessDetector> |
EP_NAME |
Constructor and Description |
---|
ReadWriteAccessDetector() |
Modifier and Type | Method and Description |
---|---|
static ReadWriteAccessDetector |
findDetector(PsiElement element) |
abstract ReadWriteAccessDetector.Access |
getExpressionAccess(PsiElement expression) |
abstract ReadWriteAccessDetector.Access |
getReferenceAccess(PsiElement referencedElement,
PsiReference reference) |
abstract boolean |
isDeclarationWriteAccess(PsiElement element) |
abstract boolean |
isReadWriteAccessible(PsiElement element) |
public static final ExtensionPointName<ReadWriteAccessDetector> EP_NAME
public static ReadWriteAccessDetector findDetector(PsiElement element)
public abstract boolean isReadWriteAccessible(PsiElement element)
public abstract boolean isDeclarationWriteAccess(PsiElement element)
public abstract ReadWriteAccessDetector.Access getReferenceAccess(PsiElement referencedElement, PsiReference reference)
public abstract ReadWriteAccessDetector.Access getExpressionAccess(PsiElement expression)