javassist.bytecode.analysis
Class Subroutine

java.lang.Object
  extended by javassist.bytecode.analysis.Subroutine

public class Subroutine
extends java.lang.Object

Represents a nested method subroutine (marked by JSR and RET).

Author:
Jason T. Greene

Constructor Summary
Subroutine(int start, int caller)
           
 
Method Summary
 void access(int index)
           
 java.util.Collection accessed()
           
 void addCaller(int caller)
           
 java.util.Collection 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 accessed()

callers

public java.util.Collection callers()

toString

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


Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999-2010 Shigeru Chiba. All Rights Reserved.