Package net.bytebuddy.dynamic.scaffold
Class MethodGraph.Compiler.AbstractBase
java.lang.Object
net.bytebuddy.dynamic.scaffold.MethodGraph.Compiler.AbstractBase
- All Implemented Interfaces:
MethodGraph.Compiler
- Direct Known Subclasses:
MethodGraph.Compiler.Default
- Enclosing interface:
- MethodGraph.Compiler
public abstract static class MethodGraph.Compiler.AbstractBase
extends Object
implements MethodGraph.Compiler
An abstract base implementation of a method graph compiler.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.dynamic.scaffold.MethodGraph.Compiler
MethodGraph.Compiler.AbstractBase, MethodGraph.Compiler.Default<T>, MethodGraph.Compiler.ForDeclaredMethods
-
Field Summary
Fields inherited from interface net.bytebuddy.dynamic.scaffold.MethodGraph.Compiler
DEFAULT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompile
(TypeDefinition typeDefinition) Compiles the given type into a method graph considering the type to be the viewpoint.compile
(TypeDescription typeDescription) Deprecated.compile
(TypeDescription typeDefinition, TypeDescription viewPoint) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.bytebuddy.dynamic.scaffold.MethodGraph.Compiler
compile
-
Constructor Details
-
AbstractBase
public AbstractBase()
-
-
Method Details
-
compile
Compiles the given type into a method graph considering the type to be the viewpoint.- Specified by:
compile
in interfaceMethodGraph.Compiler
- Parameters:
typeDefinition
- The type to be compiled.- Returns:
- A linked method graph representing the given type.
-
compile
Deprecated.Compiles the given type into a method graph considering the type to be the viewpoint.- Specified by:
compile
in interfaceMethodGraph.Compiler
- Parameters:
typeDescription
- The type to be compiled.- Returns:
- A linked method graph representing the given type.
-
compile
@Deprecated public MethodGraph.Linked compile(TypeDescription typeDefinition, TypeDescription viewPoint) Deprecated.Compiles the given type into a method graph.- Specified by:
compile
in interfaceMethodGraph.Compiler
- Parameters:
typeDefinition
- The type to be compiled.viewPoint
- The view point that determines the method's visibility.- Returns:
- A linked method graph representing the given type.
-