public final class com.sun.xml.internal.ws.policy.PolicyIntersector
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.xml.internal.ws.policy.PolicyIntersector
super_class: java.lang.Object
{
private static final com.sun.xml.internal.ws.policy.PolicyIntersector STRICT_INTERSECTOR;
descriptor: Lcom/sun/xml/internal/ws/policy/PolicyIntersector;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final com.sun.xml.internal.ws.policy.PolicyIntersector LAX_INTERSECTOR;
descriptor: Lcom/sun/xml/internal/ws/policy/PolicyIntersector;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final com.sun.xml.internal.ws.policy.privateutil.PolicyLogger LOGGER;
descriptor: Lcom/sun/xml/internal/ws/policy/privateutil/PolicyLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private com.sun.xml.internal.ws.policy.PolicyIntersector$CompatibilityMode mode;
descriptor: Lcom/sun/xml/internal/ws/policy/PolicyIntersector$CompatibilityMode;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new com.sun.xml.internal.ws.policy.PolicyIntersector
dup
getstatic com.sun.xml.internal.ws.policy.PolicyIntersector$CompatibilityMode.STRICT:Lcom/sun/xml/internal/ws/policy/PolicyIntersector$CompatibilityMode;
invokespecial com.sun.xml.internal.ws.policy.PolicyIntersector.<init>:(Lcom/sun/xml/internal/ws/policy/PolicyIntersector$CompatibilityMode;)V
putstatic com.sun.xml.internal.ws.policy.PolicyIntersector.STRICT_INTERSECTOR:Lcom/sun/xml/internal/ws/policy/PolicyIntersector;
1: new com.sun.xml.internal.ws.policy.PolicyIntersector
dup
getstatic com.sun.xml.internal.ws.policy.PolicyIntersector$CompatibilityMode.LAX:Lcom/sun/xml/internal/ws/policy/PolicyIntersector$CompatibilityMode;
invokespecial com.sun.xml.internal.ws.policy.PolicyIntersector.<init>:(Lcom/sun/xml/internal/ws/policy/PolicyIntersector$CompatibilityMode;)V
putstatic com.sun.xml.internal.ws.policy.PolicyIntersector.LAX_INTERSECTOR:Lcom/sun/xml/internal/ws/policy/PolicyIntersector;
2: ldc Lcom/sun/xml/internal/ws/policy/PolicyIntersector;
invokestatic com.sun.xml.internal.ws.policy.privateutil.PolicyLogger.getLogger:(Ljava/lang/Class;)Lcom/sun/xml/internal/ws/policy/privateutil/PolicyLogger;
putstatic com.sun.xml.internal.ws.policy.PolicyIntersector.LOGGER:Lcom/sun/xml/internal/ws/policy/privateutil/PolicyLogger;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(com.sun.xml.internal.ws.policy.PolicyIntersector$CompatibilityMode);
descriptor: (Lcom/sun/xml/internal/ws/policy/PolicyIntersector$CompatibilityMode;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.xml.internal.ws.policy.PolicyIntersector.mode:Lcom/sun/xml/internal/ws/policy/PolicyIntersector$CompatibilityMode;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/ws/policy/PolicyIntersector;
0 3 1 intersectionMode Lcom/sun/xml/internal/ws/policy/PolicyIntersector$CompatibilityMode;
MethodParameters:
Name Flags
intersectionMode
public static com.sun.xml.internal.ws.policy.PolicyIntersector createStrictPolicyIntersector();
descriptor: ()Lcom/sun/xml/internal/ws/policy/PolicyIntersector;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.xml.internal.ws.policy.PolicyIntersector.STRICT_INTERSECTOR:Lcom/sun/xml/internal/ws/policy/PolicyIntersector;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static com.sun.xml.internal.ws.policy.PolicyIntersector createLaxPolicyIntersector();
descriptor: ()Lcom/sun/xml/internal/ws/policy/PolicyIntersector;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.xml.internal.ws.policy.PolicyIntersector.LAX_INTERSECTOR:Lcom/sun/xml/internal/ws/policy/PolicyIntersector;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.sun.xml.internal.ws.policy.Policy intersect(com.sun.xml.internal.ws.policy.Policy[]);
descriptor: ([Lcom/sun/xml/internal/ws/policy/Policy;)Lcom/sun/xml/internal/ws/policy/Policy;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=13, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
getstatic com.sun.xml.internal.ws.policy.PolicyIntersector.LOGGER:Lcom/sun/xml/internal/ws/policy/privateutil/PolicyLogger;
new java.lang.IllegalArgumentException
dup
invokestatic com.sun.xml.internal.ws.policy.privateutil.LocalizationMessages.WSP_0056_NEITHER_NULL_NOR_EMPTY_POLICY_COLLECTION_EXPECTED:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
invokevirtual com.sun.xml.internal.ws.policy.privateutil.PolicyLogger.logSevereException:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
checkcast java.lang.IllegalArgumentException
athrow
2: StackMap locals:
StackMap stack:
aload 1
arraylength
iconst_1
if_icmpne 4
3: aload 1
iconst_0
aaload
areturn
4: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 5: iconst_1
istore 3
start local 3 6: aconst_null
astore 4
start local 4 7: aload 1
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 23
StackMap locals: com.sun.xml.internal.ws.policy.PolicyIntersector com.sun.xml.internal.ws.policy.Policy[] int int com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion top int int com.sun.xml.internal.ws.policy.Policy[]
StackMap stack:
8: aload 8
iload 6
aaload
astore 5
start local 5 9: aload 5
invokevirtual com.sun.xml.internal.ws.policy.Policy.isEmpty:()Z
ifeq 12
10: iconst_1
istore 2
11: goto 15
12: StackMap locals: com.sun.xml.internal.ws.policy.PolicyIntersector com.sun.xml.internal.ws.policy.Policy[] int int com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion com.sun.xml.internal.ws.policy.Policy int int com.sun.xml.internal.ws.policy.Policy[]
StackMap stack:
aload 5
invokevirtual com.sun.xml.internal.ws.policy.Policy.isNull:()Z
ifeq 14
13: iconst_1
istore 2
14: StackMap locals:
StackMap stack:
iconst_0
istore 3
15: StackMap locals:
StackMap stack:
aload 4
ifnonnull 18
16: aload 5
invokevirtual com.sun.xml.internal.ws.policy.Policy.getNamespaceVersion:()Lcom/sun/xml/internal/ws/policy/sourcemodel/wspolicy/NamespaceVersion;
astore 4
17: goto 20
StackMap locals:
StackMap stack:
18: 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 20
19: aload 5
invokevirtual com.sun.xml.internal.ws.policy.Policy.getNamespaceVersion:()Lcom/sun/xml/internal/ws/policy/sourcemodel/wspolicy/NamespaceVersion;
astore 4
20: StackMap locals:
StackMap stack:
iload 2
ifeq 22
iload 3
ifne 22
21: aload 4
aconst_null
aconst_null
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
end local 5 22: StackMap locals: com.sun.xml.internal.ws.policy.PolicyIntersector com.sun.xml.internal.ws.policy.Policy[] int int com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion top int int com.sun.xml.internal.ws.policy.Policy[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
23: iload 6
iload 7
if_icmplt 8
24: aload 4
ifnull 25
aload 4
goto 26
StackMap locals: com.sun.xml.internal.ws.policy.PolicyIntersector com.sun.xml.internal.ws.policy.Policy[] int int com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion
StackMap stack:
25: invokestatic com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion.getLatestVersion:()Lcom/sun/xml/internal/ws/policy/sourcemodel/wspolicy/NamespaceVersion;
StackMap locals:
StackMap stack: com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion
26: astore 4
27: iload 3
ifeq 29
28: aload 4
aconst_null
aconst_null
invokestatic com.sun.xml.internal.ws.policy.Policy.createEmptyPolicy:(Lcom/sun/xml/internal/ws/policy/sourcemodel/wspolicy/NamespaceVersion;Ljava/lang/String;Ljava/lang/String;)Lcom/sun/xml/internal/ws/policy/Policy;
areturn
29: StackMap locals:
StackMap stack:
new java.util.LinkedList
dup
aload 1
iconst_0
aaload
invokevirtual com.sun.xml.internal.ws.policy.Policy.getContent:()Ljava/util/Collection;
invokespecial java.util.LinkedList.<init>:(Ljava/util/Collection;)V
astore 5
start local 5 30: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 6
start local 6 31: new java.util.ArrayList
dup
iconst_2
invokespecial java.util.ArrayList.<init>:(I)V
astore 7
start local 7 32: iconst_1
istore 8
start local 8 33: goto 50
34: StackMap locals: com.sun.xml.internal.ws.policy.PolicyIntersector com.sun.xml.internal.ws.policy.Policy[] int int com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion java.util.List java.util.Queue java.util.List int
StackMap stack:
aload 1
iload 8
aaload
invokevirtual com.sun.xml.internal.ws.policy.Policy.getContent:()Ljava/util/Collection;
astore 9
start local 9 35: aload 6
invokeinterface java.util.Queue.clear:()V
36: aload 6
aload 5
invokeinterface java.util.Queue.addAll:(Ljava/util/Collection;)Z
pop
37: aload 5
invokeinterface java.util.List.clear:()V
38: goto 47
start local 10 39: StackMap locals: java.util.Collection com.sun.xml.internal.ws.policy.AssertionSet
StackMap stack:
aload 9
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 12
goto 46
StackMap locals: com.sun.xml.internal.ws.policy.PolicyIntersector com.sun.xml.internal.ws.policy.Policy[] int int com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion java.util.List java.util.Queue java.util.List int java.util.Collection com.sun.xml.internal.ws.policy.AssertionSet top java.util.Iterator
StackMap stack:
40: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.xml.internal.ws.policy.AssertionSet
astore 11
start local 11 41: aload 10
aload 11
aload 0
getfield com.sun.xml.internal.ws.policy.PolicyIntersector.mode:Lcom/sun/xml/internal/ws/policy/PolicyIntersector$CompatibilityMode;
invokevirtual com.sun.xml.internal.ws.policy.AssertionSet.isCompatibleWith:(Lcom/sun/xml/internal/ws/policy/AssertionSet;Lcom/sun/xml/internal/ws/policy/PolicyIntersector$CompatibilityMode;)Z
ifeq 46
42: aload 7
aload 10
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
43: aload 7
aload 11
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
44: aload 5
aload 7
invokestatic com.sun.xml.internal.ws.policy.AssertionSet.createMergedAssertionSet:(Ljava/util/Collection;)Lcom/sun/xml/internal/ws/policy/AssertionSet;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
45: aload 7
invokeinterface java.util.List.clear:()V
end local 11 46: StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 40
end local 10 47: StackMap locals: com.sun.xml.internal.ws.policy.PolicyIntersector com.sun.xml.internal.ws.policy.Policy[] int int com.sun.xml.internal.ws.policy.sourcemodel.wspolicy.NamespaceVersion java.util.List java.util.Queue java.util.List int java.util.Collection
StackMap stack:
aload 6
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
checkcast com.sun.xml.internal.ws.policy.AssertionSet
dup
astore 10
start local 10 48: ifnonnull 39
end local 10 end local 9 49: iinc 8 1
StackMap locals:
StackMap stack:
50: iload 8
aload 1
arraylength
if_icmplt 34
end local 8 51: aload 4
aconst_null
aconst_null
aload 5
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 7 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 52 0 this Lcom/sun/xml/internal/ws/policy/PolicyIntersector;
0 52 1 policies [Lcom/sun/xml/internal/ws/policy/Policy;
5 52 2 found Z
6 52 3 allPoliciesEmpty Z
7 52 4 latestVersion Lcom/sun/xml/internal/ws/policy/sourcemodel/wspolicy/NamespaceVersion;
9 22 5 tested Lcom/sun/xml/internal/ws/policy/Policy;
30 52 5 finalAlternatives Ljava/util/List<Lcom/sun/xml/internal/ws/policy/AssertionSet;>;
31 52 6 testedAlternatives Ljava/util/Queue<Lcom/sun/xml/internal/ws/policy/AssertionSet;>;
32 52 7 alternativesToMerge Ljava/util/List<Lcom/sun/xml/internal/ws/policy/AssertionSet;>;
33 51 8 i I
35 49 9 currentAlternatives Ljava/util/Collection<Lcom/sun/xml/internal/ws/policy/AssertionSet;>;
39 47 10 testedAlternative Lcom/sun/xml/internal/ws/policy/AssertionSet;
48 49 10 testedAlternative Lcom/sun/xml/internal/ws/policy/AssertionSet;
41 46 11 currentAlternative Lcom/sun/xml/internal/ws/policy/AssertionSet;
MethodParameters:
Name Flags
policies final
}
SourceFile: "PolicyIntersector.java"
NestMembers:
com.sun.xml.internal.ws.policy.PolicyIntersector$CompatibilityMode
InnerClasses:
final CompatibilityMode = com.sun.xml.internal.ws.policy.PolicyIntersector$CompatibilityMode of com.sun.xml.internal.ws.policy.PolicyIntersector