Package org.sonar.api.scanner
Annotation Type ScannerSide
-
@Documented @Retention(RUNTIME) @Target(TYPE) public @interface ScannerSideMarker annotation for all the components available in the container of the scanner (code analyzer). Note that injection of dependencies by constructor is used :@ScannerSide public class Foo { } @ScannerSide public class Bar { private final Foo foo; public Bar(Foo f) { this.foo = f; } }- Since:
- 7.6