接口 FieldAccess
- 所有超级接口:
Joinpoint
This interface represents a field access in the program.
A field access is a joinpoint and can be intercepted by a field interceptor.
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明static final intThe read access type (seegetAccessType()).static final intThe write access type (seegetAccessType()). -
方法概要
修饰符和类型方法说明intReturns the access type.getField()Gets the field being accessed.Gets the value that must be set to the field.从接口继承的方法 org.aopalliance.intercept.Joinpoint
getStaticPart, getThis, proceed
-
字段详细资料
-
READ
static final int READThe read access type (seegetAccessType()).- 另请参阅:
-
WRITE
static final int WRITEThe write access type (seegetAccessType()).- 另请参阅:
-
-
方法详细资料
-
getField
Field getField()Gets the field being accessed.This method is a frienly implementation of the
Joinpoint.getStaticPart()method (same result).- 返回:
- the field being accessed.
-
getValueToSet
Object getValueToSet()Gets the value that must be set to the field.This value can be intercepted and changed by a field interceptor.
-
getAccessType
int getAccessType()Returns the access type.- 返回:
- FieldAccess.READ || FieldAccess.WRITE
-