-
Class MemberName
+Class IdentifierName
java.lang.Object
com.google.errorprone.bugpatterns.BugChecker
-
com.google.errorprone.bugpatterns.MemberName
+com.google.errorprone.bugpatterns.IdentifierName
Class MemberName
-
-
+
-
+
-
+
+
-
+
+
-
+
+
-
+
+
+
+
-
-
-
-
-
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
-
+
-
+
+
-
+
+
-
+
-
+
+
-
+
-
+
-
+
-
-
-
-
-
-
+
+
-
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
+
-
-
-
-
-
public final class MemberName
+- See Also:
-
@@ -129,7 +129,7 @@
public final class IdentifierName
extends BugChecker
implements BugChecker.ClassTreeMatcher, BugChecker.MethodTreeMatcher, BugChecker.VariableTreeMatcher
Flags a few ways in which member names may violate the style guide.
@@ -104,7 +104,7 @@ Class MemberName
Constructor Summary
@@ -182,9 +182,9 @@Constructor Details
-
- MemberName
+IdentifierName
-public MemberName()+public IdentifierName()
diff --git a/api/latest/com/google/errorprone/bugpatterns/class-use/BugChecker.ClassTreeMatcher.html b/api/latest/com/google/errorprone/bugpatterns/class-use/BugChecker.ClassTreeMatcher.html
index b5c5d4eda35..45f9e2481d9 100644
--- a/api/latest/com/google/errorprone/bugpatterns/class-use/BugChecker.ClassTreeMatcher.html
+++ b/api/latest/com/google/errorprone/bugpatterns/class-use/BugChecker.ClassTreeMatcher.html
@@ -196,59 +196,59 @@
Uses of HidingField
final class
-
Refactoring to suggest Immutable types for member collection that are not mutated.
+Flags a few ways in which member names may violate the style guide.
final class
-
-Refactoring to suggest using
+private static final
ImmutableSet
over ImmutableList
when using only contains, containsAll and isEmpty.Refactoring to suggest Immutable types for member collection that are not mutated.
class
final class
-
-Checker for variables under the same scope that only differ in capitalization.
+Refactoring to suggest using
private static final
ImmutableSet
over ImmutableList
when using only contains, containsAll and isEmpty.final class
class
-
-Looks for hashCode implementations which are inconsistent with equals.
+Checker for variables under the same scope that only differ in capitalization.
class
final class
-
-Checks that InputStreams should override int read(byte[], int, int);
+Looks for hashCode implementations which are inconsistent with equals.
final class
class
+
+Checks that InputStreams should override int read(byte[], int, int);
+final class
Bugpattern to detect interfaces used only to store static fields/methods.
class
class
-
+
+A
-BugChecker
; see the associated BugPattern
annotation for details.class
A
BugChecker
; see the associated BugPattern
annotation for details.class
class
final class
-
+Flags a few ways in which member names may violate the style guide.
+A
BugChecker
; see the associated BugPattern
annotation for details.class
class
final class
diff --git a/api/latest/com/google/errorprone/bugpatterns/class-use/BugChecker.MethodTreeMatcher.html b/api/latest/com/google/errorprone/bugpatterns/class-use/BugChecker.MethodTreeMatcher.html
index 5327077de43..d353e60ebd5 100644
--- a/api/latest/com/google/errorprone/bugpatterns/class-use/BugChecker.MethodTreeMatcher.html
+++ b/api/latest/com/google/errorprone/bugpatterns/class-use/BugChecker.MethodTreeMatcher.html
@@ -208,57 +208,57 @@ Uses of
Uses of FunctionalInterfaceMethodChanged
final class
-
-Bugpattern for incorrect overloads of main.
+Flags a few ways in which member names may violate the style guide.
class
final class
-
-A
+BugChecker
; see the associated BugPattern
annotation for details.Bugpattern for incorrect overloads of main.
final class
class
-
A BugPattern; see the summary.
+A
BugChecker
; see the associated BugPattern
annotation for details.final class
-
-Checks for cases where an
+InterruptedException
is caught as part of a catch block
- catching a supertype, and not specially handled.A BugPattern; see the summary.
class
final class
-
+
@BeforeClass
or @AfterClass
should be applied to static methods.Checks for cases where an
InterruptedException
is caught as part of a catch block
+ catching a supertype, and not specially handled.class
-
Checks for the existence of a JUnit3 style setUp() method in a JUnit4 test class or methods
- annotated with a non-JUnit4 @Before annotation.
+@BeforeClass
or @AfterClass
should be applied to static methods.class
-
Checks for the existence of a JUnit3 style tearDown() method in a JUnit4 test class or methods
- annotated with a non-JUnit4 @After annotation.
+Checks for the existence of a JUnit3 style setUp() method in a JUnit4 test class or methods
+ annotated with a non-JUnit4 @Before annotation.
class
-
Checks if the methods specified in
+junitparams.Parameters
annotation to provide
- parameters exists.Checks for the existence of a JUnit3 style tearDown() method in a JUnit4 test class or methods
+ annotated with a non-JUnit4 @After annotation.
class
final class
-
+
+
-
+
+
-
+
+
-
+
+
-
+
-
-
+
+
diff --git a/api/latest/com/google/errorprone/bugpatterns/class-use/BugChecker.html b/api/latest/com/google/errorprone/bugpatterns/class-use/BugChecker.html
index b388668ea6e..1f79b7550cb 100644
--- a/api/latest/com/google/errorprone/bugpatterns/class-use/BugChecker.html
+++ b/api/latest/com/google/errorprone/bugpatterns/class-use/BugChecker.html
@@ -912,320 +912,320 @@ Uses of
-Flags a few ways in which member names may violate the style guide.
+
+
+
+Checks if the methods specified in
junitparams.Parameters
annotation to provide
+ parameters exists.class
class
diff --git a/api/latest/com/google/errorprone/bugpatterns/class-use/BugChecker.VariableTreeMatcher.html b/api/latest/com/google/errorprone/bugpatterns/class-use/BugChecker.VariableTreeMatcher.html
index 7c2c4220598..f4d79888b68 100644
--- a/api/latest/com/google/errorprone/bugpatterns/class-use/BugChecker.VariableTreeMatcher.html
+++ b/api/latest/com/google/errorprone/bugpatterns/class-use/BugChecker.VariableTreeMatcher.html
@@ -171,31 +171,31 @@ Uses of
-Uses of
A BugChecker
; see the associated BugPattern
annotation for details.
BugChecker
; see the associated BugPattern
annotation for details.class
final class
-
-A
+BugChecker
; see the associated BugPattern
annotation for details.Flags a few ways in which member names may violate the style guide.
final class
class
-
-Bugpattern to encourage initializing effectively final variables inline with their declaration,
- if possible.
+A
BugChecker
; see the associated BugPattern
annotation for details.class
final class
-
A
+BugChecker
; see the associated BugPattern
annotation for details.Bugpattern to encourage initializing effectively final variables inline with their declaration,
+ if possible.
class
A
BugChecker
; see the associated BugPattern
annotation for details.final class
class
-
Flags a few ways in which member names may violate the style guide.
+A
BugChecker
; see the associated BugPattern
annotation for details.class
Uses of
A BugChecker
; see the associated BugPattern
annotation for details.
BugChecker
; see the associated BugPattern
annotation for details.class
final class
-
A
+BugChecker
; see the associated BugPattern
annotation for details.Flags a few ways in which member names may violate the style guide.
class
A
BugChecker
; see the associated BugPattern
annotation for details.class
A
BugChecker
; see the associated BugPattern
annotation for details.final class
class
-
Flags ignored return values from pure getters.
+A
BugChecker
; see the associated BugPattern
annotation for details.final class
-
Refactoring to suggest Immutable types for member collection that are not mutated.
+Flags ignored return values from pure getters.
final class
-
Refactoring to suggest using
+private static final
ImmutableSet
over ImmutableList
when using only contains, containsAll and isEmpty.Refactoring to suggest Immutable types for member collection that are not mutated.
final class
-
Migrates Truth subjects from a manual "test and fail" approach to one using
+
- Subject.check(...)
.Refactoring to suggest using
private static final
ImmutableSet
over ImmutableList
when using only contains, containsAll and isEmpty.final class
-
-Matches comparison of proto fields to
+null
.Migrates Truth subjects from a manual "test and fail" approach to one using
+ Subject.check(...)
.class
final class
-
A
+BugChecker
; see the associated BugPattern
annotation for details.Matches comparison of proto fields to
null
.class
class
-
-
+
+
+
+
+
-
+
+
+
-
-
-
-
-
-
+
-
+
-
-
+
+
-
+
-
+
+
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
-
+
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
-
-
Checker for variables under the same scope that only differ in capitalization.
+
+
+
-A
BugChecker
; see the associated BugPattern
annotation for details.final class
class
class
-
Looks for hashCode implementations which are inconsistent with equals.
+Checker for variables under the same scope that only differ in capitalization.
final class
+
+Looks for hashCode implementations which are inconsistent with equals.
+final class
Bugpattern for incorrect overloads of main.
class
class
-
+
+A
-BugChecker
; see the associated BugPattern
annotation for details.class
A
BugChecker
; see the associated BugPattern
annotation for details.class
A
BugChecker
; see the associated BugPattern
annotation for details.final class
class
-
Bugpattern to encourage initializing effectively final variables inline with their declaration,
- if possible.
+A
BugChecker
; see the associated BugPattern
annotation for details.final class
-
-A BugPattern; see the summary.
+Bugpattern to encourage initializing effectively final variables inline with their declaration,
+ if possible.
class
final class
-
A
+BugChecker
; see the associated BugPattern
annotation for details.A BugPattern; see the summary.
class
-
Checks that InputStreams should override int read(byte[], int, int);
+A
BugChecker
; see the associated BugPattern
annotation for details.class
class
final class
-
+Bugpattern to detect interfaces used only to store static fields/methods.
+Checks that InputStreams should override int read(byte[], int, int);
class
class
final class
-
-Checks for cases where an
+InterruptedException
is caught as part of a catch block
- catching a supertype, and not specially handled.Bugpattern to detect interfaces used only to store static fields/methods.
class
final class
-
A
+BugChecker
; see the associated BugPattern
annotation for details.Checks for cases where an
InterruptedException
is caught as part of a catch block
+ catching a supertype, and not specially handled.class
A
BugChecker
; see the associated BugPattern
annotation for details.class
class
class
-
-Validates ZoneId.
-final class
class
A
BugChecker
; see the associated BugPattern
annotation for details.class
class
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
+
-
+
+
-
-
+
+
-
-
class
+
+Validates ZoneId.
+final class
class
A
BugChecker
; see the associated BugPattern
annotation for details.class
class
A
BugChecker
; see the associated BugPattern
annotation for details.class
A
BugChecker
; see the associated BugPattern
annotation for details.class
A
BugChecker
; see the associated BugPattern
annotation for details.class
-
-Detects floating-point assertEquals() calls that will not work in JUnit 4.
+A
BugChecker
; see the associated BugPattern
annotation for details.final class
class
-
-A bugpattern; see the associated summary.
+Detects floating-point assertEquals() calls that will not work in JUnit 4.
class
final class
-
+
@BeforeClass
or @AfterClass
should be applied to static methods.A bugpattern; see the associated summary.
class
+
+
@BeforeClass
or @AfterClass
should be applied to static methods.class
+
+
+
+
+
-
-
-
class
Checks for the existence of a JUnit3 style setUp() method in a JUnit4 test class or methods
annotated with a non-JUnit4 @Before annotation.
class
+
+
+
-
-
-
-
-
-
class
Checks for the existence of a JUnit3 style tearDown() method in a JUnit4 test class or methods
annotated with a non-JUnit4 @After annotation.
class
final class
+
+
+
+
+
+
-
-
-
-
-
-
+
-
+
-
-
-
-
-
class
final class
Finds tests that won't run due to the enclosing runner.
class
class
-
+
+Points out if an object is tested for reference equality to itself using JUnit library.
-class
-
Checks if the methods specified in
+junitparams.Parameters
annotation to provide
- parameters exists.Points out if an object is tested for reference equality to itself using JUnit library.
class
-
A BugPattern; see the summary.
+Checks if the methods specified in
junitparams.Parameters
annotation to provide
+ parameters exists.class
final class
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
+
-
+
+
-
+
-
+
-
+
+
-
-
+
+
-
+
-
+
-
+
-
+
+
+
-
-
-
-
-
-
+
diff --git a/api/latest/com/google/errorprone/bugpatterns/class-use/MemberName.html b/api/latest/com/google/errorprone/bugpatterns/class-use/IdentifierName.html
similarity index 84%
rename from api/latest/com/google/errorprone/bugpatterns/class-use/MemberName.html
rename to api/latest/com/google/errorprone/bugpatterns/class-use/IdentifierName.html
index 501193c77c3..b6f839da1bc 100644
--- a/api/latest/com/google/errorprone/bugpatterns/class-use/MemberName.html
+++ b/api/latest/com/google/errorprone/bugpatterns/class-use/IdentifierName.html
@@ -2,10 +2,10 @@
-Uses of Class com.google.errorprone.bugpatterns.MemberName (Error Prone parent POM 1.0-HEAD-SNAPSHOT API)
+Uses of Class com.google.errorprone.bugpatterns.IdentifierName (Error Prone parent POM 1.0-HEAD-SNAPSHOT API)
-
+
@@ -28,7 +28,7 @@
A BugPattern; see the summary.
class
class
-
+
+Points out if #valueOf() is called on a Protocol Buffer Enum.
-final class
-
+Flags calls to
+toString
on lite protos.A BugPattern; see the summary.
+class
class
+
Points out if #valueOf() is called on a Protocol Buffer Enum.
final class
-
-Suggests that calls to
+Lock.lock
must be immediately followed by a try-finally
- that calls Lock.unlock
.Flags calls to
toString
on lite protos.class
final class
-
Detects locks on boxed primitives.
+Suggests that calls to
Lock.lock
must be immediately followed by a try-finally
+ that calls Lock.unlock
.class
-
Bug checker to detect the usage of lock on the class other than the enclosing class of the code
- block.
+Detects locks on boxed primitives.
class
-
-A
+BugChecker
; see the associated BugPattern
annotation for details.Bug checker to detect the usage of lock on the class other than the enclosing class of the code
+ block.
final class
class
A
BugChecker
; see the associated BugPattern
annotation for details.class
final class
A
BugChecker
; see the associated BugPattern
annotation for details.class
-
Matcher for a
+long
literal with a lower-case ell for a suffix (e.g.A
BugChecker
; see the associated BugPattern
annotation for details.class
-
A
+BugChecker
; see the associated BugPattern
annotation for details.Matcher for a
long
literal with a lower-case ell for a suffix (e.g.class
A
BugChecker
; see the associated BugPattern
annotation for details.class
+
+A
+BugChecker
; see the associated BugPattern
annotation for details.class
Checker to prevent usages of comparison methods where both the operands undergo lossy widening.
final class
final class
-
+
+Check for calls to Math's
-Math.round(float)
with an integer or long parameter.final class
-
Flags a few ways in which member names may violate the style guide.
+Check for calls to Math's
Math.round(float)
with an integer or long parameter.class