@Beta
public interface JavaVersionAwareVisitor
sonar.java.source must be set.| Modifier and Type | Method and Description |
|---|---|
boolean |
isCompatibleWithJavaVersion(Integer version)
Control if the check is compatible with the java version of the project being analyzed.
|
boolean isCompatibleWithJavaVersion(@Nullable Integer version)
sonar.java.source. Note that if the property is not set, The method will be called with null as parameter.version - The java version of the sources (6 for java 1.6, 7 for 1.7, etc.), null if property not set.Copyright © 2012–2015 SonarSource. All rights reserved.