Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.test.runner
Class AnnotationScanner

java.lang.Object
  extended by org.nuxeo.runtime.test.runner.AnnotationScanner

public class AnnotationScanner
extends java.lang.Object

Author:
Bogdan Stefanescu

Constructor Summary
AnnotationScanner()
           
 
Method Summary
 java.util.List<? extends java.lang.annotation.Annotation> getAnnotations(java.lang.Class<?> clazz)
           
<T extends java.lang.annotation.Annotation>
java.util.List<T>
getAnnotations(java.lang.Class<?> clazz, java.lang.Class<T> annotationType)
           
<T extends java.lang.annotation.Annotation>
T
getFirstAnnotation(java.lang.Class<?> clazz, java.lang.Class<T> annotationType)
           
 void scan(java.lang.Class<?> clazz)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationScanner

public AnnotationScanner()
Method Detail

scan

public void scan(java.lang.Class<?> clazz)

getAnnotations

public java.util.List<? extends java.lang.annotation.Annotation> getAnnotations(java.lang.Class<?> clazz)

getFirstAnnotation

public <T extends java.lang.annotation.Annotation> T getFirstAnnotation(java.lang.Class<?> clazz,
                                                                        java.lang.Class<T> annotationType)

getAnnotations

public <T extends java.lang.annotation.Annotation> java.util.List<T> getAnnotations(java.lang.Class<?> clazz,
                                                                                    java.lang.Class<T> annotationType)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.