Mass-migrate fields to Immutable collections
[mdsal.git] / binding / mdsal-binding-generator-api / src / main / java / org / opendaylight / mdsal / binding / generator / api / BindingRuntimeTypes.java
index 94594c2f7bf8a9f77a800a8cda9eb13dd89feeea..e5ed043394d9c82d0af83197dc44bc27e1922302 100644 (file)
@@ -31,10 +31,10 @@ import org.opendaylight.yangtools.yang.model.api.DocumentedNode.WithStatus;
 @ThreadSafe
 public final class BindingRuntimeTypes implements Immutable {
 
-    private final Map<Type, AugmentationSchemaNode> typeToAugmentation;
-    private final BiMap<Type, WithStatus> typeToSchema;
-    private final Multimap<Type, Type> choiceToCases;
-    private final Map<QName, Type> identities;
+    private final ImmutableMap<Type, AugmentationSchemaNode> typeToAugmentation;
+    private final ImmutableBiMap<Type, WithStatus> typeToSchema;
+    private final ImmutableMultimap<Type, Type> choiceToCases;
+    private final ImmutableMap<QName, Type> identities;
 
     public BindingRuntimeTypes(final Map<Type, AugmentationSchemaNode> typeToAugmentation,
             final BiMap<Type, WithStatus> typeToDefiningSchema, final Multimap<Type, Type> choiceToCases,