@Override public Annotations apply(AnnotatedElement input) { return new Annotations(internalGetAnnotations(input)); } });
@Override public AnnotationClass<?> apply(Class<? extends Annotation> input) { boolean scope = input.isAnnotationPresent(NormalScope.class) || input.isAnnotationPresent(Scope.class) || store.isExtraScope(input); Method repeatableAnnotationAccessor = Annotations.getRepeatableAnnotationAccessor(input); Set<Annotation> metaAnnotations = ImmutableSet.of(internalGetAnnotations(input)); return new AnnotationClassImpl<>(scope, repeatableAnnotationAccessor, metaAnnotations); } }
@Override public AnnotationClass<?> apply(Class<? extends Annotation> input) { boolean scope = input.isAnnotationPresent(NormalScope.class) || input.isAnnotationPresent(Scope.class) || store.isExtraScope(input); Method repeatableAnnotationAccessor = Annotations.getRepeatableAnnotationAccessor(input); Set<Annotation> metaAnnotations = ImmutableSet.of(internalGetAnnotations(input)); return new AnnotationClassImpl<>(scope, repeatableAnnotationAccessor, metaAnnotations); } }
@Override public AnnotationClass<?> apply(Class<? extends Annotation> input) { boolean scope = input.isAnnotationPresent(NormalScope.class) || input.isAnnotationPresent(Scope.class) || store.isExtraScope(input); Method repeatableAnnotationAccessor = Annotations.getRepeatableAnnotationAccessor(input); Set<Annotation> metaAnnotations = ImmutableSet.of(internalGetAnnotations(input)); return new AnnotationClassImpl<>(scope, repeatableAnnotationAccessor, metaAnnotations); } }
@Override public AnnotationClass<?> apply(Class<? extends Annotation> input) { boolean scope = input.isAnnotationPresent(NormalScope.class) || input.isAnnotationPresent(Scope.class) || store.isExtraScope(input); Method repeatableAnnotationAccessor = Annotations.getRepeatableAnnotationAccessor(input); Set<Annotation> metaAnnotations = ImmutableSet.of(internalGetAnnotations(input)); return new AnnotationClassImpl<>(scope, repeatableAnnotationAccessor, metaAnnotations); } }
@Override public AnnotationClass<?> apply(Class<? extends Annotation> input) { boolean scope = input.isAnnotationPresent(NormalScope.class) || input.isAnnotationPresent(Scope.class) || store.isExtraScope(input); Method repeatableAnnotationAccessor = Annotations.getRepeatableAnnotationAccessor(input); Set<Annotation> metaAnnotations = ImmutableSet.of(internalGetAnnotations(input)); return new AnnotationClassImpl<>(scope, repeatableAnnotationAccessor, metaAnnotations); } }