public interface FieldAccess extends Joinpoint
A field access is a joinpoint and can be intercepted by a field interceptor.
FieldInterceptor
Modifier and Type | Field and Description |
---|---|
static int |
READ
The read access type (see
getAccessType() ). |
static int |
WRITE
The write access type (see
getAccessType() ). |
Modifier and Type | Method and Description |
---|---|
int |
getAccessType()
Returns the access type.
|
java.lang.reflect.Field |
getField()
Gets the field being accessed.
|
java.lang.Object |
getValueToSet()
Gets the value that must be set to the field.
|
getStaticPart, getThis, proceed
static final int READ
getAccessType()
).static final int WRITE
getAccessType()
).java.lang.reflect.Field getField()
This method is a frienly implementation of the Joinpoint.getStaticPart()
method (same result).
java.lang.Object getValueToSet()
This value can be intercepted and changed by a field interceptor.
int getAccessType()