Class MethodGraph.Linked.Delegation

    • Constructor Detail

      • Delegation

        public Delegation​(MethodGraph methodGraph,
                          MethodGraph superClassGraph,
                          java.util.Map<TypeDescription,​MethodGraph> interfaceGraphs)
        Creates a new delegation method graph.
        Parameters:
        methodGraph - The represented type's method graph.
        superClassGraph - The super class's method graph.
        interfaceGraphs - A mapping of method graphs of the represented type's directly implemented interfaces to their graph representatives.
    • Method Detail

      • getSuperClassGraph

        public MethodGraph getSuperClassGraph()
        Description copied from interface: MethodGraph.Linked
        Returns a graph representing the view on this represented type's super type.
        Specified by:
        getSuperClassGraph in interface MethodGraph.Linked
        Returns:
        A graph representing the view on this represented type's super type.
      • getInterfaceGraph

        public MethodGraph getInterfaceGraph​(TypeDescription typeDescription)
        Description copied from interface: MethodGraph.Linked
        Returns a graph representing the view on this represented type's directly implemented interface type.
        Specified by:
        getInterfaceGraph in interface MethodGraph.Linked
        Parameters:
        typeDescription - The interface type for which a view is to be returned.
        Returns:
        A graph representing the view on this represented type's directly implemented interface type.