org.jbehave.core.configuration
Class AnnotationFinder

java.lang.Object
  extended by org.jbehave.core.configuration.AnnotationFinder

public class AnnotationFinder
extends java.lang.Object


Constructor Summary
AnnotationFinder(java.lang.Class<?> annotatedClass)
           
 
Method Summary
<T> java.util.List<java.lang.Class<T>>
getAnnotatedClasses(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass, java.lang.Class<T> type, java.lang.String memberName)
           
<T> T
getAnnotatedValue(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass, java.lang.Class<T> memberType, java.lang.String memberName)
           
<T> java.util.List<T>
getAnnotatedValues(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass, java.lang.Class<T> type, java.lang.String memberName)
           
 boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
           
 boolean isAnnotationValuePresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass, java.lang.String memberName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationFinder

public AnnotationFinder(java.lang.Class<?> annotatedClass)
Method Detail

isAnnotationPresent

public boolean isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)

isAnnotationValuePresent

public boolean isAnnotationValuePresent(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
                                        java.lang.String memberName)

getAnnotatedValue

public <T> T getAnnotatedValue(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
                               java.lang.Class<T> memberType,
                               java.lang.String memberName)

getAnnotatedValues

public <T> java.util.List<T> getAnnotatedValues(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
                                                java.lang.Class<T> type,
                                                java.lang.String memberName)

getAnnotatedClasses

public <T> java.util.List<java.lang.Class<T>> getAnnotatedClasses(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass,
                                                                  java.lang.Class<T> type,
                                                                  java.lang.String memberName)


Copyright © 2003-2010. All Rights Reserved.