private void emitDeleteWithObject(JavaWriter javaWriter) throws IOException {
    logger.d("emitDeleteWithObject");
    javaWriter.beginMethod("void", $$DELETE_OBJECT_FUNCTION, EnumSet.of(PUBLIC, STATIC),
        getTargetClass(), "element", "SQLiteDatabase", "db")
        .emitStatement("%s(element.%s, db)", $$DELETE_OBJECT_FUNCTION, idColumn.getMemberName())
        .endMethod();
  }
private void emitDeleteWithObject ( JavaWriter javaWriter ) throws IOException { logger . d ( "emitDeleteWithObject" ) ; javaWriter . beginMethod ( "void" , $$DELETE_OBJECT_FUNCTION , EnumSet . of ( PUBLIC , STATIC ) , getTargetClass ( ) , "element" , "SQLiteDatabase" , "db" ) . emitStatement ( "%s(element.%s, db)" , $$DELETE_OBJECT_FUNCTION , idColumn . getMemberName ( ) ) . endMethod ( ) ; }
Creates the function for deleting an object from the table