1 package de.example.plugins.helloworld;
3 import org.sonar.api.batch.sensor.Sensor;
4 import org.sonar.api.batch.sensor.SensorContext;
5 import org.sonar.api.batch.sensor.SensorDescriptor;
6 import org.sonar.plugins.java.Java;
8 public class HelloWorldSensor implements Sensor {
11 public void describe(SensorDescriptor descriptor) {
12 descriptor.onlyOnLanguage(Java.KEY);
13 descriptor.name("HelloWorld Sensor");
17 public void execute(SensorContext context) {