public static ClassName generateDataSourceName ( SQLiteDatabaseSchema schema ) { String dataSourceName = schema . getName ( ) ; dataSourceName = PREFIX + dataSourceName ; PackageElement pkg = BaseProcessor . elementUtils . getPackageOf ( schema . getElement ( ) ) ; String packageName = pkg . isUnnamed ( ) ? "" : pkg . getQualifiedName ( ) . toString ( ) ; return ClassName . get ( packageName , dataSourceName ) ; }
Generate dataSource name .