org.apache.commons.classscan.model
Interface MetaParameter

All Known Subinterfaces:
SpiMetaParameter
All Known Implementing Classes:
BcelParameter

public interface MetaParameter

Metadata about a method or constructor parameter


Method Summary
 MetaAnnotation getAnnotation(String annotationName)
          Get metadata about a particular annotation on the parameter.
 Set<? extends MetaAnnotation> getAnnotations()
          Get metadata about the annotations on the parameter.
 MetaType getType()
          Get metadata about the type of the parameter
 

Method Detail

getAnnotations

Set<? extends MetaAnnotation> getAnnotations()
Get metadata about the annotations on the parameter.

Returns:
A read-only set of annotations

getAnnotation

MetaAnnotation getAnnotation(String annotationName)
Get metadata about a particular annotation on the parameter.

Parameters:
annotationName - The name of the annotation desired
Returns:
The annotation information, or null if not specified on the corresponding parameter

getType

MetaType getType()
Get metadata about the type of the parameter



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