class com.sun.codemodel.internal.JJavaName$Entry
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.codemodel.internal.JJavaName$Entry
super_class: java.lang.Object
{
private final java.util.regex.Pattern pattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String replacement;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 // com.sun.codemodel.internal.JJavaName$Entry this
start local 1 // java.lang.String pattern
start local 2 // java.lang.String replacement
0: .line 200
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 201
aload 0 /* this */
aload 1 /* pattern */
iconst_2
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;I)Ljava/util/regex/Pattern;
putfield com.sun.codemodel.internal.JJavaName$Entry.pattern:Ljava/util/regex/Pattern;
2: .line 202
aload 0 /* this */
aload 2 /* replacement */
putfield com.sun.codemodel.internal.JJavaName$Entry.replacement:Ljava/lang/String;
3: .line 203
return
end local 2 // java.lang.String replacement
end local 1 // java.lang.String pattern
end local 0 // com.sun.codemodel.internal.JJavaName$Entry this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/codemodel/internal/JJavaName$Entry;
0 4 1 pattern Ljava/lang/String;
0 4 2 replacement Ljava/lang/String;
MethodParameters:
Name Flags
pattern
replacement
java.lang.String apply(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 // com.sun.codemodel.internal.JJavaName$Entry this
start local 1 // java.lang.String word
0: .line 206
aload 0 /* this */
getfield com.sun.codemodel.internal.JJavaName$Entry.pattern:Ljava/util/regex/Pattern;
aload 1 /* word */
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 2 /* m */
start local 2 // java.util.regex.Matcher m
1: .line 207
aload 2 /* m */
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 5
2: .line 208
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 3 /* buf */
start local 3 // java.lang.StringBuffer buf
3: .line 209
aload 2 /* m */
aload 3 /* buf */
aload 0 /* this */
getfield com.sun.codemodel.internal.JJavaName$Entry.replacement:Ljava/lang/String;
invokevirtual java.util.regex.Matcher.appendReplacement:(Ljava/lang/StringBuffer;Ljava/lang/String;)Ljava/util/regex/Matcher;
pop
4: .line 210
aload 3 /* buf */
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 3 // java.lang.StringBuffer buf
5: .line 212
StackMap locals: java.util.regex.Matcher
StackMap stack:
aconst_null
areturn
end local 2 // java.util.regex.Matcher m
end local 1 // java.lang.String word
end local 0 // com.sun.codemodel.internal.JJavaName$Entry this
LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/codemodel/internal/JJavaName$Entry;
0 6 1 word Ljava/lang/String;
1 6 2 m Ljava/util/regex/Matcher;
3 5 3 buf Ljava/lang/StringBuffer;
MethodParameters:
Name Flags
word
}
SourceFile: "JJavaName.java"
NestHost: com.sun.codemodel.internal.JJavaName
InnerClasses:
private Entry = com.sun.codemodel.internal.JJavaName$Entry of com.sun.codemodel.internal.JJavaName