From 4b81bb4adf7975d137b31fc7590e721c601df447 Mon Sep 17 00:00:00 2001 From: "copybara-service[bot]" Date: Tue, 15 Oct 2024 18:15:33 +0000 Subject: [PATCH] Latest docs on successful build 6752 auto-pushed to gh-pages --- api/latest/allclasses-index.html | 588 +++++++++--------- .../BugChecker.ClassTreeMatcher.html | 2 +- .../BugChecker.MethodTreeMatcher.html | 2 +- .../BugChecker.VariableTreeMatcher.html | 2 +- .../errorprone/bugpatterns/BugChecker.html | 2 +- .../{MemberName.html => IdentifierName.html} | 24 +- .../BugChecker.ClassTreeMatcher.html | 62 +- .../BugChecker.MethodTreeMatcher.html | 58 +- .../BugChecker.VariableTreeMatcher.html | 28 +- .../bugpatterns/class-use/BugChecker.html | 326 +++++----- .../{MemberName.html => IdentifierName.html} | 12 +- .../bugpatterns/package-summary.html | 256 ++++---- .../errorprone/bugpatterns/package-tree.html | 2 +- .../errorprone/class-use/BugPattern.html | 326 +++++----- .../errorprone/class-use/VisitorState.html | 58 +- .../errorprone/matchers/Suppressible.html | 2 +- .../matchers/class-use/Description.html | 58 +- .../matchers/class-use/Suppressible.html | 326 +++++----- api/latest/index-all.html | 24 +- api/latest/member-search-index.js | 2 +- api/latest/overview-tree.html | 2 +- api/latest/serialized-form.html | 12 +- api/latest/type-search-index.js | 2 +- .../{MemberName.md => IdentifierName.md} | 7 +- bugpatterns.md | 6 +- 25 files changed, 1095 insertions(+), 1094 deletions(-) rename api/latest/com/google/errorprone/bugpatterns/{MemberName.html => IdentifierName.html} (97%) rename api/latest/com/google/errorprone/bugpatterns/class-use/{MemberName.html => IdentifierName.html} (84%) rename bugpattern/{MemberName.md => IdentifierName.md} (92%) diff --git a/api/latest/allclasses-index.html b/api/latest/allclasses-index.html index e27ababf19a..7322dfbedbc 100644 --- a/api/latest/allclasses-index.html +++ b/api/latest/allclasses-index.html @@ -1714,593 +1714,593 @@

All Classes and Interfaces<
Organizes imports based on the default format provided by IntelliJ IDEA.
- +
-
A BugChecker; see the associated BugPattern annotation for details.
+
Flags a few ways in which member names may violate the style guide.
- +
A BugChecker; see the associated BugPattern annotation for details.
- +
A BugChecker; see the associated BugPattern annotation for details.
- +
+
A BugChecker; see the associated BugPattern annotation for details.
+
+ +
Flags ignored return values from pure getters.
- -
+ +
An error that occurred during the parsing or binding of a GuardedBy expression.
- -
+ +
The class to which this annotation is applied is immutable.
- -
+ +
Analyzes types for deep immutability.
- -
+ +
Accepts violations that are found during the analysis.
- -
-
A BugChecker; see the associated BugPattern annotation for details.
-
- +
A BugChecker; see the associated BugPattern annotation for details.
- +
-
Common utility functions for immutable collections.
+
A BugChecker; see the associated BugPattern annotation for details.
- +
-
A BugChecker; see the associated BugPattern annotation for details.
+
Common utility functions for immutable collections.
- +
-
Refactoring to suggest Immutable types for member collection that are not mutated.
+
A BugChecker; see the associated BugPattern annotation for details.
- +
-
A BugChecker; see the associated BugPattern annotation for details.
+
Refactoring to suggest Immutable types for member collection that are not mutated.
- +
+
A BugChecker; see the associated BugPattern annotation for details.
+
+ +
Refactoring to suggest using private static final ImmutableSet over ImmutableList when using only contains, containsAll and isEmpty.
- -
+ +
The type parameter to which this annotation is applied should only be instantiated with immutable types.
- -
+ +
Migrates Truth subjects from a manual "test and fail" approach to one using Subject.check(...).
- -
+ +
Parse import order strings.
- -
+ +
Organizes import statements when patching files.
- -
+ +
Represents an import.
- -
+ +
Provides support for building a list of imports from groups and formatting it as a block of imports.
- -
+ +
Policy specifying when and how to import classes when inlining types.
- -
+ +
Represents a list of import statements.
- -
+ +
Matches comparison of proto fields to null.
- -
+ +
A BugChecker; see the associated BugPattern annotation for details.
- -
 
- -
+ +
 
+ +
Annotation declaring that the target annotation is incompatible with any one of the provided modifiers.
- -
 
- -
+ +
 
+ +
Checker for variables under the same scope that only differ in capitalization.
- -
+ +
Looks for hashCode implementations which are inconsistent with equals.
- -
+ +
A BugChecker that detects inconsistently overloaded methods in Java classes.
- -
+ +
Bugpattern for incorrect overloads of main.
- -
 
- -
-
Describes a position that only has a start and end index.
-
- + +
 
+
-
A BugChecker; see the associated BugPattern annotation for details.
+
Describes a position that only has a start and end index.
- +
A BugChecker; see the associated BugPattern annotation for details.
- +
-
Results of running NullnessQualifierInference over a method.
+
A BugChecker; see the associated BugPattern annotation for details.
- +
-
A BugChecker; see the associated BugPattern annotation for details.
+
Results of running NullnessQualifierInference over a method.
- +
-
Matches invalid usage of @inheritDoc.
+
A BugChecker; see the associated BugPattern annotation for details.
- +
+
Matches invalid usage of @inheritDoc.
+
+ +
Bugpattern to encourage initializing effectively final variables inline with their declaration, if possible.
- -
+ +
A checker for injected constructors with @Inject(optional=true) or binding annotations.
- -
+ +
Utility constants and matchers related to dependency injection.
- -
+ +
A BugPattern; see the summary.
- -
 
- +
 
- -
+ +
 
+ +
Checks if class constructor and members are both annotated as @Inject.
- -
+ +
A BugChecker; see the associated BugPattern annotation for details.
- -
+ +
Indicates that callers of this API should be inlined.
- -
+ +
An annotation that disables validation of the InlineMe annotation's correctness (i.e.: that it accurately represents an inlining of the annotated method).
- -
+ +
Checker that performs the inlining at call-sites (where the invoked APIs are annotated as @InlineMe).
- -
+ +
A context representing all the dependencies necessary to reconstruct a pretty-printable source tree from a UTree based on a set of substitutions.
- -
+ +
A BugChecker; see the associated BugPattern annotation for details.
- -
+ +
Checks that InputStreams should override int read(byte[], int, int);
- -
 
- +
 
- -
+ +
 
+ +
Bans calls to Instant APIs where the TemporalUnit is not one of: NANOS, MICROS, MILLIS, SECONDS, MINUTES, HOURS, HALF_DAYS, or DAYS.
- -
+ +
Bugpattern to detect interfaces used only to store static fields/methods.
- -
+ +
Checks for cases where an InterruptedException is caught as part of a catch block catching a supertype, and not specially handled.
- -
-
A BugChecker; see the associated BugPattern annotation for details.
-
- +
A BugChecker; see the associated BugPattern annotation for details.
- +
-
Matches invalid Javadoc tags, and tries to suggest fixes.
+
A BugChecker; see the associated BugPattern annotation for details.
- -
 
- -
+ +
Matches invalid Javadoc tags, and tries to suggest fixes.
- + +
 
+
+
Matches invalid Javadoc tags, and tries to suggest fixes.
+
+ +
This checker errors on calls to java.time methods using values that are guaranteed to throw a DateTimeException.
- -
+ +
Finds some common errors in @link tags.
- -
+ +
Matches incorrect Javadoc @param tags.
- -
 
- +
 
- -
+ +
 
+ +
Matches errors in Javadoc @throws tags.
- -
+ +
Matches misuse of link tags within throws tags.
- -
 
- -
+ +
 
