org.androidannotations.handler
Class ClickHandler
java.lang.Object
org.androidannotations.handler.BaseAnnotationHandler<EComponentWithViewSupportHolder>
org.androidannotations.handler.AbstractListenerHandler
org.androidannotations.handler.ClickHandler
- All Implemented Interfaces:
- AnnotationHandler<EComponentWithViewSupportHolder>
public class ClickHandler
- extends AbstractListenerHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClickHandler
public ClickHandler(ProcessingEnvironment processingEnvironment)
validate
public void validate(Element element,
AnnotationElements validatedElements,
IsValid valid)
- Overrides:
validate
in class AbstractListenerHandler
makeCall
protected void makeCall(com.sun.codemodel.JBlock listenerMethodBody,
com.sun.codemodel.JInvocation call,
TypeMirror returnType)
- Specified by:
makeCall
in class AbstractListenerHandler
processParameters
protected void processParameters(com.sun.codemodel.JMethod listenerMethod,
com.sun.codemodel.JInvocation call,
List<? extends VariableElement> parameters)
- Specified by:
processParameters
in class AbstractListenerHandler
createListenerMethod
protected com.sun.codemodel.JMethod createListenerMethod(com.sun.codemodel.JDefinedClass listenerAnonymousClass)
- Specified by:
createListenerMethod
in class AbstractListenerHandler
getSetterName
protected String getSetterName()
- Specified by:
getSetterName
in class AbstractListenerHandler
getListenerClass
protected com.sun.codemodel.JClass getListenerClass()
- Specified by:
getListenerClass
in class AbstractListenerHandler
Copyright © 2010-2014. All Rights Reserved.