AnnotatedMethodImpl(AnnotatedMethodConfiguratorImpl<X> configurator) { this.delegate = configurator.getAnnotated(); this.annotations = new Annotations(configurator); this.parameters = configurator.getParams().stream().map((c) -> new AnnotatedParameterImpl<X>(c)).collect(ImmutableList.collector()); }
@Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { return annotations.isAnnotationPresent(annotationType); }
@Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { return annotations.isAnnotationPresent(annotationType); }
@Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { return annotations.isAnnotationPresent(annotationType); }
@Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { return annotations.getAnnotation(annotationType); }
@Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { return annotations.getAnnotation(annotationType); }
@Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { return annotations.isAnnotationPresent(annotationType); }
@Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { return annotations.isAnnotationPresent(annotationType); }
@Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { return annotations.getAnnotation(annotationType); }
AnnotatedFieldImpl(AnnotatedFieldConfiguratorImpl<X> configurator) { this.delegate = configurator.getAnnotated(); this.annotations = new Annotations(configurator); }
@Override public Set<Annotation> getAnnotations() { return annotations.get(); }
@Override public Set<Annotation> getAnnotations() { return annotations.get(); }
@Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { return annotations.isAnnotationPresent(annotationType); }
@Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { return annotations.isAnnotationPresent(annotationType); }
@Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { return annotations.isAnnotationPresent(annotationType); }
@Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { return annotations.isAnnotationPresent(annotationType); }
@Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { return annotations.isAnnotationPresent(annotationType); }
@Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { return annotations.getAnnotation(annotationType); }
@Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { return annotations.getAnnotation(annotationType); }
@Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { return annotations.getAnnotation(annotationType); }