+ +
Validates ZoneId.
- -
 
- -
+ +
 
+ +
A BugChecker; see the associated BugPattern annotation for details.
- -
 
- -
+ +
 
+ +
Matches expressions that can be statically determined to be non-null.
- -
+ +
Matches an AST node if its erased type is the same as the given type, e.g.
- -
 
- +
 
- -
+ +
 
+ +
A BugChecker; see the associated BugPattern annotation for details.
- -
+ +
Checks for uses of classes, fields, or methods that are not compatible with JDK 7
- -
+ +
Checks for uses of classes, fields, or methods that are not compatible with JDK 8
- -
+ +
Making our errors appear to the user and break their build.
- -
+ +
A token uniquely identifying a single invocation of javac.
- -
+ +
This checker warns about calls to duration.getNano() without a corresponding "nearby" call to duration.getSeconds().
- -
+ +
Check for calls to duration.withNanos(int).
- -
+ +
Check for calls to duration.withSeconds(long).
- -
+ +
This checker warns about calls to instant.getNano() without a corresponding "nearby" call to instant.getEpochSecond().
- -
+ +
A BugChecker; see the associated BugPattern annotation for details.
- -
+ +
This checker warns about calls to LocalDateTime.getNano() without a corresponding "nearby" call to LocalDateTime.getSecond().
- -
+ +
This checker warns about calls to LocalTime.getNano() without a corresponding "nearby" call to LocalTime.getSecond().
- -
+ +
This checker warns about calls to period.getDays() without a corresponding "nearby" call to period.getYears(), period.getMonths(), or period.getTotalMonths().
- -
+ +
Check for calls to java.time APIs that silently use the default system time-zone.
- -
+ +
A BugChecker; see the associated BugPattern annotation for details.
- -
 
- +
 
- -
+ +
 
+ +
A BugChecker; see the associated BugPattern annotation for details.
- -
+ +
Check for calls to bad JodaTime constructors.
- -
+ +
Checks for usages of dangerous DateTimeConstants constants.
- -
+ +
Check for calls to duration.withMillis(long).
- -
+ +
Check for calls to instant.withMillis(long).
- -
+ +
Match possibly incorrect use of Period to obtain a number of (e.g.) days between two dates.
- -
+ +
Check for calls to JodaTime's type.plus(long) and type.minus(long) where <type> = {Duration,Instant,DateTime,DateMidnight}.
- -
+ +
Ban usage of Joda's ConverterManager.
- -
+ +
Check for calls to Joda-Time's foo.toFoo() and new Foo(foo).
- -
+ +
Check for calls to JodaTime's type.withDurationAdded(long, int) where <type> = {Duration,Instant,DateTime}.
- -
+ +
Detects floating-point assertEquals() calls that will not work in JUnit 4.
- -
+ +
A bugpattern; see the associated summary.
- -
+ +
@BeforeClass or @AfterClass should be applied to static methods.
- -
 
- -
+ +
 
+ +
Checks for the existence of a JUnit3 style setUp() method in a JUnit4 test class or methods annotated with a non-JUnit4 @Before annotation.
- -
+ +
Checks for the existence of a JUnit3 style tearDown() method in a JUnit4 test class or methods annotated with a non-JUnit4 @After annotation.
- -
 
- -
+ +
 
+ +
Finds tests that won't run due to the enclosing runner.
- -
 
- -
+ +
 
+ +
Points out if an object is tested for reference equality to itself using JUnit library.
- -
+ +
A BugChecker; see the associated BugPattern annotation for details.
- -
+ +
Matchers for code patterns which appear to be JUnit-based tests.
- -
+ +
Checks if the methods specified in junitparams.Parameters annotation to provide parameters exists.
- -
+ +
Indicates that the annotated element should not be removed, and that its visibility, modifiers, type, and name should not be modified.
- -
+ +
A BugPattern; see the summary.
- -
 
- -
+ +
 
+ +
Use this annotation on any static or field that will be initialized lazily, where races yield no semantic difference in the code (as, for example, is the case with String.hashCode()).
- -
+ +
A BugPattern; see the summary.
- -
+ +
A utility class for finding the Levenshtein edit distance between strings.
- -
 
- -
+ +
 
