org.androidannotations.helper
Class IdAnnotationHelper
java.lang.Object
org.androidannotations.helper.AnnotationHelper
org.androidannotations.helper.TargetAnnotationHelper
org.androidannotations.helper.IdAnnotationHelper
public class IdAnnotationHelper
- extends TargetAnnotationHelper
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.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 |
IdAnnotationHelper
public IdAnnotationHelper(ProcessingEnvironment processingEnv,
String annotationName,
IRClass rClass)
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.