code: private void generateOnCreate(String dataSourceNameClazz) {
  		MethodSpec.Builder methodBuilder = MethodSpec.methodBuilder("onCreate").addModifiers(Modifier.PUBLIC).addAnnotation(Override.class).returns(Boolean.TYPE);
  
  		methodBuilder.addJavadoc("<p>Create datasource and open database in read mode.</p>\n");
  		methodBuilder.addJavadoc("\n");
  		methodBuilder.addJavadoc("@see android.content.ContentProvider#onCreate()\n");
  
  		methodBuilder.beginControlFlow("if ($T.getContext()==null)", KriptonLibrary.class);
  		methodBuilder.addStatement("KriptonLibrary.init(getContext())");
  		methodBuilder.endControlFlow();
  		methodBuilder.addStatement("dataSource = $L.getInstance()", dataSourceNameClazz);
  		methodBuilder.addStatement("dataSource.openWritableDatabase()");
  
  		methodBuilder.addCode("return true;\n");
  
  		classBuilder.addMethod(methodBuilder.build());
  	}
docs: Generate on create.
  
  @param dataSourceNameClazz
  the data source name clazz