+ +
Points out if #valueOf() is called on a Protocol Buffer Enum.
- -
+ +
Flags calls to toString on lite protos.
- -
+ +
Bans calls to LocalDate.plus(TemporalAmount) and LocalDate.minus(TemporalAmount) where the TemporalAmount is a non-zero Duration.
- -
+ +
Binding for a local variable in a template.
- -
Deprecated. + +
Deprecated.
the correctness of this annotation is not enforced; it will soon be removed.
- -
+ +
Suggests that calls to Lock.lock must be immediately followed by a try-finally that calls Lock.unlock.
- -
+ +
Detects locks on boxed primitives.
- -
+ +
Bug checker to detect the usage of lock on the class other than the enclosing class of the code block.
- -
-
A BugChecker; see the associated BugPattern annotation for details.
-
- +
A BugChecker; see the associated BugPattern annotation for details.
- +
A BugChecker; see the associated BugPattern annotation for details.
- +
-
Matcher for a long literal with a lower-case ell for a suffix (e.g.
+
A BugChecker; see the associated BugPattern annotation for details.
- +
-
A BugChecker; see the associated BugPattern annotation for details.
+
Matcher for a long literal with a lower-case ell for a suffix (e.g.
- +
A BugChecker; see the associated BugPattern annotation for details.
- +
-
Checker to prevent usages of comparison methods where both the operands undergo lossy widening.
+
A BugChecker; see the associated BugPattern annotation for details.
- +
-
Finds malformed inline tags where @{tag is used instead of {@tag.
+
Checker to prevent usages of comparison methods where both the operands undergo lossy widening.
- +
+
Finds malformed inline tags where @{tag is used instead of {@tag.
+
+ +
A classloader that allows plugins to access the Error Prone classes from the compiler classpath.
- -
+ +
Define a predicate on a Tree, which also accesses the state of AST traversal.
- -
+ +
Static factory methods which make the DSL read more fluently.
- -
+ +
Specify an error-prone Matcher to further restrict what expressions are matched by the annotated parameter.
- -
+ +
The state that is propagated across a match operation.
- -
 
- -
+ +
 
+ +
Check for calls to Math's Math.round(float) with an integer or long parameter.
- -
+ +
Indicates that a parameter to a placeholder method is not required to be used in the placeholder's implementation.
- -
-
Flags a few ways in which member names may violate the style guide.
-
A BugChecker; see the associated BugPattern annotation for details.
diff --git a/api/latest/com/google/errorprone/bugpatterns/BugChecker.ClassTreeMatcher.html b/api/latest/com/google/errorprone/bugpatterns/BugChecker.ClassTreeMatcher.html index bd3c46a86f1..68e27ce522f 100644 --- a/api/latest/com/google/errorprone/bugpatterns/BugChecker.ClassTreeMatcher.html +++ b/api/latest/com/google/errorprone/bugpatterns/BugChecker.ClassTreeMatcher.html @@ -83,7 +83,7 @@

Interface BugChe
All Known Implementing Classes:
-
AmbiguousMethodReference, AnnotationPosition, AssistedInjectAndInjectOnConstructors, AssistedInjectScoping, AutoValueBoxedValues, AutoValueFinalMethods, AutoValueImmutableFields, BadAnnotationImplementation, BanClassLoader, BugPatternNaming, CheckReturnValue, ClassCanBeStatic, ClassInitializationDeadlock, ClassNamedLikeTypeParameter, ComparableAndComparator, ComparableType, ConstantPatternCompile, DepAnn, EmptyBlockTag, EqualsHashCode, EscapedEntity, ExtendingJUnitAssert, ExtendsAutoValue, FragmentInjection, FragmentNotInstantiable, FunctionalInterfaceClash, HidingField, ImmutableAnnotationChecker, ImmutableChecker, ImmutableEnumChecker, ImmutableMemberCollection, ImmutableSetForContains, InconsistentCapitalization, InconsistentHashCode, InconsistentOverloads, InheritDoc, InjectOnMemberAndConstructor, InputStreamSlowMultibyteRead, InterfaceWithOnlyStatics, InvalidBlockTag, InvalidInlineTag, InvalidLink, InvalidParam, InvalidTargetingOnScopingAnnotation, IterableAndIterator, JavaLangClash, JdkObsolete, JUnit4TestNotRun, JUnitAmbiguousTestClass, MalformedInlineTag, MemberName, MissingRefasterAnnotation, MissingRuntimeRetention, MissingSummary, MoreThanOneScopeAnnotationOnClass, MultiVariableDeclaration, MustBeClosedChecker, NamedLikeContextualKeyword, NoCanIgnoreReturnValueOnClasses, OverlappingQualifierAndScopeAnnotation, OverrideThrowableToString, ParametersButNotParameterized, ParcelableCreator, PrivateConstructorForNoninstantiableModule, PrivateConstructorForUtilityClass, ProtectedMembersInFinalClass, QualifierWithTypeUse, ScopeOnModule, TestParametersNotInitialized, TheoryButNoTheories, ThreadSafeChecker, TypeNameShadowing, TypeParameterShadowing, UnescapedEntity, UngroupedOverloads, UnrecognisedJavadocTag, UnsafeWildcard, UrlInSee, VarTypeName
+
AmbiguousMethodReference, AnnotationPosition, AssistedInjectAndInjectOnConstructors, AssistedInjectScoping, AutoValueBoxedValues, AutoValueFinalMethods, AutoValueImmutableFields, BadAnnotationImplementation, BanClassLoader, BugPatternNaming, CheckReturnValue, ClassCanBeStatic, ClassInitializationDeadlock, ClassNamedLikeTypeParameter, ComparableAndComparator, ComparableType, ConstantPatternCompile, DepAnn, EmptyBlockTag, EqualsHashCode, EscapedEntity, ExtendingJUnitAssert, ExtendsAutoValue, FragmentInjection, FragmentNotInstantiable, FunctionalInterfaceClash, HidingField, IdentifierName, ImmutableAnnotationChecker, ImmutableChecker, ImmutableEnumChecker, ImmutableMemberCollection, ImmutableSetForContains, InconsistentCapitalization, InconsistentHashCode, InconsistentOverloads, InheritDoc, InjectOnMemberAndConstructor, InputStreamSlowMultibyteRead, InterfaceWithOnlyStatics, InvalidBlockTag, InvalidInlineTag, InvalidLink, InvalidParam, InvalidTargetingOnScopingAnnotation, IterableAndIterator, JavaLangClash, JdkObsolete, JUnit4TestNotRun, JUnitAmbiguousTestClass, MalformedInlineTag, MissingRefasterAnnotation, MissingRuntimeRetention, MissingSummary, MoreThanOneScopeAnnotationOnClass, MultiVariableDeclaration, MustBeClosedChecker, NamedLikeContextualKeyword, NoCanIgnoreReturnValueOnClasses, OverlappingQualifierAndScopeAnnotation, OverrideThrowableToString, ParametersButNotParameterized, ParcelableCreator, PrivateConstructorForNoninstantiableModule, PrivateConstructorForUtilityClass, ProtectedMembersInFinalClass, QualifierWithTypeUse, ScopeOnModule, TestParametersNotInitialized, TheoryButNoTheories, ThreadSafeChecker, TypeNameShadowing, TypeParameterShadowing, UnescapedEntity, UngroupedOverloads, UnrecognisedJavadocTag, UnsafeWildcard, UrlInSee, VarTypeName
Enclosing class:
diff --git a/api/latest/com/google/errorprone/bugpatterns/BugChecker.MethodTreeMatcher.html b/api/latest/com/google/errorprone/bugpatterns/BugChecker.MethodTreeMatcher.html index 19e9986d230..c6f216fec63 100644 --- a/api/latest/com/google/errorprone/bugpatterns/BugChecker.MethodTreeMatcher.html +++ b/api/latest/com/google/errorprone/bugpatterns/BugChecker.MethodTreeMatcher.html @@ -83,7 +83,7 @@

Interface BugCh

All Known Implementing Classes:
-
AndroidInjectionBeforeSuper, AnnotationPosition, AssistedParameters, AutoValueBuilderDefaultsInConstructor, AvoidObjectArrays, BindingToUnqualifiedCommonType, BuilderReturnThis, CacheLoaderNull, CanIgnoreReturnValueSuggester, ChainingConstructorIgnoresParameter, CheckedExceptionNotThrown, CheckNotNullMultipleTimes, CheckReturnValue, CloseableProvides, ComparisonContractViolated, CompileTimeConstantChecker, DepAnn, DoNotCallChecker, DoNotCallSuggester, DoNotClaimAnnotations, EmptyBlockTag, EmptySetMultibindingContributions, EqualsBrokenForNull, EqualsMissingNullable, EqualsReference, EqualsUnsafeCast, EqualsWrongThing, EscapedEntity, ExpectedExceptionChecker, Finalize, FloggerSplitLogStatement, FormatStringAnnotationChecker, ForOverrideChecker, FunctionalInterfaceMethodChanged, GuardedByChecker, ImmutableChecker, IncorrectMainMethod, InfiniteRecursion, InheritDoc, InjectedConstructorAnnotations, InjectOnBugCheckers, InjectOnConstructorOfAbstractClass, InterruptedExceptionSwallowed, InvalidBlockTag, InvalidInlineTag, InvalidLink, InvalidParam, InvalidThrows, InvalidThrowsLink, JavaxInjectOnAbstractMethod, JUnit4ClassAnnotationNonStatic, JUnit4SetUpNotRun, JUnit4TearDownNotRun, JUnitParameterMethodNotFound, LambdaFunctionalInterface, MalformedInlineTag, MemberName, MisplacedScopeAnnotations, MissingImplementsComparable, MissingOverride, MissingSummary, MissingSuperCall, MissingTestCall, MixedArrayDimensions, MultipleNullnessAnnotations, MustBeClosedChecker, NamedLikeContextualKeyword, NoAllocationChecker, NonApiType, NonFinalCompileTimeConstant, NonOverridingEquals, NullableConstructor, NullableOnContainingClass, NullableOptional, NullablePrimitive, NullablePrimitiveArray, NullableVoid, Overrides, OverridesGuiceInjectableMethod, OverridesJavaxInjectableMethod, OverridingMethodInconsistentArgumentNamesChecker, PublicApiNamedStreamShouldReturnStream, QualifierOrScopeOnInjectMethod, RedundantOverride, RedundantThrows, ReturnAtTheEndOfVoidFunction, ReturnFromVoid, SelfAlwaysReturnsThis, StaticAssignmentInConstructor, StaticAssignmentOfThrowable, StaticOrDefaultInterfaceMethod, StreamResourceLeak, Suggester, TestExceptionChecker, ThrowsUncheckedException, TooManyParameters, ToStringReturnsNull, TypeNameShadowing, TypeParameterShadowing, TypeParameterUnusedInFormals, UnescapedEntity, UnnecessarilyVisible, UnnecessaryLambda, UnrecognisedJavadocTag, UnsynchronizedOverridesSynchronized, UrlInSee, UseBinds, UseCorrectAssertInTests, Validator, VoidMissingNullable
+
AndroidInjectionBeforeSuper, AnnotationPosition, AssistedParameters, AutoValueBuilderDefaultsInConstructor, AvoidObjectArrays, BindingToUnqualifiedCommonType, BuilderReturnThis, CacheLoaderNull, CanIgnoreReturnValueSuggester, ChainingConstructorIgnoresParameter, CheckedExceptionNotThrown, CheckNotNullMultipleTimes, CheckReturnValue, CloseableProvides, ComparisonContractViolated, CompileTimeConstantChecker, DepAnn, DoNotCallChecker, DoNotCallSuggester, DoNotClaimAnnotations, EmptyBlockTag, EmptySetMultibindingContributions, EqualsBrokenForNull, EqualsMissingNullable, EqualsReference, EqualsUnsafeCast, EqualsWrongThing, EscapedEntity, ExpectedExceptionChecker, Finalize, FloggerSplitLogStatement, FormatStringAnnotationChecker, ForOverrideChecker, FunctionalInterfaceMethodChanged, GuardedByChecker, IdentifierName, ImmutableChecker, IncorrectMainMethod, InfiniteRecursion, InheritDoc, InjectedConstructorAnnotations, InjectOnBugCheckers, InjectOnConstructorOfAbstractClass, InterruptedExceptionSwallowed, InvalidBlockTag, InvalidInlineTag, InvalidLink, InvalidParam, InvalidThrows, InvalidThrowsLink, JavaxInjectOnAbstractMethod, JUnit4ClassAnnotationNonStatic, JUnit4SetUpNotRun, JUnit4TearDownNotRun, JUnitParameterMethodNotFound, LambdaFunctionalInterface, MalformedInlineTag, MisplacedScopeAnnotations, MissingImplementsComparable, MissingOverride, MissingSummary, MissingSuperCall, MissingTestCall, MixedArrayDimensions, MultipleNullnessAnnotations, MustBeClosedChecker, NamedLikeContextualKeyword, NoAllocationChecker, NonApiType, NonFinalCompileTimeConstant, NonOverridingEquals, NullableConstructor, NullableOnContainingClass, NullableOptional, NullablePrimitive, NullablePrimitiveArray, NullableVoid, Overrides, OverridesGuiceInjectableMethod, OverridesJavaxInjectableMethod, OverridingMethodInconsistentArgumentNamesChecker, PublicApiNamedStreamShouldReturnStream, QualifierOrScopeOnInjectMethod, RedundantOverride, RedundantThrows, ReturnAtTheEndOfVoidFunction, ReturnFromVoid, SelfAlwaysReturnsThis, StaticAssignmentInConstructor, StaticAssignmentOfThrowable, StaticOrDefaultInterfaceMethod, StreamResourceLeak, Suggester, TestExceptionChecker, ThrowsUncheckedException, TooManyParameters, ToStringReturnsNull, TypeNameShadowing, TypeParameterShadowing, TypeParameterUnusedInFormals, UnescapedEntity, UnnecessarilyVisible, UnnecessaryLambda, UnrecognisedJavadocTag, UnsynchronizedOverridesSynchronized, UrlInSee, UseBinds, UseCorrectAssertInTests, Validator, VoidMissingNullable
Enclosing class:
diff --git a/api/latest/com/google/errorprone/bugpatterns/BugChecker.VariableTreeMatcher.html b/api/latest/com/google/errorprone/bugpatterns/BugChecker.VariableTreeMatcher.html index 7a2b5a8f9bd..f8833e9b0c9 100644 --- a/api/latest/com/google/errorprone/bugpatterns/BugChecker.VariableTreeMatcher.html +++ b/api/latest/com/google/errorprone/bugpatterns/BugChecker.VariableTreeMatcher.html @@ -83,7 +83,7 @@

Interface Bug

All Known Implementing Classes:
-
AbstractMockChecker, AnnotationPosition, ArrayRecordComponent, CannotMockFinalClass, CompileTimeConstantChecker, ConstantField, DateFormatConstant, DepAnn, DeprecatedVariable, DoNotMockAutoValue, DoNotMockChecker, DoNotUseRuleChain, EmptyBlockTag, EscapedEntity, FieldCanBeStatic, FieldMissingNullable, FloggerRequiredModifiers, FloggerSplitLogStatement, ForEachIterable, GuardedByChecker, IdentityHashMapUsage, InheritDoc, InitializeInline, InjectOnFinalField, IntLongMath, InvalidBlockTag, InvalidInlineTag, InvalidLink, IterablePathParameter, MalformedInlineTag, MemberName, MisplacedScopeAnnotations, MissingSummary, MixedArrayDimensions, ModifiedButNotUsed, MultipleNullnessAnnotations, MutableGuiceModule, MutablePublicArray, NoAllocationChecker, NonFinalStaticField, NullableOnContainingClass, NullableOptional, NullablePrimitive, NullablePrimitiveArray, SelfAssignment, StaticAssignmentOfThrowable, StaticMockMember, TimeUnitMismatch, TransientMisuse, UnescapedEntity, UnnecessarilyUsedValue, UnnecessaryAnonymousClass, UnnecessaryAssignment, UnnecessaryAsync, UnnecessaryBoxedAssignment, UnnecessaryFinal, UnnecessaryLambda, UnrecognisedJavadocTag, UnsafeWildcard, UrlInSee, VarChecker, VariableNameSameAsType, Varifier, VoidMissingNullable
+
AbstractMockChecker, AnnotationPosition, ArrayRecordComponent, CannotMockFinalClass, CompileTimeConstantChecker, ConstantField, DateFormatConstant, DepAnn, DeprecatedVariable, DoNotMockAutoValue, DoNotMockChecker, DoNotUseRuleChain, EmptyBlockTag, EscapedEntity, FieldCanBeStatic, FieldMissingNullable, FloggerRequiredModifiers, FloggerSplitLogStatement, ForEachIterable, GuardedByChecker, IdentifierName, IdentityHashMapUsage, InheritDoc, InitializeInline, InjectOnFinalField, IntLongMath, InvalidBlockTag, InvalidInlineTag, InvalidLink, IterablePathParameter, MalformedInlineTag, MisplacedScopeAnnotations, MissingSummary, MixedArrayDimensions, ModifiedButNotUsed, MultipleNullnessAnnotations, MutableGuiceModule, MutablePublicArray, NoAllocationChecker, NonFinalStaticField, NullableOnContainingClass, NullableOptional, NullablePrimitive, NullablePrimitiveArray, SelfAssignment, StaticAssignmentOfThrowable, StaticMockMember, TimeUnitMismatch, TransientMisuse, UnescapedEntity, UnnecessarilyUsedValue, UnnecessaryAnonymousClass, UnnecessaryAssignment, UnnecessaryAsync, UnnecessaryBoxedAssignment, UnnecessaryFinal, UnnecessaryLambda, UnrecognisedJavadocTag, UnsafeWildcard, UrlInSee, VarChecker, VariableNameSameAsType, Varifier, VoidMissingNullable
Enclosing class:
diff --git a/api/latest/com/google/errorprone/bugpatterns/BugChecker.html b/api/latest/com/google/errorprone/bugpatterns/BugChecker.html index 53b6d693d10..bfce4f71d0a 100644 --- a/api/latest/com/google/errorprone/bugpatterns/BugChecker.html +++ b/api/latest/com/google/errorprone/bugpatterns/BugChecker.html @@ -116,7 +116,7 @@

Class BugChecker

Direct Known Subclasses:
-
AbstractAsKeyOfSetOrMap, AbstractBanUnsafeAPIChecker, AbstractMockChecker, AbstractMustBeClosedChecker, AbstractPatternSyntaxChecker, AbstractReferenceEquality, AbstractReturnValueIgnored, AbstractToString, AbstractUseSwitch, AddressSelection, AlmostJavadoc, AlreadyChecked, AlwaysThrows, AmbiguousMethodReference, AndroidInjectionBeforeSuper, AnnotateFormatMethod, AnnotationPosition, ApiDiffChecker, ArgumentSelectionDefectChecker, ArrayEquals, ArrayFillIncompatibleType, ArrayHashCode, ArrayRecordComponent, ArraysAsListPrimitiveArray, AssertEqualsArgumentOrderChecker, AssertFalse, AssertionFailureIgnored, AssertThrowsMultipleStatements, AssistedInjectAndInjectOnConstructors, AssistedInjectAndInjectOnSameConstructor, AssistedInjectScoping, AssistedParameters, ASTHelpersSuggestions, AsyncCallableReturnsNull, AsyncFunctionReturnsNull, AttemptedNegativeZero, AutoFactoryAtInject, AutoValueBoxedValues, AutoValueBuilderDefaultsInConstructor, AutoValueConstructorOrderChecker, AutoValueFinalMethods, AutoValueImmutableFields, AutoValueSubclassLeaked, AvoidObjectArrays, BadAnnotationImplementation, BadComparable, BadImport, BadInstanceof, BadShiftAmount, BigDecimalEquals, BigDecimalLiteralDouble, BinderIdentityRestoredDangerously, BindingToUnqualifiedCommonType, BooleanParameter, BoxedPrimitiveConstructor, BugPatternNaming, BuilderReturnThis, BundleDeserializationCast, ByteBufferBackingArray, CacheLoaderNull, CanIgnoreReturnValueSuggester, CannotMockFinalClass, CannotMockMethod, CanonicalDuration, CatchAndPrintStackTrace, CatchFail, CatchingUnchecked, ChainedAssertionLosesContext, ChainingConstructorIgnoresParameter, CharacterGetNumericValue, CheckedExceptionNotThrown, CheckNotNullMultipleTimes, ClassCanBeStatic, ClassInitializationDeadlock, ClassName, ClassNamedLikeTypeParameter, ClassNewInstance, CloseableProvides, ClosingStandardOutputStreams, CollectionIncompatibleType, CollectionToArraySafeParameter, CollectionUndefinedEquality, CollectorShouldNotUseState, ComparableAndComparator, ComparableType, CompareToZero, ComparingThisWithNull, ComparisonContractViolated, ComparisonOutOfRange, CompatibleWithMisuse, CompileTimeConstantChecker, ComplexBooleanConstant, ComputeIfAbsentAmbiguousReference, ConditionalExpressionNumericPromotion, ConstantField, ConstantOverflow, ConstantPatternCompile, DangerousLiteralNullChecker, DateChecker, DateFormatConstant, DeadException, DeadThread, DeduplicateConstants, DeeplyNested, DefaultCharset, DefaultLocale, DefaultPackage, DepAnn, DeprecatedVariable, DereferenceWithNullBranch, DifferentNameButSame, DirectInvocationOnMock, DiscardedPostfixExpression, DistinctVarargsChecker, DoNotCallChecker, DoNotCallSuggester, DoNotClaimAnnotations, DoNotUseRuleChain, DoubleBraceInitialization, DoubleCheckedLocking, DuplicateMapKeys, DurationFrom, DurationGetTemporalUnit, DurationTemporalUnit, DurationToLongTimeUnit, EmptyBlockTag, EmptyCatch, EmptyIfStatement, EmptySetMultibindingContributions, EmptyTopLevelDeclaration, EnumOrdinal, EqualsBrokenForNull, EqualsGetClass, EqualsHashCode, EqualsIncompatibleType, EqualsMissingNullable, EqualsNaN, EqualsNull, EqualsReference, EqualsUnsafeCast, EqualsUsingHashCode, EqualsWrongThing, ErroneousBitwiseExpression, ErroneousThreadPoolConstructorChecker, EscapedEntity, ExpectedExceptionChecker, ExtendingJUnitAssert, ExtendsAutoValue, ExtendsObject, FallThrough, FieldCanBeFinal, FieldCanBeLocal, FieldCanBeStatic, FieldMissingNullable, Finalize, Finally, FloatCast, FloatingPointAssertionWithinEpsilon, FloatingPointLiteralPrecision, FloggerArgumentToString, FloggerFormatString, FloggerLogString, FloggerLogVarargs, FloggerLogWithCause, FloggerMessageFormat, FloggerRedundantIsEnabled, FloggerRequiredModifiers, FloggerSplitLogStatement, FloggerStringConcatenation, FloggerWithCause, FloggerWithoutCause, ForEachIterable, FormatString, FormatStringAnnotationChecker, ForOverrideChecker, FragmentInjection, FragmentNotInstantiable, FromTemporalAccessor, FunctionalInterfaceClash, FunctionalInterfaceMethodChanged, FuturesGetCheckedIllegalExceptionType, FutureTransformAsync, FuzzyEqualsShouldNotBeUsedInEqualsMethod, GetClassOnAnnotation, GetClassOnClass, GetClassOnEnum, GuardedByChecker, GuiceNestedCombine, HardCodedSdCardPath, HashtableContains, HidingField, ICCProfileGetInstance, IdentityBinaryExpression, IdentityHashMapBoxing, IdentityHashMapUsage, ImmutableAnnotationChecker, ImmutableChecker, ImmutableEnumChecker, ImmutableMemberCollection, ImmutableRefactoring, ImmutableSetForContains, ImplementAssertionWithChaining, ImpossibleNullComparison, Incomparable, IncompatibleArgumentType, IncompatibleModifiersChecker, InconsistentCapitalization, InconsistentHashCode, InconsistentOverloads, IncorrectMainMethod, IncrementInForLoopAndHeader, IndexOfChar, InexactVarargsConditional, InfiniteRecursion, InheritDoc, InitializeInline, InjectedConstructorAnnotations, InjectOnBugCheckers, InjectOnConstructorOfAbstractClass, InjectOnFinalField, InjectOnMemberAndConstructor, InlineFormatString, Inliner, InlineTrivialConstant, InputStreamSlowMultibyteRead, InsecureCipherMode, InstanceOfAndCastMatchWrongType, InstantTemporalUnit, InterfaceWithOnlyStatics, InterruptedExceptionSwallowed, Interruption, IntLongMath, InvalidBlockTag, InvalidInlineTag, InvalidJavaTimeConstant, InvalidLink, InvalidParam, InvalidTargetingOnScopingAnnotation, InvalidThrows, InvalidThrowsLink, InvalidTimeZoneID, InvalidZoneId, IsInstanceIncompatibleType, IsInstanceOfClass, IsLoggableTagLength, IterableAndIterator, IterablePathParameter, JavaDurationGetSecondsGetNano, JavaDurationWithNanos, JavaDurationWithSeconds, JavaInstantGetSecondsGetNano, JavaLangClash, JavaLocalDateTimeGetNano, JavaLocalTimeGetNano, JavaPeriodGetDays, JavaTimeDefaultTimeZone, JavaUtilDateChecker, JavaxInjectOnAbstractMethod, JavaxInjectOnFinalField, JdkObsolete, JodaConstructors, JodaDateTimeConstants, JodaDurationWithMillis, JodaInstantWithMillis, JodaNewPeriod, JodaPlusMinusLong, JodaTimeConverterManager, JodaToSelf, JodaWithDurationAddedLong, JUnit3FloatingPointComparisonWithoutDelta, JUnit3TestNotRun, JUnit4ClassAnnotationNonStatic, JUnit4ClassUsedInJUnit3, JUnit4SetUpNotRun, JUnit4TearDownNotRun, JUnit4TestNotRun, JUnit4TestsNotRunWithinEnclosed, JUnitAmbiguousTestClass, JUnitAssertSameCheck, JUnitIncompatibleType, JUnitParameterMethodNotFound, LabelledBreakTarget, LambdaFunctionalInterface, LenientFormatStringValidation, LiteByteStringUtf8, LiteEnumValueOf, LocalDateTemporalAmount, LockNotBeforeTry, LockOnBoxedPrimitive, LockOnNonEnclosingClassLiteral, LogicalAssignment, LongDoubleConversion, LongFloatConversion, LongLiteralLowerCaseSuffix, LoopConditionChecker, LoopOverCharArray, LossyPrimitiveCompare, MalformedInlineTag, MathAbsoluteNegative, MathRoundIntLong, MemberName, MemoizeConstantVisitorStateLookups, MethodCanBeStatic, MisformattedTestData, MislabeledAndroidString, MisleadingEscapedSpace, MisplacedScopeAnnotations, MissingBraces, MissingCasesInEnumSwitch, MissingDefault, MissingFail, MissingImplementsComparable, MissingOverride, MissingRefasterAnnotation, MissingRuntimeRetention, MissingSummary, MissingSuperCall, MissingTestCall, MisusedDateFormat, MixedArrayDimensions, MixedDescriptors, MixedMutabilityReturnType, MockitoDoSetup, MockitoUsage, MockNotUsedInProduction, ModifiedButNotUsed, ModifyCollectionInEnhancedForLoop, ModifyingCollectionWithItself, ModifySourceCollectionInStream, MoreThanOneInjectableConstructor, MoreThanOneQualifier, MoreThanOneScopeAnnotationOnClass, MultimapKeys, MultipleNullnessAnnotations, MultipleParallelOrSequentialCalls, MultipleTopLevelClasses, MultipleUnaryOperatorsInMethodCall, MultiVariableDeclaration, MutableGuiceModule, MutablePublicArray, NamedLikeContextualKeyword, NarrowCalculation, NarrowingCompoundAssignment, NCopiesOfChar, NegativeCharLiteral, NestedInstanceOfConditions, NewFileSystem, NoAllocationChecker, NoCanIgnoreReturnValueOnClasses, NonApiType, NonAtomicVolatileUpdate, NonCanonicalStaticImport, NonCanonicalStaticMemberImport, NonCanonicalType, NonFinalCompileTimeConstant, NonFinalStaticField, NonOverridingEquals, NonRuntimeAnnotation, NotJavadoc, NullableConstructor, NullableOnContainingClass, NullableOptional, NullablePrimitive, NullablePrimitiveArray, NullableTypeParameter, NullableVoid, NullableWildcard, NullArgumentForNonNullParameter, NullOptional, NullTernary, ObjectEqualsForPrimitives, ObjectsHashCodePrimitive, OperatorPrecedence, OptionalMapToOptional, OptionalMapUnusedValue, OptionalNotPresent, OptionalOfRedundantMethod, OrphanedFormatString, OutlineNone, OverlappingQualifierAndScopeAnnotation, Overrides, OverridesGuiceInjectableMethod, OverridesJavaxInjectableMethod, OverrideThrowableToString, OverridingMethodInconsistentArgumentNamesChecker, PackageInfo, PackageLocation, ParameterComment, ParameterMissingNullable, ParameterName, ParametersButNotParameterized, ParcelableCreator, PatternMatchingInstanceof, PeriodFrom, PeriodGetTemporalUnit, PeriodTimeMath, PreconditionsCheckNotNullRepeated, PreconditionsInvalidPlaceholder, PreferJavaTimeOverload, PreferredInterfaceType, PrimitiveArrayPassedToVarargsMethod, PrimitiveAtomicReference, PrivateConstructorForNoninstantiableModule, PrivateConstructorForUtilityClass, PrivateSecurityContractProtoAccess, ProtectedMembersInFinalClass, ProtocolBufferOrdinal, ProtoDurationGetSecondsGetNano, ProtoStringFieldReferenceEquality, ProtoTimestampGetSecondsGetNano, ProtoTruthMixedDescriptors, ProvidesMethodOutsideOfModule, ProvidesNull, PublicApiNamedStreamShouldReturnStream, QualifierOrScopeOnInjectMethod, QualifierWithTypeUse, RandomCast, RandomModInteger, ReachabilityFenceUsage, RedundantOverride, RedundantSetterCall, RedundantThrows, RefersToDaggerCodegen, RemoveUnusedImports, RequiredModifiersChecker, RestrictedApiChecker, RethrowReflectiveOperationExceptionAsLinkageError, ReturnAtTheEndOfVoidFunction, ReturnFromVoid, ReturnMissingNullable, ReturnsNullCollection, RobolectricShadowDirectlyOn, SameNameButDifferent, ScopeAnnotationOnInterfaceOrAbstractClass, ScopeOnModule, SelfAlwaysReturnsThis, SelfAssertion, SelfAssignment, SelfComparison, SelfEquals, SetUnrecognized, ShortCircuitBoolean, ShouldHaveEvenArgs, SizeGreaterThanOrEqualsZero, StatementSwitchToExpressionSwitch, StaticAssignmentInConstructor, StaticAssignmentOfThrowable, StaticGuardedByInstance, StaticMockMember, StaticOrDefaultInterfaceMethod, StaticQualifiedUsingExpression, StreamToIterable, StringBuilderInitWithChar, StringCaseLocaleUsage, StringCharset, StringFormatWithLiteral, StringSplitter, StronglyTypeByteString, StronglyTypeTime, SubstringOfZero, Suggester, SunApi, SuperCallToObjectMethod, SuppressWarningsDeprecated, SuppressWarningsWithoutExplanation, SwigMemoryLeak, SwitchDefault, SynchronizeOnNonFinalField, SystemConsoleNull, SystemExitOutsideMain, SystemOut, TemporalAccessorGetChronoField, TestExceptionChecker, TestParametersNotInitialized, TheoryButNoTheories, ThreadJoinLoop, ThreadLocalUsage, ThreadPriorityCheck, ThreadSafeChecker, ThreeLetterTimeZoneID, ThrowIfUncheckedKnownChecked, ThrowNull, ThrowSpecificExceptions, ThrowsUncheckedException, TimeUnitConversionChecker, TimeUnitMismatch, TooManyParameters, ToStringReturnsNull, TraditionalSwitchExpression, TransientMisuse, TruthAssertExpected, TruthConstantAsserts, TruthContainsExactlyElementsInUsage, TruthGetOrDefault, TruthIncompatibleType, TryFailRefactoring, TryFailThrowable, TryWithResourcesVariable, TypeEqualsChecker, TypeNameShadowing, TypeParameterNaming, TypeParameterQualifier, TypeParameterShadowing, TypeParameterUnusedInFormals, UndefinedEquals, UnescapedEntity, UngroupedOverloads, UnicodeDirectionalityCharacters, UnicodeEscape, UnicodeInCode, UnnecessarilyFullyQualified, UnnecessarilyUsedValue, UnnecessarilyVisible, UnnecessaryAnonymousClass, UnnecessaryAssignment, UnnecessaryAsync, UnnecessaryBoxedAssignment, UnnecessaryBoxedVariable, UnnecessaryBreakInSwitch, UnnecessaryCheckNotNull, UnnecessaryDefaultInEnumSwitch, UnnecessaryFinal, UnnecessaryLambda, UnnecessaryLongToIntConversion, UnnecessaryMethodInvocationMatcher, UnnecessaryMethodReference, UnnecessaryOptionalGet, UnnecessaryParentheses, UnnecessarySetDefault, UnnecessaryStaticImport, UnnecessaryStringBuilder, UnnecessaryTestMethodPrefix, UnnecessaryTypeArgument, UnrecognisedJavadocTag, UnsafeFinalization, UnsafeLocaleUsage, UnsafeReflectiveConstructionCast, UnsafeWildcard, UnsynchronizedOverridesSynchronized, UnusedAnonymousClass, UnusedCollectionModifiedInPlace, UnusedException, UnusedLabel, UnusedMethod, UnusedNestedClass, UnusedTypeParameter, UnusedVariable, URLEqualsHashCode, UrlInSee, UseBinds, UseCorrectAssertInTests, UsingJsr305CheckReturnValue, Validator, VarChecker, VariableNameSameAsType, Varifier, VarTypeName, VoidMissingNullable, VoidUsed, WaitNotInLoop, WakelockReleasedDangerously, WildcardImport, WithSignatureDiscouraged, WrongOneof, XorPower, YodaCondition, ZoneIdOfZ
+
AbstractAsKeyOfSetOrMap, AbstractBanUnsafeAPIChecker, AbstractMockChecker, AbstractMustBeClosedChecker, AbstractPatternSyntaxChecker, AbstractReferenceEquality, AbstractReturnValueIgnored, AbstractToString, AbstractUseSwitch, AddressSelection, AlmostJavadoc, AlreadyChecked, AlwaysThrows, AmbiguousMethodReference, AndroidInjectionBeforeSuper, AnnotateFormatMethod, AnnotationPosition, ApiDiffChecker, ArgumentSelectionDefectChecker, ArrayEquals, ArrayFillIncompatibleType, ArrayHashCode, ArrayRecordComponent, ArraysAsListPrimitiveArray, AssertEqualsArgumentOrderChecker, AssertFalse, AssertionFailureIgnored, AssertThrowsMultipleStatements, AssistedInjectAndInjectOnConstructors, AssistedInjectAndInjectOnSameConstructor, AssistedInjectScoping, AssistedParameters, ASTHelpersSuggestions, AsyncCallableReturnsNull, AsyncFunctionReturnsNull, AttemptedNegativeZero, AutoFactoryAtInject, AutoValueBoxedValues, AutoValueBuilderDefaultsInConstructor, AutoValueConstructorOrderChecker, AutoValueFinalMethods, AutoValueImmutableFields, AutoValueSubclassLeaked, AvoidObjectArrays, BadAnnotationImplementation, BadComparable, BadImport, BadInstanceof, BadShiftAmount, BigDecimalEquals, BigDecimalLiteralDouble, BinderIdentityRestoredDangerously, BindingToUnqualifiedCommonType, BooleanParameter, BoxedPrimitiveConstructor, BugPatternNaming, BuilderReturnThis, BundleDeserializationCast, ByteBufferBackingArray, CacheLoaderNull, CanIgnoreReturnValueSuggester, CannotMockFinalClass, CannotMockMethod, CanonicalDuration, CatchAndPrintStackTrace, CatchFail, CatchingUnchecked, ChainedAssertionLosesContext, ChainingConstructorIgnoresParameter, CharacterGetNumericValue, CheckedExceptionNotThrown, CheckNotNullMultipleTimes, ClassCanBeStatic, ClassInitializationDeadlock, ClassName, ClassNamedLikeTypeParameter, ClassNewInstance, CloseableProvides, ClosingStandardOutputStreams, CollectionIncompatibleType, CollectionToArraySafeParameter, CollectionUndefinedEquality, CollectorShouldNotUseState, ComparableAndComparator, ComparableType, CompareToZero, ComparingThisWithNull, ComparisonContractViolated, ComparisonOutOfRange, CompatibleWithMisuse, CompileTimeConstantChecker, ComplexBooleanConstant, ComputeIfAbsentAmbiguousReference, ConditionalExpressionNumericPromotion, ConstantField, ConstantOverflow, ConstantPatternCompile, DangerousLiteralNullChecker, DateChecker, DateFormatConstant, DeadException, DeadThread, DeduplicateConstants, DeeplyNested, DefaultCharset, DefaultLocale, DefaultPackage, DepAnn, DeprecatedVariable, DereferenceWithNullBranch, DifferentNameButSame, DirectInvocationOnMock, DiscardedPostfixExpression, DistinctVarargsChecker, DoNotCallChecker, DoNotCallSuggester, DoNotClaimAnnotations, DoNotUseRuleChain, DoubleBraceInitialization, DoubleCheckedLocking, DuplicateMapKeys, DurationFrom, DurationGetTemporalUnit, DurationTemporalUnit, DurationToLongTimeUnit, EmptyBlockTag, EmptyCatch, EmptyIfStatement, EmptySetMultibindingContributions, EmptyTopLevelDeclaration, EnumOrdinal, EqualsBrokenForNull, EqualsGetClass, EqualsHashCode, EqualsIncompatibleType, EqualsMissingNullable, EqualsNaN, EqualsNull, EqualsReference, EqualsUnsafeCast, EqualsUsingHashCode, EqualsWrongThing, ErroneousBitwiseExpression, ErroneousThreadPoolConstructorChecker, EscapedEntity, ExpectedExceptionChecker, ExtendingJUnitAssert, ExtendsAutoValue, ExtendsObject, FallThrough, FieldCanBeFinal, FieldCanBeLocal, FieldCanBeStatic, FieldMissingNullable, Finalize, Finally, FloatCast, FloatingPointAssertionWithinEpsilon, FloatingPointLiteralPrecision, FloggerArgumentToString, FloggerFormatString, FloggerLogString, FloggerLogVarargs, FloggerLogWithCause, FloggerMessageFormat, FloggerRedundantIsEnabled, FloggerRequiredModifiers, FloggerSplitLogStatement, FloggerStringConcatenation, FloggerWithCause, FloggerWithoutCause, ForEachIterable, FormatString, FormatStringAnnotationChecker, ForOverrideChecker, FragmentInjection, FragmentNotInstantiable, FromTemporalAccessor, FunctionalInterfaceClash, FunctionalInterfaceMethodChanged, FuturesGetCheckedIllegalExceptionType, FutureTransformAsync, FuzzyEqualsShouldNotBeUsedInEqualsMethod, GetClassOnAnnotation, GetClassOnClass, GetClassOnEnum, GuardedByChecker, GuiceNestedCombine, HardCodedSdCardPath, HashtableContains, HidingField, ICCProfileGetInstance, IdentifierName, IdentityBinaryExpression, IdentityHashMapBoxing, IdentityHashMapUsage, ImmutableAnnotationChecker, ImmutableChecker, ImmutableEnumChecker, ImmutableMemberCollection, ImmutableRefactoring, ImmutableSetForContains, ImplementAssertionWithChaining, ImpossibleNullComparison, Incomparable, IncompatibleArgumentType, IncompatibleModifiersChecker, InconsistentCapitalization, InconsistentHashCode, InconsistentOverloads, IncorrectMainMethod, IncrementInForLoopAndHeader, IndexOfChar, InexactVarargsConditional, InfiniteRecursion, InheritDoc, InitializeInline, InjectedConstructorAnnotations, InjectOnBugCheckers, InjectOnConstructorOfAbstractClass, InjectOnFinalField, InjectOnMemberAndConstructor, InlineFormatString, Inliner, InlineTrivialConstant, InputStreamSlowMultibyteRead, InsecureCipherMode, InstanceOfAndCastMatchWrongType, InstantTemporalUnit, InterfaceWithOnlyStatics, InterruptedExceptionSwallowed, Interruption, IntLongMath, InvalidBlockTag, InvalidInlineTag, InvalidJavaTimeConstant, InvalidLink, InvalidParam, InvalidTargetingOnScopingAnnotation, InvalidThrows, InvalidThrowsLink, InvalidTimeZoneID, InvalidZoneId, IsInstanceIncompatibleType, IsInstanceOfClass, IsLoggableTagLength, IterableAndIterator, IterablePathParameter, JavaDurationGetSecondsGetNano, JavaDurationWithNanos, JavaDurationWithSeconds, JavaInstantGetSecondsGetNano, JavaLangClash, JavaLocalDateTimeGetNano, JavaLocalTimeGetNano, JavaPeriodGetDays, JavaTimeDefaultTimeZone, JavaUtilDateChecker, JavaxInjectOnAbstractMethod, JavaxInjectOnFinalField, JdkObsolete, JodaConstructors, JodaDateTimeConstants, JodaDurationWithMillis, JodaInstantWithMillis, JodaNewPeriod, JodaPlusMinusLong, JodaTimeConverterManager, JodaToSelf, JodaWithDurationAddedLong, JUnit3FloatingPointComparisonWithoutDelta, JUnit3TestNotRun, JUnit4ClassAnnotationNonStatic, JUnit4ClassUsedInJUnit3, JUnit4SetUpNotRun, JUnit4TearDownNotRun, JUnit4TestNotRun, JUnit4TestsNotRunWithinEnclosed, JUnitAmbiguousTestClass, JUnitAssertSameCheck, JUnitIncompatibleType, JUnitParameterMethodNotFound, LabelledBreakTarget, LambdaFunctionalInterface, LenientFormatStringValidation, LiteByteStringUtf8, LiteEnumValueOf, LocalDateTemporalAmount, LockNotBeforeTry, LockOnBoxedPrimitive, LockOnNonEnclosingClassLiteral, LogicalAssignment, LongDoubleConversion, LongFloatConversion, LongLiteralLowerCaseSuffix, LoopConditionChecker, LoopOverCharArray, LossyPrimitiveCompare, MalformedInlineTag, MathAbsoluteNegative, MathRoundIntLong, MemoizeConstantVisitorStateLookups, MethodCanBeStatic, MisformattedTestData, MislabeledAndroidString, MisleadingEscapedSpace, MisplacedScopeAnnotations, MissingBraces, MissingCasesInEnumSwitch, MissingDefault, MissingFail, MissingImplementsComparable, MissingOverride, MissingRefasterAnnotation, MissingRuntimeRetention, MissingSummary, MissingSuperCall, MissingTestCall, MisusedDateFormat, MixedArrayDimensions, MixedDescriptors, MixedMutabilityReturnType, MockitoDoSetup, MockitoUsage, MockNotUsedInProduction, ModifiedButNotUsed, ModifyCollectionInEnhancedForLoop, ModifyingCollectionWithItself, ModifySourceCollectionInStream, MoreThanOneInjectableConstructor, MoreThanOneQualifier, MoreThanOneScopeAnnotationOnClass, MultimapKeys, MultipleNullnessAnnotations, MultipleParallelOrSequentialCalls, MultipleTopLevelClasses, MultipleUnaryOperatorsInMethodCall, MultiVariableDeclaration, MutableGuiceModule, MutablePublicArray, NamedLikeContextualKeyword, NarrowCalculation, NarrowingCompoundAssignment, NCopiesOfChar, NegativeCharLiteral, NestedInstanceOfConditions, NewFileSystem, NoAllocationChecker, NoCanIgnoreReturnValueOnClasses, NonApiType, NonAtomicVolatileUpdate, NonCanonicalStaticImport, NonCanonicalStaticMemberImport, NonCanonicalType, NonFinalCompileTimeConstant, NonFinalStaticField, NonOverridingEquals, NonRuntimeAnnotation, NotJavadoc, NullableConstructor, NullableOnContainingClass, NullableOptional, NullablePrimitive, NullablePrimitiveArray, NullableTypeParameter, NullableVoid, NullableWildcard, NullArgumentForNonNullParameter, NullOptional, NullTernary, ObjectEqualsForPrimitives, ObjectsHashCodePrimitive, OperatorPrecedence, OptionalMapToOptional, OptionalMapUnusedValue, OptionalNotPresent, OptionalOfRedundantMethod, OrphanedFormatString, OutlineNone, OverlappingQualifierAndScopeAnnotation, Overrides, OverridesGuiceInjectableMethod, OverridesJavaxInjectableMethod, OverrideThrowableToString, OverridingMethodInconsistentArgumentNamesChecker, PackageInfo, PackageLocation, ParameterComment, ParameterMissingNullable, ParameterName, ParametersButNotParameterized, ParcelableCreator, PatternMatchingInstanceof, PeriodFrom, PeriodGetTemporalUnit, PeriodTimeMath, PreconditionsCheckNotNullRepeated, PreconditionsInvalidPlaceholder, PreferJavaTimeOverload, PreferredInterfaceType, PrimitiveArrayPassedToVarargsMethod, PrimitiveAtomicReference, PrivateConstructorForNoninstantiableModule, PrivateConstructorForUtilityClass, PrivateSecurityContractProtoAccess, ProtectedMembersInFinalClass, ProtocolBufferOrdinal, ProtoDurationGetSecondsGetNano, ProtoStringFieldReferenceEquality, ProtoTimestampGetSecondsGetNano, ProtoTruthMixedDescriptors, ProvidesMethodOutsideOfModule, ProvidesNull, PublicApiNamedStreamShouldReturnStream, QualifierOrScopeOnInjectMethod, QualifierWithTypeUse, RandomCast, RandomModInteger, ReachabilityFenceUsage, RedundantOverride, RedundantSetterCall, RedundantThrows, RefersToDaggerCodegen, RemoveUnusedImports, RequiredModifiersChecker, RestrictedApiChecker, RethrowReflectiveOperationExceptionAsLinkageError, ReturnAtTheEndOfVoidFunction, ReturnFromVoid, ReturnMissingNullable, ReturnsNullCollection, RobolectricShadowDirectlyOn, SameNameButDifferent, ScopeAnnotationOnInterfaceOrAbstractClass, ScopeOnModule, SelfAlwaysReturnsThis, SelfAssertion, SelfAssignment, SelfComparison, SelfEquals, SetUnrecognized, ShortCircuitBoolean, ShouldHaveEvenArgs, SizeGreaterThanOrEqualsZero, StatementSwitchToExpressionSwitch, StaticAssignmentInConstructor, StaticAssignmentOfThrowable, StaticGuardedByInstance, StaticMockMember, StaticOrDefaultInterfaceMethod, StaticQualifiedUsingExpression, StreamToIterable, StringBuilderInitWithChar, StringCaseLocaleUsage, StringCharset, StringFormatWithLiteral, StringSplitter, StronglyTypeByteString, StronglyTypeTime, SubstringOfZero, Suggester, SunApi, SuperCallToObjectMethod, SuppressWarningsDeprecated, SuppressWarningsWithoutExplanation, SwigMemoryLeak, SwitchDefault, SynchronizeOnNonFinalField, SystemConsoleNull, SystemExitOutsideMain, SystemOut, TemporalAccessorGetChronoField, TestExceptionChecker, TestParametersNotInitialized, TheoryButNoTheories, ThreadJoinLoop, ThreadLocalUsage, ThreadPriorityCheck, ThreadSafeChecker, ThreeLetterTimeZoneID, ThrowIfUncheckedKnownChecked, ThrowNull, ThrowSpecificExceptions, ThrowsUncheckedException, TimeUnitConversionChecker, TimeUnitMismatch, TooManyParameters, ToStringReturnsNull, TraditionalSwitchExpression, TransientMisuse, TruthAssertExpected, TruthConstantAsserts, TruthContainsExactlyElementsInUsage, TruthGetOrDefault, TruthIncompatibleType, TryFailRefactoring, TryFailThrowable, TryWithResourcesVariable, TypeEqualsChecker, TypeNameShadowing, TypeParameterNaming, TypeParameterQualifier, TypeParameterShadowing, TypeParameterUnusedInFormals, UndefinedEquals, UnescapedEntity, UngroupedOverloads, UnicodeDirectionalityCharacters, UnicodeEscape, UnicodeInCode, UnnecessarilyFullyQualified, UnnecessarilyUsedValue, UnnecessarilyVisible, UnnecessaryAnonymousClass, UnnecessaryAssignment, UnnecessaryAsync, UnnecessaryBoxedAssignment, UnnecessaryBoxedVariable, UnnecessaryBreakInSwitch, UnnecessaryCheckNotNull, UnnecessaryDefaultInEnumSwitch, UnnecessaryFinal, UnnecessaryLambda, UnnecessaryLongToIntConversion, UnnecessaryMethodInvocationMatcher, UnnecessaryMethodReference, UnnecessaryOptionalGet, UnnecessaryParentheses, UnnecessarySetDefault, UnnecessaryStaticImport, UnnecessaryStringBuilder, UnnecessaryTestMethodPrefix, UnnecessaryTypeArgument, UnrecognisedJavadocTag, UnsafeFinalization, UnsafeLocaleUsage, UnsafeReflectiveConstructionCast, UnsafeWildcard, UnsynchronizedOverridesSynchronized, UnusedAnonymousClass, UnusedCollectionModifiedInPlace, UnusedException, UnusedLabel, UnusedMethod, UnusedNestedClass, UnusedTypeParameter, UnusedVariable, URLEqualsHashCode, UrlInSee, UseBinds, UseCorrectAssertInTests, UsingJsr305CheckReturnValue, Validator, VarChecker, VariableNameSameAsType, Varifier, VarTypeName, VoidMissingNullable, VoidUsed, WaitNotInLoop, WakelockReleasedDangerously, WildcardImport, WithSignatureDiscouraged, WrongOneof, XorPower, YodaCondition, ZoneIdOfZ

diff --git a/api/latest/com/google/errorprone/bugpatterns/MemberName.html b/api/latest/com/google/errorprone/bugpatterns/IdentifierName.html similarity index 97% rename from api/latest/com/google/errorprone/bugpatterns/MemberName.html rename to api/latest/com/google/errorprone/bugpatterns/IdentifierName.html index bc0f06a65b2..24aec729d2b 100644 --- a/api/latest/com/google/errorprone/bugpatterns/MemberName.html +++ b/api/latest/com/google/errorprone/bugpatterns/IdentifierName.html @@ -2,10 +2,10 @@ -MemberName (Error Prone parent POM 1.0-HEAD-SNAPSHOT API) +IdentifierName (Error Prone parent POM 1.0-HEAD-SNAPSHOT API) - + @@ -29,7 +29,7 @@