public interface TypeFactory
@NotNull Module module(@NotNull ModuleReference moduleReference)
@NotNull Module dummyModule()
void setModule(@Nullable
Module module)
@NotNull TemplateParameter templateParameter(int index, @NotNull Ref<?> ref, @Nullable Ref<Type> governor)
@NotNull DefinedType define(@NotNull String name, @NotNull Ref<Type> typeRef, @Nullable Collection<TemplateParameter> parameters)
@NotNull DefinedValue define(@NotNull String name, @NotNull Ref<Type> typeRef, @NotNull Ref<Value> valueRef, @Nullable Collection<TemplateParameter> parameters)
@NotNull Type builtin(@NotNull String typeName, @NotNull Collection<NamedValue> namedValues)
@NotNull Type constrained(@NotNull ConstraintTemplate constraintTemplate, @NotNull Ref<Type> typeRef)
IEncoding tagEncoding(@NotNull TagMethod method, @NotNull TagClass tagClass, @NotNull Ref<Value> tagNumberRef)
@NotNull Type selectionType(@NotNull String componentName, @NotNull Ref<Type> typeRef)
@NotNull Enumerated enumerated()
@NotNull CollectionType collection(@NotNull CollectionType.Kind collectionKind)
@NotNull CollectionTypeExtensionGroup extensionGroup(@NotNull Type.Family requiredFamily)
@NotNull Value valueTemplateInstance(@NotNull Ref<Value> ref, @NotNull List<Ref<?>> arguments)
@NotNull Type typeTemplateInstance(@NotNull Ref<Type> ref, @NotNull List<Ref<?>> arguments)
@NotNull ClassType classType()
@NotNull ClassFieldType typeClassField(@NotNull String name, boolean optional, @Nullable Ref<Type> defaultTypeRef)
@NotNull ClassFieldType fixedTypeValueField(@NotNull String name, @NotNull Ref<Type> typeRef, boolean unique, boolean optional, @Nullable Ref<Value> defaultValue)
@NotNull ClassFieldType variableTypeValueField(@NotNull String name, @NotNull String fieldName, boolean optional, @Nullable Ref<Value> defaultValue)
@NotNull ClassFieldType fixedTypeValueSetField(@NotNull String name, @NotNull Ref<Type> typeRef, boolean optional, @Nullable ConstraintTemplate defaultElementSetSpecs)
@NotNull ClassFieldType variableTypeValueSetField(@NotNull String name, @NotNull String fieldName, boolean optional, @Nullable ConstraintTemplate defaultElementSetSpecs)
@NotNull Ref<Value> valueFromObjectRef(@NotNull Ref<?> source, @Nullable String path, @NotNull String name)
@NotNull Ref<Type> valueSetFromObjectRef(@NotNull Ref<?> source, @Nullable String path, @NotNull String name)
@NotNull Ref<Type> typeFromObjectRef(@NotNull Ref<?> source, @Nullable List<String> path, @NotNull String name)
@NotNull ConstraintTemplate objectSetElements(@NotNull Ref<?> source)
Copyright © 2017. All rights reserved.