org.apache.commons.classscan.model
Interface MetaAnnotation

All Superinterfaces:
HasName
All Known Subinterfaces:
SpiMetaAnnotation
All Known Implementing Classes:
BcelAnnotation

public interface MetaAnnotation
extends HasName

Metadata about an Annotation


Nested Class Summary
static interface MetaAnnotation.EnumValue
          Metadata about an Annotation Enum value
static interface MetaAnnotation.Property
          Metadata about an Annotation property
 
Method Summary
 String getName()
          Get the name of the Annotation
 Set<? extends MetaAnnotation.Property> getProperties()
          Get metadata about the properties of the corresponding Annotation
 MetaAnnotation.Property getProperty(String propertyName)
          Get a single property of the corresponding Annotation
 

Method Detail

getName

String getName()
Get the name of the Annotation

Specified by:
getName in interface HasName

getProperties

Set<? extends MetaAnnotation.Property> getProperties()
Get metadata about the properties of the corresponding Annotation

Returns:
The read-only set of properties specified in the annotation

getProperty

MetaAnnotation.Property getProperty(String propertyName)
Get a single property of the corresponding Annotation

Parameters:
propertyName - The name of the Property desired.
Returns:
The Property; or null, if the no Property exists with the given name.


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.