Nice idea, thank you but.... the error is still here:
[DEBUG] [main] - Rebinding com.bilancio.client.Reflection
[DEBUG] [main] - Adding '1' new generated units
[DEBUG] [main] - Validating newly compiled units
[ERROR] [main] - Errors in 'generated://
670356D9DA0D417BB8171499B4C4D57B/com/bilancio/client/
ReflectionImpl.java'
[ERROR] [main] - Line 9: This method must return a result of type
T
[INFO] [main] - See snapshot: /tmp/
com.bilancio.client.ReflectionImpl6488844579312624283.java
I added sourceWriter.println( "return (T) new " +
classType.getQualifiedSourceName( ) + "();" );
and modified the interface and implementation as you said.... :-(((