public class MethodWrapper<T>
extends java.lang.Object
Constructor and Description |
---|
MethodWrapper(java.lang.reflect.Method method,
java.lang.Class<T> returnType) |
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> |
getReturnType() |
int |
hashCode() |
public MethodWrapper(java.lang.reflect.Method method, java.lang.Class<T> returnType)
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> getReturnType()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object