public class FieldInfo extends JoinPointInfo implements FieldAccess
clazz, interceptors, joinpoint
Constructor and Description |
---|
FieldInfo() |
FieldInfo(Advisor advisor,
boolean read) |
FieldInfo(Class<?> clazz,
int index,
String fieldName,
long wrapperHash,
Advisor advisor,
boolean read) |
Modifier and Type | Method and Description |
---|---|
JoinPointInfo |
copy() |
Field |
getAdvisedField()
Deprecated.
|
Field |
getField()
Gets the field being read or written
|
int |
getIndex() |
Method |
getWrapper() |
protected Joinpoint |
internalGetJoinpoint() |
boolean |
isRead()
Gets whether we are reading the field
|
<T extends Annotation> |
resolveAnnotation(Class<T> annotation)
Resolves annotations on the particular joinpoint (field, constructor, method etc.)
|
void |
setAdvisedField(Field advisedField) |
void |
setIndex(int index) |
void |
setRead(boolean read) |
void |
setWrapper(Method wrapper) |
String |
toString() |
clear, cloneChains, equalChains, getAdviceString, getAdvisor, getClazz, getInterceptorChain, getInterceptorChainReadWriteLock, getInterceptors, getJoinpoint, hasAdvices, resetChainKeepInterceptors, resetInterceptors, resolveClassAnnotation, resolveClassMetaData, setAdvisor, setInterceptors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAdvisor, getClazz, resolveClassAnnotation, resolveClassMetaData
public FieldInfo()
public FieldInfo(Advisor advisor, boolean read)
protected Joinpoint internalGetJoinpoint()
internalGetJoinpoint
in class JoinPointInfo
public JoinPointInfo copy()
copy
in class JoinPointInfo
public void setIndex(int index)
public int getIndex()
public void setAdvisedField(Field advisedField)
@Deprecated public Field getAdvisedField()
public Field getField()
FieldAccess
getField
in interface FieldAccess
public void setWrapper(Method wrapper)
public Method getWrapper()
public void setRead(boolean read)
public boolean isRead()
FieldAccess
isRead
in interface FieldAccess
public <T extends Annotation> T resolveAnnotation(Class<T> annotation)
JoinPointBean
resolveAnnotation
in interface JoinPointBean
resolveAnnotation
in class JoinPointInfo
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.