public abstract class InstrumentationBuilder
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
InstrumentationBuilder.Target |
| Modifier and Type | Field and Description |
|---|---|
protected net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.ByteCodeElement> |
notDeclaredByObject |
protected net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> |
notTakesArguments |
| Constructor and Description |
|---|
InstrumentationBuilder() |
| Modifier and Type | Method and Description |
|---|---|
net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> |
anyMethods(java.lang.String... names) |
net.bytebuddy.matcher.ElementMatcher.Junction<? super net.bytebuddy.description.type.TypeDescription> |
anyTypes(java.lang.String... names) |
ClassRefiner.Builder |
classIsPresent(java.lang.String className) |
java.util.List<TypeTransformation> |
collectTransformations(KanelaConfiguration.ModuleConfiguration moduleConfiguration,
java.lang.instrument.Instrumentation instrumentation) |
net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> |
isAbstract() |
net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> |
isConstructor() |
boolean |
isEnabled(KanelaConfiguration.ModuleConfiguration moduleConfiguration) |
net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> |
method(java.lang.String name) |
net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> |
methodAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotation) |
net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> |
methodAnnotatedWith(java.lang.String annotation) |
InstrumentationBuilder.Target |
onSubTypesOf(java.lang.String... typeName) |
InstrumentationBuilder.Target |
onType(java.lang.String typeName) |
InstrumentationBuilder.Target |
onTypes(java.lang.String... typeName) |
InstrumentationBuilder.Target |
onTypesAnnotatedWith(java.lang.String annotationName) |
InstrumentationBuilder.Target |
onTypesMatching(net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.type.TypeDescription> typeMatcher) |
InstrumentationBuilder.Target |
onTypesWithMethodsAnnotatedWith(java.lang.String annotationName) |
int |
order() |
net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> |
takesArguments(java.lang.Integer quantity) |
net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> |
takesOneArgumentOf(java.lang.String type) |
net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> |
withArgument(java.lang.Class<?> type) |
net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> |
withArgument(java.lang.Integer index,
java.lang.Class<?> type) |
net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> |
withReturnTypes(java.lang.Class<?>... types) |
protected final net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.ByteCodeElement> notDeclaredByObject
protected final net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> notTakesArguments
public java.util.List<TypeTransformation> collectTransformations(KanelaConfiguration.ModuleConfiguration moduleConfiguration, java.lang.instrument.Instrumentation instrumentation)
public InstrumentationBuilder.Target onType(java.lang.String typeName)
public InstrumentationBuilder.Target onTypes(java.lang.String... typeName)
public InstrumentationBuilder.Target onSubTypesOf(java.lang.String... typeName)
public InstrumentationBuilder.Target onTypesAnnotatedWith(java.lang.String annotationName)
public InstrumentationBuilder.Target onTypesWithMethodsAnnotatedWith(java.lang.String annotationName)
public InstrumentationBuilder.Target onTypesMatching(net.bytebuddy.matcher.ElementMatcher<? super net.bytebuddy.description.type.TypeDescription> typeMatcher)
public net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> method(java.lang.String name)
public net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> isConstructor()
public net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> isAbstract()
public net.bytebuddy.matcher.ElementMatcher.Junction<? super net.bytebuddy.description.type.TypeDescription> anyTypes(java.lang.String... names)
public net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> takesArguments(java.lang.Integer quantity)
public net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> takesOneArgumentOf(java.lang.String type)
public net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> withArgument(java.lang.Integer index,
java.lang.Class<?> type)
public net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> withArgument(java.lang.Class<?> type)
public net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> anyMethods(java.lang.String... names)
public net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> withReturnTypes(java.lang.Class<?>... types)
public net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> methodAnnotatedWith(java.lang.String annotation)
public net.bytebuddy.matcher.ElementMatcher.Junction<net.bytebuddy.description.method.MethodDescription> methodAnnotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
public boolean isEnabled(KanelaConfiguration.ModuleConfiguration moduleConfiguration)
public int order()
public ClassRefiner.Builder classIsPresent(java.lang.String className)