protected void commonAssignmentCheck()

in src/main/java/com/amazon/checkerframework/checker/data_classification/DataClassificationVisitor.java [103:114]


    protected void commonAssignmentCheck(
            final AnnotatedTypeMirror varType,
            final AnnotatedTypeMirror valueType,
            final Tree valueTree,
            @CompilerMessageKey final String errorKey) {
        if (isPolyWithNoArgs(varType) && isNotPolyIgnoringValues(valueType)) {
            replacePoly(varType, valueTree);
        } else if (isNotPolyIgnoringValues(varType) && isPolyWithNoArgs(valueType)) {
            replacePoly(valueType, valueTree);
        }
        super.commonAssignmentCheck(varType, valueType, valueTree, errorKey);
    }