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, setInterceptorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAdvisor, getClazz, resolveClassAnnotation, resolveClassMetaDatapublic FieldInfo()
public FieldInfo(Advisor advisor, boolean read)
protected Joinpoint internalGetJoinpoint()
internalGetJoinpoint in class JoinPointInfopublic JoinPointInfo copy()
copy in class JoinPointInfopublic void setIndex(int index)
public int getIndex()
public void setAdvisedField(Field advisedField)
@Deprecated public Field getAdvisedField()
public Field getField()
FieldAccessgetField in interface FieldAccesspublic void setWrapper(Method wrapper)
public Method getWrapper()
public void setRead(boolean read)
public boolean isRead()
FieldAccessisRead in interface FieldAccesspublic <T extends Annotation> T resolveAnnotation(Class<T> annotation)
JoinPointBeanresolveAnnotation in interface JoinPointBeanresolveAnnotation in class JoinPointInfoCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.