public class com.sun.tools.example.debug.tty.MessageOutput
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.example.debug.tty.MessageOutput
super_class: java.lang.Object
{
static java.util.ResourceBundle textResources;
descriptor: Ljava/util/ResourceBundle;
flags: (0x0008) ACC_STATIC
private static java.text.MessageFormat messageFormat;
descriptor: Ljava/text/MessageFormat;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/example/debug/tty/MessageOutput;
static void fatalError(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.err:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
1: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Fatal error"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 0
invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: invokestatic com.sun.tools.example.debug.tty.Env.shutdown:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 messageKey Ljava/lang/String;
MethodParameters:
Name Flags
messageKey
static java.lang.String format(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.sun.tools.example.debug.tty.MessageOutput.textResources:Ljava/util/ResourceBundle;
aload 0
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
MethodParameters:
Name Flags
key
static java.lang.String format(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
0 1 1 argument Ljava/lang/String;
MethodParameters:
Name Flags
key
argument
static synchronized java.lang.String format(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.tools.example.debug.tty.MessageOutput.messageFormat:Ljava/text/MessageFormat;
ifnonnull 3
1: new java.text.MessageFormat
dup
getstatic com.sun.tools.example.debug.tty.MessageOutput.textResources:Ljava/util/ResourceBundle;
aload 0
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
putstatic com.sun.tools.example.debug.tty.MessageOutput.messageFormat:Ljava/text/MessageFormat;
2: goto 4
3: StackMap locals:
StackMap stack:
getstatic com.sun.tools.example.debug.tty.MessageOutput.messageFormat:Ljava/text/MessageFormat;
getstatic com.sun.tools.example.debug.tty.MessageOutput.textResources:Ljava/util/ResourceBundle;
aload 0
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.text.MessageFormat.applyPattern:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
getstatic com.sun.tools.example.debug.tty.MessageOutput.messageFormat:Ljava/text/MessageFormat;
aload 1
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 key Ljava/lang/String;
0 5 1 arguments [Ljava/lang/Object;
MethodParameters:
Name Flags
key
arguments
static void printDirectln(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 line Ljava/lang/String;
MethodParameters:
Name Flags
line
static void printDirect(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 line Ljava/lang/String;
MethodParameters:
Name Flags
line
static void printDirect(char);
descriptor: (C)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
iload 0
invokevirtual java.io.PrintStream.print:(C)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 c C
MethodParameters:
Name Flags
c
static void println();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
1: return
LocalVariableTable:
Start End Slot Name Signature
static void print(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 key Ljava/lang/String;
MethodParameters:
Name Flags
key
static void println(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 key Ljava/lang/String;
MethodParameters:
Name Flags
key
static void print(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
aload 1
invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 key Ljava/lang/String;
0 2 1 argument Ljava/lang/String;
MethodParameters:
Name Flags
key
argument
static void println(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
aload 1
invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 key Ljava/lang/String;
0 2 1 argument Ljava/lang/String;
MethodParameters:
Name Flags
key
argument
static void println(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
aload 1
invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 key Ljava/lang/String;
0 2 1 arguments [Ljava/lang/Object;
MethodParameters:
Name Flags
key
arguments
static void lnprint(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic com.sun.tools.example.debug.tty.MessageOutput.textResources:Ljava/util/ResourceBundle;
aload 0
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 key Ljava/lang/String;
MethodParameters:
Name Flags
key
static void lnprint(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
aload 1
invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 key Ljava/lang/String;
0 3 1 argument Ljava/lang/String;
MethodParameters:
Name Flags
key
argument
static void lnprint(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
aload 1
invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 key Ljava/lang/String;
0 3 1 arguments [Ljava/lang/Object;
MethodParameters:
Name Flags
key
arguments
static void printException(java.lang.String, java.lang.Exception);
descriptor: (Ljava/lang/String;Ljava/lang/Exception;)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnull 5
1: aload 0
invokestatic com.sun.tools.example.debug.tty.MessageOutput.println:(Ljava/lang/String;)V
2: goto 5
StackMap locals:
StackMap stack: java.util.MissingResourceException
3: pop
4: aload 0
invokestatic com.sun.tools.example.debug.tty.MessageOutput.printDirectln:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.flush:()V
6: aload 1
invokevirtual java.lang.Exception.printStackTrace:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 key Ljava/lang/String;
0 8 1 e Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.util.MissingResourceException
MethodParameters:
Name Flags
key
e
static void printPrompt();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=9, locals=1, args_size=0
0: invokestatic com.sun.tools.example.debug.tty.ThreadInfo.getCurrentThreadInfo:()Lcom/sun/tools/example/debug/tty/ThreadInfo;
astore 0
start local 0 1: aload 0
ifnonnull 6
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
3: ldc "jdb prompt with no current thread"
invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;)Ljava/lang/String;
4: invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
5: goto 13
6: StackMap locals: com.sun.tools.example.debug.tty.ThreadInfo
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
7: ldc "jdb prompt thread name and current stack frame"
8: iconst_2
anewarray java.lang.Object
dup
iconst_0
9: aload 0
invokevirtual com.sun.tools.example.debug.tty.ThreadInfo.getThread:()Lcom/sun/jdi/ThreadReference;
invokeinterface com.sun.jdi.ThreadReference.name:()Ljava/lang/String;
aastore
dup
iconst_1
10: new java.lang.Integer
dup
aload 0
invokevirtual com.sun.tools.example.debug.tty.ThreadInfo.getCurrentFrameIndex:()I
iconst_1
iadd
invokespecial java.lang.Integer.<init>:(I)V
aastore
11: invokestatic com.sun.tools.example.debug.tty.MessageOutput.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
12: invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.flush:()V
14: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 15 0 threadInfo Lcom/sun/tools/example/debug/tty/ThreadInfo;
}
SourceFile: "MessageOutput.java"