com.lexicalscope.fluentreflection
Interface FluentAnnotated

All Known Subinterfaces:
FluentAccess<T>, FluentClass<T>, FluentConstructor<T>, FluentField, FluentMember, FluentMethod, FluentObject<T>

public interface FluentAnnotated

Reflection access to an annotated program element.

Author:
tim

Method Summary
 boolean annotatedWith(Class<? extends Annotation> annotationClass)
           
 boolean annotatedWith(org.hamcrest.Matcher<? super FluentClass<?>> annotationMatcher)
           
<A extends Annotation>
A
annotation(Class<A> annotationClass)
           
 FluentClass<?> annotation(org.hamcrest.Matcher<? super FluentClass<?>> annotationMatcher)
           
 

Method Detail

annotation

FluentClass<?> annotation(org.hamcrest.Matcher<? super FluentClass<?>> annotationMatcher)

annotation

<A extends Annotation> A annotation(Class<A> annotationClass)

annotatedWith

boolean annotatedWith(Class<? extends Annotation> annotationClass)

annotatedWith

boolean annotatedWith(org.hamcrest.Matcher<? super FluentClass<?>> annotationMatcher)


Copyright © 2011-2012 lexicalscope. All Rights Reserved.