/** * Gets the appropriate {@link Type} for the given type. * * @param type The type * @return The type */ static Type of(final String type) { return new TypeReader(type).readType(); }
/** * Gets the appropriate {@link FieldType} for the given type. * * @param type The field type * @return The field type */ static FieldType of(final String type) { return new TypeReader(type).readFieldType(); }