Class JavaVersionModule

  • All Implemented Interfaces:
    com.google.inject.Module

    public class JavaVersionModule
    extends java.lang.Object
    implements com.google.inject.Module
    A Guice module for setting a fixed target Java version for compilation.
    Since:
    2.8
    • Constructor Summary

      Constructors 
      Constructor Description
      JavaVersionModule​(org.eclipse.xtext.util.JavaVersion version)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure​(com.google.inject.Binder binder)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JavaVersionModule

        public JavaVersionModule​(org.eclipse.xtext.util.JavaVersion version)
        Since:
        2.9
    • Method Detail

      • configure

        public void configure​(com.google.inject.Binder binder)
        Specified by:
        configure in interface com.google.inject.Module