package com.hoxina.fpprivate;
import java.util.UUID;
import lombok.Data;
public class SonarFPPrivate {
@Data
private static class OtherClass {
private UUID id;
}
private OtherClass lstSvc = new OtherClass();
public void loadSettings() {
loadSettings(lstSvc.getId());
}
// @SuppressWarnings("squid:S106")
private void loadSettings(UUID uuid) {
System.out.format("Executed UUID:%s%n", uuid);
}
public static void main(String [] args) {
new SonarFPPrivate().loadSettings();
}
}
sonar.projectKey=com.hoxina:SonarFPPrivate
sonar.projectName=SonarFPPrivate
sonar.projectVersion=1.0
sonar.sources=.
sonar.java.binaries=com/hoxina/fpprivate/
sonar.java.libraries=lib/*.jar
sonar.sourceEncoding=UTF-8
javac -classpath lib/lombok.jar com/hoxina/fpprivate/SonarFPPrivate.java
java -classpath lib/lombok.jar:. com.hoxina.fpprivate.SonarFPPrivate
/opt/sonarqube/sonar-scanner-3.0.3.778-linux/bin/sonar-scanner -X
02:53:47.256 INFO: Index files
02:53:47.265 DEBUG: 'com/hoxina/fpprivate/SonarFPPrivate$OtherClass.class' indexed with language 'null'
02:53:47.266 DEBUG: 'com/hoxina/fpprivate/SonarFPPrivate.class' indexed with language 'null'
02:53:47.266 DEBUG: 'com/hoxina/fpprivate/SonarFPPrivate.java' indexed with language 'java'
02:53:47.266 DEBUG: 'lib/lombok.jar' indexed with language 'null'
02:53:47.269 DEBUG: 'sonar-project.properties' indexed with language 'null'
02:53:47.270 INFO: 5 files indexed
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/55c71bc3-e9ea-4081-b780-af4a1d52324a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tibor Blenessy | SonarSource
SonarJava Developer