com.googlecode.androidannotations.helper
Class IdValidatorHelper

java.lang.Object
  extended by com.googlecode.androidannotations.helper.ValidatorHelper
      extended by com.googlecode.androidannotations.helper.IdValidatorHelper

public class IdValidatorHelper
extends ValidatorHelper


Nested Class Summary
static class IdValidatorHelper.FallbackStrategy
           
 
Field Summary
 
Fields inherited from class com.googlecode.androidannotations.helper.ValidatorHelper
annotationHelper
 
Constructor Summary
IdValidatorHelper(IdAnnotationHelper idAnnotationHelper)
           
 
Method Summary
 void annotationParameterIsOptionalValidResId(Element element, IRClass.Res res, String parameterName, IsValid valid)
           
 void annotationValuePositiveAndInAShort(Element element, IsValid valid, int value)
           
 void resIdsExist(Element element, IRClass.Res res, IdValidatorHelper.FallbackStrategy fallbackStrategy, IsValid valid)
           
 void uniqueId(Element element, AnnotationElements validatedElements, IsValid valid)
           
 
Methods inherited from class com.googlecode.androidannotations.helper.ValidatorHelper
allowedType, androidService, applicationRegistered, canBeSavedAsInstanceState, componentRegistered, componentRegistered, doesNotExtendOtherInterfaces, doesNotReturnArray, doesNotReturnPrimitive, doesntThrowException, elementHasAnnotation, elementHasAnnotation, elementHasAnnotationContainsIn, elementHasGetOrPostAnnotation, elementHasMethodRestAnnotation, elementHasRestAnnotation, elementHasRestAnnotationOrEnclosingElementHasRestAnnotationAndElementHasMethodRestAnnotation, enclosingElementHasAnnotation, enclosingElementHasEActivity, enclosingElementHasEActivityOrEFragment, enclosingElementHasEBeanAnnotation, enclosingElementHasEFragment, enclosingElementHasEnhancedComponentAnnotation, enclosingElementHasEnhancedViewSupportAnnotation, enclosingElementHasRestAnnotation, extendsActivity, extendsApplication, extendsContext, extendsFragment, extendsOneOfTypes, extendsOrmLiteDaoWithValidModelParameter, extendsProvider, extendsReceiver, extendsService, extendsTextView, extendsType, extendsView, extendsViewGroup, hasASqlLiteOpenHelperParameterizedType, hasCorrectDefaultAnnotation, hasEActivity, hasEActivityOrEFragment, hasEmptyConstructor, hasEmptyOrContextConstructor, hasHttpHeadersReturnType, hasOneMotionEventOrTwoMotionEventViewParameters, hasOneOrTwoParametersAndFirstIsBoolean, hasOneOrTwoParametersAndFirstIsDb, hasOrmLiteJars, hasRoboGuiceJars, hasSetOfHttpMethodReturnType, hasSpringAndroidJars, hasValidLogLevel, hasViewByIdAnnotation, isDeclaredType, isInterface, isNotFinal, isNotPrivate, isNotSynchronized, isPrefMethod, isSharedPreference, isTopLevel, notAlreadyValidated, returnTypeIsVoid, returnTypeIsVoidOrBoolean, returnTypeNotGenericUnlessResponseEntity, throwsOnlyRestClientException, typeHasAnnotation, typeHasAnnotation, typeOrTargetValueHasAnnotation, unannotatedMethodReturnsRestTemplate, upperclassOfRegisteredApplication, urlVariableNamesExistInParameters, validateConverters, zeroOrOneBundleParameter, zeroOrOneMenuItemParameters, zeroOrOneParameter, zeroOrOneSpecificParameter, zeroOrOneSpecificParameter, zeroOrOneViewParameters, zeroParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdValidatorHelper

public IdValidatorHelper(IdAnnotationHelper idAnnotationHelper)
Method Detail

resIdsExist

public void resIdsExist(Element element,
                        IRClass.Res res,
                        IdValidatorHelper.FallbackStrategy fallbackStrategy,
                        IsValid valid)

annotationParameterIsOptionalValidResId

public void annotationParameterIsOptionalValidResId(Element element,
                                                    IRClass.Res res,
                                                    String parameterName,
                                                    IsValid valid)

uniqueId

public void uniqueId(Element element,
                     AnnotationElements validatedElements,
                     IsValid valid)

annotationValuePositiveAndInAShort

public void annotationValuePositiveAndInAShort(Element element,
                                               IsValid valid,
                                               int value)


Copyright © 2010-2013. All Rights Reserved.