Mercurial > hg > truffle
view src/share/tools/whitebox/sun/hotspot/parser/DiagnosticCommand.java @ 6815:86af3dacab81
8000227: [obj|type]ArrayKlass::oop_print_on prints one line to tty instead of the provided output stream
Reviewed-by: brutisso, sla, jmasa, coleenp
author | stefank |
---|---|
date | Mon, 01 Oct 2012 13:29:11 +0200 |
parents | 51612f0c0a79 |
children |
line wrap: on
line source
package sun.hotspot.parser; public class DiagnosticCommand { public enum DiagnosticArgumentType { JLONG, BOOLEAN, STRING, NANOTIME, STRINGARRAY, MEMORYSIZE } private String name; private String desc; private DiagnosticArgumentType type; private boolean mandatory; private String defaultValue; public DiagnosticCommand(String name, String desc, DiagnosticArgumentType type, boolean mandatory, String defaultValue) { this.name = name; this.desc = desc; this.type = type; this.mandatory = mandatory; this.defaultValue = defaultValue; } public String getName() { return name; } public String getDesc() { return desc; } public DiagnosticArgumentType getType() { return type; } public boolean isMandatory() { return mandatory; } public String getDefaultValue() { return defaultValue; } }