Package | Description |
---|---|
net.bytebuddy.dynamic.scaffold |
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
|
net.bytebuddy.dynamic.scaffold.subclass |
All classes and types in this package are related to creating a
DynamicType by
creating a subclass of a given type. |
net.bytebuddy.instrumentation |
The instrumentation package contains any logic for intercepting method calls.
|
net.bytebuddy.instrumentation.method |
This package contains types and implementations for describing a Java byte code method which can be any byte code
container, i.e.
|
net.bytebuddy.instrumentation.type |
This package contains types and implementations for describing a Java type, i.e.
|
Modifier and Type | Method and Description |
---|---|
BridgeMethodResolver.Simple.BridgeTarget |
BridgeMethodResolver.Simple.ConflictHandler.choose(MethodDescription bridgeMethod,
MethodList targetCandidates)
Returns a target method for the given bridge method out of the given list of candidate methods.
|
BridgeMethodResolver |
BridgeMethodResolver.NoOp.make(MethodList relevant) |
BridgeMethodResolver |
BridgeMethodResolver.Factory.make(MethodList relevant)
Creates a bridge method resolver for a given list of methods.
|
BridgeMethodResolver |
BridgeMethodResolver.Simple.Factory.make(MethodList relevant) |
Constructor and Description |
---|
Simple(MethodList relevant,
BridgeMethodResolver.Simple.ConflictHandler conflictHandler)
Creates a new simple bridge method resolver.
|
Modifier and Type | Method and Description |
---|---|
MethodList |
ConstructorStrategy.extractConstructors(TypeDescription instrumentedType)
Extracts constructors for a given super type.
|
Constructor and Description |
---|
MethodDelegation(MethodDelegation.InstrumentationDelegate instrumentationDelegate,
List<TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders,
TargetMethodAnnotationDrivenBinder.DefaultsProvider<?> defaultsProvider,
MethodDelegationBinder.AmbiguityResolver ambiguityResolver,
Assigner assigner,
MethodList targetMethodCandidates)
Creates a new method delegation.
|
Modifier and Type | Class and Description |
---|---|
static class |
MethodList.Empty
An implementation of an empty method list.
|
static class |
MethodList.Explicit
A method list that is a wrapper for a given list of method descriptions.
|
static class |
MethodList.ForLoadedType
A method list implementation that returns all loaded byte code methods (methods and constructors) that
are declared for a given type.
|
Modifier and Type | Method and Description |
---|---|
MethodList |
MethodList.filter(MethodMatcher methodMatcher)
Returns a new list that only includes the methods that are matched by the given method matcher.
|
MethodList |
MethodList.ForLoadedType.filter(MethodMatcher methodMatcher) |
MethodList |
MethodList.Explicit.filter(MethodMatcher methodMatcher) |
MethodList |
MethodList.Empty.filter(MethodMatcher methodMatcher) |
MethodList |
MethodLookupEngine.Finding.getInvokableMethods()
Returns a list of methods that can be invoked on the analyzed type.
|
MethodList |
MethodLookupEngine.Finding.Default.getInvokableMethods() |
MethodList |
MethodList.subList(int fromIndex,
int toIndex) |
MethodList |
MethodList.ForLoadedType.subList(int fromIndex,
int toIndex) |
MethodList |
MethodList.Explicit.subList(int fromIndex,
int toIndex) |
MethodList |
MethodList.Empty.subList(int fromIndex,
int toIndex) |
Constructor and Description |
---|
Default(TypeDescription lookedUpType,
MethodList invokableMethods,
Map<TypeDescription,Set<MethodDescription>> invokableDefaultMethods)
Creates a default of a
MethodLookupEngine.Finding . |
Modifier and Type | Method and Description |
---|---|
MethodList |
TypeDescription.getDeclaredMethods()
Returns a list of methods that are declared by this type.
|
MethodList |
TypeDescription.ForLoadedType.getDeclaredMethods() |
MethodList |
InstrumentedType.AbstractBase.getDeclaredMethods() |
Copyright © 2014. All rights reserved.