|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bluemarsh.jswat.command.JSwatCommand | +--com.bluemarsh.jswat.command.linesCommand
Defines the class that handles the 'lines' command.
Fields inherited from class com.bluemarsh.jswat.command.JSwatCommand |
logCategory, primitiveTypeNames, swat |
Constructor Summary | |
linesCommand()
|
Method Summary | |
void |
perform(Session session,
com.bluemarsh.util.StringTokenizer args,
Log out)
Perform the 'lines' command. |
protected void |
printLines(com.sun.jdi.ReferenceType clazz,
java.lang.String idMethod,
Log out)
Print the lines out for the given class and method. |
Methods inherited from class com.bluemarsh.jswat.command.JSwatCommand |
argumentsMatch, createObject, description, findClassesByPattern, getCommandName, getPromptString, help, help, missingArgs, receiveInput, resolveOverload |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public linesCommand()
Method Detail |
public void perform(Session session, com.bluemarsh.util.StringTokenizer args, Log out)
perform
in class JSwatCommand
session
- JSwat session on which to operate.args
- Tokenized string of command arguments.out
- Output to write messages to.protected void printLines(com.sun.jdi.ReferenceType clazz, java.lang.String idMethod, Log out) throws com.sun.jdi.AbsentInformationException
clazz
- Class to find lines for.idMethod
- Method to find lines for (can be null).out
- Output to write lines to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |