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.
  • Constructor Details

    • AbstractBase

      public AbstractBase()
  • Method Details

    • 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 interface MethodGraph.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 interface MethodGraph.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 interface MethodGraph.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.