Interface MethodGraph.Compiler

    • Field Detail

      • DEFAULT

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

      • compile

        MethodGraph.Linked compile​(TypeDescription typeDescription)
        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.