public void enclosingElementHasEnhancedComponentAnnotation(Element element, ElementValidation valid) { enclosingElementHasOneOfAnnotations(element, VALID_ENHANCED_COMPONENT_ANNOTATIONS, valid); }
public void enclosingElementHasEnhancedViewSupportAnnotation(Element element, ElementValidation valid) { enclosingElementHasOneOfAnnotations(element, VALID_ENHANCED_VIEW_SUPPORT_ANNOTATIONS, valid); }
public void enclosingElementHasEActivityOrEFragment(Element element, ElementValidation valid) { List<Class<? extends Annotation>> validAnnotations = asList(EActivity.class, EFragment.class); enclosingElementHasOneOfAnnotations(element, validAnnotations, valid); }
public void enclosingElementHasEActivityOrEFragmentOrEServiceOrEIntentServiceOrEViewOrEViewGroup(Element element, ElementValidation valid) { List<Class<? extends Annotation>> validAnnotations = asList(EActivity.class, EFragment.class, EService.class, EIntentService.class, EView.class, EViewGroup.class); enclosingElementHasOneOfAnnotations(element, validAnnotations, valid); }
public void enclosingElementHasAnnotation(Class<? extends Annotation> annotation, Element element, ElementValidation validation) { enclosingElementHasOneOfAnnotations(element, Collections.<Class<? extends Annotation>> singletonList(annotation), validation); }
public void enclosingElementHasEActivityOrEFragmentOrEViewOrEViewGroup(Element element, ElementValidation valid) { List<Class<? extends Annotation>> validAnnotations = asList(EActivity.class, EFragment.class, EView.class, EViewGroup.class); enclosingElementHasOneOfAnnotations(element, validAnnotations, valid); }
public void enclosingElementHasAndroidAnnotation(Element element, ElementValidation valid) { enclosingElementHasOneOfAnnotations(element, environment().getGeneratingAnnotations(), valid); }
public void enclosingElementHasEnhancedComponentAnnotation(Element element, ElementValidation valid) { enclosingElementHasOneOfAnnotations(element, VALID_ENHANCED_COMPONENT_ANNOTATIONS, valid); }
public void enclosingElementHasEnhancedViewSupportAnnotation(Element element, ElementValidation valid) { enclosingElementHasOneOfAnnotations(element, VALID_ENHANCED_VIEW_SUPPORT_ANNOTATIONS, valid); }
public void enclosingElementHasEActivityOrEFragment(Element element, ElementValidation valid) { List<Class<? extends Annotation>> validAnnotations = asList(EActivity.class, EFragment.class); enclosingElementHasOneOfAnnotations(element, validAnnotations, valid); }
public void enclosingElementHasAnnotation(Class<? extends Annotation> annotation, Element element, ElementValidation validation) { enclosingElementHasOneOfAnnotations(element, Collections.<Class<? extends Annotation>> singletonList(annotation), validation); }
public void enclosingElementHasEActivityOrEFragmentOrEViewOrEViewGroup(Element element, ElementValidation valid) { List<Class<? extends Annotation>> validAnnotations = asList(EActivity.class, EFragment.class, EView.class, EViewGroup.class); enclosingElementHasOneOfAnnotations(element, validAnnotations, valid); }
public void enclosingElementHasEActivityOrEFragmentOrEServiceOrEIntentServiceOrEViewOrEViewGroup(Element element, ElementValidation valid) { List<Class<? extends Annotation>> validAnnotations = asList(EActivity.class, EFragment.class, EService.class, EIntentService.class, EView.class, EViewGroup.class); enclosingElementHasOneOfAnnotations(element, validAnnotations, valid); }
public void enclosingElementHasAndroidAnnotation(Element element, ElementValidation valid) { enclosingElementHasOneOfAnnotations(element, environment().getGeneratingAnnotations(), valid); }