net.sf.staccatocommons.instrument.handler
Interface ArgumentAnnotationHandler<A extends Annotation>
- All Superinterfaces:
- AnnotationHandler<A>
public interface ArgumentAnnotationHandler<A extends Annotation>
- extends AnnotationHandler<A>
Interface for annotation handlers that can process annotations in method or
constructor arguments
- Author:
- flbulgarelli
- See Also:
AnnotationHandler
processAnnotatedArgument
void processAnnotatedArgument(@NonNull
A annotation,
@NonNull
ArgumentAnnotationContext context)
throws javassist.CannotCompileException,
javassist.NotFoundException
- Process an annotation discovered by the instrumenter, instrumenting the
given
context where the annoation was found
- Parameters:
annotation - the annotation to processcontext - the instrumentable context where the annotation was found
- Throws:
javassist.CannotCompileException - if any compilation errors occurs
javassist.NotFoundException - if any type needed by instrumentation was not found
Copyright © 2010-2012 Staccatocommons. All Rights Reserved.