protected boolean isAtLeastJava8 ( EObject context ) { return this . generatorConfigProvider . get ( EcoreUtil . getRootContainer ( context ) ) . getJavaSourceVersion ( ) . isAtLeast ( JavaVersion . JAVA8 ) ; }
Replies if the generation is for Java version 8 at least .