When using JDK11, generating stubs for enums is broken. This commit handles the faulty generation by JDK11 by fully printing enums in custom implementation of tree printing. Test: added JDK11 tests for KAPT stub generation
When using JDK11, generating stubs for enums is broken. This commit handles the faulty generation by JDK11 by fully printing enums in custom implementation of tree printing. Test: added JDK11 tests for KAPT stub generation