com.bluemarsh.jswat.command
Class fieldsCommand

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

public class fieldsCommand
extends JSwatCommand

Defines the class that handles the 'fields' command.

Version:
1.0 9/2/99
Author:
Nathan Fiedler

Fields inherited from class com.bluemarsh.jswat.command.JSwatCommand
logCategory, primitiveTypeNames, swat
 
Constructor Summary
fieldsCommand()
           
 
Method Summary
 void perform(Session session, com.bluemarsh.util.StringTokenizer args, Log out)
          Perform the 'fields' command.
protected  void printFields(com.sun.jdi.ReferenceType clazz, java.lang.StringBuffer buf)
          Print the fields 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

fieldsCommand

public fieldsCommand()
Method Detail

perform

public void perform(Session session,
                    com.bluemarsh.util.StringTokenizer args,
                    Log out)
Perform the 'fields' 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.

printFields

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