A C D E G I L M N P R S

A

AbstractActivationAnnotationHandler<A extends Annotation> - Class in net.sf.staccatocommons.instrument.handler.deactivator
 
AbstractActivationAnnotationHandler() - Constructor for class net.sf.staccatocommons.instrument.handler.deactivator.AbstractActivationAnnotationHandler
 
AbstractAnnotationContext - Class in net.sf.staccatocommons.instrument.context.internal
 
AbstractAnnotationContext(ClassPool, Logger) - Constructor for class net.sf.staccatocommons.instrument.context.internal.AbstractAnnotationContext
Creates a new AbstractAnnotationContext
activate() - Method in interface net.sf.staccatocommons.instrument.handler.deactivator.Deactivable
Requests the handler to be deactivated.
activate() - Method in class net.sf.staccatocommons.instrument.handler.deactivator.StackedDeactivableSupport
 
activateAll() - Method in class net.sf.staccatocommons.instrument.handler.deactivator.AbstractActivationAnnotationHandler
Activates all the registered Deactivable handlers
addAnnotationHanlder(AnnotationHandler<?>) - Method in interface net.sf.staccatocommons.instrument.config.InstrumenterConfiguration
Register an annotation handler to this instrumenter that will be notified to process an annotation each time one of the type returned by AnnotationHandler.getSupportedAnnotationType() is found.
addAnnotationHanlder(AnnotationHandler) - Method in class net.sf.staccatocommons.instrument.internal.InstrumenterImpl
 
addDeactivable(Deactivable) - Method in class net.sf.staccatocommons.instrument.handler.deactivator.AbstractActivationAnnotationHandler
Register a deactivable object that will be activated or deactivated after the occurrence certain annotation processing events
AnnotationContext - Interface in net.sf.staccatocommons.instrument.context
Base interface for an annotated element context
AnnotationHandler<A extends Annotation> - Interface in net.sf.staccatocommons.instrument.handler
Superinterface for all annotation handlers.
ArgumentAnnotationContext - Interface in net.sf.staccatocommons.instrument.context
The context of an annotated argument
ArgumentAnnotationHandler<A extends Annotation> - Interface in net.sf.staccatocommons.instrument.handler
Interface for annotation handlers that can process annotations in method or constructor arguments

C

ClassAnnotationContext - Interface in net.sf.staccatocommons.instrument.context
The context of an annotated class
ClassAnnotationHandler<A extends Annotation> - Interface in net.sf.staccatocommons.instrument.handler
Interface for annotation handlers that can process annotations in methods.
ClassNames - Class in net.sf.staccatocommons.instrument.internal
 
ClassNames() - Constructor for class net.sf.staccatocommons.instrument.internal.ClassNames
 
configureInstrumenter(InstrumenterConfiguration) - Method in interface net.sf.staccatocommons.instrument.config.InstrumenterConfigurer
Configures the given instrumenter.
ConstructorAnnotationContext - Interface in net.sf.staccatocommons.instrument.context
The context of an annotated constructor
ConstructorAnnotationHandler<A extends Annotation> - Interface in net.sf.staccatocommons.instrument.handler
 
createConfigurer() - Method in class net.sf.staccatocommons.instrument.maven.InstrumentMojoSupport
Create the instrumenter configurer

D

Deactivable - Interface in net.sf.staccatocommons.instrument.handler.deactivator
Interface for handlers that can be activated or deactivated when certain annotations are discovered
deactivate() - Method in interface net.sf.staccatocommons.instrument.handler.deactivator.Deactivable
Requests the handler to be activated.
deactivate() - Method in class net.sf.staccatocommons.instrument.handler.deactivator.StackedDeactivableSupport
 
deactivateAll() - Method in class net.sf.staccatocommons.instrument.handler.deactivator.AbstractActivationAnnotationHandler
Deactivates all the registered Deactivable handlers
DefaultArgumentAnnotationContext - Class in net.sf.staccatocommons.instrument.context.internal
 
DefaultArgumentAnnotationContext(ClassPool, Logger) - Constructor for class net.sf.staccatocommons.instrument.context.internal.DefaultArgumentAnnotationContext
Creates a new DefaultArgumentAnnotationContext
DefaultClassAnnotationContext - Class in net.sf.staccatocommons.instrument.context.internal
 
DefaultClassAnnotationContext(ClassPool, Logger, CtClass) - Constructor for class net.sf.staccatocommons.instrument.context.internal.DefaultClassAnnotationContext
Creates a new DefaultClassAnnotationContext
DefaultConstructorAnnotationContext - Class in net.sf.staccatocommons.instrument.context.internal
 
