Top Description Fields Constructors Methods
javassist.bytecode.analysis

public Class Subroutine

extends Object
Class Inheritance
Imports
java.util.ArrayList, .Collection, .HashSet, .List, .Set

Represents a nested method subroutine (marked by JSR and RET).
Author
Jason T. Greene

Field Summary

Modifier and TypeField and Description
private Set<Integer>
private List<Integer>
private int

Constructor Summary

AccessConstructor and Description
public
Subroutine(int start, int caller)

Method Summary

Modifier and TypeMethod and Description
public void
access(int index)

public Collection<Integer>
public void
addCaller(int caller)

public Collection<Integer>
public boolean
isAccessed(int index)

public int
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

accessback to summary
private Set<Integer> access
callersback to summary
private List<Integer> callers
startback to summary
private int start

Constructor Detail

Subroutineback to summary
public Subroutine(int start, int caller)

Method Detail

accessback to summary
public void access(int index)
accessedback to summary
public Collection<Integer> accessed()
addCallerback to summary
public void addCaller(int caller)
callersback to summary
public Collection<Integer> callers()
isAccessedback to summary
public boolean isAccessed(int index)
startback to summary
public int start()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override