public final class com.sun.xml.internal.ws.policy.PolicyMerger
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.xml.internal.ws.policy.PolicyMerger
super_class: java.lang.Object
{
private static final com.sun.xml.internal.ws.policy.PolicyMerger merger;
descriptor: Lcom/sun/xml/internal/ws/policy/PolicyMerger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.xml.internal.ws.policy.PolicyMerger
dup
invokespecial com.sun.xml.internal.ws.policy.PolicyMerger.<init>:()V
putstatic com.sun.xml.internal.ws.policy.PolicyMerger.merger:Lcom/sun/xml/internal/ws/policy/PolicyMerger;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/ws/policy/PolicyMerger;
public static com.sun.xml.internal.ws.policy.PolicyMerger getMerger();
descriptor: ()Lcom/sun/xml/internal/ws/policy/PolicyMerger;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.xml.internal.ws.policy.PolicyMerger.merger:Lcom/sun/xml/internal/ws/policy/PolicyMerger;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.sun.xml.internal.ws.policy.Policy merge(java.util.Collection<com.sun.xml.internal.ws.policy.Policy>);
descriptor: (Ljava/util/Collection;)Lcom/sun/xml/internal/ws/policy/Policy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Collection.size:()I
iconst_1
if_icmpne 4
3: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.xml.internal.ws.policy.Policy
areturn
4: StackMap locals:
StackMap stack:
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 2
start local 2 5: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 6: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.xml.internal.ws.policy.Policy
invokevirtual com.sun.xml.internal.ws.policy.Policy.getNamespaceVersion:()Lcom/sun/xml/internal/ws/policy/sourcemodel/wspolicy/NamespaceVersion;
astore 4
start local 4 7: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 6
goto 17
StackMap locals: com.sun.xml.internal.ws.policy.PolicyMerger java.util.Collection java.util.Collection java.lang.StringBuilder com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion top java.util.Iterator
StackMap stack:
8: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.xml.internal.ws.policy.Policy
astore 5
start local 5 9: aload 2
aload 5
invokevirtual com.sun.xml.internal.ws.policy.Policy.getContent:()Ljava/util/Collection;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
10: aload 4
aload 5
invokevirtual com.sun.xml.internal.ws.policy.Policy.getNamespaceVersion:()Lcom/sun/xml/internal/ws/policy/sourcemodel/wspolicy/NamespaceVersion;
invokevirtual com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion.compareTo:(Ljava/lang/Enum;)I
ifge 12
11: aload 5
invokevirtual com.sun.xml.internal.ws.policy.Policy.getNamespaceVersion:()Lcom/sun/xml/internal/ws/policy/sourcemodel/wspolicy/NamespaceVersion;
astore 4
12: StackMap locals: com.sun.xml.internal.ws.policy.PolicyMerger java.util.Collection java.util.Collection java.lang.StringBuilder com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion com.sun.xml.internal.ws.policy.Policy java.util.Iterator
StackMap stack:
aload 5
invokevirtual com.sun.xml.internal.ws.policy.Policy.getId:()Ljava/lang/String;
astore 7
start local 7 13: aload 7
ifnull 17
14: aload 3
invokevirtual java.lang.StringBuilder.length:()I
ifle 16
15: aload 3
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
16: StackMap locals: java.lang.String
StackMap stack:
aload 3
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 7 end local 5 17: StackMap locals: com.sun.xml.internal.ws.policy.PolicyMerger java.util.Collection java.util.Collection java.lang.StringBuilder com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
18: aconst_null
aload 2
iconst_0
invokestatic com.sun.xml.internal.ws.policy.privateutil.PolicyUtils$Collections.combine:(Ljava/util/Collection;Ljava/util/Collection;Z)Ljava/util/Collection;
astore 5
start local 5 19: aload 5
ifnull 20
aload 5
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 23
20: StackMap locals: com.sun.xml.internal.ws.policy.PolicyMerger java.util.Collection java.util.Collection java.lang.StringBuilder com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion java.util.Collection
StackMap stack:
aload 4
aconst_null
aload 3
invokevirtual java.lang.StringBuilder.length:()I
ifne 21
aconst_null
goto 22
StackMap locals: com.sun.xml.internal.ws.policy.PolicyMerger java.util.Collection java.util.Collection java.lang.StringBuilder com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion java.util.Collection
StackMap stack: com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion null
21: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: com.sun.xml.internal.ws.policy.PolicyMerger java.util.Collection java.util.Collection java.lang.StringBuilder com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion java.util.Collection
StackMap stack: com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion null java.lang.String
22: invokestatic com.sun.xml.internal.ws.policy.Policy.createNullPolicy:(Lcom/sun/xml/internal/ws/policy/sourcemodel/wspolicy/NamespaceVersion;Ljava/lang/String;Ljava/lang/String;)Lcom/sun/xml/internal/ws/policy/Policy;
areturn
23: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
aload 5
invokeinterface java.util.Collection.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 6
start local 6 24: aload 5
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 8
goto 27
StackMap locals: com.sun.xml.internal.ws.policy.PolicyMerger java.util.Collection java.util.Collection java.lang.StringBuilder com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion java.util.Collection java.util.Collection top java.util.Iterator
StackMap stack:
25: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Collection
astore 7
start local 7 26: aload 6
aload 7
invokestatic com.sun.xml.internal.ws.policy.AssertionSet.createMergedAssertionSet:(Ljava/util/Collection;)Lcom/sun/xml/internal/ws/policy/AssertionSet;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 7 27: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 25
28: aload 4
aconst_null
aload 3
invokevirtual java.lang.StringBuilder.length:()I
ifne 29
aconst_null
goto 30
StackMap locals: com.sun.xml.internal.ws.policy.PolicyMerger java.util.Collection java.util.Collection java.lang.StringBuilder com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion java.util.Collection java.util.Collection
StackMap stack: com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion null
29: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: com.sun.xml.internal.ws.policy.PolicyMerger java.util.Collection java.util.Collection java.lang.StringBuilder com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion java.util.Collection java.util.Collection
StackMap stack: com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion null java.lang.String
30: aload 6
invokestatic com.sun.xml.internal.ws.policy.Policy.createPolicy:(Lcom/sun/xml/internal/ws/policy/sourcemodel/wspolicy/NamespaceVersion;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;)Lcom/sun/xml/internal/ws/policy/Policy;
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 31 0 this Lcom/sun/xml/internal/ws/policy/PolicyMerger;
0 31 1 policies Ljava/util/Collection<Lcom/sun/xml/internal/ws/policy/Policy;>;
5 31 2 alternativeSets Ljava/util/Collection<Ljava/util/Collection<Lcom/sun/xml/internal/ws/policy/AssertionSet;>;>;
6 31 3 id Ljava/lang/StringBuilder;
7 31 4 mergedVersion Lcom/sun/xml/internal/ws/policy/sourcemodel/wspolicy/NamespaceVersion;
9 17 5 policy Lcom/sun/xml/internal/ws/policy/Policy;
13 17 7 policyId Ljava/lang/String;
19 31 5 combinedAlternatives Ljava/util/Collection<Ljava/util/Collection<Lcom/sun/xml/internal/ws/policy/AssertionSet;>;>;
24 31 6 mergedSetList Ljava/util/Collection<Lcom/sun/xml/internal/ws/policy/AssertionSet;>;
26 27 7 toBeMerged Ljava/util/Collection<Lcom/sun/xml/internal/ws/policy/AssertionSet;>;
Signature: (Ljava/util/Collection<Lcom/sun/xml/internal/ws/policy/Policy;>;)Lcom/sun/xml/internal/ws/policy/Policy;
MethodParameters:
Name Flags
policies final
}
SourceFile: "PolicyMerger.java"
InnerClasses:
public Collections = com.sun.xml.internal.ws.policy.privateutil.PolicyUtils$Collections of com.sun.xml.internal.ws.policy.privateutil.PolicyUtils