• Chris Simmons's avatar
    Optionally generate interfaces in Java when possible (#288) · b4d8d0f1
    Chris Simmons authored
    * Merge mrdomino's Java interface change with a more recent version of the repo.
    
    * Make generating interfaces instead of abstract classes optional.
    
    * Allow generation of Java interfaces when the Djinni interface is a +c interface and when the Djinni interface includes constants.
    
    * Also omit "public" from constants in a Java interface.
    
    * Revert "Also omit "public" from constants in a Java interface."
    
    This reverts commit a4245b35d84150d9c2c51781780dc68318bf48a6.
    
    * Omit "public" from constants in a Java interface.
    
    * If Java interfaces were requested, generate them regardless of whether the interfaces include static methods.
    
    * Keep CppProxy private if not generating interfaces.
    
    * Change the java tests' target java version to 1.8.
    
    * Place static natic methods in an inner class.
    
    * Remove the StaticNative class and just use CppProxy.
    
    * Minor edits.
    
    * Don't use  --java-generate-interfaces in the yaml test, in order to exercise the code that runs when  --java-generate-interfaces isn't used.
    
    * Revert "Don't use  --java-generate-interfaces in the yaml test, in order to exercise the code that runs when  --java-generate-interfaces isn't used."
    
    This reverts commit cd86c27df026193fe497918eadd064e39076d606.
    
    * Build the example Android project with Java 8.
    b4d8d0f1
build.xml 2.98 KB