com.googlecode.androidannotations.helper
Class IdAnnotationHelper

java.lang.Object
  extended by com.googlecode.androidannotations.helper.AnnotationHelper
      extended by com.googlecode.androidannotations.helper.TargetAnnotationHelper
          extended by com.googlecode.androidannotations.helper.IdAnnotationHelper
All Implemented Interfaces:
HasTarget
Direct Known Subclasses:
OnSeekBarChangeListenerHelper, TextWatcherHelper

public class IdAnnotationHelper
extends TargetAnnotationHelper


Constructor Summary
IdAnnotationHelper(ProcessingEnvironment processingEnv, Class<? extends Annotation> target, IRClass rClass)
           
 
Method Summary
 boolean containsField(String name, IRClass.Res res)
           
 boolean containsIdValue(Integer idValue, IRClass.Res res)
           
 List<com.sun.codemodel.JFieldRef> extractAnnotationFieldRefs(EBeanHolder holder, Element element, IRClass.Res res, boolean useElementName)
           
 List<String> extractAnnotationResources(Element element, IRClass.Res res, boolean useElementName)
           
 com.sun.codemodel.JFieldRef extractOneAnnotationFieldRef(EBeanHolder holder, Element element, IRClass.Res res, boolean useElementName)
           
 
Methods inherited from class com.googlecode.androidannotations.helper.TargetAnnotationHelper
actionName, annotationName, annotationName, extractAnnotationClassParameter, extractAnnotationParameter, extractAnnotationValueParameter, getTarget, printAnnotationError, printAnnotationWarning
 
Methods inherited from class com.googlecode.androidannotations.helper.AnnotationHelper
actionName, defaultResIdValue, defaultResName, extractAnnotationClassArrayParameter, extractAnnotationClassParameter, extractAnnotationClassParameter, extractAnnotationFieldRefs, extractAnnotationParameter, extractAnnotationResIdValueParameter, extractAnnotationResNameParameter, extractAnnotationResources, extractElementName, findAnnotationMirror, getElementUtils, getTypeUtils, isAbstract, isAnnotation, isFinal, isInterface, isPrivate, isPublic, isSubtype, isSubtype, isSynchronized, isTopLevel, printAnnotationError, printAnnotationMessage, printAnnotationWarning, printError, typeElementFromQualifiedName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdAnnotationHelper

public IdAnnotationHelper(ProcessingEnvironment processingEnv,
                          Class<? extends Annotation> target,
                          IRClass rClass)
Method Detail

containsIdValue

public boolean containsIdValue(Integer idValue,
                               IRClass.Res res)

containsField

public boolean containsField(String name,
                             IRClass.Res res)

extractAnnotationResources

public List<String> extractAnnotationResources(Element element,
                                               IRClass.Res res,
                                               boolean useElementName)

extractAnnotationFieldRefs

public List<com.sun.codemodel.JFieldRef> extractAnnotationFieldRefs(EBeanHolder holder,
                                                                    Element element,
                                                                    IRClass.Res res,
                                                                    boolean useElementName)

extractOneAnnotationFieldRef

public com.sun.codemodel.JFieldRef extractOneAnnotationFieldRef(EBeanHolder holder,
                                                                Element element,
                                                                IRClass.Res res,
                                                                boolean useElementName)


Copyright © 2010-2013. All Rights Reserved.