public class InvokeReplacer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
methodName |
static InvokeReplacer |
NONE |
protected java.lang.String |
owner |
protected boolean |
passMethodName |
protected boolean |
passMethodSignature |
protected boolean |
passOwnerName |
protected boolean |
passTargetClass |
protected boolean |
passThis |
Constructor and Description |
---|
InvokeReplacer(java.lang.Class target,
java.lang.String methodName) |
InvokeReplacer(java.lang.String classCanonicalName,
java.lang.String methodName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMethodName() |
java.lang.String |
getOwner() |
boolean |
isNone()
|
boolean |
isPassMethodName() |
boolean |
isPassMethodSignature() |
boolean |
isPassOwnerName() |
boolean |
isPassTargetClass() |
boolean |
isPassThis() |
InvokeReplacer |
passMethodName(boolean passMethodName) |
InvokeReplacer |
passMethodSignature(boolean passMethodSignature) |
InvokeReplacer |
passOwnerName(boolean passOwnerName) |
InvokeReplacer |
passTargetClass(boolean passTargetClass) |
InvokeReplacer |
passThis(boolean passThis) |
void |
setPassMethodName(boolean passMethodName) |
void |
setPassMethodSignature(boolean passMethodSignature) |
void |
setPassOwnerName(boolean passOwnerName) |
void |
setPassTargetClass(boolean passTargetClass) |
void |
setPassThis(boolean passThis) |
static InvokeReplacer |
with(java.lang.Class target,
java.lang.String methodName) |
static InvokeReplacer |
with(java.lang.String classCanonicalName,
java.lang.String methodName) |
public static final InvokeReplacer NONE
protected final java.lang.String owner
protected final java.lang.String methodName
protected boolean passOwnerName
protected boolean passMethodName
protected boolean passMethodSignature
protected boolean passThis
protected boolean passTargetClass
public InvokeReplacer(java.lang.Class target, java.lang.String methodName)
public InvokeReplacer(java.lang.String classCanonicalName, java.lang.String methodName)
public static InvokeReplacer with(java.lang.String classCanonicalName, java.lang.String methodName)
public static InvokeReplacer with(java.lang.Class target, java.lang.String methodName)
public java.lang.String getOwner()
public java.lang.String getMethodName()
public boolean isPassOwnerName()
public void setPassOwnerName(boolean passOwnerName)
public InvokeReplacer passOwnerName(boolean passOwnerName)
public boolean isPassMethodName()
public void setPassMethodName(boolean passMethodName)
public InvokeReplacer passMethodName(boolean passMethodName)
public boolean isPassMethodSignature()
public void setPassMethodSignature(boolean passMethodSignature)
public InvokeReplacer passMethodSignature(boolean passMethodSignature)
public boolean isPassThis()
public void setPassThis(boolean passThis)
public InvokeReplacer passThis(boolean passThis)
public boolean isPassTargetClass()
public void setPassTargetClass(boolean passTargetClass)
public InvokeReplacer passTargetClass(boolean passTargetClass)
public boolean isNone()
Copyright © 2003-present Jodd Team