@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface SonarLintSide
@SonarLintSide public class Foo { } @SonarLintSide public class Bar { private final Foo foo; public Bar(Foo f) { this.foo = f; } }
Modifier and Type | Fields and Description |
---|---|
static java.lang.String |
MULTIPLE_ANALYSES
The component will be instantiated once and reused by all analyses, as long as the SonarLint engine is not restarted.
|
static java.lang.String |
SINGLE_ANALYSIS
The component will be instantiated for each analysis (could be single or multiple files analysis).
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
lifespan
Control the lifecycle of the component in the IoC container.
|
public static final java.lang.String SINGLE_ANALYSIS