net.stickycode.metadata
Interface ElementMetadataResolver


public interface ElementMetadataResolver

Resolver contract for fluently querying annotation metadata of the elements of the subject of resolution


Method Summary
 boolean haveAnyFieldsAnnotatedWith(Class<? extends Annotation>... annotations)
          Are any fields of the subject of resolution annotated with one of the given annotations
 boolean haveAnyFieldsMetaAnnotatedWith(Class<? extends Annotation>... annotations)
          Are any fields of the subject of resolution annotated with one of the given annotations or annotations annotated by the given annotations
 boolean haveAnyMethodsAnnotatedWith(Class<? extends Annotation>... annotations)
          Are any methods of the subject of resolution annotated with one of the given annotations
 boolean haveAnyMethodsMetaAnnotatedWith(Class<? extends Annotation>... annotations)
          Are any methods of the subject of resolution annotated with one of the given annotations or annotations annotated by the given annotations
 

Method Detail

haveAnyMethodsAnnotatedWith

boolean haveAnyMethodsAnnotatedWith(Class<? extends Annotation>... annotations)
Are any methods of the subject of resolution annotated with one of the given annotations


haveAnyMethodsMetaAnnotatedWith

boolean haveAnyMethodsMetaAnnotatedWith(Class<? extends Annotation>... annotations)
Are any methods of the subject of resolution annotated with one of the given annotations or annotations annotated by the given annotations


haveAnyFieldsAnnotatedWith

boolean haveAnyFieldsAnnotatedWith(Class<? extends Annotation>... annotations)
Are any fields of the subject of resolution annotated with one of the given annotations


haveAnyFieldsMetaAnnotatedWith

boolean haveAnyFieldsMetaAnnotatedWith(Class<? extends Annotation>... annotations)
Are any fields of the subject of resolution annotated with one of the given annotations or annotations annotated by the given annotations



Copyright © 2011-2012 RedEngine Ltd. All Rights Reserved.