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.inline |
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type. |
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
MethodGraph.Compiler.Default.Key.Store.Entry.Ambiguous.Node
A node implementation representing an ambiguous method resolution.
|
protected static class |
MethodGraph.Compiler.Default.Key.Store.Entry.Resolved.Node
A node implementation representing a non-ambiguous method.
|
static class |
MethodGraph.Node.Simple
A simple implementation of a resolved node of a method without bridges.
|
static class |
MethodGraph.Node.Unresolved
A canonical implementation of an unresolved node.
|
Modifier and Type | Field and Description |
---|---|
private java.util.LinkedHashMap<MethodGraph.Compiler.Default.Key<MethodDescription.TypeToken>,MethodGraph.Node> |
MethodGraph.Compiler.Default.Key.Store.Graph.entries
A mapping of a node's type tokens to the represented node.
|
private java.util.List<? extends MethodGraph.Node> |
MethodGraph.NodeList.nodes
The represented nodes.
|
private java.util.LinkedHashMap<MethodDescription.SignatureToken,MethodGraph.Node> |
MethodGraph.Simple.nodes
The nodes represented by this method graph.
|
Modifier and Type | Method and Description |
---|---|
MethodGraph.Node |
MethodGraph.Compiler.Default.Key.Store.Entry.asNode(MethodGraph.Compiler.Default.Merger merger)
Transforms this entry into a node.
|
MethodGraph.Node |
MethodGraph.Compiler.Default.Key.Store.Entry.Initial.asNode(MethodGraph.Compiler.Default.Merger merger)
Transforms this entry into a node.
|
MethodGraph.Node |
MethodGraph.Compiler.Default.Key.Store.Entry.Resolved.asNode(MethodGraph.Compiler.Default.Merger merger)
Transforms this entry into a node.
|
MethodGraph.Node |
MethodGraph.Compiler.Default.Key.Store.Entry.Ambiguous.asNode(MethodGraph.Compiler.Default.Merger merger)
Transforms this entry into a node.
|
MethodGraph.Node |
MethodGraph.NodeList.get(int index) |
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)
Locates a node in this graph which represents the provided method token.
|
MethodGraph.Node |
MethodGraph.Linked.Delegation.locate(MethodDescription.SignatureToken token)
Locates a node in this graph which represents the provided method token.
|
MethodGraph.Node |
MethodGraph.Compiler.Default.Key.Store.Graph.locate(MethodDescription.SignatureToken token)
Locates a node in this graph which represents the provided method token.
|
MethodGraph.Node |
MethodGraph.Simple.locate(MethodDescription.SignatureToken token)
Locates a node in this graph which represents the provided method token.
|
Modifier and Type | Method and Description |
---|---|
protected MethodGraph.NodeList |
MethodGraph.NodeList.wrap(java.util.List<MethodGraph.Node> values) |
Constructor and Description |
---|
Graph(java.util.LinkedHashMap<MethodGraph.Compiler.Default.Key<MethodDescription.TypeToken>,MethodGraph.Node> entries)
Creates a new graph.
|
NodeList(java.util.List<? extends MethodGraph.Node> nodes)
Creates a list of nodes.
|
Simple(java.util.LinkedHashMap<MethodDescription.SignatureToken,MethodGraph.Node> nodes)
Creates a new simple method graph.
|
Modifier and Type | Method and Description |
---|---|
private Implementation.SpecialMethodInvocation |
RebaseImplementationTarget.invokeSuper(MethodGraph.Node node)
Creates a special method invocation for the given node.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Implementation.SpecialMethodInvocation |
Implementation.Target.AbstractBase.DefaultMethodInvocation.apply(MethodGraph.Node node,
TypeDescription targetType)
Resolves a default method invocation for a given node.
|