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 StringgetCompiler()StringgetMapStructVersion()StringgetRuntimeVendor()StringgetRuntimeVersion()booleanisEclipseJDTCompiler()booleanisJavacCompiler()booleanisSourceVersionAtLeast19()booleanisSourceVersionAtLeast9()
-
-
-
Method Detail
-
getRuntimeVersion
public String getRuntimeVersion()
- Specified by:
getRuntimeVersionin interfaceVersionInformation
-
getRuntimeVendor
public String getRuntimeVendor()
- Specified by:
getRuntimeVendorin interfaceVersionInformation
-
getMapStructVersion
public String getMapStructVersion()
- Specified by:
getMapStructVersionin interfaceVersionInformation
-
getCompiler
public String getCompiler()
- Specified by:
getCompilerin interfaceVersionInformation
-
isSourceVersionAtLeast9
public boolean isSourceVersionAtLeast9()
- Specified by:
isSourceVersionAtLeast9in interfaceVersionInformation
-
isSourceVersionAtLeast19
public boolean isSourceVersionAtLeast19()
- Specified by:
isSourceVersionAtLeast19in interfaceVersionInformation
-
isEclipseJDTCompiler
public boolean isEclipseJDTCompiler()
- Specified by:
isEclipseJDTCompilerin interfaceVersionInformation
-
isJavacCompiler
public boolean isJavacCompiler()
- Specified by:
isJavacCompilerin interfaceVersionInformation
-
-