Class MethodGraph.Compiler.Default.Key.Store.Entry.Resolved.Node

    • Field Detail

      • methodDescription

        private final MethodDescription methodDescription
        The representative method of this node.
      • visibility

        private final Visibility visibility
        The node's minimal visibility.
      • visible

        private final boolean visible
        true if the represented method was made explicitly visible by a visibility bridge.
    • Constructor Detail

      • Node

        protected Node​(MethodGraph.Compiler.Default.Key.Detached key,
                       MethodDescription methodDescription,
                       Visibility visibility,
                       boolean visible)
        Creates a new node.
        Parameters:
        key - The detached key representing this node.
        methodDescription - The representative method of this node.
        visibility - The node's minimal visibility.
        visible - true if the represented method was made explicitly visible by a visibility bridge.
    • 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.