shillelagh-processor/src/main/java/shillelagh/internal/TableObject.java
private void emitGetId(JavaWriter javaWriter) throws IOException {
    logger.d("emitGetId");
    javaWriter.beginMethod("long", GET_ID_FUNCTION, EnumSet.of(PUBLIC, STATIC), getTargetClass(),
        "value").emitStatement("return value.%s", idColumn.getMemberName()).endMethod();
  }
private void emitGetId(JavaWriter javaWriter) throws IOException {
    logger.d("emitGetId");
    javaWriter.beginMethod("long", GET_ID_FUNCTION, EnumSet.of(PUBLIC, STATIC), getTargetClass(),
        "value").emitStatement("return value.%s", idColumn.getMemberName()).endMethod();
  }
private void emitGetId ( JavaWriter javaWriter ) throws IOException { logger . d ( "emitGetId" ) ; javaWriter . beginMethod ( "long" , GET_ID_FUNCTION , EnumSet . of ( PUBLIC , STATIC ) , getTargetClass ( ) , "value" ) . emitStatement ( "return value.%s" , idColumn . getMemberName ( ) ) . endMethod ( ) ; }
Create a way to get an id for foreign keys
Create a way to get an id for foreign keys