class io.vertx.ext.auth.authorization.impl.WildcardExpression
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.vertx.ext.auth.authorization.impl.WildcardExpression
super_class: java.lang.Object
{
protected static final java.lang.String PART_DIVIDER_TOKEN;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: ":"
protected static final java.lang.String SUBPART_DIVIDER_TOKEN;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: ","
protected static final java.lang.String WILDCARD_TOKEN;
descriptor: Ljava/lang/String;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: "*"
private java.util.List<java.util.Set<java.lang.String>> parts;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/util/Set<Ljava/lang/String;>;>;
private java.lang.String value;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
putfield io.vertx.ext.auth.authorization.impl.WildcardExpression.value:Ljava/lang/String;
3: aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 5
4: new java.lang.IllegalArgumentException
dup
ldc "Wildcard value cannot be empty"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: io.vertx.ext.auth.authorization.impl.WildcardExpression java.lang.String
StackMap stack:
aload 0
aload 1
invokevirtual io.vertx.ext.auth.authorization.impl.WildcardExpression.setParts:(Ljava/lang/String;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/ext/auth/authorization/impl/WildcardExpression;
0 7 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof io.vertx.ext.auth.authorization.impl.WildcardExpression
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast io.vertx.ext.auth.authorization.impl.WildcardExpression
astore 2
start local 2 7: aload 0
getfield io.vertx.ext.auth.authorization.impl.WildcardExpression.parts:Ljava/util/List;
aload 2
getfield io.vertx.ext.auth.authorization.impl.WildcardExpression.parts:Ljava/util/List;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/vertx/ext/auth/authorization/impl/WildcardExpression;
0 8 1 obj Ljava/lang/Object;
7 8 2 other Lio/vertx/ext/auth/authorization/impl/WildcardExpression;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield io.vertx.ext.auth.authorization.impl.WildcardExpression.parts:Ljava/util/List;
aastore
invokestatic java.util.Objects.hash:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/auth/authorization/impl/WildcardExpression;
public boolean implies(io.vertx.ext.auth.authorization.impl.WildcardExpression);
descriptor: (Lio/vertx/ext/auth/authorization/impl/WildcardExpression;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
getfield io.vertx.ext.auth.authorization.impl.WildcardExpression.parts:Ljava/util/List;
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 12
StackMap locals: io.vertx.ext.auth.authorization.impl.WildcardExpression io.vertx.ext.auth.authorization.impl.WildcardExpression java.util.List int top java.util.Iterator
StackMap stack:
5: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Set
astore 4
start local 4 6: aload 0
getfield io.vertx.ext.auth.authorization.impl.WildcardExpression.parts:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
iload 3
if_icmpge 8
7: iconst_1
ireturn
8: StackMap locals: io.vertx.ext.auth.authorization.impl.WildcardExpression io.vertx.ext.auth.authorization.impl.WildcardExpression java.util.List int java.util.Set java.util.Iterator
StackMap stack:
aload 0
getfield io.vertx.ext.auth.authorization.impl.WildcardExpression.parts:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.util.Set
astore 6
start local 6 9: aload 6
ldc "*"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 11
aload 6
aload 4
invokeinterface java.util.Set.containsAll:(Ljava/util/Collection;)Z
ifne 11
10: iconst_0
ireturn
11: StackMap locals: java.util.Set
StackMap stack:
iinc 3 1
end local 6 end local 4 12: StackMap locals: io.vertx.ext.auth.authorization.impl.WildcardExpression io.vertx.ext.auth.authorization.impl.WildcardExpression java.util.List int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
13: goto 18
14: StackMap locals: io.vertx.ext.auth.authorization.impl.WildcardExpression io.vertx.ext.auth.authorization.impl.WildcardExpression java.util.List int
StackMap stack:
aload 0
getfield io.vertx.ext.auth.authorization.impl.WildcardExpression.parts:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.util.Set
astore 4
start local 4 15: aload 4
ldc "*"
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifne 17
16: iconst_0
ireturn
end local 4 17: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
18: iload 3
aload 0
getfield io.vertx.ext.auth.authorization.impl.WildcardExpression.parts:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 14
19: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lio/vertx/ext/auth/authorization/impl/WildcardExpression;
0 20 1 p Lio/vertx/ext/auth/authorization/impl/WildcardExpression;
3 20 2 otherParts Ljava/util/List<Ljava/util/Set<Ljava/lang/String;>;>;
4 20 3 i I
6 12 4 otherPart Ljava/util/Set<Ljava/lang/String;>;
9 12 6 part Ljava/util/Set<Ljava/lang/String;>;
15 17 4 part Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
p
protected void setParts(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
1: aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
2: new java.lang.IllegalArgumentException
dup
ldc "Wildcard string cannot be empty"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield io.vertx.ext.auth.authorization.impl.WildcardExpression.parts:Ljava/util/List;
4: aload 1
ldc ":"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 13
StackMap locals: io.vertx.ext.auth.authorization.impl.WildcardExpression java.lang.String top int int java.lang.String[]
StackMap stack:
5: aload 5
iload 3
aaload
astore 2
start local 2 6: new java.util.LinkedHashSet
dup
aload 2
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.util.LinkedHashSet.<init>:(Ljava/util/Collection;)V
astore 6
start local 6 7: aload 6
invokeinterface java.util.Set.isEmpty:()Z
ifeq 11
8: new java.lang.IllegalArgumentException
dup
9: ldc "Wildcard string cannot contain parts with only dividers. Make sure permission strings are properly formatted."
10: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: io.vertx.ext.auth.authorization.impl.WildcardExpression java.lang.String java.lang.String int int java.lang.String[] java.util.Set
StackMap stack:
aload 0
getfield io.vertx.ext.auth.authorization.impl.WildcardExpression.parts:Ljava/util/List;
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 2 12: iinc 3 1
StackMap locals: io.vertx.ext.auth.authorization.impl.WildcardExpression java.lang.String top int int java.lang.String[]
StackMap stack:
13: iload 3
iload 4
if_icmplt 5
14: aload 0
getfield io.vertx.ext.auth.authorization.impl.WildcardExpression.parts:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 18
15: new java.lang.IllegalArgumentException
dup
16: ldc "Wildcard string cannot contain only dividers. Make sure permission strings are properly formatted."
17: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals: io.vertx.ext.auth.authorization.impl.WildcardExpression java.lang.String
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lio/vertx/ext/auth/authorization/impl/WildcardExpression;
0 19 1 wildcardString Ljava/lang/String;
6 12 2 part Ljava/lang/String;
7 12 6 subparts Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
wildcardString
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.ext.auth.authorization.impl.WildcardExpression.value:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/ext/auth/authorization/impl/WildcardExpression;
}
SourceFile: "WildcardExpression.java"