Package org.sonar.api.batch
Annotation Type ScannerSide
-
@Deprecated @Documented @Retention(RUNTIME) @Target(TYPE) public @interface ScannerSide
Deprecated.since 7.6 useScannerSide
that will move the component to the project containerMarker 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:
- 6.0