Interface MethodGraph.Compiler

All Known Implementing Classes:
MethodCallProxy.PrecomputedMethodGraph, MethodGraph.Compiler.AbstractBase, MethodGraph.Compiler.Default, MethodGraph.Compiler.ForDeclaredMethods, MethodGraph.Empty
Enclosing interface:
MethodGraph

public static interface MethodGraph.Compiler
A compiler to produce a MethodGraph from a given type.
  • Field Details

    • DEFAULT

      static final MethodGraph.Compiler DEFAULT
      The default compiler for compiling Java methods.
  • Method Details

    • compile

      MethodGraph.Linked compile(TypeDefinition typeDefinition)
      Compiles the given type into a method graph considering the type to be the viewpoint.
      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.
      Parameters:
      typeDescription - The type to be compiled.
      Returns:
      A linked method graph representing the given type.
    • compile

      MethodGraph.Linked compile(TypeDefinition typeDefinition, TypeDescription viewPoint)
      Compiles the given type into a method graph.
      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.
    • compile

      @Deprecated MethodGraph.Linked compile(TypeDescription typeDefinition, TypeDescription viewPoint)
      Compiles the given type into a method graph.
      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.