public class org.jboss.resteasy.specimpl.VariantListBuilderImpl extends javax.ws.rs.core.Variant$VariantListBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.specimpl.VariantListBuilderImpl
super_class: javax.ws.rs.core.Variant$VariantListBuilder
{
private java.util.ArrayList<javax.ws.rs.core.Variant> variants;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Ljavax/ws/rs/core/Variant;>;
private java.util.ArrayList<java.util.Locale> currentLanguages;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Ljava/util/Locale;>;
private java.util.ArrayList<java.lang.String> currentEncodings;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Ljava/lang/String;>;
private java.util.ArrayList<javax.ws.rs.core.MediaType> currentTypes;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Ljavax/ws/rs/core/MediaType;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.ws.rs.core.Variant$VariantListBuilder.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.variants:Ljava/util/ArrayList;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentLanguages:Ljava/util/ArrayList;
3: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentEncodings:Ljava/util/ArrayList;
4: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentTypes:Ljava/util/ArrayList;
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jboss/resteasy/specimpl/VariantListBuilderImpl;
public java.util.List<javax.ws.rs.core.Variant> build();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jboss.resteasy.specimpl.VariantListBuilderImpl.add:()Ljavax/ws/rs/core/Variant$VariantListBuilder;
pop
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 2: aload 1
aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.variants:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
3: aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.variants:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clear:()V
4: aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentLanguages:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clear:()V
5: aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentEncodings:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clear:()V
6: aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentTypes:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clear:()V
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jboss/resteasy/specimpl/VariantListBuilderImpl;
2 8 1 copy Ljava/util/ArrayList<Ljavax/ws/rs/core/Variant;>;
Signature: ()Ljava/util/List<Ljavax/ws/rs/core/Variant;>;
public javax.ws.rs.core.Variant$VariantListBuilder add();
descriptor: ()Ljavax/ws/rs/core/Variant$VariantListBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentLanguages:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 1
start local 1 1: aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentEncodings:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 2
start local 2 2: aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentTypes:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: iload 1
ifne 5
iload 2
ifne 5
iload 3
ifne 5
aload 0
areturn
5: StackMap locals: org.jboss.resteasy.specimpl.VariantListBuilderImpl int int int int
StackMap stack:
aconst_null
astore 5
start local 5 6: iload 4
iload 3
if_icmpge 7
aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentTypes:Ljava/util/ArrayList;
iload 4
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast javax.ws.rs.core.MediaType
astore 5
7: StackMap locals: javax.ws.rs.core.MediaType
StackMap stack:
iconst_0
istore 6
start local 6 8: StackMap locals: int
StackMap stack:
aconst_null
astore 7
start local 7 9: iload 6
iload 2
if_icmpge 10
aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentEncodings:Ljava/util/ArrayList;
iload 6
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 7
10: StackMap locals: java.lang.String
StackMap stack:
iconst_0
istore 8
start local 8 11: StackMap locals: int
StackMap stack:
aconst_null
astore 9
start local 9 12: iload 8
iload 1
if_icmpge 13
aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentLanguages:Ljava/util/ArrayList;
iload 8
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast java.util.Locale
astore 9
13: StackMap locals: java.util.Locale
StackMap stack:
aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.variants:Ljava/util/ArrayList;
new javax.ws.rs.core.Variant
dup
aload 5
aload 9
aload 7
invokespecial javax.ws.rs.core.Variant.<init>:(Ljavax/ws/rs/core/MediaType;Ljava/util/Locale;Ljava/lang/String;)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
14: iinc 8 1
end local 9 15: iload 8
iload 1
16: if_icmplt 11
17: iinc 6 1
end local 8 end local 7 18: iload 6
iload 2
19: if_icmplt 8
20: iinc 4 1
end local 6 end local 5 21: iload 4
iload 3
22: if_icmplt 5
23: aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentLanguages:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clear:()V
24: aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentEncodings:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clear:()V
25: aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentTypes:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.clear:()V
26: aload 0
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/jboss/resteasy/specimpl/VariantListBuilderImpl;
1 27 1 langSize I
2 27 2 encodingSize I
3 27 3 typeSize I
4 27 4 i I
6 21 5 type Ljavax/ws/rs/core/MediaType;
8 21 6 j I
9 18 7 encoding Ljava/lang/String;
11 18 8 k I
12 15 9 language Ljava/util/Locale;
public javax.ws.rs.core.Variant$VariantListBuilder languages(java.util.Locale[]);
descriptor: ([Ljava/util/Locale;)Ljavax/ws/rs/core/Variant$VariantListBuilder;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 4
StackMap locals: org.jboss.resteasy.specimpl.VariantListBuilderImpl java.util.Locale[] top int int java.util.Locale[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentLanguages:Ljava/util/ArrayList;
aload 2
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 2 3: iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
iload 4
if_icmplt 1
5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jboss/resteasy/specimpl/VariantListBuilderImpl;
0 6 1 languages [Ljava/util/Locale;
2 3 2 language Ljava/util/Locale;
MethodParameters:
Name Flags
languages
public javax.ws.rs.core.Variant$VariantListBuilder encodings(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljavax/ws/rs/core/Variant$VariantListBuilder;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 4
StackMap locals: org.jboss.resteasy.specimpl.VariantListBuilderImpl java.lang.String[] top int int java.lang.String[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentEncodings:Ljava/util/ArrayList;
aload 2
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 2 3: iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
iload 4
if_icmplt 1
5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jboss/resteasy/specimpl/VariantListBuilderImpl;
0 6 1 encodings [Ljava/lang/String;
2 3 2 encoding Ljava/lang/String;
MethodParameters:
Name Flags
encodings
public javax.ws.rs.core.Variant$VariantListBuilder mediaTypes(javax.ws.rs.core.MediaType[]);
descriptor: ([Ljavax/ws/rs/core/MediaType;)Ljavax/ws/rs/core/Variant$VariantListBuilder;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 4
StackMap locals: org.jboss.resteasy.specimpl.VariantListBuilderImpl javax.ws.rs.core.MediaType[] top int int javax.ws.rs.core.MediaType[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 0
getfield org.jboss.resteasy.specimpl.VariantListBuilderImpl.currentTypes:Ljava/util/ArrayList;
aload 2
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 2 3: iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
iload 4
if_icmplt 1
5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jboss/resteasy/specimpl/VariantListBuilderImpl;
0 6 1 mediaTypes [Ljavax/ws/rs/core/MediaType;
2 3 2 type Ljavax/ws/rs/core/MediaType;
MethodParameters:
Name Flags
mediaTypes
}
SourceFile: "VariantListBuilderImpl.java"
InnerClasses:
public abstract VariantListBuilder = javax.ws.rs.core.Variant$VariantListBuilder of javax.ws.rs.core.Variant