You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
130 lines
5.3 KiB
130 lines
5.3 KiB
codetoanalyze/java/nullsafe-annotation-graph/AnnotationGraph.java, Linters_dummy_method, 12, ERADICATE_ANNOTATION_GRAPH, no_bucket, INFO, [], AnnotationGraph, codetoanalyze.java.nullsafe_annotation_graph
|
|
AnnotationGraph:
|
|
Annotation point:
|
|
id: f0
|
|
kind: Field
|
|
field_name: fieldA
|
|
num_violations: 1
|
|
dependent_point_ids: [f1, p8, p10]
|
|
|
|
Annotation point:
|
|
id: f1
|
|
kind: Field
|
|
field_name: fieldB
|
|
num_violations: 1
|
|
dependent_point_ids: []
|
|
|
|
Annotation point:
|
|
id: f2
|
|
kind: Field
|
|
field_name: fieldD
|
|
num_violations: 1
|
|
dependent_point_ids: [m4]
|
|
|
|
Annotation point:
|
|
id: m4
|
|
kind: Method
|
|
method_info:
|
|
method_name: methodA
|
|
params: java.lang.String, boolean
|
|
access_level: Private
|
|
num_violations: 0
|
|
dependent_point_ids: [m6]
|
|
|
|
Annotation point:
|
|
id: m6
|
|
kind: Method
|
|
method_info:
|
|
method_name: methodB
|
|
params:
|
|
access_level: Private
|
|
num_violations: 0
|
|
dependent_point_ids: []
|
|
|
|
Annotation point:
|
|
id: m7
|
|
kind: Method
|
|
method_info:
|
|
method_name: methodC
|
|
params:
|
|
access_level: Public
|
|
num_violations: 1
|
|
dependent_point_ids: []
|
|
|
|
Annotation point:
|
|
id: p10
|
|
kind: Param
|
|
method_info:
|
|
method_name: methodF
|
|
params: java.lang.String, java.lang.String, java.lang.String
|
|
access_level: Private
|
|
param_num: 2
|
|
num_violations: 0
|
|
dependent_point_ids: []
|
|
|
|
Annotation point:
|
|
id: p3
|
|
kind: Param
|
|
method_info:
|
|
method_name: equals
|
|
params: java.lang.Object
|
|
access_level: Public
|
|
param_num: 0
|
|
num_violations: 1
|
|
dependent_point_ids: []
|
|
|
|
Annotation point:
|
|
id: p5
|
|
kind: Param
|
|
method_info:
|
|
method_name: methodA
|
|
params: java.lang.String, boolean
|
|
access_level: Private
|
|
param_num: 0
|
|
num_violations: 0
|
|
dependent_point_ids: [f0, m4]
|
|
|
|
Annotation point:
|
|
id: p8
|
|
kind: Param
|
|
method_info:
|
|
method_name: methodF
|
|
params: java.lang.String, java.lang.String, java.lang.String
|
|
access_level: Private
|
|
param_num: 0
|
|
num_violations: 0
|
|
dependent_point_ids: []
|
|
|
|
Annotation point:
|
|
id: p9
|
|
kind: Param
|
|
method_info:
|
|
method_name: methodF
|
|
params: java.lang.String, java.lang.String, java.lang.String
|
|
access_level: Private
|
|
param_num: 1
|
|
num_violations: 0
|
|
dependent_point_ids: []
|
|
|
|
|
|
codetoanalyze/java/nullsafe-annotation-graph/AnnotationGraph.java, Linters_dummy_method, 12, ERADICATE_META_CLASS_NEEDS_IMPROVEMENT, no_bucket, INFO, [], AnnotationGraph, codetoanalyze.java.nullsafe_annotation_graph, issues: 4, curr_mode: "Default"
|
|
codetoanalyze/java/nullsafe-annotation-graph/AnnotationGraph.java, Linters_dummy_method, 87, ERADICATE_ANNOTATION_GRAPH, no_bucket, INFO, [], SomeExternalClass, codetoanalyze.java.nullsafe_annotation_graph
|
|
AnnotationGraph:
|
|
Annotation point:
|
|
id: p0
|
|
kind: Param
|
|
method_info:
|
|
method_name: doesNotAcceptNull
|
|
params: java.lang.String
|
|
access_level: Public
|
|
param_num: 0
|
|
num_violations: 0
|
|
dependent_point_ids: []
|
|
|
|
|
|
codetoanalyze/java/nullsafe-annotation-graph/AnnotationGraph.java, Linters_dummy_method, 87, ERADICATE_META_CLASS_CAN_BE_NULLSAFE, no_bucket, ADVICE, [Congrats! `SomeExternalClass` is free of nullability issues. Mark it `@Nullsafe(Nullsafe.Mode.LOCAL)` to prevent regressions.], SomeExternalClass, codetoanalyze.java.nullsafe_annotation_graph, issues: 0, curr_mode: "Default", promote_mode: "Strict"
|
|
codetoanalyze/java/nullsafe-annotation-graph/AnnotationGraph.java, codetoanalyze.java.nullsafe_annotation_graph.AnnotationGraph.<init>(), 0, ERADICATE_FIELD_NOT_INITIALIZED, no_bucket, WARNING, [Field `fieldD` is declared non-nullable, so it should be initialized in the constructor or in an `@Initializer` method], AnnotationGraph, codetoanalyze.java.nullsafe_annotation_graph, field:codetoanalyze.java.nullsafe_annotation_graph.AnnotationGraph.fieldD
|
|
codetoanalyze/java/nullsafe-annotation-graph/AnnotationGraph.java, codetoanalyze.java.nullsafe_annotation_graph.AnnotationGraph.<init>(), 0, ERADICATE_FIELD_NOT_INITIALIZED, no_bucket, WARNING, [Field `fieldB` is declared non-nullable, so it should be initialized in the constructor or in an `@Initializer` method], AnnotationGraph, codetoanalyze.java.nullsafe_annotation_graph, field:codetoanalyze.java.nullsafe_annotation_graph.AnnotationGraph.fieldB
|
|
codetoanalyze/java/nullsafe-annotation-graph/AnnotationGraph.java, codetoanalyze.java.nullsafe_annotation_graph.AnnotationGraph.<init>(), 0, ERADICATE_FIELD_NOT_INITIALIZED, no_bucket, WARNING, [Field `fieldA` is declared non-nullable, so it should be initialized in the constructor or in an `@Initializer` method], AnnotationGraph, codetoanalyze.java.nullsafe_annotation_graph, field:codetoanalyze.java.nullsafe_annotation_graph.AnnotationGraph.fieldA
|
|
codetoanalyze/java/nullsafe-annotation-graph/AnnotationGraph.java, codetoanalyze.java.nullsafe_annotation_graph.AnnotationGraph.equals(java.lang.Object):boolean, 0, ERADICATE_INCONSISTENT_SUBCLASS_PARAMETER_ANNOTATION, no_bucket, WARNING, [Parameter `obj` is missing `@Nullable` declaration: according to the Java Specification, for any object `x` call `x.equals(null)` should properly return false.], AnnotationGraph, codetoanalyze.java.nullsafe_annotation_graph, inconsistent_param_index:1
|