See: Description
Interface | Description |
---|---|
ByteCodeElement |
Implementations describe an element represented in byte code, i.e.
|
ExceptionMethod.ConstructionDelegate |
A construction delegate is responsible for calling a isThrowable's constructor.
|
FieldAccessor.AssignerConfigurable |
A field accessor that can be configured to use a given assigner and runtime type use configuration.
|
FieldAccessor.FieldDefinable |
Determines a field accessor that accesses a field of a given name which might not yet be
defined.
|
FieldAccessor.FieldLocator |
A field locator allows to determine a field name for a given method.
|
FieldAccessor.FieldLocator.Factory |
A factory for creating a
FieldAccessor.FieldLocator . |
FieldAccessor.OwnerTypeLocatable |
A field accessor that can be configured to locate a field in a specific manner.
|
FixedValue.AssignerConfigurable |
Represents a fixed value instrumentation that is using a default assigner for attempting to assign
the fixed value to the return type of the instrumented method.
|
Forwarding.PreparationHandler |
A handler for preparing a
Forwarding instrumentation. |
Instrumentation |
An instrumentation is responsible for implementing (or not implementing) methods of a dynamically created type.
|
Instrumentation.Context |
The context for an instrumentation application.
|
Instrumentation.Context.Default.AuxiliaryTypeNamingStrategy |
Representation of a naming strategy for an auxiliary type.
|
Instrumentation.Context.ExtractableView |
Represents an extractable view of an
Instrumentation.Context which
allows the retrieval of any registered auxiliary type. |
Instrumentation.Context.ExtractableView.InjectedCode |
When draining an instrumentation context, a type initializer might be written to the created class
file.
|
Instrumentation.SpecialMethodInvocation |
Represents an type-specific method invocation on the current instrumented type which is not legal from outside
the type such as a super method or default method invocation.
|
Instrumentation.Target |
The target of an instrumentation.
|
Instrumentation.Target.Factory |
A factory for creating an
Instrumentation.Target . |
Instrumentation.Target.MethodLookup |
A strategy for looking up a method.
|
LoadedTypeInitializer |
Implementations of this interface explicitly initialize a loaded type.
|
MethodDelegation.InstrumentationDelegate |
An instrumentation delegate is responsible for executing the actual method delegation.
|
ModifierContributor |
An element that describes a type modifier as described in the
JVMS.
|
ModifierContributor.ForField |
A marker interface for modifiers that can be applied to fields.
|
ModifierContributor.ForMethod |
A marker interface for modifiers that can be applied to methods.
|
ModifierContributor.ForType |
A marker interface for modifiers that can be applied to types.
|
ModifierReviewable |
Implementations of this interface can be described in terms of a Java modifier.
|
Class | Description |
---|---|
DefaultMethodCall |
This
Instrumentation invokes a default method for the methods it instruments. |
ExceptionMethod |
This instrumentation causes a
Throwable to be thrown when the instrumented method is invoked. |
ExceptionMethod.ConstructionDelegate.ForDefaultConstructor |
A construction delegate that calls the default constructor.
|
ExceptionMethod.ConstructionDelegate.ForStringConstructor |
A construction delegate that calls a constructor that takes a single string as its argument.
|
FieldAccessor |
Defines a method to access a given field by following the Java bean conventions for getters and setters:
Getter: A method named
getFoo() will be instrumented to read and return the value of a field foo
or another field if one was specified explicitly. |
FieldAccessor.FieldLocator.ForGivenType |
A field locator that only looks up fields that are defined for a given type.
|
FieldAccessor.FieldLocator.ForInstrumentedTypeHierarchy |
A field locator that finds a type by traversing the type hierarchy beginning with fields defined
in the most specific subclass traversing the class hierarchy down to the least specific type.
|
FieldAccessor.ForBeanProperty |
Implementation of a field accessor instrumentation where a field is identified by a method's name following
the Java specification for bean properties.
|
FieldAccessor.ForNamedField |
Implementation of a field accessor instrumentation where the field name is given explicitly.
|
FixedValue |
This instrumentation returns a fixed value for a method.
|
FixedValue.ForPoolValue |
A fixed value instrumentation that represents its fixed value as a value that is written to the instrumented
class's constant pool.
|
FixedValue.ForStaticField |
A fixed value instrumentation that represents its fixed value as a static field of the instrumented class.
|
Forwarding |
This instrumentation forwards method invocations to another instance.
|
Forwarding.PreparationHandler.ForStaticInstance |
A preparation handler for an explicit instance that is stored in a
static field. |
Instrumentation.Compound |
A compound instrumentation that allows to combine several instrumentations.
|
Instrumentation.Context.Default |
A default implementation of an
Instrumentation.Context.ExtractableView
which serves as its own AuxiliaryType.MethodAccessorFactory . |
Instrumentation.Context.Default.AuxiliaryTypeNamingStrategy.SuffixingRandom |
A naming strategy for an auxiliary type which returns the instrumented type's name with a fixed extension
and a random number as a suffix.
|
Instrumentation.SpecialMethodInvocation.Simple |
A canonical implementation of a
Instrumentation.SpecialMethodInvocation . |
Instrumentation.Target.AbstractBase |
An abstract base implementation for an
Instrumentation.Target . |
InvocationHandlerAdapter |
An adapter for adapting an
InvocationHandler . |
LoadedTypeInitializer.Compound |
A compound loaded type initializer that combines several type initializers.
|
LoadedTypeInitializer.ForStaticField<T> |
A type initializer for setting a value for a static field.
|
MethodDelegation |
This instrumentation delegates an method call to another method which can either be
static by providing
a reference to a Class or an instance method when another object is provided. |
MethodDelegation.InstrumentationDelegate.ForConstruction |
An instrumentation that creates new instances of a given type.
|
MethodDelegation.InstrumentationDelegate.ForInstanceField |
An instrumentation applied on an instance field.
|
MethodDelegation.InstrumentationDelegate.ForStaticFieldInstance |
An instrumentation applied on a static field.
|
ModifierReviewable.AbstractModifierReviewable |
An abstract base implementation of a
ModifierReviewable class. |
Enum | Description |
---|---|
FieldAccessor.FieldLocator.ForInstrumentedType |
A factory that only looks up fields in the instrumented type.
|
FieldAccessor.FieldLocator.ForInstrumentedTypeHierarchy.Factory |
A field locator factory creating a
FieldAccessor.FieldLocator.ForInstrumentedTypeHierarchy . |
Forwarding.PreparationHandler.ForInstanceField |
A preparation handler for an unset instance that is stored in an instance field.
|
Forwarding.PreparationHandler.ForStaticField |
A preparation handler for an unset instance that is stored in a
static field. |
Instrumentation.Context.ExtractableView.InjectedCode.None |
A canonical implementation of non-applicable injected code.
|
Instrumentation.ForAbstractMethod |
An instrumentation for an abstract method that does not append any code and will throw an exception if it is
attempted to be composed with other methods that do provide an implementation.
|
Instrumentation.SpecialMethodInvocation.Illegal |
A canonical implementation of an illegal
Instrumentation.SpecialMethodInvocation . |
Instrumentation.Target.MethodLookup.Default |
Default implementations of a
Instrumentation.Target.MethodLookup . |
LoadedTypeInitializer.NoOp |
A loaded type initializer that does not do anything.
|
MethodDelegation.InstrumentationDelegate.ForStaticMethod |
An instrumentation applied to a static method.
|
StubMethod |
This instrumentation creates a method stub which does nothing but returning the default value of the return
type of the method.
|
SuperMethodCall |
This instrumentation will create a new method which simply calls its super method.
|
ExceptionMethod
: This interception allows to throw
Throwable
instances on a method call.FieldAccessor
: A field accessor allows to read or write a class's field
value according to the Java bean specification, i.e. implements setter and getter methods.InvocationHandlerAdapter
: An adapter for instrumenting methods by
delegating method calls to a InvocationHandler
which is already used for Java proxies.MethodDelegation
: Allows to delegate a method call to either a static
or to an instance method. The method delegation is determined by annotations on the target method.StubMethod
: A stub method overrides a method by an empty implementation
that only returns the method's return type's default value.SuperMethodCall
: This instrumentation calls a method's super implementation.
This instrumentation is handy when annotations should be added to a method without changing the method's
implementation.Copyright © 2014. All rights reserved.