|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.AdviceInfo
Contains advice info, like indexes describing the aspect and a method (advice or introduced), aspect manager etc.
Constructor Summary | |
AdviceInfo(int aspectIndex,
int methodIndex,
AspectManager aspectManager,
AdviceType type,
String specialArgumentType)
Creates a new advice info. |
Method Summary | |
int |
getAspectIndex()
Return the aspect index. |
AspectManager |
getAspectManager()
Return the aspectManager. |
int |
getMethodIndex()
Return the method index. |
int[] |
getMethodToArgIndexes()
Returns the advice method to target method arg index mapping. |
String |
getSpecialArgumentType()
Returns the special argument type. |
AdviceType |
getType()
Returns the advice type. |
void |
setMethodToArgIndexes(int[] map)
Sets the advice method to target method arg mapping A value of -1 means "not mapped" |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AdviceInfo(int aspectIndex, int methodIndex, AspectManager aspectManager, AdviceType type, String specialArgumentType)
aspectIndex
- the aspect indexmethodIndex
- the method indexaspectManager
- the aspectManagertype
- the advice typespecialArgumentType
- the special arg typeMethod Detail |
public int getAspectIndex()
public int getMethodIndex()
public AspectManager getAspectManager()
public void setMethodToArgIndexes(int[] map)
map
- public int[] getMethodToArgIndexes()
public String getSpecialArgumentType()
public AdviceType getType()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |