org.apache.commons.classscan.bcel
Class BcelParameter

java.lang.Object
  extended by org.apache.commons.classscan.bcel.BcelParameter
All Implemented Interfaces:
MetaParameter, HasResolve, SpiMetaParameter

public class BcelParameter
extends Object
implements SpiMetaParameter


Constructor Summary
BcelParameter(org.apache.bcel.generic.Type argType, org.apache.bcel.classfile.ParameterAnnotationEntry annotationEntry)
           
 
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
 boolean resolve(SpiMetaClassLoader classLoader)
          Resolve names into model entries
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BcelParameter

public BcelParameter(org.apache.bcel.generic.Type argType,
                     org.apache.bcel.classfile.ParameterAnnotationEntry annotationEntry)
Method Detail

resolve

public boolean resolve(SpiMetaClassLoader classLoader)
Description copied from interface: HasResolve
Resolve names into model entries

Specified by:
resolve in interface HasResolve

getAnnotations

public Set<? extends MetaAnnotation> getAnnotations()
Description copied from interface: MetaParameter
Get metadata about the annotations on the parameter.

Specified by:
getAnnotations in interface MetaParameter
Returns:
A read-only set of annotations

getAnnotation

public MetaAnnotation getAnnotation(String annotationName)
Description copied from interface: MetaParameter
Get metadata about a particular annotation on the parameter.

Specified by:
getAnnotation in interface MetaParameter
Parameters:
annotationName - The name of the annotation desired
Returns:
The annotation information, or null if not specified on the corresponding parameter

getType

public MetaType getType()
Description copied from interface: MetaParameter
Get metadata about the type of the parameter

Specified by:
getType in interface MetaParameter


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