bpiwowar.argparser
Class ListAnnotationMap

java.lang.Object
  extended by bpiwowar.argparser.ListAnnotationMap
All Implemented Interfaces:
AnnotationMap

public class ListAnnotationMap
extends Object
implements AnnotationMap

An annotation map provided by a list

Author:
B. Piwowarski

Constructor Summary
ListAnnotationMap(Annotation[] list)
           
 
Method Summary
<T extends Annotation>
T
getAnnotation(Class<T> annotationClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListAnnotationMap

public ListAnnotationMap(Annotation[] list)
Method Detail

getAnnotation

public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
Specified by:
getAnnotation in interface AnnotationMap


Copyright © 2013. All Rights Reserved.