1# Copyright (C) 2023 The Android Open Source Project 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15# DO NOT MODIFY: This file is auto-generated by errorProneCompatibilityFlags.sh 16errorprone_soong_bazel_diffs = [ 17 # Errorprone ENABLED_ERRORS 18 "-Xep:EmptyTopLevelDeclaration:ERROR", 19 "-Xep:IgnoredPureGetter:ERROR", 20 "-Xep:ProtoFieldNullComparison:ERROR", 21 "-Xep:RestrictedApi:ERROR", 22 # Errorprone ENABLED_WARNINGS 23 "-Xep:CanIgnoreReturnValueSuggester:WARN", 24 "-Xep:MathAbsoluteRandom:WARN", 25 "-Xep:UnescapedEntity:WARN", 26 "-Xep:UseCorrectAssertInTests:WARN", 27 # Errorprone DISABLED_CHECKS 28 "-Xep:ASTHelpersSuggestions:OFF", 29 "-Xep:CannotMockFinalMethod:OFF", 30 "-Xep:DereferenceWithNullBranch:OFF", 31 "-Xep:Finalize:OFF", 32 "-Xep:ImpossibleNullComparison:OFF", 33 "-Xep:InjectOnBugCheckers:OFF", 34 "-Xep:InlineTrivialConstant:OFF", 35 "-Xep:LabelledBreakTarget:OFF", 36 "-Xep:LenientFormatStringValidation:OFF", 37 "-Xep:LockOnNonEnclosingClassLiteral:OFF", 38 "-Xep:MathAbsoluteNegative:OFF", 39 "-Xep:MissingRefasterAnnotation:OFF", 40 "-Xep:NamedLikeContextualKeyword:OFF", 41 "-Xep:NewFileSystem:OFF", 42 "-Xep:NonApiType:OFF", 43 "-Xep:NotJavadoc:OFF", 44 "-Xep:RestrictedApi:OFF", 45 "-Xep:StringCaseLocaleUsage:OFF", 46 "-Xep:UnnecessaryStringBuilder:OFF", 47 "-Xep:UnusedLabel:OFF", 48] 49