app/src/main/java/db/juhaku/juhakudb/core/schema/SchemaFactory.java
/**
     * Resolve name for table or column.
     *
     * @param type T type which is entity class or {@link Field} to resolve name from.
     * @return String resolved name.
     * @throws SchemaInitializationException if any error occurs during name resolving.
     *
     * @since 1.2.0
     *
     * @hide
     */
Resolve name for table or column.
@param type T type which is entity class or  Field to resolve name from.
@return String resolved name.
@throws SchemaInitializationException if any error occurs during name resolving.



@hide
Resolve name for table or column . @param type T type which is entity class or Field to resolve name from . @return String resolved name . @throws SchemaInitializationException if any error occurs during name resolving . @hide
private static <T> String resolveName(T type) throws SchemaInitializationException {
        try {
            return NameResolver.resolveName(type);
        } catch (NameResolveException e) {
            Log.e(SchemaFactory.class.getName(), "Failed to create schema", e);
            throw new SchemaInitializationException("Schema initialization failed", e);
        }
    }
private static < T > String resolveName ( T type ) throws SchemaInitializationException { try { return NameResolver . resolveName ( type ) ; } catch ( NameResolveException e ) { Log . e ( SchemaFactory . class . getName ( ) , "Failed to create schema" , e ) ; throw new SchemaInitializationException ( "Schema initialization failed" , e ) ; } }
Resolve name for table or column.
Resolve name for table or column .