private static BinaryTypeDefinition baseTypeIfNotConstrained(final @NonNull BinaryTypeDefinition type) { return baseTypeIfNotConstrained(type, type.getBaseType()); }
private static BinaryTypeDefinition baseTypeIfNotConstrained(final @NonNull BinaryTypeDefinition type) { return baseTypeIfNotConstrained(type, type.getBaseType()); }
private static <T extends RangeRestrictedTypeDefinition<T, ?>> T baseTypeIfNotConstrained(final @NonNull T type) { return baseTypeIfNotConstrained(type, type.getBaseType()); }
private static <T extends RangeRestrictedTypeDefinition<T, ?>> T baseTypeIfNotConstrained(final @NonNull T type) { return baseTypeIfNotConstrained(type, type.getBaseType()); }
private static TypeDefinition<?> baseTypeIfNotConstrained(final @NonNull DecimalTypeDefinition type) { return baseTypeIfNotConstrained(type, type.getBaseType()); }
private static TypeDefinition<?> baseTypeIfNotConstrained(final @NonNull DecimalTypeDefinition type) { return baseTypeIfNotConstrained(type, type.getBaseType()); }
return baseTypeIfNotConstrained((BinaryTypeDefinition) leafType); } else if (leafType instanceof DecimalTypeDefinition) { return baseTypeIfNotConstrained((DecimalTypeDefinition) leafType); } else if (leafType instanceof InstanceIdentifierTypeDefinition) { return baseTypeIfNotConstrained((InstanceIdentifierTypeDefinition) leafType); } else if (leafType instanceof Int8TypeDefinition) { return baseTypeIfNotConstrained((Int8TypeDefinition) leafType); } else if (leafType instanceof Int16TypeDefinition) { return baseTypeIfNotConstrained((Int16TypeDefinition) leafType); } else if (leafType instanceof Int32TypeDefinition) { return baseTypeIfNotConstrained((Int32TypeDefinition) leafType); } else if (leafType instanceof Int64TypeDefinition) { return baseTypeIfNotConstrained((Int64TypeDefinition) leafType); } else if (leafType instanceof StringTypeDefinition) { return baseTypeIfNotConstrained((StringTypeDefinition) leafType); } else if (leafType instanceof Uint8TypeDefinition) { return baseTypeIfNotConstrained((Uint8TypeDefinition) leafType); } else if (leafType instanceof Uint16TypeDefinition) { return baseTypeIfNotConstrained((Uint16TypeDefinition) leafType); } else if (leafType instanceof Uint32TypeDefinition) { return baseTypeIfNotConstrained((Uint32TypeDefinition) leafType); } else if (leafType instanceof Uint64TypeDefinition) { return baseTypeIfNotConstrained((Uint64TypeDefinition) leafType); } else {
return baseTypeIfNotConstrained((BinaryTypeDefinition) leafType); } else if (leafType instanceof DecimalTypeDefinition) { return baseTypeIfNotConstrained((DecimalTypeDefinition) leafType); } else if (leafType instanceof InstanceIdentifierTypeDefinition) { return baseTypeIfNotConstrained((InstanceIdentifierTypeDefinition) leafType); } else if (leafType instanceof Int8TypeDefinition) { return baseTypeIfNotConstrained((Int8TypeDefinition) leafType); } else if (leafType instanceof Int16TypeDefinition) { return baseTypeIfNotConstrained((Int16TypeDefinition) leafType); } else if (leafType instanceof Int32TypeDefinition) { return baseTypeIfNotConstrained((Int32TypeDefinition) leafType); } else if (leafType instanceof Int64TypeDefinition) { return baseTypeIfNotConstrained((Int64TypeDefinition) leafType); } else if (leafType instanceof StringTypeDefinition) { return baseTypeIfNotConstrained((StringTypeDefinition) leafType); } else if (leafType instanceof Uint8TypeDefinition) { return baseTypeIfNotConstrained((Uint8TypeDefinition) leafType); } else if (leafType instanceof Uint16TypeDefinition) { return baseTypeIfNotConstrained((Uint16TypeDefinition) leafType); } else if (leafType instanceof Uint32TypeDefinition) { return baseTypeIfNotConstrained((Uint32TypeDefinition) leafType); } else if (leafType instanceof Uint64TypeDefinition) { return baseTypeIfNotConstrained((Uint64TypeDefinition) leafType); } else {