Class JavaVersion

  • All Implemented Interfaces:
    org.openrewrite.marker.Marker, org.openrewrite.Tree

    public class JavaVersion
    extends java.lang.Object
    implements org.openrewrite.marker.Marker
    • Constructor Summary

      Constructors 
      Constructor Description
      JavaVersion()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getMajorVersion()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.openrewrite.marker.Marker

        isAcceptable
      • Methods inherited from interface org.openrewrite.Tree

        accept, getId, getJacksonPolymorphicTypeTag, isScope, print, print, print, print, printer, printTrimmed, printTrimmed, printTrimmed
    • Constructor Detail

      • JavaVersion

        public JavaVersion()
    • Method Detail

      • getMajorVersion

        public int getMajorVersion()