net.sf.staccatocommons.instrument.context
Interface ArgumentAnnotationContext
- All Superinterfaces:
- AnnotationContext
- All Known Implementing Classes:
- DefaultArgumentAnnotationContext
public interface ArgumentAnnotationContext
- extends AnnotationContext
The context of an annotated argument
- Author:
- flbulgarelli
getArgumentBehavior
javassist.CtBehavior getArgumentBehavior()
- Returns:
- the behavior whose parameter is annotated
isConstructorArgument
boolean isConstructorArgument()
- Returns:
- if the annotated argument is a constructor or method parameter
getArgumentNumber
int getArgumentNumber()
- Returns:
- the annotated argument number, zero based
getArgumentIdentifier
String getArgumentIdentifier()
- Returns:
- the annotated argument name
Copyright © 2010-2012 Staccatocommons. All Rights Reserved.