Package | Description |
---|---|
net.bytebuddy.dynamic |
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
DynamicType.Builder.ExceptionDeclarableMethodInterception<S>
Defines an implementation for a method that was added to this instrumentation and allows to include
exception declarations for the newly defined method.
|
static interface |
DynamicType.Builder.OptionalMatchedMethodInterception<S>
An optional matched method interception allows to define an interception without requiring the definition
of an implementation.
|
Modifier and Type | Class and Description |
---|---|
protected class |
DynamicType.Builder.AbstractBase.DefaultExceptionDeclarableMethodInterception
A
DynamicType.Builder.ExceptionDeclarableMethodInterception which allows the
definition of exceptions for a recently defined method. |
protected class |
DynamicType.Builder.AbstractBase.DefaultMatchedMethodInterception
A
DynamicType.Builder.MatchedMethodInterception for which a method was recently
identified or defined such that an Implementation for these methods can
now be defined. |
protected class |
DynamicType.Builder.AbstractBase.DefaultOptionalMatchedMethodInterception
Allows for the direct implementation of an interface after its implementation was specified.
|
Modifier and Type | Method and Description |
---|---|
DynamicType.Builder.MatchedMethodInterception<T> |
DynamicType.Builder.constructor(ElementMatcher<? super MethodDescription> methodMatcher)
Selects a set of constructors of this type for implementation.
|
DynamicType.Builder.MatchedMethodInterception<S> |
DynamicType.Builder.AbstractBase.constructor(ElementMatcher<? super MethodDescription> methodMatcher) |
DynamicType.Builder.MatchedMethodInterception<U> |
DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder.constructor(ElementMatcher<? super MethodDescription> methodMatcher) |
DynamicType.Builder.MatchedMethodInterception<T> |
DynamicType.Builder.invokable(ElementMatcher<? super MethodDescription> methodMatcher)
Selects a set of byte code level methods, i.e.
|
DynamicType.Builder.MatchedMethodInterception<S> |
DynamicType.Builder.AbstractBase.invokable(ElementMatcher<? super MethodDescription> methodMatcher) |
DynamicType.Builder.MatchedMethodInterception<U> |
DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder.invokable(ElementMatcher<? super MethodDescription> methodMatcher) |
DynamicType.Builder.MatchedMethodInterception<T> |
DynamicType.Builder.invokable(LatentMethodMatcher methodMatcher)
Selects a set of byte code level methods, i.e.
|
DynamicType.Builder.MatchedMethodInterception<S> |
DynamicType.Builder.AbstractBase.invokable(LatentMethodMatcher methodMatcher) |
DynamicType.Builder.MatchedMethodInterception<U> |
DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder.invokable(LatentMethodMatcher methodMatcher) |
DynamicType.Builder.MatchedMethodInterception<T> |
DynamicType.Builder.method(ElementMatcher<? super MethodDescription> methodMatcher)
Selects a set of methods of this type for instrumentation.
|
DynamicType.Builder.MatchedMethodInterception<S> |
DynamicType.Builder.AbstractBase.method(ElementMatcher<? super MethodDescription> methodMatcher) |
DynamicType.Builder.MatchedMethodInterception<U> |
DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder.method(ElementMatcher<? super MethodDescription> methodMatcher) |
DynamicType.Builder.MatchedMethodInterception<S> |
DynamicType.Builder.ExceptionDeclarableMethodInterception.throwing(Class<?>... exceptionType)
Defines a number of
Throwable types to be include in the exception declaration. |
DynamicType.Builder.MatchedMethodInterception<S> |
DynamicType.Builder.AbstractBase.DefaultExceptionDeclarableMethodInterception.throwing(Class<?>... exceptionType) |
DynamicType.Builder.MatchedMethodInterception<S> |
DynamicType.Builder.ExceptionDeclarableMethodInterception.throwing(Collection<? extends TypeDescription> exceptionTypes)
Defines a number of
Throwable types to be include in the exception declaration. |
DynamicType.Builder.MatchedMethodInterception<S> |
DynamicType.Builder.AbstractBase.DefaultExceptionDeclarableMethodInterception.throwing(Collection<? extends TypeDescription> exceptionTypes) |
DynamicType.Builder.MatchedMethodInterception<S> |
DynamicType.Builder.ExceptionDeclarableMethodInterception.throwing(Iterable<? extends Class<?>> exceptionTypes)
Defines a number of
Throwable types to be include in the exception declaration. |
DynamicType.Builder.MatchedMethodInterception<S> |
DynamicType.Builder.AbstractBase.DefaultExceptionDeclarableMethodInterception.throwing(Iterable<? extends Class<?>> exceptionTypes) |
DynamicType.Builder.MatchedMethodInterception<S> |
DynamicType.Builder.ExceptionDeclarableMethodInterception.throwing(TypeDescription... exceptionType)
Defines a number of
Throwable types to be include in the exception declaration. |
DynamicType.Builder.MatchedMethodInterception<S> |
DynamicType.Builder.AbstractBase.DefaultExceptionDeclarableMethodInterception.throwing(TypeDescription... exceptionType) |
Copyright © 2014–2015. All rights reserved.