public class sun.awt.AWTCharset$Encoder extends java.nio.charset.CharsetEncoder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.AWTCharset$Encoder
super_class: java.nio.charset.CharsetEncoder
{
protected java.nio.charset.CharsetEncoder enc;
descriptor: Ljava/nio/charset/CharsetEncoder;
flags: (0x0004) ACC_PROTECTED
final sun.awt.AWTCharset this$0;
descriptor: Lsun/awt/AWTCharset;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
protected void <init>(sun.awt.AWTCharset);
descriptor: (Lsun/awt/AWTCharset;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
aload 1
aload 1
getfield sun.awt.AWTCharset.javaCs:Ljava/nio/charset/Charset;
invokevirtual java.nio.charset.Charset.newEncoder:()Ljava/nio/charset/CharsetEncoder;
invokespecial sun.awt.AWTCharset$Encoder.<init>:(Lsun/awt/AWTCharset;Ljava/nio/charset/CharsetEncoder;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/AWTCharset$Encoder;
MethodParameters:
Name Flags
this$0 final
protected void <init>(sun.awt.AWTCharset, java.nio.charset.CharsetEncoder);
descriptor: (Lsun/awt/AWTCharset;Ljava/nio/charset/CharsetEncoder;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield sun.awt.AWTCharset$Encoder.this$0:Lsun/awt/AWTCharset;
1: aload 0
aload 1
getfield sun.awt.AWTCharset.awtCs:Ljava/nio/charset/Charset;
2: aload 2
invokevirtual java.nio.charset.CharsetEncoder.averageBytesPerChar:()F
3: aload 2
invokevirtual java.nio.charset.CharsetEncoder.maxBytesPerChar:()F
invokespecial java.nio.charset.CharsetEncoder.<init>:(Ljava/nio/charset/Charset;FF)V
4: aload 0
aload 2
putfield sun.awt.AWTCharset$Encoder.enc:Ljava/nio/charset/CharsetEncoder;
5: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/AWTCharset$Encoder;
0 6 2 enc Ljava/nio/charset/CharsetEncoder;
MethodParameters:
Name Flags
this$0 final
enc
public boolean canEncode(char);
descriptor: (C)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.AWTCharset$Encoder.enc:Ljava/nio/charset/CharsetEncoder;
iload 1
invokevirtual java.nio.charset.CharsetEncoder.canEncode:(C)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/AWTCharset$Encoder;
0 1 1 c C
MethodParameters:
Name Flags
c
public boolean canEncode(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.AWTCharset$Encoder.enc:Ljava/nio/charset/CharsetEncoder;
aload 1
invokevirtual java.nio.charset.CharsetEncoder.canEncode:(Ljava/lang/CharSequence;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/AWTCharset$Encoder;
0 1 1 cs Ljava/lang/CharSequence;
MethodParameters:
Name Flags
cs
protected java.nio.charset.CoderResult encodeLoop(java.nio.CharBuffer, java.nio.ByteBuffer);
descriptor: (Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.awt.AWTCharset$Encoder.enc:Ljava/nio/charset/CharsetEncoder;
aload 1
aload 2
iconst_1
invokevirtual java.nio.charset.CharsetEncoder.encode:(Ljava/nio/CharBuffer;Ljava/nio/ByteBuffer;Z)Ljava/nio/charset/CoderResult;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/AWTCharset$Encoder;
0 1 1 src Ljava/nio/CharBuffer;
0 1 2 dst Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
src
dst
protected java.nio.charset.CoderResult implFlush(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.AWTCharset$Encoder.enc:Ljava/nio/charset/CharsetEncoder;
aload 1
invokevirtual java.nio.charset.CharsetEncoder.flush:(Ljava/nio/ByteBuffer;)Ljava/nio/charset/CoderResult;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/AWTCharset$Encoder;
0 1 1 out Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
out
protected void implReset();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.AWTCharset$Encoder.enc:Ljava/nio/charset/CharsetEncoder;
invokevirtual java.nio.charset.CharsetEncoder.reset:()Ljava/nio/charset/CharsetEncoder;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/AWTCharset$Encoder;
protected void implReplaceWith(byte[]);
descriptor: ([B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.AWTCharset$Encoder.enc:Ljava/nio/charset/CharsetEncoder;
ifnull 2
1: aload 0
getfield sun.awt.AWTCharset$Encoder.enc:Ljava/nio/charset/CharsetEncoder;
aload 1
invokevirtual java.nio.charset.CharsetEncoder.replaceWith:([B)Ljava/nio/charset/CharsetEncoder;
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/AWTCharset$Encoder;
0 3 1 newReplacement [B
MethodParameters:
Name Flags
newReplacement
protected void implOnMalformedInput(java.nio.charset.CodingErrorAction);
descriptor: (Ljava/nio/charset/CodingErrorAction;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.AWTCharset$Encoder.enc:Ljava/nio/charset/CharsetEncoder;
aload 1
invokevirtual java.nio.charset.CharsetEncoder.onMalformedInput:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/AWTCharset$Encoder;
0 2 1 newAction Ljava/nio/charset/CodingErrorAction;
MethodParameters:
Name Flags
newAction
protected void implOnUnmappableCharacter(java.nio.charset.CodingErrorAction);
descriptor: (Ljava/nio/charset/CodingErrorAction;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.AWTCharset$Encoder.enc:Ljava/nio/charset/CharsetEncoder;
aload 1
invokevirtual java.nio.charset.CharsetEncoder.onUnmappableCharacter:(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetEncoder;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/AWTCharset$Encoder;
0 2 1 newAction Ljava/nio/charset/CodingErrorAction;
MethodParameters:
Name Flags
newAction
public boolean isLegalReplacement(byte[]);
descriptor: ([B)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/AWTCharset$Encoder;
0 1 1 repl [B
MethodParameters:
Name Flags
repl
}
SourceFile: "AWTCharset.java"
NestHost: sun.awt.AWTCharset
InnerClasses:
public Encoder = sun.awt.AWTCharset$Encoder of sun.awt.AWTCharset