org.androidannotations.helper
Class IdAnnotationHelper

java.lang.Object
  extended by org.androidannotations.helper.AnnotationHelper
      extended by org.androidannotations.helper.TargetAnnotationHelper
          extended by org.androidannotations.helper.IdAnnotationHelper

public class IdAnnotationHelper
extends TargetAnnotationHelper


Constructor Summary
IdAnnotationHelper(ProcessingEnvironment processingEnv, String annotationName, IRClass rClass)
           
 
Method Summary
 boolean containsField(String name, IRClass.Res res)
           
 boolean containsIdValue(Integer idValue, IRClass.Res res)
           
 List<com.sun.codemodel.JFieldRef> extractAnnotationFieldRefs(ProcessHolder holder, Element element, IRClass.Res res, boolean useElementName)
           
 List<String> extractAnnotationResources(Element element, IRClass.Res res, boolean useElementName)
           
 com.sun.codemodel.JFieldRef extractOneAnnotationFieldRef(ProcessHolder holder, Element element, IRClass.Res res, boolean useElementName)
           
 com.sun.codemodel.JFieldRef extractOneAnnotationFieldRef(ProcessHolder holder, Element element, String annotationName, IRClass.Res res, boolean useElementName)
           
 
Methods inherited from class org.androidannotations.helper.TargetAnnotationHelper
actionName, annotationName, annotationName, annotationName, extractAnnotationClassParameter, extractAnnotationParameter, extractAnnotationValueParameter, getTarget, printAnnotationError, printAnnotationWarning
 
Methods inherited from class org.androidannotations.helper.AnnotationHelper
actionName, defaultResIdValue, defaultResName, enclosingElementHasEnhancedComponentAnnotation, extractAnnotationClassArrayParameter, extractAnnotationClassParameter, extractAnnotationClassParameter, extractAnnotationFieldRefs, extractAnnotationParameter, extractAnnotationResIdValueParameter, extractAnnotationResNameParameter, extractAnnotationResources, extractElementName, findAnnotationMirror, getElementUtils, getTypeUtils, hasOneOfClassAnnotations, hasOneOfClassAnnotations, 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,
                          String annotationName,
                          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(ProcessHolder holder,
                                                                    Element element,
                                                                    IRClass.Res res,
                                                                    boolean useElementName)

extractOneAnnotationFieldRef

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

extractOneAnnotationFieldRef

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


Copyright © 2010-2014. All Rights Reserved.