@Override public <T extends Annotation> T getAnnotation(Class<T> annotationType) { T fromPrimary = primary.getAnnotation(annotationType); if (fromPrimary != null) return fromPrimary; return isInherited(annotationType) ? inherited.getAnnotation(annotationType) : null; } }
@Override public <T extends Annotation> boolean hasAnnotation(Class<T> annotationType) { if (primary.hasAnnotation(annotationType)) return true; return isInherited(annotationType) && inherited.hasAnnotation(annotationType); }
@Override public <T extends Annotation> T getAnnotation(Class<T> annotationType) { T fromPrimary = primary.getAnnotation(annotationType); if (fromPrimary != null) return fromPrimary; return isInherited(annotationType) ? inherited.getAnnotation(annotationType) : null; } }
@Override public <T extends Annotation> boolean hasAnnotation(Class<T> annotationType) { if (primary.hasAnnotation(annotationType)) return true; return isInherited(annotationType) && inherited.hasAnnotation(annotationType); }
@Override public <T extends Annotation> T getAnnotation(Class<T> annotationType) { check(); return annotationAccess.getAnnotation(annotationType); }
@Override public <T extends Annotation> boolean hasAnnotation(Class<T> annotationType) { plasticClass.check(); return annotationAccess.hasAnnotation(annotationType); }
@Override public <T extends Annotation> T getAnnotation(Class<T> annotationType) { plasticClass.check(); return annotationAccess.getAnnotation(annotationType); }
@Override public <T extends Annotation> boolean hasAnnotation(Class<T> annotationType) { check(); return annotationAccess.hasAnnotation(annotationType); }
@Override public <T extends Annotation> T getAnnotation(Class<T> annotationType) { check(); return annotationAccess.getAnnotation(annotationType); }
@Override public <T extends Annotation> boolean hasAnnotation(Class<T> annotationType) { check(); return annotationAccess.hasAnnotation(annotationType); }
@Override public <T extends Annotation> T getAnnotation(Class<T> annotationType) { plasticClass.check(); return annotationAccess.getAnnotation(annotationType); }
@Override public <T extends Annotation> boolean hasAnnotation(Class<T> annotationType) { plasticClass.check(); return annotationAccess.hasAnnotation(annotationType); }