public class DefaultVersionInformation extends Object implements VersionInformation
Separated into an interface and this implementation to avoid cyclic dependencies between the processor package and the model package.
Modifier and Type | Method and Description |
---|---|
String |
getCompiler() |
String |
getMapStructVersion() |
String |
getRuntimeVendor() |
String |
getRuntimeVersion() |
boolean |
isEclipseJDTCompiler() |
boolean |
isJavacCompiler() |
boolean |
isSourceVersionAtLeast9() |
public String getRuntimeVersion()
getRuntimeVersion
in interface VersionInformation
public String getRuntimeVendor()
getRuntimeVendor
in interface VersionInformation
public String getMapStructVersion()
getMapStructVersion
in interface VersionInformation
public String getCompiler()
getCompiler
in interface VersionInformation
public boolean isSourceVersionAtLeast9()
isSourceVersionAtLeast9
in interface VersionInformation
public boolean isEclipseJDTCompiler()
isEclipseJDTCompiler
in interface VersionInformation
public boolean isJavacCompiler()
isJavacCompiler
in interface VersionInformation
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.