public class org.codehaus.plexus.interpolation.util.StringUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.codehaus.plexus.interpolation.util.StringUtils
super_class: java.lang.Object
{
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 Lorg/codehaus/plexus/interpolation/util/StringUtils;
public static java.lang.String replace(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_m1
invokestatic org.codehaus.plexus.interpolation.util.StringUtils.replace:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 text Ljava/lang/String;
0 1 1 repl Ljava/lang/String;
0 1 2 with Ljava/lang/String;
MethodParameters:
Name Flags
text
repl
with
public static java.lang.String replace(java.lang.String, java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnull 1
aload 1
ifnull 1
aload 2
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifne 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: goto 9
start local 6 5: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
aload 4
aload 0
iload 5
iload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: iload 6
aload 1
invokevirtual java.lang.String.length:()I
iadd
istore 5
7: iinc 3 -1
iload 3
ifne 9
8: goto 11
end local 6 9: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 5
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
dup
istore 6
start local 6 10: iconst_m1
if_icmpne 5
11: StackMap locals: int
StackMap stack:
aload 4
aload 0
iload 5
aload 0
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
12: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 6 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 13 0 text Ljava/lang/String;
0 13 1 repl Ljava/lang/String;
0 13 2 with Ljava/lang/String;
0 13 3 max I
3 13 4 buf Ljava/lang/StringBuilder;
4 13 5 start I
5 9 6 end I
10 13 6 end I
MethodParameters:
Name Flags
text
repl
with
max
public static java.lang.String capitalizeFirstLetter(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 1
start local 1 1: iload 1
invokestatic java.lang.Character.toTitleCase:(C)C
istore 2
start local 2 2: iload 1
iload 2
if_icmpne 4
3: aload 0
areturn
4: StackMap locals: int int
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.String.length:()I
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 3
start local 3 5: aload 3
iload 2
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
6: aload 3
aload 0
iconst_1
aload 0
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
7: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 data Ljava/lang/String;
1 8 1 firstChar C
2 8 2 titleCase C
5 8 3 result Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
data
}
SourceFile: "StringUtils.java"