public class org.jboss.resteasy.core.request.VariantQuality
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.core.request.VariantQuality
super_class: java.lang.Object
{
private org.jboss.resteasy.core.request.QualityValue mediaTypeQualityValue;
descriptor: Lorg/jboss/resteasy/core/request/QualityValue;
flags: (0x0002) ACC_PRIVATE
private org.jboss.resteasy.core.request.QualityValue characterSetQualityValue;
descriptor: Lorg/jboss/resteasy/core/request/QualityValue;
flags: (0x0002) ACC_PRIVATE
private org.jboss.resteasy.core.request.QualityValue encodingQualityValue;
descriptor: Lorg/jboss/resteasy/core/request/QualityValue;
flags: (0x0002) ACC_PRIVATE
private org.jboss.resteasy.core.request.QualityValue languageQualityValue;
descriptor: Lorg/jboss/resteasy/core/request/QualityValue;
flags: (0x0002) ACC_PRIVATE
private javax.ws.rs.core.MediaType requestMediaType;
descriptor: Ljavax/ws/rs/core/MediaType;
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/jboss/resteasy/core/request/VariantQuality;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.jboss.resteasy.core.request.VariantQuality.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic org.jboss.resteasy.core.request.QualityValue.DEFAULT:Lorg/jboss/resteasy/core/request/QualityValue;
putfield org.jboss.resteasy.core.request.VariantQuality.mediaTypeQualityValue:Lorg/jboss/resteasy/core/request/QualityValue;
2: aload 0
getstatic org.jboss.resteasy.core.request.QualityValue.DEFAULT:Lorg/jboss/resteasy/core/request/QualityValue;
putfield org.jboss.resteasy.core.request.VariantQuality.characterSetQualityValue:Lorg/jboss/resteasy/core/request/QualityValue;
3: aload 0
getstatic org.jboss.resteasy.core.request.QualityValue.DEFAULT:Lorg/jboss/resteasy/core/request/QualityValue;
putfield org.jboss.resteasy.core.request.VariantQuality.encodingQualityValue:Lorg/jboss/resteasy/core/request/QualityValue;
4: aload 0
getstatic org.jboss.resteasy.core.request.QualityValue.DEFAULT:Lorg/jboss/resteasy/core/request/QualityValue;
putfield org.jboss.resteasy.core.request.VariantQuality.languageQualityValue:Lorg/jboss/resteasy/core/request/QualityValue;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jboss/resteasy/core/request/VariantQuality;
public void setMediaTypeQualityValue(org.jboss.resteasy.core.request.QualityValue);
descriptor: (Lorg/jboss/resteasy/core/request/QualityValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
getstatic org.jboss.resteasy.core.request.QualityValue.DEFAULT:Lorg/jboss/resteasy/core/request/QualityValue;
putfield org.jboss.resteasy.core.request.VariantQuality.mediaTypeQualityValue:Lorg/jboss/resteasy/core/request/QualityValue;
goto 3
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.jboss.resteasy.core.request.VariantQuality.mediaTypeQualityValue:Lorg/jboss/resteasy/core/request/QualityValue;
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/core/request/VariantQuality;
0 4 1 value Lorg/jboss/resteasy/core/request/QualityValue;
MethodParameters:
Name Flags
value
public void setCharacterSetQualityValue(org.jboss.resteasy.core.request.QualityValue);
descriptor: (Lorg/jboss/resteasy/core/request/QualityValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
getstatic org.jboss.resteasy.core.request.QualityValue.DEFAULT:Lorg/jboss/resteasy/core/request/QualityValue;
putfield org.jboss.resteasy.core.request.VariantQuality.characterSetQualityValue:Lorg/jboss/resteasy/core/request/QualityValue;
goto 3
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.jboss.resteasy.core.request.VariantQuality.characterSetQualityValue:Lorg/jboss/resteasy/core/request/QualityValue;
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/core/request/VariantQuality;
0 4 1 value Lorg/jboss/resteasy/core/request/QualityValue;
MethodParameters:
Name Flags
value
public void setEncodingQualityValue(org.jboss.resteasy.core.request.QualityValue);
descriptor: (Lorg/jboss/resteasy/core/request/QualityValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
getstatic org.jboss.resteasy.core.request.QualityValue.DEFAULT:Lorg/jboss/resteasy/core/request/QualityValue;
putfield org.jboss.resteasy.core.request.VariantQuality.encodingQualityValue:Lorg/jboss/resteasy/core/request/QualityValue;
goto 3
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.jboss.resteasy.core.request.VariantQuality.encodingQualityValue:Lorg/jboss/resteasy/core/request/QualityValue;
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/core/request/VariantQuality;
0 4 1 value Lorg/jboss/resteasy/core/request/QualityValue;
MethodParameters:
Name Flags
value
public void setLanguageQualityValue(org.jboss.resteasy.core.request.QualityValue);
descriptor: (Lorg/jboss/resteasy/core/request/QualityValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
getstatic org.jboss.resteasy.core.request.QualityValue.DEFAULT:Lorg/jboss/resteasy/core/request/QualityValue;
putfield org.jboss.resteasy.core.request.VariantQuality.languageQualityValue:Lorg/jboss/resteasy/core/request/QualityValue;
goto 3
2: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.jboss.resteasy.core.request.VariantQuality.languageQualityValue:Lorg/jboss/resteasy/core/request/QualityValue;
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/core/request/VariantQuality;
0 4 1 value Lorg/jboss/resteasy/core/request/QualityValue;
MethodParameters:
Name Flags
value
public javax.ws.rs.core.MediaType getRequestMediaType();
descriptor: ()Ljavax/ws/rs/core/MediaType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.core.request.VariantQuality.requestMediaType:Ljavax/ws/rs/core/MediaType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/request/VariantQuality;
public void setRequestMediaType(javax.ws.rs.core.MediaType);
descriptor: (Ljavax/ws/rs/core/MediaType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jboss.resteasy.core.request.VariantQuality.requestMediaType:Ljavax/ws/rs/core/MediaType;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/core/request/VariantQuality;
0 2 1 requestMediaType Ljavax/ws/rs/core/MediaType;
MethodParameters:
Name Flags
requestMediaType
public java.math.BigDecimal getOverallQuality();
descriptor: ()Ljava/math/BigDecimal;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.core.request.VariantQuality.mediaTypeQualityValue:Lorg/jboss/resteasy/core/request/QualityValue;
invokevirtual org.jboss.resteasy.core.request.QualityValue.intValue:()I
i2l
iconst_3
invokestatic java.math.BigDecimal.valueOf:(JI)Ljava/math/BigDecimal;
astore 1
start local 1 1: aload 0
getfield org.jboss.resteasy.core.request.VariantQuality.characterSetQualityValue:Lorg/jboss/resteasy/core/request/QualityValue;
invokevirtual org.jboss.resteasy.core.request.QualityValue.intValue:()I
i2l
iconst_3
invokestatic java.math.BigDecimal.valueOf:(JI)Ljava/math/BigDecimal;
astore 2
start local 2 2: aload 0
getfield org.jboss.resteasy.core.request.VariantQuality.encodingQualityValue:Lorg/jboss/resteasy/core/request/QualityValue;
invokevirtual org.jboss.resteasy.core.request.QualityValue.intValue:()I
i2l
iconst_3
invokestatic java.math.BigDecimal.valueOf:(JI)Ljava/math/BigDecimal;
astore 3
start local 3 3: aload 0
getfield org.jboss.resteasy.core.request.VariantQuality.languageQualityValue:Lorg/jboss/resteasy/core/request/QualityValue;
invokevirtual org.jboss.resteasy.core.request.QualityValue.intValue:()I
i2l
iconst_3
invokestatic java.math.BigDecimal.valueOf:(JI)Ljava/math/BigDecimal;
astore 4
start local 4 4: getstatic org.jboss.resteasy.core.request.VariantQuality.$assertionsDisabled:Z
ifne 6
aload 1
getstatic java.math.BigDecimal.ZERO:Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.compareTo:(Ljava/math/BigDecimal;)I
iflt 5
aload 1
getstatic java.math.BigDecimal.ONE:Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.compareTo:(Ljava/math/BigDecimal;)I
ifle 6
StackMap locals: org.jboss.resteasy.core.request.VariantQuality java.math.BigDecimal java.math.BigDecimal java.math.BigDecimal java.math.BigDecimal
StackMap stack:
5: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
getstatic org.jboss.resteasy.core.request.VariantQuality.$assertionsDisabled:Z
ifne 8
aload 2
getstatic java.math.BigDecimal.ZERO:Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.compareTo:(Ljava/math/BigDecimal;)I
iflt 7
aload 2
getstatic java.math.BigDecimal.ONE:Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.compareTo:(Ljava/math/BigDecimal;)I
ifle 8
StackMap locals:
StackMap stack:
7: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
getstatic org.jboss.resteasy.core.request.VariantQuality.$assertionsDisabled:Z
ifne 10
aload 3
getstatic java.math.BigDecimal.ZERO:Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.compareTo:(Ljava/math/BigDecimal;)I
iflt 9
aload 3
getstatic java.math.BigDecimal.ONE:Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.compareTo:(Ljava/math/BigDecimal;)I
ifle 10
StackMap locals:
StackMap stack:
9: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
getstatic org.jboss.resteasy.core.request.VariantQuality.$assertionsDisabled:Z
ifne 12
aload 4
getstatic java.math.BigDecimal.ZERO:Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.compareTo:(Ljava/math/BigDecimal;)I
iflt 11
aload 4
getstatic java.math.BigDecimal.ONE:Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.compareTo:(Ljava/math/BigDecimal;)I
ifle 12
StackMap locals:
StackMap stack:
11: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
12: StackMap locals:
StackMap stack:
aload 1
astore 5
start local 5 13: aload 5
aload 2
getstatic java.math.MathContext.DECIMAL32:Ljava/math/MathContext;
invokevirtual java.math.BigDecimal.multiply:(Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;
astore 5
14: aload 5
aload 3
getstatic java.math.MathContext.DECIMAL32:Ljava/math/MathContext;
invokevirtual java.math.BigDecimal.multiply:(Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;
astore 5
15: aload 5
aload 4
getstatic java.math.MathContext.DECIMAL32:Ljava/math/MathContext;
invokevirtual java.math.BigDecimal.multiply:(Ljava/math/BigDecimal;Ljava/math/MathContext;)Ljava/math/BigDecimal;
astore 5
16: getstatic org.jboss.resteasy.core.request.VariantQuality.$assertionsDisabled:Z
ifne 18
aload 5
getstatic java.math.BigDecimal.ZERO:Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.compareTo:(Ljava/math/BigDecimal;)I
iflt 17
aload 5
getstatic java.math.BigDecimal.ONE:Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.compareTo:(Ljava/math/BigDecimal;)I
ifle 18
StackMap locals: java.math.BigDecimal
StackMap stack:
17: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
18: StackMap locals:
StackMap stack:
aload 5
iconst_5
invokevirtual java.math.BigDecimal.scaleByPowerOfTen:(I)Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.longValue:()J
lstore 6
start local 6 19: lload 6
iconst_5
invokestatic java.math.BigDecimal.valueOf:(JI)Ljava/math/BigDecimal;
astore 5
20: getstatic org.jboss.resteasy.core.request.VariantQuality.$assertionsDisabled:Z
ifne 22
aload 5
getstatic java.math.BigDecimal.ZERO:Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.compareTo:(Ljava/math/BigDecimal;)I
iflt 21
aload 5
getstatic java.math.BigDecimal.ONE:Ljava/math/BigDecimal;
invokevirtual java.math.BigDecimal.compareTo:(Ljava/math/BigDecimal;)I
ifle 22
StackMap locals: long
StackMap stack:
21: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
22: StackMap locals:
StackMap stack:
aload 5
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 23 0 this Lorg/jboss/resteasy/core/request/VariantQuality;
1 23 1 qt Ljava/math/BigDecimal;
2 23 2 qc Ljava/math/BigDecimal;
3 23 3 qe Ljava/math/BigDecimal;
4 23 4 ql Ljava/math/BigDecimal;
13 23 5 result Ljava/math/BigDecimal;
19 23 6 round5 J
}
SourceFile: "VariantQuality.java"