class IndexName {
    /** Schema name of {@code null} if index is not related to SQL schema. */
    private final @Nullable String schemaName;

    /** Schema name of {@code null} if index is not related to SQL table. */
    private final @Nullable String tableName;

    /** Cache name. */
    private final String cacheName;

    /** Index name. */
    private final String idxName;

    /** */
    public IndexName(String cacheName, @Nullable String schemaName, @Nullable String tableName, String idxName) {
        this.cacheName = cacheName;
        this.schemaName = schemaName;
        this.tableName = tableName;
        this.idxName = idxName;
    }

    /**
     * @return Full index name.
     */
    public String fullName() {<FILL_FUNCTION_BODY>}

    /**
     * @return Index name.
     */
    public String idxName() {
        return idxName;
    }

    /**
     * @return Table name.
     */
    public String tableName() {
        return tableName;
    }

    /**
     * @return Schema name.
     */
    public String schemaName() {
        return schemaName;
    }

    /**
     * @return Cache name.
     */
    public String cacheName() {
        return cacheName;
    }
}

        StringBuilder bld = new StringBuilder();

        if (schemaName != null)
            bld.append(schemaName).append(".");

        if (tableName != null)
            bld.append(tableName).append(".");

        return bld.append(idxName).toString();
    
<no_super_class>