+ /**
+ * Type specializing {@link InstanceNotification} for a particular type.
+ *
+ * @param parent Type of parent defining the notification
+ * @param keyType Type of parent's key
+ * @return A parameterized type corresponding to {@code KeyedInstanceNotification<ParentKey, Parent>}
+ * @throws NullPointerException if any argument is is null
+ */
+ public static ParameterizedType keyedListNotification(final Type concreteType, final Type parent,
+ final Type keyType) {
+ return parameterizedTypeFor(KEYED_LIST_NOTIFICATION, concreteType, parent, keyType);
+ }
+
+ /**
+ * Specialize {@link Augmentable} for a particular type.
+ *
+ * @param type Type for which to specialize
+ * @return A parameterized type corresponding to {@code Augmentable<Type>}
+ * @throws NullPointerException if {@code type} is null
+ */
+ public static @NonNull ParameterizedType augmentable(final Type type) {
+ return parameterizedTypeFor(AUGMENTABLE, type);
+ }
+
+ /**
+ * Specialize {@link Augmentation} for a particular type.
+ *
+ * @param type Type for which to specialize
+ * @return A parameterized type corresponding to {@code Augmentation<Type>}
+ * @throws NullPointerException if {@code type} is null
+ */
+ public static @NonNull ParameterizedType augmentation(final Type type) {
+ return parameterizedTypeFor(AUGMENTATION, type);
+ }
+
+ /**
+ * Specialize {@link ChildOf} for a particular type.
+ *
+ * @param type Type for which to specialize
+ * @return A parameterized type corresponding to {@code ChildOf<Type>}
+ * @throws NullPointerException if {@code type} is null
+ */
+ public static ParameterizedType childOf(final Type type) {
+ return parameterizedTypeFor(CHILD_OF, type);
+ }
+
+ /**
+ * Type specializing {@link ChoiceIn} for a particular type.
+ *
+ * @param type Type for which to specialize
+ * @return A parameterized type corresponding to {@code ChoiceIn<Type>}
+ * @throws NullPointerException if {@code type} is null
+ */
+ public static ParameterizedType choiceIn(final Type type) {
+ return parameterizedTypeFor(CHOICE_IN, type);
+ }
+
+ /**
+ * Type specializing {@link Identifier} for a particular type.
+ *
+ * @param type Type for which to specialize
+ * @return A parameterized type corresponding to {@code Identifier<Type>}
+ * @throws NullPointerException if {@code type} is null
+ */
+ public static ParameterizedType identifier(final Type type) {
+ return parameterizedTypeFor(IDENTIFIER, type);
+ }
+
+ /**
+ * Type specializing {@link Identifiable} for a particular type.
+ *
+ * @param type Type for which to specialize
+ * @return A parameterized type corresponding to {@code Identifiable<Type>}
+ * @throws NullPointerException if {@code type} is null
+ */
+ public static ParameterizedType identifiable(final Type type) {
+ return parameterizedTypeFor(IDENTIFIABLE, type);
+ }
+
+ /**
+ * Type specializing {@link InstanceIdentifier} for a particular type.
+ *
+ * @param type Type for which to specialize
+ * @return A parameterized type corresponding to {@code InstanceIdentifier<Type>}
+ * @throws NullPointerException if {@code type} is null
+ */
+ public static ParameterizedType instanceIdentifier(final Type type) {
+ return parameterizedTypeFor(INSTANCE_IDENTIFIER, type);
+ }
+
+ /**
+ * Type specializing {@link KeyedInstanceIdentifier} for a particular type.
+ *
+ * @param type Type for which to specialize
+ * @param keyType Type of key
+ * @return A parameterized type corresponding to {@code KeyedInstanceIdentifier<Type, KeyType>}
+ * @throws NullPointerException if any argument is is null
+ */
+ public static ParameterizedType keyedInstanceIdentifier(final Type type, final Type keyType) {
+ return parameterizedTypeFor(KEYED_INSTANCE_IDENTIFIER, type, keyType);
+ }
+
+ /**
+ * Type specializing {@link OpaqueObject} for a particular type.
+ *
+ * @param type Type for which to specialize
+ * @return A parameterized type corresponding to {@code OpaqueObject<Type>}
+ * @throws NullPointerException if {@code type} is null
+ */
+ public static ParameterizedType opaqueObject(final Type type) {
+ return parameterizedTypeFor(OPAQUE_OBJECT, type);
+ }
+
+ /**
+ * Type specializing {@link RpcResult} for a particular type.
+ *
+ * @param type Type for which to specialize
+ * @return A parameterized type corresponding to {@code RpcResult<Type>}
+ * @throws NullPointerException if {@code type} is null
+ */
+ public static ParameterizedType rpcResult(final Type type) {
+ return parameterizedTypeFor(RPC_RESULT, type);
+ }