public class org.jboss.resteasy.core.interception.LegacyPrecedence
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.core.interception.LegacyPrecedence
super_class: java.lang.Object
{
private static final int DEFAULTS_ORDER;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 100000
protected java.util.Map<java.lang.String, java.lang.Integer> precedenceOrder;
descriptor: Ljava/util/Map;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
protected java.util.List<java.lang.String> precedenceList;
descriptor: Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Signature: Ljava/util/List<Ljava/lang/String;>;
public org.jboss.resteasy.core.interception.LegacyPrecedence clone();
descriptor: ()Lorg/jboss/resteasy/core/interception/LegacyPrecedence;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new org.jboss.resteasy.core.interception.LegacyPrecedence
dup
invokespecial org.jboss.resteasy.core.interception.LegacyPrecedence.<init>:()V
astore 1
start local 1 1: aload 1
getfield org.jboss.resteasy.core.interception.LegacyPrecedence.precedenceList:Ljava/util/List;
aload 0
getfield org.jboss.resteasy.core.interception.LegacyPrecedence.precedenceList:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
2: aload 1
getfield org.jboss.resteasy.core.interception.LegacyPrecedence.precedenceOrder:Ljava/util/Map;
aload 0
getfield org.jboss.resteasy.core.interception.LegacyPrecedence.precedenceOrder:Ljava/util/Map;
invokeinterface java.util.Map.putAll:(Ljava/util/Map;)V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/core/interception/LegacyPrecedence;
1 4 1 precedence Lorg/jboss/resteasy/core/interception/LegacyPrecedence;
public int calculateOrder(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ldc Lorg/jboss/resteasy/annotations/interception/Precedence;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.jboss.resteasy.annotations.interception.Precedence
astore 2
start local 2 1: aload 2
ifnull 6
2: aload 2
invokeinterface org.jboss.resteasy.annotations.interception.Precedence.value:()Ljava/lang/String;
astore 3
start local 3 3: aload 0
getfield org.jboss.resteasy.core.interception.LegacyPrecedence.precedenceOrder:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 4
start local 4 4: aload 4
ifnonnull 5
new java.lang.RuntimeException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 3
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.unknownInterceptorPrecedence:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: org.jboss.resteasy.annotations.interception.Precedence java.lang.String java.lang.Integer
StackMap stack:
aload 4
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 4 end local 3 6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Class.getAnnotations:()[Ljava/lang/annotation/Annotation;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 15
StackMap locals: org.jboss.resteasy.core.interception.LegacyPrecedence java.lang.Class org.jboss.resteasy.annotations.interception.Precedence top int int java.lang.annotation.Annotation[]
StackMap stack:
7: aload 6
iload 4
aaload
astore 3
start local 3 8: aload 3
invokeinterface java.lang.annotation.Annotation.annotationType:()Ljava/lang/Class;
ldc Lorg/jboss/resteasy/annotations/interception/Precedence;
invokevirtual java.lang.Class.getAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.jboss.resteasy.annotations.interception.Precedence
astore 2
9: aload 2
ifnull 14
10: aload 2
invokeinterface org.jboss.resteasy.annotations.interception.Precedence.value:()Ljava/lang/String;
astore 7
start local 7 11: aload 0
getfield org.jboss.resteasy.core.interception.LegacyPrecedence.precedenceOrder:Ljava/util/Map;
aload 7
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 8
start local 8 12: aload 8
ifnonnull 13
new java.lang.RuntimeException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
aload 7
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.unknownInterceptorPrecedence:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: org.jboss.resteasy.core.interception.LegacyPrecedence java.lang.Class org.jboss.resteasy.annotations.interception.Precedence java.lang.annotation.Annotation int int java.lang.annotation.Annotation[] java.lang.String java.lang.Integer
StackMap stack:
aload 8
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 8 end local 7 end local 3 14: StackMap locals: org.jboss.resteasy.core.interception.LegacyPrecedence java.lang.Class org.jboss.resteasy.annotations.interception.Precedence top int int java.lang.annotation.Annotation[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
iload 5
if_icmplt 7
16: sipush 5000
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/jboss/resteasy/core/interception/LegacyPrecedence;
0 17 1 clazz Ljava/lang/Class<*>;
1 17 2 precedence Lorg/jboss/resteasy/annotations/interception/Precedence;
3 6 3 value Ljava/lang/String;
4 6 4 o Ljava/lang/Integer;
8 14 3 annotation Ljava/lang/annotation/Annotation;
11 14 7 value Ljava/lang/String;
12 14 8 o Ljava/lang/Integer;
Signature: (Ljava/lang/Class<*>;)I
MethodParameters:
Name Flags
clazz
public void addPrecedence(java.lang.String, int);
descriptor: (Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jboss.resteasy.core.interception.LegacyPrecedence.precedenceList:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
getfield org.jboss.resteasy.core.interception.LegacyPrecedence.precedenceOrder:Ljava/util/Map;
aload 1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jboss/resteasy/core/interception/LegacyPrecedence;
0 3 1 precedent Ljava/lang/String;
0 3 2 order I
MethodParameters:
Name Flags
precedent
order
public void appendPrecedence(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jboss.resteasy.core.interception.LegacyPrecedence.precedenceList:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: iconst_0
istore 2
start local 2 2: aload 0
getfield org.jboss.resteasy.core.interception.LegacyPrecedence.precedenceOrder:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: org.jboss.resteasy.core.interception.LegacyPrecedence java.lang.String int top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Integer
astore 3
start local 3 4: aload 3
invokevirtual java.lang.Integer.intValue:()I
iload 2
if_icmple 5
aload 3
invokevirtual java.lang.Integer.intValue:()I
ldc 100000
if_icmpeq 5
aload 3
invokevirtual java.lang.Integer.intValue:()I
istore 2
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 0
aload 1
iload 2
bipush 100
iadd
invokevirtual org.jboss.resteasy.core.interception.LegacyPrecedence.addPrecedence:(Ljava/lang/String;I)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jboss/resteasy/core/interception/LegacyPrecedence;
0 8 1 precedence Ljava/lang/String;
2 8 2 greatest I
4 5 3 i Ljava/lang/Integer;
MethodParameters:
Name Flags
precedence
public void insertPrecedenceAfter(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jboss.resteasy.core.interception.LegacyPrecedence.precedenceOrder:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 3
start local 3 1: iinc 3 1
2: aload 0
aload 2
iload 3
invokevirtual org.jboss.resteasy.core.interception.LegacyPrecedence.addPrecedence:(Ljava/lang/String;I)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/core/interception/LegacyPrecedence;
0 4 1 after Ljava/lang/String;
0 4 2 newPrecedence Ljava/lang/String;
1 4 3 order I
MethodParameters:
Name Flags
after
newPrecedence
public void insertPrecedenceBefore(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jboss.resteasy.core.interception.LegacyPrecedence.precedenceOrder:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 3
start local 3 1: iinc 3 -1
2: aload 0
aload 2
iload 3
invokevirtual org.jboss.resteasy.core.interception.LegacyPrecedence.addPrecedence:(Ljava/lang/String;I)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/core/interception/LegacyPrecedence;
0 4 1 after Ljava/lang/String;
0 4 2 newPrecedence Ljava/lang/String;
1 4 3 order I
MethodParameters:
Name Flags
after
newPrecedence
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.jboss.resteasy.core.interception.LegacyPrecedence.precedenceOrder:Ljava/util/Map;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.jboss.resteasy.core.interception.LegacyPrecedence.precedenceList:Ljava/util/List;
3: aload 0
getfield org.jboss.resteasy.core.interception.LegacyPrecedence.precedenceOrder:Ljava/util/Map;
ldc "DEFAULT"
ldc 100000
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jboss/resteasy/core/interception/LegacyPrecedence;
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.jboss.resteasy.core.interception.LegacyPrecedence.clone:()Lorg/jboss/resteasy/core/interception/LegacyPrecedence;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.CloneNotSupportedException
}
SourceFile: "LegacyPrecedence.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()