DefaultConstructorAnnotationContext(ClassPool, Logger) - Constructor for class net.sf.staccatocommons.instrument.context.internal.DefaultConstructorAnnotationContext
Creates a new DefaultConstructorAnnotationContext
DefaultMethodAnnotationContext - Class in net.sf.staccatocommons.instrument.context.internal
 
DefaultMethodAnnotationContext(ClassPool, Logger) - Constructor for class net.sf.staccatocommons.instrument.context.internal.DefaultMethodAnnotationContext
Creates a new DefaultMethodAnnotationContext

E

ensureConfigured() - Method in class net.sf.staccatocommons.instrument.internal.InstrumenterImpl
Ensures that at least a handler has being registered, and the instrumentation mark was set
execute() - Method in class net.sf.staccatocommons.instrument.maven.InstrumentMojoSupport
Executes the mojo

G

getAnnotatedClass() - Method in interface net.sf.staccatocommons.instrument.context.ClassAnnotationContext
Answers the annotated class
getAnnotatedClass() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultClassAnnotationContext
 
getArgumentBehavior() - Method in interface net.sf.staccatocommons.instrument.context.ArgumentAnnotationContext
 
getArgumentBehavior() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultArgumentAnnotationContext
 
getArgumentIdentifier() - Method in interface net.sf.staccatocommons.instrument.context.ArgumentAnnotationContext
 
getArgumentIdentifier() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultArgumentAnnotationContext
 
getArgumentNumber() - Method in interface net.sf.staccatocommons.instrument.context.ArgumentAnnotationContext
 
getArgumentNumber() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultArgumentAnnotationContext
 
getClass(String) - Method in interface net.sf.staccatocommons.instrument.context.AnnotationContext
Shortcut for getClassPoll().get(className)
getClass(String) - Method in class net.sf.staccatocommons.instrument.context.internal.AbstractAnnotationContext
 
getClassName(Directory, File) - Static method in class net.sf.staccatocommons.instrument.internal.ClassNames
Returns the class name of a given classFile
getClassPool() - Method in interface net.sf.staccatocommons.instrument.context.AnnotationContext
Returns the class pool in use by the instrumenter
getClassPool() - Method in class net.sf.staccatocommons.instrument.context.internal.AbstractAnnotationContext
 
getConstructor() - Method in interface net.sf.staccatocommons.instrument.context.ConstructorAnnotationContext
 
getConstructor() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultConstructorAnnotationContext
 
getDeclaringClass() - Method in interface net.sf.staccatocommons.instrument.context.AnnotationContext
Answers the class were the annotated element is declared.
getDeclaringClass() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultArgumentAnnotationContext
 
getDeclaringClass() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultClassAnnotationContext
 
getDeclaringClass() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultConstructorAnnotationContext
 
getDeclaringClass() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultMethodAnnotationContext
 
getElementType() - Method in interface net.sf.staccatocommons.instrument.context.AnnotationContext
Returns the type of the element annotated: When the annotated element is a class, the type is that class When the annotated element is a constructor, the type is the class that declared such constructor When the annotated element is a method, the type is the return type of the method When the annotated element is an argument, the type is argument type
getElementType() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultArgumentAnnotationContext
 
getElementType() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultClassAnnotationContext
 
getElementType() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultConstructorAnnotationContext
 
getElementType() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultMethodAnnotationContext
 
getLogger() - Method in class net.sf.staccatocommons.instrument.context.internal.AbstractAnnotationContext
 
getMarkAttributeName() - Method in interface net.sf.staccatocommons.instrument.config.InstrumentationMark
 
getMarkAttributeName() - Method in class net.sf.staccatocommons.instrument.config.SimpleInstrumentationMark
 
getMarkAttributeValue() - Method in interface net.sf.staccatocommons.instrument.config.InstrumentationMark
 
getMarkAttributeValue() - Method in class net.sf.staccatocommons.instrument.config.SimpleInstrumentationMark
 
getMethod() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultMethodAnnotationContext
 
getMethod() - Method in interface net.sf.staccatocommons.instrument.context.MethodAnnotationContext
 
getPackage() - Method in interface net.sf.staccatocommons.instrument.context.AnnotationContext
Answers the package of the annotated element
getPackage() - Method in class net.sf.staccatocommons.instrument.context.internal.AbstractAnnotationContext
 
