public class MethodWrapper<T>
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
MethodWrapper(java.lang.reflect.Method method,
java.lang.Class<T> resultType) |
Modifier and Type | Method and Description |
---|---|
T |
callMethod(DataExtension extension) |
T |
callMethod(DataExtension extension,
Group group) |
T |
callMethod(DataExtension extension,
java.util.UUID playerUUID,
java.lang.String playerName) |
T |
callMethod(DataExtension extension,
java.util.UUID playerUUID,
java.lang.String playerName,
Group group) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getMethodName() |
MethodType |
getMethodType() |
java.lang.Class<T> |
getResultType() |
int |
hashCode() |
public MethodWrapper(java.lang.reflect.Method method, java.lang.Class<T> resultType)
public T callMethod(DataExtension extension, java.util.UUID playerUUID, java.lang.String playerName)
public T callMethod(DataExtension extension, Group group)
public T callMethod(DataExtension extension)
public T callMethod(DataExtension extension, java.util.UUID playerUUID, java.lang.String playerName, Group group)
public java.lang.String getMethodName()
public MethodType getMethodType()
public java.lang.Class<T> getResultType()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object