Class MethodGraph.Compiler.Default.Key.Store<V>
java.lang.Object
net.bytebuddy.dynamic.scaffold.MethodGraph.Compiler.Default.Key.Store<V>
- Type Parameters:
V- The type of the token used for deciding on method equality.
- Enclosing class:
MethodGraph.Compiler.Default.Key<S>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static interfaceAn entry of a key store.protected static classA graph implementation based on a key store. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MethodGraphTransforms this store into a method graph by applying the given merger.protected MethodGraph.Compiler.Default.Key.Store<V> Combines this store with the given store.protected MethodGraph.Compiler.Default.Key.Store<V> Injects the given store into this store.protected MethodGraph.Compiler.Default.Key.Store<V> registerTopLevel(List<? extends MethodDescription> methodDescriptions, MethodGraph.Compiler.Default.Harmonizer<V> harmonizer) Registers a new top level method within this store.
-
Constructor Details
-
Store
protected Store()Creates an empty store.
-
-
Method Details
-
registerTopLevel
protected MethodGraph.Compiler.Default.Key.Store<V> registerTopLevel(List<? extends MethodDescription> methodDescriptions, MethodGraph.Compiler.Default.Harmonizer<V> harmonizer) Registers a new top level method within this store.- Parameters:
methodDescriptions- The methods to register.harmonizer- The harmonizer to use for determining method equality.- Returns:
- A store with the given method registered as a top-level method.
-
combineWith
protected MethodGraph.Compiler.Default.Key.Store<V> combineWith(MethodGraph.Compiler.Default.Key.Store<V> store) Combines this store with the given store.- Parameters:
store- The store to combine with this store.- Returns:
- A store representing a combination of this store and the given store.
-
inject
protected MethodGraph.Compiler.Default.Key.Store<V> inject(MethodGraph.Compiler.Default.Key.Store<V> store) Injects the given store into this store.- Parameters:
store- The key store to inject into this store.- Returns:
- A store that represents this store with the given store injected.
-
asGraph
Transforms this store into a method graph by applying the given merger.- Parameters:
merger- The merger to apply for resolving the representative for ambiguous resolutions.- Returns:
- The method graph that represents this key store.
-