realm-java
realm-java copied to clipboard
Code generation fails when there is no package
CodeGenProcessor.calculatePackageName() and/or its caller processAnnotatedElements() assumes that the customers code lives in a Java package. When it does not, the generator fails.
We should also handle the case when there is no package defined.
Fixed, thanks for the good observation!