|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Weaver.TargetSource>
net.grinder.util.weave.Weaver.TargetSource
public static enum Weaver.TargetSource
Source of the target object that the weaving will pass on to the advice.
| Enum Constant Summary | |
|---|---|
CLASS
The class is the target object. |
|
FIRST_PARAMETER
The first parameter is the target object. |
|
SECOND_PARAMETER
The second parameter is the target object. |
|
THIRD_PARAMETER
The third parameter is the target object. |
|
| Method Summary | |
|---|---|
boolean |
canApply(Method method)
Whether this target source can be used to instrument a given method. |
static Weaver.TargetSource |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Weaver.TargetSource[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Weaver.TargetSource CLASS
public static final Weaver.TargetSource FIRST_PARAMETER
this.
public static final Weaver.TargetSource SECOND_PARAMETER
this.
public static final Weaver.TargetSource THIRD_PARAMETER
this.
| Method Detail |
|---|
public static Weaver.TargetSource[] values()
for (Weaver.TargetSource c : Weaver.TargetSource.values()) System.out.println(c);
public static Weaver.TargetSource valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic boolean canApply(Method method)
method - The method to test.
true if the source can be used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||