getPresentAnnotationsTypes(Object[]) - Method in class net.sf.staccatocommons.instrument.context.internal.AbstractAnnotationContext
 
getReturnIdentifier() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultMethodAnnotationContext
 
getReturnIdentifier() - Method in interface net.sf.staccatocommons.instrument.context.MethodAnnotationContext
 
getSupportedAnnotationType() - Method in interface net.sf.staccatocommons.instrument.handler.AnnotationHandler
Answers the annotation this processor can process

I

InstrumentationMark - Interface in net.sf.staccatocommons.instrument.config
An instrumentation mark is pair of a string key and a byte array value that is inserted on each file processed by an instrumenter, in order to distinguish a processed from unprocessed class files.
InstrumentationRunner - Class in net.sf.staccatocommons.instrument
Instrumentation API entry point.
instrumentClass(CtClass) - Method in interface net.sf.staccatocommons.instrument.internal.Instrumenter
 
instrumentClass(CtClass) - Method in class net.sf.staccatocommons.instrument.internal.InstrumenterImpl
 
Instrumenter - Interface in net.sf.staccatocommons.instrument.internal
 
InstrumenterConfiguration - Interface in net.sf.staccatocommons.instrument.config
Instrumenter's interface for configuring it.
InstrumenterConfigurer - Interface in net.sf.staccatocommons.instrument.config
Interface for configuring an instrumenter.
InstrumenterImpl - Class in net.sf.staccatocommons.instrument.internal
 
InstrumenterImpl(ClassPool) - Constructor for class net.sf.staccatocommons.instrument.internal.InstrumenterImpl
Creates a new InstrumenterImpl
InstrumentMojoSupport - Class in net.sf.staccatocommons.instrument.maven
 
InstrumentMojoSupport(Mojo, String, Artifact, Collection<Artifact>) - Constructor for class net.sf.staccatocommons.instrument.maven.InstrumentMojoSupport
Creates a new InstrumentMojoSupport
isActive() - Method in class net.sf.staccatocommons.instrument.handler.deactivator.StackedDeactivableSupport
Answers if this Deactivable is active, that is, if the number of activations - times StackedDeactivableSupport.activate() has been sent to it - is greater than the number of deactivations - times StackedDeactivableSupport.deactivate() has been sent to it.
isConstructorArgument() - Method in interface net.sf.staccatocommons.instrument.context.ArgumentAnnotationContext
 
isConstructorArgument() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultArgumentAnnotationContext
 
isPublic() - Method in interface net.sf.staccatocommons.instrument.context.AnnotationContext
If this annotated contextis public, that is: When the annotated element is a class, method or constructor, whether it is marked with the Java public keyword When the annotated element is an argument, whether the enclosing CtBehavior is public
isPublic() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultArgumentAnnotationContext
 
isPublic() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultClassAnnotationContext
 
isPublic() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultConstructorAnnotationContext
 
isPublic() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultMethodAnnotationContext
 
isVoid() - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultMethodAnnotationContext
 
isVoid() - Method in interface net.sf.staccatocommons.instrument.context.MethodAnnotationContext
 

L

logDebugMessage(String, Object...) - Method in interface net.sf.staccatocommons.instrument.context.AnnotationContext
 
logDebugMessage(String, Object...) - Method in class net.sf.staccatocommons.instrument.context.internal.AbstractAnnotationContext
 
logErrorMessage(String, Object...) - Method in interface net.sf.staccatocommons.instrument.context.AnnotationContext
 
logErrorMessage(String, Object...) - Method in class net.sf.staccatocommons.instrument.context.internal.AbstractAnnotationContext
 
logInfoMessage(String, Object...) - Method in interface net.sf.staccatocommons.instrument.context.AnnotationContext
 
logInfoMessage(String, Object...) - Method in class net.sf.staccatocommons.instrument.context.internal.AbstractAnnotationContext
 
logWarnMessage(String, Object...) - Method in interface net.sf.staccatocommons.instrument.context.AnnotationContext
 
logWarnMessage(String, Object...) - Method in class net.sf.staccatocommons.instrument.context.internal.AbstractAnnotationContext
 

M

MethodAnnotationContext - Interface in net.sf.staccatocommons.instrument.context
The context of an annotated method
MethodAnnotationHandler<A extends Annotation> - Interface in net.sf.staccatocommons.instrument.handler
Interface for annotation handlers that can process annotations in methods.

N

net.sf.staccatocommons.instrument - package net.sf.staccatocommons.instrument
This package contain the entry point of the instrumentation ecosystem - the InstrumentationRunner, which is capable of scanning a directory an processing all the classes found on it
net.sf.staccatocommons.instrument.config - package net.sf.staccatocommons.instrument.config
 
