Class MethodGraph.Node.Simple

    • Field Detail

      • methodDescription

        private final MethodDescription methodDescription
        The represented method.
    • Constructor Detail

      • Simple

        public Simple​(MethodDescription methodDescription)
        Creates a simple node.
        Parameters:
        methodDescription - The represented method.
    • Method Detail

      • getMethodTypes

        public java.util.Set<MethodDescription.TypeToken> getMethodTypes()
        Returns a set of type tokens that this method represents. This set contains the actual method's type including the types of all bridge methods.
        Specified by:
        getMethodTypes in interface MethodGraph.Node
        Returns:
        A set of type tokens that this method represents.
      • getVisibility

        public Visibility getVisibility()
        Returns the minimal method visibility of all methods that are represented by this node.
        Specified by:
        getVisibility in interface MethodGraph.Node
        Returns:
        The minimal method visibility of all methods that are represented by this node.