class javax.management.MatchQueryExp extends javax.management.QueryEval implements javax.management.QueryExp
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.management.MatchQueryExp
super_class: javax.management.QueryEval
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -7156603696948215014
private javax.management.AttributeValueExp exp;
descriptor: Ljavax/management/AttributeValueExp;
flags: (0x0002) ACC_PRIVATE
private java.lang.String pattern;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.management.QueryEval.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/management/MatchQueryExp;
public void <init>(javax.management.AttributeValueExp, javax.management.StringValueExp);
descriptor: (Ljavax/management/AttributeValueExp;Ljavax/management/StringValueExp;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial javax.management.QueryEval.<init>:()V
1: aload 0
aload 1
putfield javax.management.MatchQueryExp.exp:Ljavax/management/AttributeValueExp;
2: aload 0
aload 2
invokevirtual javax.management.StringValueExp.getValue:()Ljava/lang/String;
putfield javax.management.MatchQueryExp.pattern:Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/management/MatchQueryExp;
0 4 1 a Ljavax/management/AttributeValueExp;
0 4 2 s Ljavax/management/StringValueExp;
MethodParameters:
Name Flags
a
s
public javax.management.AttributeValueExp getAttribute();
descriptor: ()Ljavax/management/AttributeValueExp;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.management.MatchQueryExp.exp:Ljavax/management/AttributeValueExp;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/MatchQueryExp;
public java.lang.String getPattern();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.management.MatchQueryExp.pattern:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/MatchQueryExp;
public boolean apply(javax.management.ObjectName);
descriptor: (Ljavax/management/ObjectName;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.management.MatchQueryExp.exp:Ljavax/management/AttributeValueExp;
aload 1
invokevirtual javax.management.AttributeValueExp.apply:(Ljavax/management/ObjectName;)Ljavax/management/ValueExp;
astore 2
start local 2 1: aload 2
instanceof javax.management.StringValueExp
ifne 3
2: iconst_0
ireturn
3: StackMap locals: javax.management.ValueExp
StackMap stack:
aload 2
checkcast javax.management.StringValueExp
invokevirtual javax.management.StringValueExp.getValue:()Ljava/lang/String;
aload 0
getfield javax.management.MatchQueryExp.pattern:Ljava/lang/String;
invokestatic javax.management.MatchQueryExp.wildmatch:(Ljava/lang/String;Ljava/lang/String;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/management/MatchQueryExp;
0 4 1 name Ljavax/management/ObjectName;
1 4 2 val Ljavax/management/ValueExp;
Exceptions:
throws javax.management.BadStringOperationException, javax.management.BadBinaryOpValueExpException, javax.management.BadAttributeValueExpException, javax.management.InvalidApplicationException
MethodParameters:
Name Flags
name
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield javax.management.MatchQueryExp.exp:Ljavax/management/AttributeValueExp;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " like "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
new javax.management.StringValueExp
dup
aload 0
getfield javax.management.MatchQueryExp.pattern:Ljava/lang/String;
invokestatic javax.management.MatchQueryExp.likeTranslate:(Ljava/lang/String;)Ljava/lang/String;
invokespecial javax.management.StringValueExp.<init>:(Ljava/lang/String;)V
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/management/MatchQueryExp;
private static java.lang.String likeTranslate(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
bipush 63
bipush 95
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
bipush 42
bipush 37
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
private static boolean wildmatch(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: iconst_0
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: aload 0
invokevirtual java.lang.String.length:()I
istore 5
start local 5 3: aload 1
invokevirtual java.lang.String.length:()I
istore 6
start local 6 4: goto 48
5: StackMap locals: java.lang.String java.lang.String top int int int int
StackMap stack:
aload 1
iload 4
iinc 4 1
invokevirtual java.lang.String.charAt:(I)C
istore 2
start local 2 6: iload 2
bipush 63
if_icmpne 9
7: iinc 3 1
iload 3
iload 5
if_icmple 48
8: iconst_0
ireturn
9: StackMap locals: java.lang.String java.lang.String int int int int int
StackMap stack:
iload 2
bipush 91
if_icmpne 34
10: iload 3
iload 5
if_icmplt 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
iconst_1
istore 7
start local 7 13: iconst_0
istore 8
start local 8 14: aload 1
iload 4
invokevirtual java.lang.String.charAt:(I)C
bipush 33
if_icmpne 28
15: iconst_0
istore 7
16: iinc 4 1
17: goto 28
18: StackMap locals: int int
StackMap stack:
aload 1
iload 4
invokevirtual java.lang.String.charAt:(I)C
bipush 45
if_icmpne 26
19: iload 4
iconst_1
iadd
iload 6
if_icmpge 26
20: aload 1
iload 4
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
bipush 93
if_icmpeq 26
21: aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
aload 1
iload 4
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
if_icmplt 24
22: aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
aload 1
iload 4
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
if_icmpgt 24
23: iconst_1
istore 8
24: StackMap locals:
StackMap stack:
iinc 4 1
25: goto 28
26: StackMap locals:
StackMap stack:
iload 2
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
if_icmpne 28
27: iconst_1
istore 8
28: StackMap locals:
StackMap stack:
aload 1
iload 4
invokevirtual java.lang.String.charAt:(I)C
dup
istore 2
bipush 93
if_icmpeq 29
iinc 4 1
iload 4
iload 6
if_icmplt 18
29: StackMap locals:
StackMap stack:
iload 4
iload 6
if_icmpge 30
iload 7
iload 8
if_icmpeq 31
30: StackMap locals:
StackMap stack:
iconst_0
ireturn
31: StackMap locals:
StackMap stack:
iinc 4 1
32: iinc 3 1
end local 8 end local 7 33: goto 48
StackMap locals:
StackMap stack:
34: iload 2
bipush 42
if_icmpne 42
35: iload 4
iload 6
if_icmplt 37
36: iconst_1
ireturn
37: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
aload 1
iload 4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic javax.management.MatchQueryExp.wildmatch:(Ljava/lang/String;Ljava/lang/String;)Z
ifeq 39
38: iconst_1
ireturn
39: StackMap locals:
StackMap stack:
iinc 3 1
iload 3
iload 5
40: if_icmplt 37
41: iconst_0
ireturn
42: StackMap locals:
StackMap stack:
iload 2
bipush 92
if_icmpne 46
43: iload 4
iload 6
if_icmpge 45
iload 3
iload 5
if_icmpge 45
44: aload 1
iload 4
iinc 4 1
invokevirtual java.lang.String.charAt:(I)C
aload 0
iload 3
iinc 3 1
invokevirtual java.lang.String.charAt:(I)C
if_icmpeq 48
45: StackMap locals:
StackMap stack:
iconst_0
ireturn
46: StackMap locals:
StackMap stack:
iload 3
iload 5
if_icmpge 47
iload 2
aload 0
iload 3
iinc 3 1
invokevirtual java.lang.String.charAt:(I)C
if_icmpeq 48
47: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 48: StackMap locals: java.lang.String java.lang.String top int int int int
StackMap stack:
iload 4
iload 6
if_icmplt 5
49: iload 3
iload 5
if_icmpne 50
iconst_1
ireturn
StackMap locals:
StackMap stack:
50: iconst_0
ireturn
end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 s Ljava/lang/String;
0 51 1 p Ljava/lang/String;
6 48 2 c C
1 51 3 si I
2 51 4 pi I
3 51 5 slen I
4 51 6 plen I
13 33 7 wantit Z
14 33 8 seenit Z
MethodParameters:
Name Flags
s
p
}
SourceFile: "MatchQueryExp.java"