|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.internal.lang.reflect.AdviceImpl
public class AdviceImpl
| Constructor Summary | |
|---|---|
protected |
AdviceImpl(java.lang.reflect.Method method,
java.lang.String pointcut,
AdviceKind type)
|
protected |
AdviceImpl(java.lang.reflect.Method method,
java.lang.String pointcut,
AdviceKind type,
java.lang.String extraParamName)
|
| Method Summary | |
|---|---|
AjType |
getDeclaringType()
The declaring aspect |
AjType<?>[] |
getExceptionTypes()
The declared thrown exceptions by the advice |
java.lang.reflect.Type[] |
getGenericParameterTypes()
The generic parameter types, @see java.lang.reflect.Method.getGenericParameterTypes |
AdviceKind |
getKind()
The kind of advice (before, after-returning, after-throwing, etc.) |
java.lang.String |
getName()
Returns the advice name, or the empty string if the advice is anonymous. |
AjType<?>[] |
getParameterTypes()
The advice parameters |
PointcutExpression |
getPointcutExpression()
The pointcut expression associated with the advice declaration. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected AdviceImpl(java.lang.reflect.Method method,
java.lang.String pointcut,
AdviceKind type)
protected AdviceImpl(java.lang.reflect.Method method,
java.lang.String pointcut,
AdviceKind type,
java.lang.String extraParamName)
| Method Detail |
|---|
public AjType getDeclaringType()
Advice
getDeclaringType in interface Advicepublic java.lang.reflect.Type[] getGenericParameterTypes()
Advice
getGenericParameterTypes in interface Advicepublic AjType<?>[] getParameterTypes()
Advice
getParameterTypes in interface Advicepublic AjType<?>[] getExceptionTypes()
Advice
getExceptionTypes in interface Advicepublic AdviceKind getKind()
Advice
getKind in interface Advicepublic java.lang.String getName()
Advice
getName in interface Advicepublic PointcutExpression getPointcutExpression()
Advice
getPointcutExpression in interface Advicepublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||