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 java.lang.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 Constructor Description AbstractBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MethodGraph.Linked
compile(TypeDefinition typeDefinition)
Compiles the given type into a method graph considering the type to be the viewpoint.MethodGraph.Linked
compile(TypeDescription typeDescription)
Deprecated.MethodGraph.Linked
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
-
-
-
-
Method Detail
-
compile
public MethodGraph.Linked compile(TypeDefinition typeDefinition)
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 public MethodGraph.Linked compile(TypeDescription typeDescription)
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.
-
-