net.stickycode.metadata
Interface MetadataResolver


public interface MetadataResolver

Contract for algorithms that can detect marker annotations, and annotations with meta annotation markers.


Method Summary
 boolean annotatedWith(Class<? extends Annotation> annotation)
          See if the subject of resolution is annotated directly with the given annotation
 boolean metaAnnotatedWith(Class<? extends Annotation> annotation)
          See if the subject of resolution is annotated directly with the given annotation or if the given annotation annotates a marker annotation of the subject of resolution
 

Method Detail

metaAnnotatedWith

boolean metaAnnotatedWith(Class<? extends Annotation> annotation)
See if the subject of resolution is annotated directly with the given annotation or if the given annotation annotates a marker annotation of the subject of resolution


annotatedWith

boolean annotatedWith(Class<? extends Annotation> annotation)
See if the subject of resolution is annotated directly with the given annotation



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