net.sf.staccatocommons.instrument.context - package net.sf.staccatocommons.instrument.context
This package contains the interfaces that describe annotated element contexts, which contain all the contextual information that the annotation handlers will receive during processing.
net.sf.staccatocommons.instrument.context.internal - package net.sf.staccatocommons.instrument.context.internal
 
net.sf.staccatocommons.instrument.handler - package net.sf.staccatocommons.instrument.handler
This package contains the interfaces that describe annotation handlers, which are supposed to be implemented by clients in order to process their annotations
net.sf.staccatocommons.instrument.handler.deactivator - package net.sf.staccatocommons.instrument.handler.deactivator
 
net.sf.staccatocommons.instrument.internal - package net.sf.staccatocommons.instrument.internal
 
net.sf.staccatocommons.instrument.maven - package net.sf.staccatocommons.instrument.maven
 

P

postProcessAnnotatedClass(A, ClassAnnotationContext) - Method in interface net.sf.staccatocommons.instrument.handler.ClassAnnotationHandler
Process an annotation discovered in a clazz by the instrumenter, instrumenting the given context where the annotation was found.
postProcessAnnotatedConstructor(A, ConstructorAnnotationContext) - Method in interface net.sf.staccatocommons.instrument.handler.ConstructorAnnotationHandler
Process an annotation discovered in a constructor by the instrumenter, instrumenting the given context where the annotation was found.
postProcessAnnotatedMethod(A, MethodAnnotationContext) - Method in interface net.sf.staccatocommons.instrument.handler.MethodAnnotationHandler
Process an annotation discovered in a method by the instrumenter, instrumenting the given context where the annotation was found.
preProcessAnnotatedClass(A, ClassAnnotationContext) - Method in interface net.sf.staccatocommons.instrument.handler.ClassAnnotationHandler
Process an annotation discovered in a clazz by the instrumenter, instrumenting the given context where the annotation was found.
preProcessAnnotatedConstructor(A, ConstructorAnnotationContext) - Method in interface net.sf.staccatocommons.instrument.handler.ConstructorAnnotationHandler
Process an annotation discovered in a constructor by the instrumenter, instrumenting the given context where the annotation was found.
preProcessAnnotatedMethod(A, MethodAnnotationContext) - Method in interface net.sf.staccatocommons.instrument.handler.MethodAnnotationHandler
Process an annotation discovered in a method by the instrumenter, instrumenting the given context where the annotation was found.
processAnnotatedArgument(A, ArgumentAnnotationContext) - Method in interface net.sf.staccatocommons.instrument.handler.ArgumentAnnotationHandler
Process an annotation discovered by the instrumenter, instrumenting the given context where the annoation was found

R

runInstrumentation(InstrumenterConfigurer, Directory, String) - Static method in class net.sf.staccatocommons.instrument.InstrumentationRunner
Instruments the given directory, reading each .class file, processing it, and writing it back to the filesystem

S

setBehavior(CtBehavior) - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultArgumentAnnotationContext
 
setConstructor(CtConstructor) - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultConstructorAnnotationContext
 
setInstrumentationMark(InstrumentationMark) - Method in interface net.sf.staccatocommons.instrument.config.InstrumenterConfiguration
Sets the instrumentation mark this instrumenter will print in the instrumented classes.
setInstrumentationMark(InstrumentationMark) - Method in class net.sf.staccatocommons.instrument.internal.InstrumenterImpl
 
setMethod(CtMethod) - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultMethodAnnotationContext
 
setParameterNumber(int) - Method in class net.sf.staccatocommons.instrument.context.internal.DefaultArgumentAnnotationContext
Sets the zero-base argument number
SimpleInstrumentationMark - Class in net.sf.staccatocommons.instrument.config
Implementation of an InstrumentationMark where key and values are provided as attributes
SimpleInstrumentationMark(String, String) - Constructor for class net.sf.staccatocommons.instrument.config.SimpleInstrumentationMark
Creates a new SimpleInstrumentationMark
StackedDeactivableSupport - Class in net.sf.staccatocommons.instrument.handler.deactivator
 
StackedDeactivableSupport() - Constructor for class net.sf.staccatocommons.instrument.handler.deactivator.StackedDeactivableSupport
Creates a new StackedDeactivableSupport initially inactive

A C D E G I L M N P R S

Copyright © 2010-2012 Staccatocommons. All Rights Reserved.