class com.sun.codemodel.internal.CodeWriter$1 extends com.sun.codemodel.internal.util.UnicodeEscapeWriter
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.codemodel.internal.CodeWriter$1
super_class: com.sun.codemodel.internal.util.UnicodeEscapeWriter
{
private final java.nio.charset.CharsetEncoder encoder;
descriptor: Ljava/nio/charset/CharsetEncoder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final com.sun.codemodel.internal.CodeWriter this$0;
descriptor: Lcom/sun/codemodel/internal/CodeWriter;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.codemodel.internal.CodeWriter, java.io.Writer, java.io.OutputStreamWriter);
descriptor: (Lcom/sun/codemodel/internal/CodeWriter;Ljava/io/Writer;Ljava/io/OutputStreamWriter;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 2 0: aload 0
aload 1
putfield com.sun.codemodel.internal.CodeWriter$1.this$0:Lcom/sun/codemodel/internal/CodeWriter;
aload 0
aload 2
invokespecial com.sun.codemodel.internal.util.UnicodeEscapeWriter.<init>:(Ljava/io/Writer;)V
1: aload 0
aload 3
invokevirtual java.io.OutputStreamWriter.getEncoding:()Ljava/lang/String;
invokestatic com.sun.codemodel.internal.util.EncoderFactory.createEncoder:(Ljava/lang/String;)Ljava/nio/charset/CharsetEncoder;
putfield com.sun.codemodel.internal.CodeWriter$1.encoder:Ljava/nio/charset/CharsetEncoder;
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/codemodel/internal/CodeWriter$1;
0 3 2 $anonymous0 Ljava/io/Writer;
MethodParameters:
Name Flags
this$0 final
$anonymous0
val$bw final
protected boolean requireEscaping(int);
descriptor: (I)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush 32
if_icmpge 1
ldc " \t\r\n"
iload 1
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
iload 1
sipush 128
if_icmpge 2
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.codemodel.internal.CodeWriter$1.encoder:Ljava/nio/charset/CharsetEncoder;
iload 1
i2c
invokevirtual java.nio.charset.CharsetEncoder.canEncode:(C)Z
ifeq 3
iconst_0
goto 4
StackMap locals:
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/codemodel/internal/CodeWriter$1;
0 5 1 ch I
MethodParameters:
Name Flags
ch
}
SourceFile: "CodeWriter.java"
EnclosingMethod: com.sun.codemodel.internal.CodeWriter.openSource:(Lcom/sun/codemodel/internal/JPackage;Ljava/lang/String;)Ljava/io/Writer;
NestHost: com.sun.codemodel.internal.CodeWriter
InnerClasses:
com.sun.codemodel.internal.CodeWriter$1