Package | Description |
---|---|
net.bytebuddy.agent.builder |
An agent builder is used to easily implement load-time class-transformations using a Java agent.
|
net.bytebuddy.description.method |
Contains descriptions of Java methods and constructors as well as their parameters.
|
net.bytebuddy.description.type |
Contains descriptions of Java types and packages.
|
net.bytebuddy.dynamic.loading |
This package contains classes that are responsible for class loading of classes that are represented by
byte arrays. |
net.bytebuddy.utility |
This package contains utility classes for common use within any Byte Buddy logic.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AgentBuilder.Default.Dispatcher.isNativeMethodPrefixSupported(Instrumentation instrumentation)
Returns
true if the supplied instrumentation instance supports setting native method prefixes. |
boolean |
AgentBuilder.RedefinitionStrategy.Dispatcher.isRetransformClassesSupported(Instrumentation instrumentation)
Checks if retransformation is supported for the supplied instrumentation instance.
|
Modifier and Type | Method and Description |
---|---|
AnnotatedElement |
MethodDescription.InDefinedShape.AbstractBase.Executable.getAnnotatedReceiverType(Object value)
Returns the annotated receiver type.
|
Modifier and Type | Interface and Description |
---|---|
protected static interface |
TypeDescription.ForLoadedType.Dispatcher
A dispatcher for using methods of
Class that are not declared for Java 6. |
Modifier and Type | Method and Description |
---|---|
AnnotatedElement[] |
TypeDescription.Generic.AnnotationReader.ForTypeVariableBoundType.OfFormalTypeVariable.FormalTypeVariable.getAnnotatedBounds(Object value)
Returns the supplied annotated type variable's annotated bounds or an empty array if this
feature is not supported.
|
AnnotatedElement[] |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableExceptionType.Dispatcher.getAnnotatedExceptionTypes(Object executable)
Resolves the supplied
java.lang.reflect.Executable 's annotated exception types. |
AnnotatedElement |
TypeDescription.Generic.AnnotationReader.ForOwnerType.AnnotatedType.getAnnotatedOwnerType(AnnotatedElement value)
Returns the type's annotated owner type or
null if this feature is not supported. |
AnnotatedElement[] |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableParameterType.Dispatcher.getAnnotatedParameterTypes(Object executable)
Resolves the supplied
java.lang.reflect.Executable 's annotated parameter types. |
AnnotatedElement |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType.Dispatcher.getAnnotatedReturnType(Method method)
Resolves the supplied method's annotated return type.
|
AnnotatedElement |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedField.Dispatcher.getAnnotatedType(Field field)
Resolves the supplied method's annotated field type.
|
Modifier and Type | Method and Description |
---|---|
Object |
ClassInjector.UsingReflection.System.getSecurityManager()
Returns the current security manager or
null if not available. |
Object |
ClassInjector.UsingUnsafe.System.getSecurityManager()
Returns the current security manager or
null if not available. |
Modifier and Type | Interface and Description |
---|---|
protected static interface |
QueueFactory.Dispatcher
A dispatcher for creating an
java.util.ArrayDeque . |
Modifier and Type | Method and Description |
---|---|
Object |
JavaModule.Resolver.getModule(Class<?> type)
Resolves the
java.lang.Module of the supplied type. |
Copyright © 2014–2023. All rights reserved.