/** * Tells if the given annotation is a Google Guice "scope annotation", i.e. if the annotation class is itself * annotated with <code>@ScopeAnnotation</code>. */ public static final boolean isScopeAnnotation(Class<? extends Annotation> annotationClass) { return annotationClass.isAnnotationPresent(ScopeAnnotation.class); }