public class com.fasterxml.jackson.databind.PropertyNamingStrategy$SnakeCaseStrategy extends com.fasterxml.jackson.databind.PropertyNamingStrategy$PropertyNamingStrategyBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.fasterxml.jackson.databind.PropertyNamingStrategy$SnakeCaseStrategy
super_class: com.fasterxml.jackson.databind.PropertyNamingStrategy$PropertyNamingStrategyBase
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.fasterxml.jackson.databind.PropertyNamingStrategy$PropertyNamingStrategyBase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/fasterxml/jackson/databind/PropertyNamingStrategy$SnakeCaseStrategy;
public java.lang.String translate(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
aload 1
areturn
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
istore 2
start local 2 2: new java.lang.StringBuilder
dup
iload 2
iconst_2
imul
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 3
start local 3 3: iconst_0
istore 4
start local 4 4: iconst_0
istore 5
start local 5 5: iconst_0
istore 6
start local 6 6: goto 20
7: StackMap locals: com.fasterxml.jackson.databind.PropertyNamingStrategy$SnakeCaseStrategy java.lang.String int java.lang.StringBuilder int int int
StackMap stack:
aload 1
iload 6
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 8: iload 6
ifgt 9
iload 7
bipush 95
if_icmpeq 19
9: StackMap locals: int
StackMap stack:
iload 7
invokestatic java.lang.Character.isUpperCase:(C)Z
ifeq 16
10: iload 5
ifne 13
iload 4
ifle 13
aload 3
iload 4
iconst_1
isub
invokevirtual java.lang.StringBuilder.charAt:(I)C
bipush 95
if_icmpeq 13
11: aload 3
bipush 95
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
12: iinc 4 1
13: StackMap locals:
StackMap stack:
iload 7
invokestatic java.lang.Character.toLowerCase:(C)C
istore 7
14: iconst_1
istore 5
15: goto 17
16: StackMap locals:
StackMap stack:
iconst_0
istore 5
17: StackMap locals:
StackMap stack:
aload 3
iload 7
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
18: iinc 4 1
end local 7 19: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
20: iload 6
iload 2
if_icmplt 7
end local 6 21: iload 4
ifle 22
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 23
StackMap locals:
StackMap stack:
22: aload 1
StackMap locals:
StackMap stack: java.lang.String
23: areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/fasterxml/jackson/databind/PropertyNamingStrategy$SnakeCaseStrategy;
0 24 1 input Ljava/lang/String;
2 24 2 length I
3 24 3 result Ljava/lang/StringBuilder;
4 24 4 resultLength I
5 24 5 wasPrevTranslated Z
6 21 6 i I
8 19 7 c C
MethodParameters:
Name Flags
input
}
SourceFile: "PropertyNamingStrategy.java"
NestHost: com.fasterxml.jackson.databind.PropertyNamingStrategy
InnerClasses:
public abstract PropertyNamingStrategyBase = com.fasterxml.jackson.databind.PropertyNamingStrategy$PropertyNamingStrategyBase of com.fasterxml.jackson.databind.PropertyNamingStrategy
public SnakeCaseStrategy = com.fasterxml.jackson.databind.PropertyNamingStrategy$SnakeCaseStrategy of com.fasterxml.jackson.databind.PropertyNamingStrategy