Class Subroutine


  • public class Subroutine
    extends java.lang.Object
    Represents a nested method subroutine (marked by JSR and RET).
    Author:
    Jason T. Greene
    • Constructor Summary

      Constructors 
      Constructor Description
      Subroutine​(int start, int caller)  
    • Method Summary

      Modifier and Type Method Description
      void access​(int index)  
      java.util.Collection<java.lang.Integer> accessed()  
      void addCaller​(int caller)  
      java.util.Collection<java.lang.Integer> callers()  
      boolean isAccessed​(int index)  
      int start()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Subroutine

        public Subroutine​(int start,
                          int caller)
    • Method Detail

      • addCaller

        public void addCaller​(int caller)
      • start

        public int start()
      • access

        public void access​(int index)
      • isAccessed

        public boolean isAccessed​(int index)
      • accessed

        public java.util.Collection<java.lang.Integer> accessed()
      • callers

        public java.util.Collection<java.lang.Integer> callers()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object