Class SingleInheritanceTraversalStrategy

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Iterable<CompilationUnit> traverse​(Statement st, CompilationUnit start)
      Yields an iterable containing (or generating on-the-fly) compilation units in the order they should be visited for traversing a type hierarchy to find targets of calls or global accesses.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • traverse

        public java.lang.Iterable<CompilationUnit> traverse​(Statement st,
                                                            CompilationUnit start)
        Description copied from interface: HierarcyTraversalStrategy
        Yields an iterable containing (or generating on-the-fly) compilation units in the order they should be visited for traversing a type hierarchy to find targets of calls or global accesses.
        Specified by:
        traverse in interface HierarcyTraversalStrategy
        Parameters:
        st - the statement for which the traversal is requested
        start - the unit where the traversal should start
        Returns:
        an iterable that contains the units in order in which they must be visited