Class DefaultVersionInformation
- java.lang.Object
-
- org.mapstruct.ap.internal.processor.DefaultVersionInformation
-
- All Implemented Interfaces:
VersionInformation
public class DefaultVersionInformation extends Object implements VersionInformation
Provides information about the processor version and the processor context implementation version.Separated into an interface and this implementation to avoid cyclic dependencies between the processor package and the model package.
- Author:
- Andreas Gudian
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCompiler()
String
getMapStructVersion()
String
getRuntimeVendor()
String
getRuntimeVersion()
boolean
isEclipseJDTCompiler()
boolean
isJavacCompiler()
boolean
isSourceVersionAtLeast19()
boolean
isSourceVersionAtLeast9()
-
-
-
Method Detail
-
getRuntimeVersion
public String getRuntimeVersion()
- Specified by:
getRuntimeVersion
in interfaceVersionInformation
-
getRuntimeVendor
public String getRuntimeVendor()
- Specified by:
getRuntimeVendor
in interfaceVersionInformation
-
getMapStructVersion
public String getMapStructVersion()
- Specified by:
getMapStructVersion
in interfaceVersionInformation
-
getCompiler
public String getCompiler()
- Specified by:
getCompiler
in interfaceVersionInformation
-
isSourceVersionAtLeast9
public boolean isSourceVersionAtLeast9()
- Specified by:
isSourceVersionAtLeast9
in interfaceVersionInformation
-
isSourceVersionAtLeast19
public boolean isSourceVersionAtLeast19()
- Specified by:
isSourceVersionAtLeast19
in interfaceVersionInformation
-
isEclipseJDTCompiler
public boolean isEclipseJDTCompiler()
- Specified by:
isEclipseJDTCompiler
in interfaceVersionInformation
-
isJavacCompiler
public boolean isJavacCompiler()
- Specified by:
isJavacCompiler
in interfaceVersionInformation
-
-