1 package org.sonar.plugins.sample;
3 import org.sonar.api.Extension;
4 import org.sonar.api.Plugin;
6 import java.util.Collections;
9 public class SamplePlugin implements Plugin {
10 public String getKey() {
14 public String getName() {
15 return "My first Sonar plugin";
18 public String getDescription() {
19 return "You shouldn't expect too much from this plugin.";
22 public List<Class<? extends Extension>> getExtensions() {
23 return Collections.emptyList();
27 public String toString() {