com.bluemarsh.jswat.command
Class methodsCommand

java.lang.Object
  |
  +--com.bluemarsh.jswat.command.JSwatCommand
        |
        +--com.bluemarsh.jswat.command.methodsCommand

public class methodsCommand
extends JSwatCommand

Defines the class that handles the 'methods' command.

Author:
Nathan Fiedler

Fields inherited from class com.bluemarsh.jswat.command.JSwatCommand
logCategory, primitiveTypeNames, swat
 
Constructor Summary
methodsCommand()
           
 
Method Summary
 void perform(Session session, com.bluemarsh.util.StringTokenizer args, Log out)
          Perform the 'methods' command.
protected  void printMethods(com.sun.jdi.ReferenceType clazz, java.lang.StringBuffer buf)
          Print the methods of the given class type.
 
Methods inherited from class com.bluemarsh.jswat.command.JSwatCommand
argumentsMatch, createObject, description, findClassesByPattern, getCommandName, getThreadByID, 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

methodsCommand

public methodsCommand()
Method Detail

perform

public void perform(Session session,
                    com.bluemarsh.util.StringTokenizer args,
                    Log out)
Perform the 'methods' command.
Overrides:
perform in class JSwatCommand
Parameters:
session - JSwat session on which to operate.
args - Tokenized string of command arguments.
out - Output to write messages to.

printMethods

protected void printMethods(com.sun.jdi.ReferenceType clazz,
                            java.lang.StringBuffer buf)
Print the methods of the given class type.
Parameters:
clazz - ReferenceType
buf - sink to write to.