public class DefaultControllerMethod extends Object implements ControllerMethod
Constructor and Description |
---|
DefaultControllerMethod(BeanClass controller,
Method method) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsAnnotation(Class<? extends Annotation> annotation) |
boolean |
equals(Object obj) |
Annotation[] |
getAnnotations() |
int |
getArity() |
BeanClass |
getController() |
Method |
getMethod() |
int |
hashCode() |
static ControllerMethod |
instanceFor(Class<?> type,
Method method) |
String |
toString() |
public static ControllerMethod instanceFor(Class<?> type, Method method)
public Method getMethod()
getMethod
in interface ControllerMethod
public int getArity()
getArity
in interface ControllerMethod
public BeanClass getController()
getController
in interface ControllerMethod
public boolean containsAnnotation(Class<? extends Annotation> annotation)
containsAnnotation
in interface ControllerMethod
public Annotation[] getAnnotations()
getAnnotations
in interface ControllerMethod
Copyright © 2014 Caelum. All rights reserved.