public class FallbackMethod
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static FallbackMethod |
ABSENT |
| Constructor and Description |
|---|
FallbackMethod(java.lang.reflect.Method method) |
FallbackMethod(java.lang.reflect.Method method,
boolean extended,
boolean defaultFallback) |
| Modifier and Type | Method and Description |
|---|---|
ExecutionType |
getExecutionType() |
java.lang.reflect.Method |
getMethod() |
boolean |
isCommand() |
boolean |
isDefault() |
boolean |
isExtended() |
boolean |
isPresent() |
void |
validateReturnType(java.lang.reflect.Method commandMethod) |
public static final FallbackMethod ABSENT
public FallbackMethod(java.lang.reflect.Method method)
public FallbackMethod(java.lang.reflect.Method method,
boolean extended,
boolean defaultFallback)
public boolean isCommand()
public boolean isPresent()
public java.lang.reflect.Method getMethod()
public ExecutionType getExecutionType()
public boolean isExtended()
public boolean isDefault()
public void validateReturnType(java.lang.reflect.Method commandMethod)
throws FallbackDefinitionException
FallbackDefinitionException