Class MethodGraph.Simple

    • Method Detail

      • of

        public static MethodGraph of​(List<? extends MethodDescription> methodDescriptions)
        Returns a method graph that contains all of the provided methods as simple nodes.
        Parameters:
        methodDescriptions - A list of method descriptions to be represented as simple nodes.
        Returns:
        A method graph that represents all of the provided methods as simple nodes.
      • locate

        public MethodGraph.Node locate​(MethodDescription.SignatureToken token)
        Locates a node in this graph which represents the provided method token.
        Specified by:
        locate in interface MethodGraph
        Parameters:
        token - A method token that represents the method to be located.
        Returns:
        The node representing the given token.