Package | Description |
---|---|
net.bytebuddy.description.method |
Contains descriptions of Java methods and constructors as well as their parameters.
|
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.inline |
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type. |
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.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Method and Description |
---|---|
MethodDescription.SignatureToken |
MethodDescription.asSignatureToken()
Returns a signature token representing this method.
|
MethodDescription.SignatureToken |
MethodDescription.AbstractBase.asSignatureToken() |
Modifier and Type | Method and Description |
---|---|
MethodGraph.Node |
MethodGraph.locate(MethodDescription.SignatureToken token)
Locates a node in this graph which represents the provided method token.
|
MethodGraph.Node |
MethodGraph.Empty.locate(MethodDescription.SignatureToken token) |
MethodGraph.Node |
MethodGraph.Linked.Delegation.locate(MethodDescription.SignatureToken token) |
MethodGraph.Node |
MethodGraph.Compiler.Default.Key.Store.Graph.locate(MethodDescription.SignatureToken token) |
MethodGraph.Node |
MethodGraph.Simple.locate(MethodDescription.SignatureToken token) |
protected static MethodGraph.Compiler.Default.Key.Detached |
MethodGraph.Compiler.Default.Key.Detached.of(MethodDescription.SignatureToken token)
Creates a new detached key of the given method token.
|
Constructor and Description |
---|
Simple(LinkedHashMap<MethodDescription.SignatureToken,MethodGraph.Node> nodes)
Creates a new simple method graph.
|
Modifier and Type | Method and Description |
---|---|
Map<MethodDescription.SignatureToken,MethodRebaseResolver.Resolution> |
MethodRebaseResolver.asTokenMap()
Returns a map of all rebasable methods' signature tokens to their resolution.
|
Map<MethodDescription.SignatureToken,MethodRebaseResolver.Resolution> |
MethodRebaseResolver.Disabled.asTokenMap() |
Map<MethodDescription.SignatureToken,MethodRebaseResolver.Resolution> |
MethodRebaseResolver.Default.asTokenMap() |
Modifier and Type | Method and Description |
---|---|
Implementation.SpecialMethodInvocation |
RebaseImplementationTarget.invokeSuper(MethodDescription.SignatureToken token) |
Constructor and Description |
---|
RebaseImplementationTarget(TypeDescription instrumentedType,
MethodGraph.Linked methodGraph,
Map<MethodDescription.SignatureToken,MethodRebaseResolver.Resolution> rebaseableMethods)
Creates a rebase implementation target.
|
Modifier and Type | Field and Description |
---|---|
protected Map<MethodDescription.SignatureToken,MethodDescription> |
SubclassImplementationTarget.superConstructors
The constructor of the super type, mapped by the constructor's method token.
|
Modifier and Type | Method and Description |
---|---|
Implementation.SpecialMethodInvocation |
SubclassImplementationTarget.invokeSuper(MethodDescription.SignatureToken token) |
Modifier and Type | Method and Description |
---|---|
Implementation.SpecialMethodInvocation |
Implementation.Target.invokeDefault(TypeDescription targetType,
MethodDescription.SignatureToken token)
Creates a special method invocation for invoking a default method.
|
Implementation.SpecialMethodInvocation |
Implementation.Target.AbstractBase.invokeDefault(TypeDescription targetType,
MethodDescription.SignatureToken token) |
Implementation.SpecialMethodInvocation |
Implementation.Target.invokeDominant(MethodDescription.SignatureToken token)
Invokes a dominant method, i.e. if the method token can be invoked as a super method invocation, this invocation is considered dominant.
|
Implementation.SpecialMethodInvocation |
Implementation.Target.AbstractBase.invokeDominant(MethodDescription.SignatureToken token) |
Implementation.SpecialMethodInvocation |
Implementation.Target.invokeSuper(MethodDescription.SignatureToken token)
Creates a special method invocation for invoking the super method of the given method.
|
Copyright © 2014–2016. All rights reserved.