package com.intellij.javaee.oss.util;

/**
 * @author VISTALL
 * @since 03-Jul-17
 */
public class Version
{
	public Version(String version)
	{

	}

	public int compare(int major, int minor, int micro)
	{
		return 0;
	}

	public int getMajor()
	{
		return 0;
	}
}

@@ -108,41 +108,168 @@
 %7B%0A%09p
-ublic Version(String version)%0A%09%7B%0A
+rivate final com.intellij.openapi.util.Version myInner;%0A%0A%09public Version(String version)%0A%09%7B%0A%09%09myInner = com.intellij.openapi.util.Version.parseVersion(version);
 %0A%09%7D%0A
@@ -330,25 +330,62 @@
 %09%7B%0A%09%09return 
-0
+myInner.compareTo(major, minor, micro)
 ;%0A%09%7D%0A%0A%09publi
@@ -413,16 +413,28 @@
 %09return 
-0
+myInner.major
 ;%0A%09%7D%0A%7D%0A

version impl