1 package de.example.plugins.helloworld;
3 import org.sonar.api.Plugin;
5 import com.google.common.collect.ImmutableList;
8 public class HelloWorldPlugin implements Plugin {
11 public void define(Context context) {
13 ImmutableList.Builder<Object> builder = ImmutableList.builder();
15 HelloWorldRulesDefinition.class,
16 HelloWorldRulesCheckRegistrar.class);
18 context.addExtensions(builder.build());