Java 类com.google.inject.ScopeAnnotation 实例源码

项目:n4js    文件:ScopeManager.java   
/**
 * 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);
}