Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W 

A

absent() - Static method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.Violation
An empty explanation.
AbstractAsKeyOfSetOrMap - Class in com.google.errorprone.bugpatterns
Check for usage of Set<T> or Map<T, E>.
AbstractAsKeyOfSetOrMap() - Constructor for class com.google.errorprone.bugpatterns.AbstractAsKeyOfSetOrMap
 
AbstractExpectedExceptionChecker - Class in com.google.errorprone.bugpatterns
 
AbstractExpectedExceptionChecker() - Constructor for class com.google.errorprone.bugpatterns.AbstractExpectedExceptionChecker
 
AbstractExpectedExceptionChecker.BaseFix - Class in com.google.errorprone.bugpatterns
A partially assembled fix.
AbstractLockMethodChecker - Class in com.google.errorprone.bugpatterns.threadsafety
Abstract implementation of checkers for @LockMethod and@UnlockMethod.
AbstractLockMethodChecker() - Constructor for class com.google.errorprone.bugpatterns.threadsafety.AbstractLockMethodChecker
 
AbstractMustBeClosedChecker - Class in com.google.errorprone.bugpatterns
An abstract check for resources that must be closed; used by StreamResourceLeak and MustBeClosedChecker.
AbstractMustBeClosedChecker() - Constructor for class com.google.errorprone.bugpatterns.AbstractMustBeClosedChecker
 
AbstractReferenceEquality - Class in com.google.errorprone.bugpatterns
Abstract implementation of a BugPattern that detects the use of reference equality to compare classes with value semantics.
AbstractReferenceEquality() - Constructor for class com.google.errorprone.bugpatterns.AbstractReferenceEquality
 
AbstractReturnValueIgnored - Class in com.google.errorprone.bugpatterns
An abstract base class to match method invocations in which the return value is not used.
AbstractReturnValueIgnored() - Constructor for class com.google.errorprone.bugpatterns.AbstractReturnValueIgnored
 
AbstractTestExceptionChecker - Class in com.google.errorprone.bugpatterns
 
AbstractTestExceptionChecker() - Constructor for class com.google.errorprone.bugpatterns.AbstractTestExceptionChecker
 
AbstractToString - Class in com.google.errorprone.bugpatterns
An abstract matcher for implicit and explicit calls to Object.toString(), for use on types that do not have a human-readable toString() implementation.
AbstractToString() - Constructor for class com.google.errorprone.bugpatterns.AbstractToString
 
AbstractTypeMatcher<T extends com.sun.source.tree.Tree> - Class in com.google.errorprone.matchers
Base class for type matchers.
AbstractTypeMatcher(Supplier<Type>) - Constructor for class com.google.errorprone.matchers.AbstractTypeMatcher
 
AbstractTypeMatcher(String) - Constructor for class com.google.errorprone.matchers.AbstractTypeMatcher
 
accept(TreeVisitor<R, D>, D) - Method in class com.google.errorprone.refaster.UAnyOf
 
accept(TreeVisitor<R, D>, D) - Method in class com.google.errorprone.refaster.ULiteral
 
accept(TreeVisitor<R, D>, D) - Method in class com.google.errorprone.refaster.UMemberSelect
 
accept(TreeVisitor<R, D>, D) - Method in class com.google.errorprone.refaster.UMethodInvocation
 
accept(TreeVisitor<R, D>, D) - Method in class com.google.errorprone.refaster.UPlaceholderExpression
 
accept(TreeVisitor<R, D>, D) - Method in class com.google.errorprone.refaster.UReturn
 
accept(TreeVisitor<R, D>, D) - Method in class com.google.errorprone.refaster.UVariableDecl
 
acceptedAnnotations(Set<String>) - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.Builder
Annotations that do *not* cause a class to be tested, but which are treated as valid annotations to pass the test; for example, if @ThreadSafe is the marker annotation, @Immutable would be included in this list, as an immutable class is by definition thread-safe.
acceptedAnnotations(ImmutableSet<String>) - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.Builder
 
AccessPath - Class in com.google.errorprone.dataflow
A sequence of field names or autovalue accessors, along with a receiver: either a variable or a reference (explicit or implicit) to this.
AccessPath() - Constructor for class com.google.errorprone.dataflow.AccessPath
 
AccessPathStore<V extends org.checkerframework.dataflow.analysis.AbstractValue<V>> - Class in com.google.errorprone.dataflow
Immutable map from local variables or heap access paths to their AbstractValue
AccessPathStore() - Constructor for class com.google.errorprone.dataflow.AccessPathStore
 
AccessPathStore.Builder<V extends org.checkerframework.dataflow.analysis.AbstractValue<V>> - Class in com.google.errorprone.dataflow
Builder for AccessPathStore instances.
AccessPathValues<T> - Interface in com.google.errorprone.dataflow
Read-only access to AccessPathStore for convenience.
actualTypes(Inliner) - Method in class com.google.errorprone.refaster.Template
Returns a list of the actual types to be matched.
add(String) - Method in class com.google.errorprone.apply.ImportStatements
Add an import to the list of imports.
add(Replacement) - Method in class com.google.errorprone.fixes.Replacements
 
add(Replacement, Replacements.CoalescePolicy) - Method in class com.google.errorprone.fixes.Replacements
 
addAll(Collection<String>) - Method in class com.google.errorprone.apply.ImportStatements
Add all imports in a collection to this list of imports.
addAllClassDiff(Iterable<? extends ApiDiffProto.ClassDiff>) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
addAllFixes(List<? extends Fix>) - Method in class com.google.errorprone.matchers.Description.Builder
Add each fix in order.
addAllMember(Iterable<? extends ApiDiffProto.ClassMember>) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
addClassDiff(ApiDiffProto.ClassDiff) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
addClassDiff(int, ApiDiffProto.ClassDiff) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
addClassDiff(ApiDiffProto.ClassDiff.Builder) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
addClassDiff(int, ApiDiffProto.ClassDiff.Builder) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
addClassDiffBuilder() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
addClassDiffBuilder(int) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
addFix(Description.Builder, ExpressionTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractMustBeClosedChecker
 
addFix(Description.Builder, ExpressionTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.StreamResourceLeak
 
addFix(Fix) - Method in class com.google.errorprone.matchers.Description.Builder
Adds a suggested fix for this Description.
addFix(Optional<? extends Fix>) - Method in class com.google.errorprone.matchers.Description.Builder
Adds a suggested fix for this Description if fix is present.
addFixes(Description.Builder, BinaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractReferenceEquality
 
addGroups(Map<K, ? extends Collection<ImportOrganizer.Import>>, Iterable<K>) - Method in class com.google.errorprone.apply.ImportOrganizer.OrganizedImports
Add groups of already sorted imports.
addImport(String) - Method in class com.google.errorprone.fixes.SuggestedFix.Builder
Add an import statement as part of this SuggestedFix.
addImport(String) - Method in class com.google.errorprone.refaster.Inliner
 
addImports(Inliner, SuggestedFix.Builder) - Static method in class com.google.errorprone.refaster.Template
 
addInput(String) - Method in class com.google.errorprone.BugCheckerRefactoringTestHelper
 
addInputLines(String, String...) - Method in class com.google.errorprone.BugCheckerRefactoringTestHelper
 
addMember(ApiDiffProto.ClassMember) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
addMember(int, ApiDiffProto.ClassMember) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
addMember(ApiDiffProto.ClassMember.Builder) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
addMember(int, ApiDiffProto.ClassMember.Builder) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
addMemberBuilder() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
addMemberBuilder(int) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
addMembers(ClassTree, VisitorState, String, String...) - Static method in class com.google.errorprone.fixes.SuggestedFixes
Returns a Fix that adds members defined by firstMember (and optionally otherMembers) to the end of the class referenced by classTree.
addModifiers(Tree, VisitorState, Modifier...) - Static method in class com.google.errorprone.fixes.SuggestedFixes
Adds modifiers to the given class, method, or field declaration.
addOption(SuggestedFix) - Method in class com.google.errorprone.fixes.BranchedSuggestedFixes.Builder
 
addOutput(String) - Method in class com.google.errorprone.BugCheckerRefactoringTestHelper.ExpectOutput
 
addOutputLines(String, String...) - Method in class com.google.errorprone.BugCheckerRefactoringTestHelper.ExpectOutput
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff.Builder
 
addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
 
addSourceFile(String) - Method in class com.google.errorprone.CompilationTestHelper
Adds a source file to the test compilation, from an existing resource file.
addSourceLines(String, String...) - Method in class com.google.errorprone.CompilationTestHelper
Adds a source file to the test compilation, from the string content of the file.
addStaticImport(String) - Method in class com.google.errorprone.fixes.SuggestedFix.Builder
Add a static import statement as part of this SuggestedFix.
addStaticImport(String) - Method in class com.google.errorprone.refaster.Inliner
 
addSuppressWarnings(VisitorState, String) - Static method in class com.google.errorprone.fixes.SuggestedFixes
Returns a fix that adds a @SuppressWarnings(warningToSuppress) to the closest suppressible element to the node pointed at by state.getPath().
addSuppressWarnings(VisitorState, String, String) - Static method in class com.google.errorprone.fixes.SuggestedFixes
Returns a fix that adds a @SuppressWarnings(warningToSuppress) to the closest suppressible element to the node pointed at by state.getPath(), optionally suffixing the suppression with a comment suffix (e.g.
addSuppressWarnings(SuggestedFix.Builder, VisitorState, String) - Static method in class com.google.errorprone.fixes.SuggestedFixes
Modifies fixBuilder to either create a new @SuppressWarnings element on the closest suppressible node, or add warningToSuppress to that node if there's already a SuppressWarnings annotation there.
addSuppressWarnings(SuggestedFix.Builder, VisitorState, String, String) - Static method in class com.google.errorprone.fixes.SuggestedFixes
Modifies fixBuilder to either create a new @SuppressWarnings element on the closest suppressible node, or add warningToSuppress to that node if there's already a SuppressWarnings annotation there.
addValuesToAnnotationArgument(AnnotationTree, String, Collection<String>, VisitorState) - Static method in class com.google.errorprone.fixes.SuggestedFixes
Returns a fix that appends newValues to the parameterName argument for annotation, regardless of whether there is already an argument.
AdjustedPosition - Class in com.google.errorprone.fixes
Describes a tree position with adjustments to the start and end indices.
AdjustedPosition(JCTree, int, int) - Constructor for class com.google.errorprone.fixes.AdjustedPosition
 
afterComments() - Method in class com.google.errorprone.util.Commented
 
AfterTemplate - Annotation Type in com.google.errorprone.refaster.annotation
Desired "after" version of a refactoring.
allChecks() - Static method in class com.google.errorprone.scanner.BuiltInCheckerSuppliers
Returns a ScannerSupplier with all BugCheckers in Error Prone.
allNames() - Method in class com.google.errorprone.BugCheckerInfo
 
allNames() - Method in class com.google.errorprone.bugpatterns.BugChecker
 
allNames() - Method in interface com.google.errorprone.matchers.Suppressible
Returns all of the name strings that this checker should respect as part of a @SuppressWarnings annotation.
allOf(Matcher<? super T>...) - Static method in class com.google.errorprone.matchers.Matchers
Compose several matchers together, such that the composite matches an AST node iff all the given matchers do.
allowBreakingChanges() - Method in class com.google.errorprone.BugCheckerRefactoringTestHelper
If set, fixes that produce output that doesn't compile are allowed.
AllowCodeBetweenLines - Annotation Type in com.google.errorprone.refaster.annotation
Annotation on a Refaster rule to allow code between every pair of consecutive top-level statements in @BeforeTemplates that do not refer to variables Refaster knows about and do not break or return, and moves that code to the beginning of the @AfterTemplate.
AlsoNegation - Annotation Type in com.google.errorprone.refaster.annotation
Indicates that Refaster should, additionally, refactor the negation of this rule and its corresponding before templates.
altNames - Variable in class com.google.errorprone.BugPatternInstance
 
AmbiguousMethodReference - Class in com.google.errorprone.bugpatterns
 
AmbiguousMethodReference() - Constructor for class com.google.errorprone.bugpatterns.AmbiguousMethodReference
 
analyze(VisitorState, HeldLockAnalyzer.LockEventListener, Predicate<Tree>) - Static method in class com.google.errorprone.bugpatterns.threadsafety.HeldLockAnalyzer
Analyzes a method body, tracking the set of held locks and checking accesses to guarded members.
ANDROID_STATIC_FIRST_ORGANIZER - Static variable in interface com.google.errorprone.apply.ImportOrganizer
An ImportOrganizer that sorts import statements according to Android Code Style, with static imports first.
ANDROID_STATIC_LAST_ORGANIZER - Static variable in interface com.google.errorprone.apply.ImportOrganizer
An ImportOrganizer that sorts import statements according to Android Code Style, with static imports last.
AndroidInjectionBeforeSuper - Class in com.google.errorprone.bugpatterns.inject.dagger
 
AndroidInjectionBeforeSuper() - Constructor for class com.google.errorprone.bugpatterns.inject.dagger.AndroidInjectionBeforeSuper
 
AndroidJdkLibsChecker - Class in com.google.errorprone.bugpatterns.apidiff
Checks for uses of classes, fields, or methods that are not compatible with legacy Android devices.
AndroidJdkLibsChecker(ErrorProneFlags) - Constructor for class com.google.errorprone.bugpatterns.apidiff.AndroidJdkLibsChecker
 
AndroidJdkLibsChecker() - Constructor for class com.google.errorprone.bugpatterns.apidiff.AndroidJdkLibsChecker
 
ANNOTATED_ANNOTATION_MESSAGE - Static variable in class com.google.errorprone.bugpatterns.threadsafety.ImmutableAnnotationChecker
 
ANNOTATED_ENUM_MESSAGE - Static variable in class com.google.errorprone.bugpatterns.threadsafety.ImmutableEnumChecker
 
AnnotateFormatMethod - Class in com.google.errorprone.bugpatterns
Detects occurrences of pairs of parameters being passed straight through to String.format(java.lang.String, java.lang.Object...) from a method not annotated with FormatMethod.
AnnotateFormatMethod() - Constructor for class com.google.errorprone.bugpatterns.AnnotateFormatMethod
 
ANNOTATION_TYPE - Static variable in class com.google.errorprone.suppliers.Suppliers
 
AnnotationDoesNotHaveArgument - Class in com.google.errorprone.matchers
Matches an annotation that does not have a particular argument, possibly because the default value is being used.
AnnotationDoesNotHaveArgument(String) - Constructor for class com.google.errorprone.matchers.AnnotationDoesNotHaveArgument
Creates a new matcher.
AnnotationHasArgumentWithValue - Class in com.google.errorprone.matchers
 
AnnotationHasArgumentWithValue(String, Matcher<ExpressionTree>) - Constructor for class com.google.errorprone.matchers.AnnotationHasArgumentWithValue
 
AnnotationInfo - Class in com.google.errorprone.bugpatterns.threadsafety
Specifies information about a type which may be a container specified by generic type arguments, e.g.
AnnotationInfo() - Constructor for class com.google.errorprone.bugpatterns.threadsafety.AnnotationInfo
 
annotationMap(Symbol) - Static method in class com.google.errorprone.refaster.UTemplater
 
AnnotationMatcher<T extends com.sun.source.tree.Tree> - Class in com.google.errorprone.matchers
Matches if the given annotation matcher matches all of or any of the annotations on the tree node.
AnnotationMatcher(ChildMultiMatcher.MatchType, Matcher<AnnotationTree>) - Constructor for class com.google.errorprone.matchers.AnnotationMatcher
 
AnnotationMatcherUtils - Class in com.google.errorprone.matchers
Utilities for matching annotations.
annotationReplacements() - Method in class com.google.errorprone.bugpatterns.JUnit4SetUpNotRun
 
annotationReplacements() - Method in class com.google.errorprone.bugpatterns.JUnit4TearDownNotRun
 
annotations() - Method in interface com.google.errorprone.CodeTransformer
 
annotations() - Method in class com.google.errorprone.CompositeCodeTransformer
 
annotations() - Method in interface com.google.errorprone.dataflow.nullnesspropagation.MethodInfo
 
annotations(ChildMultiMatcher.MatchType, Matcher<AnnotationTree>) - Static method in class com.google.errorprone.matchers.Matchers
Matches if the given annotation matcher matches all of or any of the annotations on this tree node.
annotations() - Method in class com.google.errorprone.refaster.RefasterRule
 
annotations() - Method in class com.google.errorprone.refaster.Template
 
annotations() - Method in class com.google.errorprone.scanner.ErrorProneScannerTransformer
 
AnnotationType - Class in com.google.errorprone.matchers
 
AnnotationType(String) - Constructor for class com.google.errorprone.matchers.AnnotationType
 
Any - Enum in com.google.errorprone.predicates.type
Matches any type.
any(Collection<Choice<T>>) - Static method in class com.google.errorprone.refaster.Choice
Returns a choice between any of the options from any of the specified choices.
anyClass() - Method in interface com.google.errorprone.matchers.method.MethodMatchers.AnyMethodMatcher
Match on any class.
anyClass() - Method in interface com.google.errorprone.matchers.method.MethodMatchers.InstanceMethodMatcher
Match on any class.
anyClass() - Method in interface com.google.errorprone.matchers.method.MethodMatchers.StaticMethodMatcher
Match on any class.
anyMethod() - Static method in class com.google.errorprone.matchers.Matchers
Matches a static or instance method.
anyMethod() - Static method in class com.google.errorprone.matchers.method.MethodMatchers
 
anyOf(Iterable<? extends Matcher<? super T>>) - Static method in class com.google.errorprone.matchers.Matchers
Compose several matchers together, such that the composite matches an AST node if any of the given matchers do.
anyOf(Matcher<? super T>...) - Static method in class com.google.errorprone.matchers.Matchers
 
anyOf(T...) - Static method in class com.google.errorprone.refaster.Refaster
Indicates that Refaster should attempt to match a target expression against each of the specified template expressions, in order, and succeed at the first match.
anything() - Static method in class com.google.errorprone.matchers.Matchers
A matcher that matches any AST node.
anyType() - Static method in class com.google.errorprone.predicates.TypePredicates
Match any type.
ApiDiff - Class in com.google.errorprone.bugpatterns.apidiff
The difference between two APIs.
ApiDiff() - Constructor for class com.google.errorprone.bugpatterns.apidiff.ApiDiff
 
ApiDiff.ClassMemberKey - Class in com.google.errorprone.bugpatterns.apidiff
A per class unique identifier for a field or method.
ApiDiffChecker - Class in com.google.errorprone.bugpatterns.apidiff
A base Error Prone check implementation to enforce compliance with a given API diff.
ApiDiffChecker(ApiDiff) - Constructor for class com.google.errorprone.bugpatterns.apidiff.ApiDiffChecker
 
ApiDiffChecker(ApiDiff, Class<? extends Annotation>) - Constructor for class com.google.errorprone.bugpatterns.apidiff.ApiDiffChecker
 
ApiDiffProto - Class in com.google.errorprone.bugpatterns.apidiff
 
ApiDiffProto.ClassDiff - Class in com.google.errorprone.bugpatterns.apidiff
Protobuf type devtools.staticanalysis.errorprone.apidiff.ClassDiff
ApiDiffProto.ClassDiff.Builder - Class in com.google.errorprone.bugpatterns.apidiff
Protobuf type devtools.staticanalysis.errorprone.apidiff.ClassDiff
ApiDiffProto.ClassDiff.DiffCase - Enum in com.google.errorprone.bugpatterns.apidiff
 
ApiDiffProto.ClassDiffOrBuilder - Interface in com.google.errorprone.bugpatterns.apidiff
 
ApiDiffProto.ClassMember - Class in com.google.errorprone.bugpatterns.apidiff
Protobuf type devtools.staticanalysis.errorprone.apidiff.ClassMember
ApiDiffProto.ClassMember.Builder - Class in com.google.errorprone.bugpatterns.apidiff
Protobuf type devtools.staticanalysis.errorprone.apidiff.ClassMember
ApiDiffProto.ClassMemberOrBuilder - Interface in com.google.errorprone.bugpatterns.apidiff
 
ApiDiffProto.Diff - Class in com.google.errorprone.bugpatterns.apidiff
Protobuf type devtools.staticanalysis.errorprone.apidiff.Diff
ApiDiffProto.Diff.Builder - Class in com.google.errorprone.bugpatterns.apidiff
Protobuf type devtools.staticanalysis.errorprone.apidiff.Diff
ApiDiffProto.DiffOrBuilder - Interface in com.google.errorprone.bugpatterns.apidiff
 
ApiDiffProto.EverythingDiff - Class in com.google.errorprone.bugpatterns.apidiff
Protobuf type devtools.staticanalysis.errorprone.apidiff.EverythingDiff
ApiDiffProto.EverythingDiff.Builder - Class in com.google.errorprone.bugpatterns.apidiff
Protobuf type devtools.staticanalysis.errorprone.apidiff.EverythingDiff
ApiDiffProto.EverythingDiffOrBuilder - Interface in com.google.errorprone.bugpatterns.apidiff
 
ApiDiffProto.MemberDiff - Class in com.google.errorprone.bugpatterns.apidiff
Protobuf type devtools.staticanalysis.errorprone.apidiff.MemberDiff
ApiDiffProto.MemberDiff.Builder - Class in com.google.errorprone.bugpatterns.apidiff
Protobuf type devtools.staticanalysis.errorprone.apidiff.MemberDiff
ApiDiffProto.MemberDiffOrBuilder - Interface in com.google.errorprone.bugpatterns.apidiff
 
AppliedFix - Class in com.google.errorprone.fixes
Represents the corrected source which we think was intended, by applying a Fix.
AppliedFix.Applier - Class in com.google.errorprone.fixes
 
Applier(CharSequence, EndPosTable) - Constructor for class com.google.errorprone.fixes.AppliedFix.Applier
 
apply(TreePath, Context, DescriptionListener) - Method in interface com.google.errorprone.CodeTransformer
Apply recursively from the leaf node in the given TreePath.
apply(TreePath, Context, DescriptionListener) - Method in class com.google.errorprone.CompositeCodeTransformer
 
apply(Fix) - Method in class com.google.errorprone.fixes.AppliedFix.Applier
Applies the suggestedFix to the source.
apply(Type, VisitorState) - Method in class com.google.errorprone.predicates.type.DescendantOf
 
apply(Type, VisitorState) - Method in class com.google.errorprone.predicates.type.DescendantOfAny
 
apply(Type, VisitorState) - Method in class com.google.errorprone.predicates.type.Exact
 
apply(Type, VisitorState) - Method in class com.google.errorprone.predicates.type.ExactAny
 
apply(Type, VisitorState) - Method in interface com.google.errorprone.predicates.TypePredicate
 
apply(TreePath, Context, DescriptionListener) - Method in class com.google.errorprone.refaster.RefasterRule
 
apply(TreePath, Context, DescriptionListener) - Method in class com.google.errorprone.scanner.ErrorProneScannerTransformer
 
applyDifferences(SourceFile) - Method in class com.google.errorprone.apply.DescriptionBasedDiff
 
applyDifferences(SourceFile) - Method in interface com.google.errorprone.apply.Diff
Applies this difference to the supplied sourceFile.
applyOverrides(ErrorProneOptions) - Method in class com.google.errorprone.scanner.ScannerSupplier
Applies options to this ScannerSupplier.
applySeverityOverride(BugPattern.SeverityLevel) - Method in class com.google.errorprone.matchers.Description
Internal-only.
argument(int, Matcher<ExpressionTree>) - Static method in class com.google.errorprone.matchers.Matchers
 
argumentCount(int) - Static method in class com.google.errorprone.matchers.Matchers
 
ArgumentSelectionDefectChecker - Class in com.google.errorprone.bugpatterns.argumentselectiondefects
Checks the lexical distance between method parameter names and the argument names at call sites.
ArgumentSelectionDefectChecker() - Constructor for class com.google.errorprone.bugpatterns.argumentselectiondefects.ArgumentSelectionDefectChecker
 
Array - Enum in com.google.errorprone.predicates.type
Matches arrays.
ArrayAsKeyOfSetOrMap - Class in com.google.errorprone.bugpatterns
Warns that users should not have an array as a key to a Set or Map
ArrayAsKeyOfSetOrMap() - Constructor for class com.google.errorprone.bugpatterns.ArrayAsKeyOfSetOrMap
 
ArrayEquals - Class in com.google.errorprone.bugpatterns
 
ArrayEquals() - Constructor for class com.google.errorprone.bugpatterns.ArrayEquals
 
ArrayFillIncompatibleType - Class in com.google.errorprone.bugpatterns
Checks when Arrays.fill(Object[], Object) is called with object types that are guaranteed to result in an ArrayStoreException.
ArrayFillIncompatibleType() - Constructor for class com.google.errorprone.bugpatterns.ArrayFillIncompatibleType
 
ArrayHashCode - Class in com.google.errorprone.bugpatterns
 
ArrayHashCode() - Constructor for class com.google.errorprone.bugpatterns.ArrayHashCode
 
arrayOf(Supplier<Type>) - Static method in class com.google.errorprone.suppliers.Suppliers
 
ArraysAsListPrimitiveArray - Class in com.google.errorprone.bugpatterns
 
ArraysAsListPrimitiveArray() - Constructor for class com.google.errorprone.bugpatterns.ArraysAsListPrimitiveArray
 
ArrayToString - Class in com.google.errorprone.bugpatterns
 
ArrayToString() - Constructor for class com.google.errorprone.bugpatterns.ArrayToString
 
arrayTypeForType(Type) - Method in class com.google.errorprone.VisitorState
Build an Array Type from another Type
asImportBlock() - Method in class com.google.errorprone.apply.ImportOrganizer.OrganizedImports
Get the organized imports as a block of imports, with blank links between the separate groups.
asName(CharSequence) - Method in class com.google.errorprone.refaster.Inliner
 
ASSERT_WITH_MESSAGE - Static variable in class com.google.errorprone.bugpatterns.CatchFail
 
AssertEqualsArgumentOrderChecker - Class in com.google.errorprone.bugpatterns.argumentselectiondefects
Checker to make sure that assertEquals-like methods are called with the arguments expected and actual the right way round.
AssertEqualsArgumentOrderChecker() - Constructor for class com.google.errorprone.bugpatterns.argumentselectiondefects.AssertEqualsArgumentOrderChecker
 
assertEqualsInvocation() - Static method in class com.google.errorprone.matchers.Matchers
Matches calls to the method org.junit.Assert#assertEquals and corresponding methods in JUnit 3.x.
AssertFalse - Class in com.google.errorprone.bugpatterns
 
AssertFalse() - Constructor for class com.google.errorprone.bugpatterns.AssertFalse
 
assertHasDiagnosticOnAllMatchingLines(JavaFileObject, DiagnosticTestHelper.LookForCheckNameInDiagnostic) - Method in class com.google.errorprone.DiagnosticTestHelper
Asserts that the diagnostics contain a diagnostic on each line of the source file that matches our bug marker pattern.
AssertionFailureIgnored - Class in com.google.errorprone.bugpatterns
 
AssertionFailureIgnored() - Constructor for class com.google.errorprone.bugpatterns.AssertionFailureIgnored
 
assertionWithCondition(Matcher<ExpressionTree>) - Static method in class com.google.errorprone.matchers.Matchers
Matches an assertion AST node if the given matcher matches its condition.
assertNotEqualsInvocation() - Static method in class com.google.errorprone.matchers.Matchers
Matches calls to the method org.junit.Assert#assertNotEquals and corresponding methods in JUnit 3.x.
Asserts - Class in com.google.errorprone.matchers
Matches assert statements which have a condition expression matched by the given matcher.
Asserts(Matcher<ExpressionTree>) - Constructor for class com.google.errorprone.matchers.Asserts
 
assertStatement(Matcher<ExpressionTree>) - Static method in class com.google.errorprone.matchers.Matchers
Matches an assert statement where the condition is matched by the passed conditionMatcher.
AssertThrowsMultipleStatements - Class in com.google.errorprone.bugpatterns
 
AssertThrowsMultipleStatements() - Constructor for class com.google.errorprone.bugpatterns.AssertThrowsMultipleStatements
 
assignment(Matcher<ExpressionTree>, Matcher<? super ExpressionTree>) - Static method in class com.google.errorprone.matchers.Matchers
Matches an assignment operator AST node if both of the given matchers match.
ASSISTED_ANNOTATION - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
ASSISTED_INJECT_ANNOTATION - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
AssistedInjectAndInjectOnConstructors - Class in com.google.errorprone.bugpatterns.inject
 
AssistedInjectAndInjectOnConstructors() - Constructor for class com.google.errorprone.bugpatterns.inject.AssistedInjectAndInjectOnConstructors
 
AssistedInjectAndInjectOnSameConstructor - Class in com.google.errorprone.bugpatterns.inject
 
AssistedInjectAndInjectOnSameConstructor() - Constructor for class com.google.errorprone.bugpatterns.inject.AssistedInjectAndInjectOnSameConstructor
 
AssistedInjectScoping - Class in com.google.errorprone.bugpatterns.inject.guice
This checker matches iff *both* of the following conditions are true: 1) The class is assisted: a) If there is a constructor that is annotated with @Inject and that constructor has at least one parameter that is annotated with @Assisted.
AssistedInjectScoping() - Constructor for class com.google.errorprone.bugpatterns.inject.guice.AssistedInjectScoping
 
AssistedParameters - Class in com.google.errorprone.bugpatterns.inject.guice
 
AssistedParameters() - Constructor for class com.google.errorprone.bugpatterns.inject.guice.AssistedParameters
 
ASTHelpers - Class in com.google.errorprone.util
This class contains utility methods to work with the javac AST.
ASTHelpers() - Constructor for class com.google.errorprone.util.ASTHelpers
 
ASTHelpers.TargetType - Class in com.google.errorprone.util
asVarargs(T) - Static method in class com.google.errorprone.refaster.Refaster
Indicates that Refaster should treat this @Repeated argument specifically as a varargs argument.
AsyncCallableReturnsNull - Class in com.google.errorprone.bugpatterns
Checks that AsyncCallable implementations do not directly return null.
AsyncCallableReturnsNull() - Constructor for class com.google.errorprone.bugpatterns.AsyncCallableReturnsNull
 
AsyncFunctionReturnsNull - Class in com.google.errorprone.bugpatterns
Checks that AsyncFunction implementations do not directly return null.
AsyncFunctionReturnsNull() - Constructor for class com.google.errorprone.bugpatterns.AsyncFunctionReturnsNull
 
AUTOBOXING_DEFAULT - Static variable in class com.google.errorprone.refaster.Template
 
AutoFactoryAtInject - Class in com.google.errorprone.bugpatterns.inject
 
AutoFactoryAtInject() - Constructor for class com.google.errorprone.bugpatterns.inject.AutoFactoryAtInject
 
AutoValueConstructorOrderChecker - Class in com.google.errorprone.bugpatterns.argumentselectiondefects
Checker to make sure that constructors for AutoValue types are invoked with arguments in the correct order.
AutoValueConstructorOrderChecker() - Constructor for class com.google.errorprone.bugpatterns.argumentselectiondefects.AutoValueConstructorOrderChecker
 
AutoValueFinalMethods - Class in com.google.errorprone.bugpatterns
Checks the toString(), hashCode() and equals() methods are final in AutoValue classes.
AutoValueFinalMethods() - Constructor for class com.google.errorprone.bugpatterns.AutoValueFinalMethods
 

B

BadAnnotationImplementation - Class in com.google.errorprone.bugpatterns
Checker that ensures implementations of Annotation override equals and hashCode.
BadAnnotationImplementation() - Constructor for class com.google.errorprone.bugpatterns.BadAnnotationImplementation
 
BadComparable - Class in com.google.errorprone.bugpatterns
 
BadComparable() - Constructor for class com.google.errorprone.bugpatterns.BadComparable
 
BadImport - Class in com.google.errorprone.bugpatterns
 
BadImport() - Constructor for class com.google.errorprone.bugpatterns.BadImport
 
BadInstanceof - Class in com.google.errorprone.bugpatterns
Matches instanceof checks where the expression is a subtype of the checked type.
BadInstanceof() - Constructor for class com.google.errorprone.bugpatterns.BadInstanceof
 
BadShiftAmount - Class in com.google.errorprone.bugpatterns
 
BadShiftAmount() - Constructor for class com.google.errorprone.bugpatterns.BadShiftAmount
 
base() - Method in class com.google.errorprone.bugpatterns.threadsafety.GuardedByExpression.Select
 
base() - Method in class com.google.errorprone.dataflow.AccessPath
If present, base of access path is contained Element; if absent, base is `this`
BaseErrorProneCompiler - Class in com.google.errorprone
Deprecated.
prefer BaseErrorProneJavaCompiler, which implements the standard javax.tools.JavacCompiler interface.
BaseErrorProneCompiler.Builder - Class in com.google.errorprone
Deprecated.
BaseErrorProneJavaCompiler - Class in com.google.errorprone
An Error Prone compiler that implements JavaCompiler.
BaseErrorProneJavaCompiler(ScannerSupplier) - Constructor for class com.google.errorprone.BaseErrorProneJavaCompiler
 
beforeComments() - Method in class com.google.errorprone.util.Commented
 
BeforeTemplate - Annotation Type in com.google.errorprone.refaster.annotation
Desired "before" version of a refactoring.
BigDecimalEquals - Class in com.google.errorprone.bugpatterns
Matches use of BigDecimal#equals, which compares scale as well (which is not likely to be intended).
BigDecimalEquals() - Constructor for class com.google.errorprone.bugpatterns.BigDecimalEquals
 
BigDecimalLiteralDouble - Class in com.google.errorprone.bugpatterns
Matches usages of new BigDecimal(double) which lose precision.
BigDecimalLiteralDouble() - Constructor for class com.google.errorprone.bugpatterns.BigDecimalLiteralDouble
 
BINARY_TREE_MATCHER - Static variable in class com.google.errorprone.bugpatterns.BadShiftAmount
 
binaryTree(Matcher<ExpressionTree>, Matcher<ExpressionTree>) - Static method in class com.google.errorprone.matchers.Matchers
Matches a binary tree if the given matchers match the operands in either order.
bind(Context, ImportPolicy) - Static method in enum com.google.errorprone.refaster.ImportPolicy
 
BinderIdentityRestoredDangerously - Class in com.google.errorprone.bugpatterns.android
 
BinderIdentityRestoredDangerously() - Constructor for class com.google.errorprone.bugpatterns.android.BinderIdentityRestoredDangerously
 
bindExpression(JCTree.JCExpression, VisitorState) - Static method in class com.google.errorprone.bugpatterns.threadsafety.GuardedByBinder
Creates a GuardedByExpression from a bound AST node, or returns Optional.empty() if the AST node doesn't correspond to a 'simple' lock expression.
bindGuardedByString(Tree, String, VisitorState) - Static method in class com.google.errorprone.bugpatterns.threadsafety.GuardedByUtils
 
Bindings - Class in com.google.errorprone.refaster
A type-safe map from objects of type Bindings.Key<V>, which consist of a String key and a Bindings.Key subclass, to values of type V.
bindings - Variable in class com.google.errorprone.refaster.Inliner
 
Bindings.Key<V> - Class in com.google.errorprone.refaster
A key type for a Binding.
BindingToUnqualifiedCommonType - Class in com.google.errorprone.bugpatterns.inject.guice
 
BindingToUnqualifiedCommonType() - Constructor for class com.google.errorprone.bugpatterns.inject.guice.BindingToUnqualifiedCommonType
 
Block(Matcher<BlockTree>) - Constructor for class com.google.errorprone.matchers.Enclosing.Block
 
BlockOrCase(Matcher<BlockTree>, Matcher<CaseTree>) - Constructor for class com.google.errorprone.matchers.Enclosing.BlockOrCase
 
BlockTemplate - Class in com.google.errorprone.refaster
Template representing a sequence of consecutive statements.
BlockTemplate() - Constructor for class com.google.errorprone.refaster.BlockTemplate
 
BOOLEAN_TYPE - Static variable in class com.google.errorprone.suppliers.Suppliers
 
booleanConstant(boolean) - Static method in class com.google.errorprone.matchers.Matchers
Matches the boolean constant (Boolean.TRUE or Boolean.FALSE) corresponding to the given value.
booleanLit(boolean) - Static method in class com.google.errorprone.refaster.ULiteral
 
booleanLiteral(boolean) - Static method in class com.google.errorprone.matchers.Matchers
 
BooleanParameter - Class in com.google.errorprone.bugpatterns
 
BooleanParameter() - Constructor for class com.google.errorprone.bugpatterns.BooleanParameter
 
BoxedPrimitiveConstructor - Class in com.google.errorprone.bugpatterns
 
BoxedPrimitiveConstructor() - Constructor for class com.google.errorprone.bugpatterns.BoxedPrimitiveConstructor
 
BranchedSuggestedFixes - Class in com.google.errorprone.fixes
Helper class for accumulating a branching tree of alternative fixes designed to help build as set of potential fixes with different options in them.
BranchedSuggestedFixes.Builder - Class in com.google.errorprone.fixes
Builder class for BranchedSuggestedFixes
BugChecker - Class in com.google.errorprone.bugpatterns
A base class for implementing bug checkers.
BugChecker() - Constructor for class com.google.errorprone.bugpatterns.BugChecker
 
BugChecker.AnnotatedTypeTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.AnnotationTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.ArrayAccessTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.ArrayTypeTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.AssertTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.AssignmentTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.BinaryTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.BlockTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.BreakTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.CaseTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.CatchTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.ClassTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.CompilationUnitTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.CompoundAssignmentTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.ConditionalExpressionTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.ContinueTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.DoWhileLoopTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.EmptyStatementTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.EnhancedForLoopTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.ExpressionStatementTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.ForLoopTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.IdentifierTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.IfTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.ImportTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.InstanceOfTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.IntersectionTypeTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.LabeledStatementTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.LambdaExpressionTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.LiteralTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.MemberReferenceTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.MemberSelectTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.MethodInvocationTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.MethodTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.ModifiersTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.NewArrayTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.NewClassTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.ParameterizedTypeTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.ParenthesizedTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.PrimitiveTypeTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.ReturnTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.SwitchTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.SynchronizedTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.ThrowTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.TryTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.TypeCastTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.TypeParameterTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.UnaryTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.UnionTypeTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.VariableTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.WhileLoopTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugChecker.WildcardTreeMatcher - Interface in com.google.errorprone.bugpatterns
 
BugCheckerInfo - Class in com.google.errorprone
An accessor for information about a single bug checker, including the metadata in the check's @BugPattern annotation and the class that implements the check.
BugCheckerRefactoringTestHelper - Class in com.google.errorprone
Compare a file transformed as suggested by BugChecker to an expected source.
BugCheckerRefactoringTestHelper.ExpectOutput - Class in com.google.errorprone
To assert the proper .addInput().addOutput() chain.
BugCheckerRefactoringTestHelper.FixChooser - Interface in com.google.errorprone
For checks that provide multiple possible fixes, chooses the one that will be applied for the test.
BugCheckerRefactoringTestHelper.FixChoosers - Enum in com.google.errorprone
Predefined FixChoosers for selecting a fix by its position in the list
BugCheckerRefactoringTestHelper.TestMode - Enum in com.google.errorprone
Test mode for matching refactored source against expected source.
BugPattern - Annotation Type in com.google.errorprone
Describes a bug pattern detected by error-prone.
BugPattern.Category - Enum in com.google.errorprone
 
BugPattern.LinkType - Enum in com.google.errorprone
 
BugPattern.ProvidesFix - Enum in com.google.errorprone
Types of fixes BugCheckers can provide.
BugPattern.SeverityLevel - Enum in com.google.errorprone
 
BugPattern.StandardTags - Class in com.google.errorprone
A collection of standardized tags that can be applied to BugPatterns.
BugPatternIndexWriter - Class in com.google.errorprone
 
BugPatternIndexWriter() - Constructor for class com.google.errorprone.BugPatternIndexWriter
 
BugPatternInstance - Class in com.google.errorprone
A serialization-friendly POJO of the information in a BugPattern.
BugPatternInstance() - Constructor for class com.google.errorprone.BugPatternInstance
 
BugPatternValidator - Class in com.google.errorprone
Validates an @BugPattern annotation for wellformedness.
BugPatternValidator() - Constructor for class com.google.errorprone.BugPatternValidator
 
build() - Method in class com.google.errorprone.BaseErrorProneCompiler.Builder
Deprecated.
 
build(List<? extends StatementTree>) - Method in class com.google.errorprone.bugpatterns.AbstractExpectedExceptionChecker.BaseFix
 
build() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
 
build() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
 
build() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
 
build() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff.Builder
 
build() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
 
build(VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.Builder
 
build() - Method in class com.google.errorprone.dataflow.AccessPathStore.Builder
 
build() - Method in class com.google.errorprone.dataflow.LocalStore.Builder
 
build() - Method in class com.google.errorprone.ErrorProneCompiler.Builder
Deprecated.
 
build() - Method in class com.google.errorprone.ErrorProneFlags.Builder
 
build() - Method in class com.google.errorprone.fixes.BranchedSuggestedFixes.Builder
 
build() - Method in class com.google.errorprone.fixes.SuggestedFix.Builder
 
build() - Method in class com.google.errorprone.matchers.Description.Builder
 
buildBaseFix(VisitorState, List<Tree>, StatementTree) - Method in class com.google.errorprone.bugpatterns.AbstractExpectedExceptionChecker
 
buildDescription(Tree) - Method in class com.google.errorprone.bugpatterns.BugChecker
Returns a Description builder, which allows you to customize the diagnostic with a custom message or multiple fixes.
buildDescription(JCDiagnostic.DiagnosticPosition) - Method in class com.google.errorprone.bugpatterns.BugChecker
Returns a Description builder, which allows you to customize the diagnostic with a custom message or multiple fixes.
buildDescription(JCTree) - Method in class com.google.errorprone.bugpatterns.BugChecker
Returns a Description builder, which allows you to customize the diagnostic with a custom message or multiple fixes.
buildDescriptionFromChecker(Tree, BugChecker) - Static method in class com.google.errorprone.BugCheckerInfo
Returns a new builder for Descriptions.
buildDescriptionFromChecker(Tree, BugChecker) - Static method in class com.google.errorprone.bugpatterns.BugChecker
Returns a new builder for Descriptions.
buildDescriptionFromChecker(JCDiagnostic.DiagnosticPosition, BugChecker) - Static method in class com.google.errorprone.bugpatterns.BugChecker
Returns a new builder for Descriptions.
buildDescriptionFromChecker(JCTree, BugChecker) - Static method in class com.google.errorprone.bugpatterns.BugChecker
Returns a new builder for Descriptions.
builder() - Static method in class com.google.errorprone.BaseErrorProneCompiler
Deprecated.
Returns a BaseErrorProneCompiler builder.
Builder() - Constructor for class com.google.errorprone.BaseErrorProneCompiler.Builder
Deprecated.
 
builder() - Static method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety
 
builder() - Static method in class com.google.errorprone.ErrorProneCompiler
Deprecated.
 
Builder() - Constructor for class com.google.errorprone.ErrorProneCompiler.Builder
Deprecated.
builder() - Static method in class com.google.errorprone.ErrorProneFlags
 
builder() - Static method in class com.google.errorprone.fixes.BranchedSuggestedFixes
 
Builder() - Constructor for class com.google.errorprone.fixes.BranchedSuggestedFixes.Builder
 
builder() - Static method in class com.google.errorprone.fixes.SuggestedFix
 
Builder() - Constructor for class com.google.errorprone.fixes.SuggestedFix.Builder
 
builder(Tree, String, String, BugPattern.SeverityLevel, String) - Static method in class com.google.errorprone.matchers.Description
Returns a new builder for Descriptions.
builder(JCDiagnostic.DiagnosticPosition, String, String, BugPattern.SeverityLevel, String) - Static method in class com.google.errorprone.matchers.Description
Returns a new builder for Descriptions.
builder(JCTree, String, String, BugPattern.SeverityLevel, String) - Static method in class com.google.errorprone.matchers.Description
Returns a new builder for Descriptions.
buildFix(VisitorState, SuggestedFix.Builder, JCTree.JCExpression, List<? extends StatementTree>) - Static method in class com.google.errorprone.bugpatterns.AbstractTestExceptionChecker
 
buildFix(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.StringSplitter
 
buildMessage(String) - Method in class com.google.errorprone.bugpatterns.threadsafety.AbstractLockMethodChecker
Builds the error message, given the list of locks that were not handled.
buildMessage(String) - Method in class com.google.errorprone.bugpatterns.threadsafety.LockMethodChecker
 
buildMessage(String) - Method in class com.google.errorprone.bugpatterns.threadsafety.UnlockMethodChecker
 
buildPartial() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
 
buildPartial() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
 
buildPartial() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
 
buildPartial() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff.Builder
 
buildPartial() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
 
BuiltInCheckerSuppliers - Class in com.google.errorprone.scanner
Static helper class that provides ScannerSuppliers and BugCheckers for the built-in Error Prone checks, as opposed to plugin checks or checks used in tests.
BundleDeserializationCast - Class in com.google.errorprone.bugpatterns.android
 
BundleDeserializationCast() - Constructor for class com.google.errorprone.bugpatterns.android.BundleDeserializationCast
 
BYTE_TYPE - Static variable in class com.google.errorprone.suppliers.Suppliers
 
ByteBufferBackingArray - Class in com.google.errorprone.bugpatterns
Checks when ByteBuffer.array() is used without calling .arrayOffset() to know the offset of the array, or when the buffer wasn't initialized using ByteBuffer.wrap() or ByteBuffer.allocate().
ByteBufferBackingArray() - Constructor for class com.google.errorprone.bugpatterns.ByteBufferBackingArray
 

C

canAlias(FlowExpressions.Receiver, FlowExpressions.Receiver) - Method in class com.google.errorprone.dataflow.AccessPathStore
 
canAlias(FlowExpressions.Receiver, FlowExpressions.Receiver) - Method in class com.google.errorprone.dataflow.LocalStore
 
CanBeStaticAnalyzer - Class in com.google.errorprone.bugpatterns
Analyzes trees for references to their enclosing instance.
canCompleteNormally(StatementTree) - Static method in class com.google.errorprone.util.Reachability
Returns true if the given statement can complete normally, as defined by JLS 14.21.
canCompleteNormally(CaseTree) - Static method in class com.google.errorprone.util.Reachability
Returns true if the given case tree can complete normally, as defined by JLS 14.21.
CanIgnoreReturnValue - Annotation Type in com.google.errorprone.annotations
Indicates that the return value of the annotated method can be safely ignored.
CannotMockFinalClass - Class in com.google.errorprone.bugpatterns
Bug pattern to recognize attempts to mock final types.
CannotMockFinalClass() - Constructor for class com.google.errorprone.bugpatterns.CannotMockFinalClass
 
CanonicalDuration - Class in com.google.errorprone.bugpatterns
 
CanonicalDuration() - Constructor for class com.google.errorprone.bugpatterns.CanonicalDuration
 
canonicalName() - Method in class com.google.errorprone.BugCheckerInfo
 
canonicalName() - Method in class com.google.errorprone.bugpatterns.BugChecker
 
canonicalName() - Method in class com.google.errorprone.bugpatterns.StaticImports.StaticImportInfo
 
canonicalName() - Method in interface com.google.errorprone.matchers.Suppressible
The canonical name of the check.
CatchAndPrintStackTrace - Class in com.google.errorprone.bugpatterns
 
CatchAndPrintStackTrace() - Constructor for class com.google.errorprone.bugpatterns.CatchAndPrintStackTrace
 
CatchFail - Class in com.google.errorprone.bugpatterns
 
CatchFail() - Constructor for class com.google.errorprone.bugpatterns.CatchFail
 
category - Variable in class com.google.errorprone.BugPatternInstance
 
ChainingConstructorIgnoresParameter - Class in com.google.errorprone.bugpatterns
Checks, if two constructors in a class both accept Foo foo and one calls the other, that the caller passes foo as a parameter.
ChainingConstructorIgnoresParameter() - Constructor for class com.google.errorprone.bugpatterns.ChainingConstructorIgnoresParameter
 
CHAR_TYPE - Static variable in class com.google.errorprone.suppliers.Suppliers
 
charAt(int) - Method in class com.google.errorprone.refaster.StringName
 
charLit(char) - Static method in class com.google.errorprone.refaster.ULiteral
 
checkerClass() - Method in class com.google.errorprone.BugCheckerInfo
 
checkerClass() - Method in class com.google.errorprone.ExampleInfo
The fully-qualified name of the checker that this example belongs to.
checkForImmutability(Optional<ClassTree>, ImmutableSet<String>, Type.ClassType, ImmutableAnalysis.ViolationReporter) - Method in class com.google.errorprone.bugpatterns.threadsafety.ImmutableAnalysis
Check that an @Immutable-annotated class: does not declare or inherit any mutable fields, any immutable supertypes are instantiated with immutable type arguments as required by their containerOf spec, and any enclosing instances are immutable.
checkGuardedAccess(Tree, GuardedByExpression, HeldLockSet, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.GuardedByChecker
 
checkGuardedBy(boolean, String) - Static method in exception com.google.errorprone.bugpatterns.threadsafety.IllegalGuardedBy
Throws an IllegalGuardedBy exception if the given condition is false.
checkGuardedBy(boolean, String, Object...) - Static method in exception com.google.errorprone.bugpatterns.threadsafety.IllegalGuardedBy
Throws an IllegalGuardedBy exception if the given condition is false.
checkInstantiation(Collection<Symbol.TypeVariableSymbol>, Collection<Type>) - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety
Checks that any thread-safe type parameters are instantiated with thread-safe types.
checkInvocation(Type, Symbol) - Method in class com.google.errorprone.bugpatterns.threadsafety.ImmutableAnalysis
 
checkInvocation(Type, Symbol) - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety
Checks the instantiation of any thread-safe type parameters in the current invocation.
checkName() - Method in error com.google.errorprone.ErrorProneError
 
checkName - Variable in class com.google.errorprone.matchers.Description
The name of the check that produced the match.
CheckReturnValue - Annotation Type in com.google.errorprone.annotations
Indicates that the return value of the annotated method must be checked.
CheckReturnValue - Class in com.google.errorprone.bugpatterns
 
CheckReturnValue() - Constructor for class com.google.errorprone.bugpatterns.CheckReturnValue
 
checkSuperInstantiation(Set<String>, AnnotationInfo, Type) - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety
Check that the super-type of a @ThreadSafe-annotated type is instantiated with threadsafe type arguments where required by its annotation's containerOf element, and that any type arguments that correspond to containerOf type parameters on the sub-type are also in the super-type's containerOf spec.
ChildMultiMatcher<T extends com.sun.source.tree.Tree,N extends com.sun.source.tree.Tree> - Class in com.google.errorprone.matchers
A MultiMatcher that applies a matcher across multiple children of a single ancestor node.
ChildMultiMatcher(ChildMultiMatcher.MatchType, Matcher<N>) - Constructor for class com.google.errorprone.matchers.ChildMultiMatcher
 
ChildMultiMatcher.MatchType - Enum in com.google.errorprone.matchers
 
Choice<T> - Class in com.google.errorprone.refaster
A representation of a choice with zero or more options, which may be evaluated lazily or strictly.
choose(List<Fix>) - Method in interface com.google.errorprone.BugCheckerRefactoringTestHelper.FixChooser
 
Class(Matcher<ClassTree>) - Constructor for class com.google.errorprone.matchers.Enclosing.Class
 
CLASS_DIFF_FIELD_NUMBER - Static variable in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff
 
CLASS_NAME_FIELD_NUMBER - Static variable in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff
 
CLASS_NAME_FIELD_NUMBER - Static variable in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
 
ClassCanBeStatic - Class in com.google.errorprone.bugpatterns
 
ClassCanBeStatic() - Constructor for class com.google.errorprone.bugpatterns.ClassCanBeStatic
 
classDescriptor(Type, Types) - Static method in class com.google.errorprone.util.Signatures
Returns the binary names of the class.
classify(String) - Static method in enum com.google.errorprone.bugpatterns.TypeParameterNaming.TypeParameterNamingClassification
 
ClassLiteral() - Constructor for class com.google.errorprone.bugpatterns.threadsafety.GuardedByExpression.ClassLiteral
 
classLiteral(Matcher<? super ExpressionTree>) - Static method in class com.google.errorprone.matchers.Matchers
 
ClassMemberKey() - Constructor for class com.google.errorprone.bugpatterns.apidiff.ApiDiff.ClassMemberKey
 
className - Variable in class com.google.errorprone.BugPatternInstance
 
ClassName - Class in com.google.errorprone.bugpatterns
 
ClassName() - Constructor for class com.google.errorprone.bugpatterns.ClassName
 
ClassNamedLikeTypeParameter - Class in com.google.errorprone.bugpatterns
 
ClassNamedLikeTypeParameter() - Constructor for class com.google.errorprone.bugpatterns.ClassNamedLikeTypeParameter
 
ClassNewInstance - Class in com.google.errorprone.bugpatterns
 
ClassNewInstance() - Constructor for class com.google.errorprone.bugpatterns.ClassNewInstance
 
classReference(Inliner, CharSequence, CharSequence) - Method in enum com.google.errorprone.refaster.ImportPolicy
 
clazz() - Method in interface com.google.errorprone.dataflow.nullnesspropagation.MethodInfo
 
clazz() - Static method in class com.google.errorprone.refaster.Refaster
This is a placeholder for the expression T.class.
clear() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
 
clear() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
 
clear() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
 
clear() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff.Builder
 
clear() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
 
clearBinding(Bindings.Key<?>) - Method in class com.google.errorprone.refaster.Unifier
 
clearClassDiff() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
clearClassName() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff.Builder
string class_name = 1;
clearClassName() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
string class_name = 1;
clearDiagnostics() - Method in class com.google.errorprone.DiagnosticTestHelper
 
clearDiff() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
 
clearEverythingDiff() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
.devtools.staticanalysis.errorprone.apidiff.EverythingDiff everything_diff = 1;
clearField(Descriptors.FieldDescriptor) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
 
clearField(Descriptors.FieldDescriptor) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
 
clearField(Descriptors.FieldDescriptor) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
 
clearField(Descriptors.FieldDescriptor) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff.Builder
 
clearField(Descriptors.FieldDescriptor) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
 
clearIdentifier() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
string identifier = 1;
clearMember() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
clearMemberDescriptor() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
a JVMS 4.3 member descriptor
clearMemberDiff() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
.devtools.staticanalysis.errorprone.apidiff.MemberDiff member_diff = 2;
clearOneof(Descriptors.OneofDescriptor) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
 
clearOneof(Descriptors.OneofDescriptor) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
 
clearOneof(Descriptors.OneofDescriptor) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
 
clearOneof(Descriptors.OneofDescriptor) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff.Builder
 
clearOneof(Descriptors.OneofDescriptor) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
 
clone() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
 
clone() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
 
clone() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
 
clone() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff.Builder
 
clone() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
 
CloseableProvides - Class in com.google.errorprone.bugpatterns.inject
 
CloseableProvides() - Constructor for class com.google.errorprone.bugpatterns.inject.CloseableProvides
 
coalesce(String, String) - Method in enum com.google.errorprone.fixes.Replacements.CoalescePolicy
Handle an overlapping insert.
code() - Method in class com.google.errorprone.ExampleInfo
The example code.
CodeTransformer - Interface in com.google.errorprone
Interface for a transformation over Java source.
CollectionIncompatibleType - Class in com.google.errorprone.bugpatterns.collectionincompatibletype
Checker for calling Object-accepting methods with types that don't match the type arguments of their container types.
CollectionIncompatibleType() - Constructor for class com.google.errorprone.bugpatterns.collectionincompatibletype.CollectionIncompatibleType
Creates a new CollectionIncompatibleType checker that provides no fix.
CollectionIncompatibleType(CollectionIncompatibleType.FixType) - Constructor for class com.google.errorprone.bugpatterns.collectionincompatibletype.CollectionIncompatibleType
Creates a new CollectionIncompatibleType checker with the given fixType.
CollectionIncompatibleType.FixType - Enum in com.google.errorprone.bugpatterns.collectionincompatibletype
 
CollectionToArraySafeParameter - Class in com.google.errorprone.bugpatterns
 
CollectionToArraySafeParameter() - Constructor for class com.google.errorprone.bugpatterns.CollectionToArraySafeParameter
 
collector - Variable in class com.google.errorprone.DiagnosticTestHelper
 
COLLECTOR_OF_CALL - Static variable in class com.google.errorprone.bugpatterns.CollectorShouldNotUseState
 
CollectorShouldNotUseState - Class in com.google.errorprone.bugpatterns
 
CollectorShouldNotUseState() - Constructor for class com.google.errorprone.bugpatterns.CollectorShouldNotUseState
 
com.google.errorprone - package com.google.errorprone
 
com.google.errorprone.annotations - package com.google.errorprone.annotations
 
com.google.errorprone.annotations.concurrent - package com.google.errorprone.annotations.concurrent
 
com.google.errorprone.apply - package com.google.errorprone.apply
 
com.google.errorprone.bugpatterns - package com.google.errorprone.bugpatterns
Checks added to the java compiler which detect common bug patterns.
com.google.errorprone.bugpatterns.android - package com.google.errorprone.bugpatterns.android
 
com.google.errorprone.bugpatterns.apidiff - package com.google.errorprone.bugpatterns.apidiff
 
com.google.errorprone.bugpatterns.argumentselectiondefects - package com.google.errorprone.bugpatterns.argumentselectiondefects
 
com.google.errorprone.bugpatterns.collectionincompatibletype - package com.google.errorprone.bugpatterns.collectionincompatibletype
 
com.google.errorprone.bugpatterns.formatstring - package com.google.errorprone.bugpatterns.formatstring
 
com.google.errorprone.bugpatterns.inject - package com.google.errorprone.bugpatterns.inject
Bug patterns related to dependency injection and JSR 330.
com.google.errorprone.bugpatterns.inject.dagger - package com.google.errorprone.bugpatterns.inject.dagger
Bug patterns related to Dagger.
com.google.errorprone.bugpatterns.inject.guice - package com.google.errorprone.bugpatterns.inject.guice
Bug patterns related to Guice.
com.google.errorprone.bugpatterns.javadoc - package com.google.errorprone.bugpatterns.javadoc
 
com.google.errorprone.bugpatterns.nullness - package com.google.errorprone.bugpatterns.nullness
 
com.google.errorprone.bugpatterns.overloading - package com.google.errorprone.bugpatterns.overloading
 
com.google.errorprone.bugpatterns.threadsafety - package com.google.errorprone.bugpatterns.threadsafety
 
com.google.errorprone.dataflow - package com.google.errorprone.dataflow
 
com.google.errorprone.dataflow.nullnesspropagation - package com.google.errorprone.dataflow.nullnesspropagation
 
com.google.errorprone.dataflow.nullnesspropagation.inference - package com.google.errorprone.dataflow.nullnesspropagation.inference
 
com.google.errorprone.fixes - package com.google.errorprone.fixes
Support code for providing automated corrections for defects we find.
com.google.errorprone.matchers - package com.google.errorprone.matchers
A predicate DSL for matching javac AST nodes.
com.google.errorprone.matchers.method - package com.google.errorprone.matchers.method
 
com.google.errorprone.names - package com.google.errorprone.names
 
com.google.errorprone.predicates - package com.google.errorprone.predicates
 
com.google.errorprone.predicates.type - package com.google.errorprone.predicates.type
 
com.google.errorprone.refaster - package com.google.errorprone.refaster
 
com.google.errorprone.refaster.annotation - package com.google.errorprone.refaster.annotation
 
com.google.errorprone.scanner - package com.google.errorprone.scanner
 
com.google.errorprone.suppliers - package com.google.errorprone.suppliers
Supports matchers, but rather than giving Matcher implementations which are predicates on individual AST nodes, a supplier gives contextual information from the traversal of the AST.
com.google.errorprone.util - package com.google.errorprone.util
Utility code.
Commented<T extends com.sun.source.tree.Tree> - Class in com.google.errorprone.util
Class to hold AST nodes annotated with the comments that are associated with them
Commented() - Constructor for class com.google.errorprone.util.Commented
 
Commented.Position - Enum in com.google.errorprone.util
Identifies the position of a comment relative to the associated treenode.
Comments - Class in com.google.errorprone.util
Utilities for attaching comments to relevant AST nodes
Comments() - Constructor for class com.google.errorprone.util.Comments
 
comments() - Method in class com.google.errorprone.util.ErrorProneToken
 
ComparableAndComparator - Class in com.google.errorprone.bugpatterns
 
ComparableAndComparator() - Constructor for class com.google.errorprone.bugpatterns.ComparableAndComparator
 
ComparableType - Class in com.google.errorprone.bugpatterns
 
ComparableType() - Constructor for class com.google.errorprone.bugpatterns.ComparableType
 
ComparingThisWithNull - Class in com.google.errorprone.bugpatterns
Check for expressions containing this != null or this == null
ComparingThisWithNull() - Constructor for class com.google.errorprone.bugpatterns.ComparingThisWithNull
 
ComparisonContractViolated - Class in com.google.errorprone.bugpatterns
 
ComparisonContractViolated() - Constructor for class com.google.errorprone.bugpatterns.ComparisonContractViolated
 
ComparisonOutOfRange - Class in com.google.errorprone.bugpatterns
 
ComparisonOutOfRange() - Constructor for class com.google.errorprone.bugpatterns.ComparisonOutOfRange
 
compatibilityOfTypes(Type, Type, VisitorState) - Static method in class com.google.errorprone.bugpatterns.EqualsIncompatibleType
 
compatibilityOfTypes(Type, Type, Set<Type>, Set<Type>, VisitorState) - Static method in class com.google.errorprone.bugpatterns.EqualsIncompatibleType
 
compatible() - Method in class com.google.errorprone.bugpatterns.EqualsIncompatibleType.TypeCompatibilityReport
 
CompatibleWith - Annotation Type in com.google.errorprone.annotations
Declares that a parameter to a method must be "compatible with" one of the type parameters in the method's enclosing class, or on the method itself.
CompatibleWithMisuse - Class in com.google.errorprone.bugpatterns.collectionincompatibletype
 
CompatibleWithMisuse() - Constructor for class com.google.errorprone.bugpatterns.collectionincompatibletype.CompatibleWithMisuse
 
CompilationTestHelper - Class in com.google.errorprone
Helps test Error Prone bug checkers and compilations.
compile(DiagnosticListener<JavaFileObject>, String[]) - Static method in class com.google.errorprone.ErrorProneCompiler
Deprecated.
Compiles in-process.
compile(String[]) - Static method in class com.google.errorprone.ErrorProneCompiler
Deprecated.
Programmatic interface to the error-prone Java compiler.
compile(String[], PrintWriter) - Static method in class com.google.errorprone.ErrorProneCompiler
Deprecated.
Programmatic interface to the error-prone Java compiler.
compilesWithFix(Fix, VisitorState) - Static method in class com.google.errorprone.fixes.SuggestedFixes
Returns true if the current compilation would succeed with the given fix applied.
CompileTimeConstant - Annotation Type in com.google.errorprone.annotations
Annotation for method parameter declarations, which denotes that corresponding actual parameters must be compile-time constant expressions.
CompileTimeConstantChecker - Class in com.google.errorprone.bugpatterns
Detects invocations of methods with a parameter annotated @CompileTimeConstant such that the corresponding actual parameter is not a compile-time constant expression.
CompileTimeConstantChecker() - Constructor for class com.google.errorprone.bugpatterns.CompileTimeConstantChecker
 
CompileTimeConstantExpressionMatcher - Class in com.google.errorprone.matchers
A matcher for compile-time-constant expressions.
CompileTimeConstantExpressionMatcher() - Constructor for class com.google.errorprone.matchers.CompileTimeConstantExpressionMatcher
 
ComplexBooleanConstant - Class in com.google.errorprone.bugpatterns
 
ComplexBooleanConstant() - Constructor for class com.google.errorprone.bugpatterns.ComplexBooleanConstant
 
compose(CodeTransformer...) - Static method in class com.google.errorprone.CompositeCodeTransformer
 
compose(Iterable<? extends CodeTransformer>) - Static method in class com.google.errorprone.CompositeCodeTransformer
 
CompositeCodeTransformer - Class in com.google.errorprone
Combines multiple CodeTransformers into one.
CompoundAssignment - Class in com.google.errorprone.matchers
Matcher for a compound-assignment operator expression.
CompoundAssignment(Set<Tree.Kind>, Matcher<ExpressionTree>, Matcher<ExpressionTree>) - Constructor for class com.google.errorprone.matchers.CompoundAssignment
Creates a new compound-assignment operator matcher, which matches a compound assignment expression with one of a set of operators and whose receiver and expression match the given matchers.
compoundAssignment(Tree.Kind, Matcher<ExpressionTree>, Matcher<ExpressionTree>) - Static method in class com.google.errorprone.matchers.Matchers
Matches a compound assignment operator AST node which matches a given left-operand matcher, a given right-operand matcher, and a specific compound assignment operator.
compoundAssignment(Set<Tree.Kind>, Matcher<ExpressionTree>, Matcher<ExpressionTree>) - Static method in class com.google.errorprone.matchers.Matchers
Matches a compound assignment operator AST node which matches a given left-operand matcher, a given right-operand matcher, and is one of a set of compound assignment operators.
CONCURRENCY - Static variable in class com.google.errorprone.BugPattern.StandardTags
This check points out potential issues when operating in a concurrent context
condition(boolean, T) - Static method in class com.google.errorprone.refaster.Choice
Returns a Choice with t as an option if condition, and no options otherwise.
condition(boolean) - Method in class com.google.errorprone.refaster.Choice
Returns this choice if condition, otherwise the empty choice.
condition(Predicate<? super T>) - Method in class com.google.errorprone.refaster.Choice
Filters the choices to those that satisfy the provided Predicate.
ConditionalExpressionNumericPromotion - Class in com.google.errorprone.bugpatterns
 
ConditionalExpressionNumericPromotion() - Constructor for class com.google.errorprone.bugpatterns.ConditionalExpressionNumericPromotion
 
ConstantField - Class in com.google.errorprone.bugpatterns
 
ConstantField() - Constructor for class com.google.errorprone.bugpatterns.ConstantField
 
ConstantOverflow - Class in com.google.errorprone.bugpatterns
 
ConstantOverflow() - Constructor for class com.google.errorprone.bugpatterns.ConstantOverflow
 
ConstantPropagationAnalysis - Class in com.google.errorprone.dataflow
An interface to the constant propagation analysis.
ConstantPropagationAnalysis() - Constructor for class com.google.errorprone.dataflow.ConstantPropagationAnalysis
 
CONSTRUCTOR - Static variable in class com.google.errorprone.bugpatterns.MustBeClosedChecker
 
constructor() - Static method in class com.google.errorprone.matchers.Matchers
Matches a constructor.
constructor(ChildMultiMatcher.MatchType, Matcher<MethodTree>) - Static method in class com.google.errorprone.matchers.Matchers
Matches a class in which any of/all of its constructors match the given constructorMatcher.
constructor() - Static method in class com.google.errorprone.matchers.method.MethodMatchers
 
ConstructorInvokesOverridable - Class in com.google.errorprone.bugpatterns
Looks for invocations of overridable methods from constructors and similar scopes (instance initializers and variables).
ConstructorInvokesOverridable() - Constructor for class com.google.errorprone.bugpatterns.ConstructorInvokesOverridable
 
ConstructorLeaksThis - Class in com.google.errorprone.bugpatterns
Looks for constructors from which the 'this' reference escapes.
ConstructorLeaksThis() - Constructor for class com.google.errorprone.bugpatterns.ConstructorLeaksThis
 
ConstructorMatcherImpl - Class in com.google.errorprone.matchers.method
Matches constructors, allows refinement on class type.
ConstructorMatcherImpl() - Constructor for class com.google.errorprone.matchers.method.ConstructorMatcherImpl
 
ConstructorOfClass - Class in com.google.errorprone.matchers
Applies the given matcher to the constructor(s) of the given class.
ConstructorOfClass(ChildMultiMatcher.MatchType, Matcher<MethodTree>) - Constructor for class com.google.errorprone.matchers.ConstructorOfClass
 
constructorOfClass(String) - Static method in class com.google.errorprone.matchers.Matchers
Matches a constructor declaration in a specific enclosing class.
constValue(Tree) - Static method in class com.google.errorprone.util.ASTHelpers
Returns the compile-time constant value of a tree if it has one, or null.
constValue(Tree, Class<? extends T>) - Static method in class com.google.errorprone.util.ASTHelpers
Returns the compile-time constant value of a tree if it is of type clazz, or null.
containerOf() - Method in class com.google.errorprone.bugpatterns.threadsafety.AnnotationInfo
 
containerOfAnnotation(Class<? extends Annotation>) - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.Builder
An annotation which marks a generic parameter as a container type.
Contains - Class in com.google.errorprone.matchers
A matcher that recursively inspects a tree, applying the given matcher to all levels of each tree and returning true if any match is found.
Contains(Matcher<Tree>) - Constructor for class com.google.errorprone.matchers.Contains
 
contains(Matcher<Tree>) - Static method in class com.google.errorprone.matchers.Matchers
Applies the given matcher recursively to all descendants of an AST node, and matches if any matching descendant node is found.
contains(Class<V>, Matcher<V>) - Static method in class com.google.errorprone.matchers.Matchers
Applies the given matcher recursively to all descendants of an AST node, and matches if any matching descendant node is found.
containsAnonymousClassUsingState - Variable in class com.google.errorprone.bugpatterns.CollectorShouldNotUseState
 
containsComments(Tree, VisitorState) - Static method in class com.google.errorprone.util.ASTHelpers
Returns whether the given tree contains any comments in its source.
containsSyntheticParameterName(Symbol.MethodSymbol) - Static method in class com.google.errorprone.bugpatterns.argumentselectiondefects.NamedParameterComment
Returns true if the method has synthetic parameter names, indicating the real names are not available.
containsTestMethod(Tree) - Static method in class com.google.errorprone.matchers.JUnitMatchers
Returns true if the tree contains a method invocation that looks like a test assertion.
contentEquals(CharSequence) - Method in class com.google.errorprone.refaster.StringName
 
context() - Method in class com.google.errorprone.bugpatterns.threadsafety.GuardedBySymbolResolver
 
context - Variable in class com.google.errorprone.VisitorState
 
continueStatement() - Static method in class com.google.errorprone.matchers.Matchers
Matches a continue statement.
ControlFlowVisitor - Class in com.google.errorprone.refaster
Analyzes a series of statements to determine whether they don't, sometimes, or never return.
ControlFlowVisitor.Result - Enum in com.google.errorprone.refaster
The state of whether a sequence of statements may return, break out of the visited statements, or neither.
convert(String) - Method in class com.google.errorprone.DocGenTool.TargetEnumConverter
 
CONVERT_TO_IDENT - Static variable in class com.google.errorprone.refaster.UMemberSelect
Use of this string as an expression in a member select will cause this method select to be inlined as an identifier.
convertRegexToLiteral(String) - Static method in class com.google.errorprone.util.Regexes
If the given regexes matches exactly one string, returns that string.
convertToLowerUnderscore(String) - Static method in class com.google.errorprone.names.NamingConventions
 
copy() - Method in class com.google.errorprone.dataflow.AccessPathStore
 
copy() - Method in class com.google.errorprone.dataflow.LocalStore
 
correctAnnotation() - Method in class com.google.errorprone.bugpatterns.JUnit4SetUpNotRun
 
correctAnnotation() - Method in class com.google.errorprone.bugpatterns.JUnit4TearDownNotRun
 
CouldNotResolveImportException - Exception in com.google.errorprone.refaster
Exception thrown when a class symbol could not be resolved by the compiler.
CouldNotResolveImportException(CharSequence) - Constructor for exception com.google.errorprone.refaster.CouldNotResolveImportException
 
create(JCTree.JCCompilationUnit, ImportOrganizer) - Static method in class com.google.errorprone.apply.DescriptionBasedDiff
 
create(JCTree.JCCompilationUnit) - Static method in class com.google.errorprone.apply.ImportStatements
 
create(JCTree.JCCompilationUnit, ImportOrganizer) - Static method in class com.google.errorprone.apply.ImportStatements
 
create(JavaFileObject) - Static method in class com.google.errorprone.apply.SourceFile
 
create(Class<? extends BugChecker>) - Static method in class com.google.errorprone.BugCheckerInfo
 
create(String, String) - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiff.ClassMemberKey
 
create(Exception, String) - Static method in class com.google.errorprone.bugpatterns.formatstring.FormatStringValidation.ValidationResult
 
create(String, Iterable<String>) - Static method in class com.google.errorprone.bugpatterns.threadsafety.AnnotationInfo
 
create(String) - Static method in class com.google.errorprone.bugpatterns.threadsafety.AnnotationInfo
 
create(Symbol) - Static method in class com.google.errorprone.bugpatterns.threadsafety.GuardedByExpression.ClassLiteral
 
create(Symbol) - Static method in class com.google.errorprone.bugpatterns.threadsafety.GuardedByExpression.LocalVariable
 
create(GuardedByExpression, Symbol, Type) - Static method in class com.google.errorprone.bugpatterns.threadsafety.GuardedByExpression.Select
 
create(Symbol) - Static method in class com.google.errorprone.bugpatterns.threadsafety.GuardedByExpression.TypeLiteral
 
create(ConsPStack<String>) - Static method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.Violation
 
create(ExampleInfo.ExampleKind, String, String, String) - Static method in class com.google.errorprone.ExampleInfo
 
create(int, int, String) - Static method in class com.google.errorprone.fixes.Replacement
Creates a Replacement.
create() - Static method in class com.google.errorprone.refaster.Bindings
 
create(Bindings.Key<V>, V) - Static method in class com.google.errorprone.refaster.Bindings
 
create(Bindings.Key<V1>, V1, Bindings.Key<V2>, V2) - Static method in class com.google.errorprone.refaster.Bindings
 
create(Bindings) - Static method in class com.google.errorprone.refaster.Bindings
 
create(UStatement...) - Static method in class com.google.errorprone.refaster.BlockTemplate
 
create(Map<String, ? extends UType>, UStatement...) - Static method in class com.google.errorprone.refaster.BlockTemplate
 
create(Iterable<UTypeVar>, Map<String, ? extends UType>, UStatement...) - Static method in class com.google.errorprone.refaster.BlockTemplate
 
create(ImmutableClassToInstanceMap<Annotation>, Iterable<UTypeVar>, Map<String, ? extends UType>, Iterable<? extends UStatement>) - Static method in class com.google.errorprone.refaster.BlockTemplate
 
create(UExpression, UType) - Static method in class com.google.errorprone.refaster.ExpressionTemplate
 
create(Map<String, ? extends UType>, UExpression, UType) - Static method in class com.google.errorprone.refaster.ExpressionTemplate
 
create(ImmutableClassToInstanceMap<Annotation>, Iterable<UTypeVar>, Map<String, ? extends UType>, UExpression, UType) - Static method in class com.google.errorprone.refaster.ExpressionTemplate
 
create(Symbol.VarSymbol, ModifiersTree) - Static method in class com.google.errorprone.refaster.LocalVarBinding
 
create(String, Collection<? extends Template<?>>, Collection<? extends Template<?>>) - Static method in class com.google.errorprone.refaster.RefasterRule
 
create(String, Iterable<UTypeVar>, Collection<? extends Template<?>>, Collection<? extends Template<?>>, ImmutableClassToInstanceMap<Annotation>) - Static method in class com.google.errorprone.refaster.RefasterRule
 
create(UExpression...) - Static method in class com.google.errorprone.refaster.UAnyOf
 
create(Iterable<? extends UExpression>) - Static method in class com.google.errorprone.refaster.UAnyOf
 
create(CharSequence, List<UType>) - Static method in class com.google.errorprone.refaster.UClassType
 
create(String, UType...) - Static method in class com.google.errorprone.refaster.UClassType
 
create(List<UTypeVar>, UType) - Static method in class com.google.errorprone.refaster.UForAll
 
create(CharSequence) - Static method in class com.google.errorprone.refaster.UFreeIdent
 
create(Tree.Kind, Object) - Static method in class com.google.errorprone.refaster.ULiteral
 
create(UExpression, CharSequence, UType) - Static method in class com.google.errorprone.refaster.UMemberSelect
 
create(UExpression, List<UExpression>) - Static method in class com.google.errorprone.refaster.UMethodInvocation
 
create(UExpression, UExpression...) - Static method in class com.google.errorprone.refaster.UMethodInvocation
 
create(UType, UType...) - Static method in class com.google.errorprone.refaster.UMethodType
 
create(UType, List<UType>) - Static method in class com.google.errorprone.refaster.UMethodType
 
create(UExpression) - Static method in class com.google.errorprone.refaster.UReturn
 
create(Unifier, List<? extends StatementTree>) - Static method in class com.google.errorprone.refaster.UStatement.UnifierWithUnconsumedStatements
 
create(UClassIdent, CharSequence, UType) - Static method in class com.google.errorprone.refaster.UStaticIdent
 
create(String, CharSequence, UType) - Static method in class com.google.errorprone.refaster.UStaticIdent
 
create(Symbol.ClassSymbol, CharSequence, UType) - Static method in class com.google.errorprone.refaster.UStaticIdent
 
create(String, UType, UType) - Static method in class com.google.errorprone.refaster.UTypeVar
 
create(String, UType) - Static method in class com.google.errorprone.refaster.UTypeVar
 
create(String) - Static method in class com.google.errorprone.refaster.UTypeVar
 
create(Type, JCTree.JCExpression) - Static method in class com.google.errorprone.refaster.UTypeVar.TypeWithExpression
 
create(Type) - Static method in class com.google.errorprone.refaster.UTypeVar.TypeWithExpression
 
create(CharSequence, UExpression, UExpression) - Static method in class com.google.errorprone.refaster.UVariableDecl
 
create(CharSequence, UExpression) - Static method in class com.google.errorprone.refaster.UVariableDecl
 
create(Scanner) - Static method in class com.google.errorprone.scanner.ErrorProneScannerTransformer
 
createByScanningForPlugins(ScannerSupplier, ErrorProneOptions, Context) - Static method in class com.google.errorprone.ErrorProneAnalyzer
 
createIgnoringOverlaps(JCTree.JCCompilationUnit, ImportOrganizer) - Static method in class com.google.errorprone.apply.DescriptionBasedDiff
 
createInliner() - Method in class com.google.errorprone.refaster.TemplateMatch
 
createInliner() - Method in class com.google.errorprone.refaster.Unifier
 
createTemplate(Context, MethodTree) - Static method in class com.google.errorprone.refaster.UTemplater
Returns a template based on a method.
customSuppressionAnnotations() - Method in class com.google.errorprone.BugCheckerInfo
 
customSuppressionAnnotations() - Method in class com.google.errorprone.bugpatterns.BugChecker
 
customSuppressionAnnotations() - Method in interface com.google.errorprone.matchers.Suppressible
Returns the custom suppression annotations for this checker, if custom suppression is used.
customSuppressions - Variable in class com.google.errorprone.SuppressionHelper.SuppressionInfo
 

D

DAGGER_PROVIDES_ANNOTATION - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
DataFlow - Class in com.google.errorprone.dataflow
Provides a wrapper around Analysis.
DataFlow() - Constructor for class com.google.errorprone.dataflow.DataFlow
 
DataFlow.Result<A extends org.checkerframework.dataflow.analysis.AbstractValue<A>,S extends org.checkerframework.dataflow.analysis.Store<S>,T extends org.checkerframework.dataflow.analysis.TransferFunction<A,S>> - Interface in com.google.errorprone.dataflow
A pair of Analysis and ControlFlowGraph.
DateFormatConstant - Class in com.google.errorprone.bugpatterns
 
DateFormatConstant() - Constructor for class com.google.errorprone.bugpatterns.DateFormatConstant
 
DeadException - Class in com.google.errorprone.bugpatterns
 
DeadException() - Constructor for class com.google.errorprone.bugpatterns.DeadException
 
DeadThread - Class in com.google.errorprone.bugpatterns
 
DeadThread() - Constructor for class com.google.errorprone.bugpatterns.DeadThread
 
debugPrint() - Method in class com.google.errorprone.bugpatterns.threadsafety.GuardedByExpression
 
deducedValueWhenNotEqual() - Method in enum com.google.errorprone.dataflow.nullnesspropagation.Nullness
Returns the Nullness that corresponds to what you can deduce by knowing that some expression is not equal to another expression with this Nullness.
defaultAction(Tree, ControlFlowVisitor.BreakContext) - Method in class com.google.errorprone.refaster.ControlFlowVisitor
 
defaultAction(Tree, Unifier) - Method in class com.google.errorprone.refaster.UAnyOf
 
defaultAction(Tree, Unifier) - Method in class com.google.errorprone.refaster.UFreeIdent
 
defaultAction(Tree, Unifier) - Method in class com.google.errorprone.refaster.UPlaceholderExpression
 
defaultAction(Tree, Unifier) - Method in class com.google.errorprone.refaster.UStaticIdent
 
defaultAction(Tree, Void) - Method in class com.google.errorprone.refaster.UTemplater
 
defaultAction(Tree, Unifier) - Method in class com.google.errorprone.refaster.UTree
 
DefaultCharset - Class in com.google.errorprone.bugpatterns
 
DefaultCharset() - Constructor for class com.google.errorprone.bugpatterns.DefaultCharset
 
defaultChecks() - Static method in class com.google.errorprone.scanner.BuiltInCheckerSuppliers
Returns a ScannerSupplier with the BugCheckers that are in the ENABLED lists.
defaultSeverity() - Method in class com.google.errorprone.BugCheckerInfo
 
defaultSeverity() - Method in class com.google.errorprone.bugpatterns.BugChecker
 
delegate() - Method in class com.google.errorprone.refaster.Bindings
 
delete(Tree) - Method in class com.google.errorprone.fixes.SuggestedFix.Builder
 
delete(Tree) - Static method in class com.google.errorprone.fixes.SuggestedFix
deleteExceptions(MethodTree, VisitorState, List<ExpressionTree>) - Static method in class com.google.errorprone.fixes.SuggestedFixes
Deletes the given exceptions from a method's throws clause.
DepAnn - Class in com.google.errorprone.bugpatterns
Matches the behaviour of the javac dep-ann Xlint warning.
DepAnn() - Constructor for class com.google.errorprone.bugpatterns.DepAnn
 
DeprecatedThreadMethods - Class in com.google.errorprone.bugpatterns.threadsafety
Bug checker to detect usage of deprecated Thread methods as detailed in Thread
DeprecatedThreadMethods() - Constructor for class com.google.errorprone.bugpatterns.threadsafety.DeprecatedThreadMethods
 
DescendantOf - Class in com.google.errorprone.matchers
Matches an instance method that is a descendant of a method with the given class and name.
DescendantOf(String, String) - Constructor for class com.google.errorprone.matchers.DescendantOf
 
DescendantOf - Class in com.google.errorprone.predicates.type
Matches sub-types of the given type.
DescendantOf(Supplier<Type>) - Constructor for class com.google.errorprone.predicates.type.DescendantOf
 
DescendantOfAny - Class in com.google.errorprone.predicates.type
Matches types that are a sub-type of one of the given types.
DescendantOfAny(Iterable<Supplier<Type>>) - Constructor for class com.google.errorprone.predicates.type.DescendantOfAny
 
descending() - Method in class com.google.errorprone.fixes.Replacements
Non-overlapping replacements, sorted in descending order by position.
describe(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractReturnValueIgnored
Fixes the error by assigning the result of the call to the receiver reference, or deleting the method call.
describe(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.RectIntersectReturnValueIgnored
 
describe(BinaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ComparisonOutOfRange
Suggested fixes are as follows.
describe(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.PreconditionsCheckNotNullPrimitive
If the call to Preconditions.checkNotNull is part of an expression (assignment, return, etc.), we substitute the argument for the method call.
describe(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.PreconditionsInvalidPlaceholder
 
describe(Tree, ThreadSafety.Violation) - Method in interface com.google.errorprone.bugpatterns.threadsafety.ImmutableAnalysis.ViolationReporter
 
describe(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.WrongParameterPackage
 
describe() - Method in class com.google.errorprone.DiagnosticTestHelper
 
describeForAssignment(AssignmentTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.SelfAssignment
We expect that the lhs is a field and the rhs is an identifier, specifically a parameter to the method.
describeForVarDecl(VariableTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.SelfAssignment
 
describeMatch(Tree, Fix) - Method in class com.google.errorprone.bugpatterns.BugChecker
Helper to create a Description for the common case where there is a fix.
describeMatch(Tree) - Method in class com.google.errorprone.bugpatterns.BugChecker
Helper to create a Description for the common case where there is no fix.
describeMatch(Tree, Optional<? extends Fix>) - Method in class com.google.errorprone.bugpatterns.BugChecker
Helper to create a Description for the common case where there is an Optional fix.
Description - Class in com.google.errorprone.matchers
Simple data object containing the information captured about an AST match.
Description(Tree, String, Fix, BugPattern.SeverityLevel) - Constructor for class com.google.errorprone.matchers.Description
Deprecated.
Description.Builder - Class in com.google.errorprone.matchers
Builder for Descriptions.
DescriptionBasedDiff - Class in com.google.errorprone.apply
Implementation of a Diff that performs the modifications that are passed to its DescriptionBasedDiff.onDescribed(com.google.errorprone.matchers.Description) method, with no formatting.
DescriptionListener - Interface in com.google.errorprone
Strategies for reporting results.
DescriptionListener.Factory - Interface in com.google.errorprone
Factory for creating DescriptionListeners while compiling each file.
descriptionMessageForDefaultMatch(Type, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractToString
Adds the description message for match on the type without fixes.
descriptionMessageForDefaultMatch(Type, VisitorState) - Method in class com.google.errorprone.bugpatterns.ObjectToString
 
descriptor() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiff.ClassMemberKey
The JVMS 4.3 member descriptor.
descriptor(Type, Types) - Static method in class com.google.errorprone.util.Signatures
Returns a JVMS 4.3.3 method descriptor.
diagnosticLineAndColumn(long, long) - Static method in class com.google.errorprone.DiagnosticTestHelper
 
diagnosticMessage(Matcher<String>) - Static method in class com.google.errorprone.DiagnosticTestHelper
 
diagnosticOnLine(URI, long) - Static method in class com.google.errorprone.DiagnosticTestHelper
 
diagnosticOnLine(URI, long, Predicate<? super String>) - Static method in class com.google.errorprone.DiagnosticTestHelper
 
DiagnosticTestHelper - Class in com.google.errorprone
Utility class for tests which need to assert on the diagnostics produced during compilation.
DiagnosticTestHelper() - Constructor for class com.google.errorprone.DiagnosticTestHelper
Construct a DiagnosticTestHelper not associated with a specific check.
DiagnosticTestHelper(String) - Constructor for class com.google.errorprone.DiagnosticTestHelper
Construct a DiagnosticTestHelper for a check with the given name.
Diff - Interface in com.google.errorprone.apply
All the differences to be applied to a source file to be applied in a refactoring.
DiffApplier - Class in com.google.errorprone.apply
Applier of diffs to Java source code
DiffApplier(int, FileSource, FileDestination) - Constructor for class com.google.errorprone.apply.DiffApplier
 
DiffNotApplicableException - Exception in com.google.errorprone.apply
Exception thrown if a Diff could not be applied by a DiffApplier
DiffNotApplicableException(String) - Constructor for exception com.google.errorprone.apply.DiffNotApplicableException
 
DiffNotApplicableException(String, Throwable) - Constructor for exception com.google.errorprone.apply.DiffNotApplicableException
 
DiffNotApplicableException(Throwable) - Constructor for exception com.google.errorprone.apply.DiffNotApplicableException
 
DiffSupplier - Interface in com.google.errorprone.apply
Supplier of file differences.
disableable() - Method in class com.google.errorprone.BugCheckerInfo
 
disabled() - Method in class com.google.errorprone.scanner.ScannerSupplier
 
DISABLED_CHECKS - Static variable in class com.google.errorprone.scanner.BuiltInCheckerSuppliers
A list of all checks that are off by default.
disableWarningsInGeneratedCode() - Method in class com.google.errorprone.ErrorProneOptions
 
DiscardingFileDestination - Class in com.google.errorprone.apply
File destination which simply throws away the generated file.
DiscardingFileDestination() - Constructor for class com.google.errorprone.apply.DiscardingFileDestination
 
displayInfo() - Method in enum com.google.errorprone.BugPattern.ProvidesFix
 
DivZero - Class in com.google.errorprone.bugpatterns
Matches the behaviour of javac's divzero xlint warning.
DivZero() - Constructor for class com.google.errorprone.bugpatterns.DivZero
 
DocGenProcessor - Class in com.google.errorprone
Annotation processor which visits all classes that have a BugPattern annotation, and writes a tab-delimited text file dumping the data found.
DocGenProcessor() - Constructor for class com.google.errorprone.DocGenProcessor
 
DocGenTool - Class in com.google.errorprone
Utility main which consumes the same tab-delimited text file and generates GitHub pages for the BugPatterns.
DocGenTool() - Constructor for class com.google.errorprone.DocGenTool
 
DocGenTool.TargetEnumConverter - Class in com.google.errorprone
 
documentSuppression - Variable in class com.google.errorprone.BugPatternInstance
 
doesNotHaveArgument(String) - Static method in class com.google.errorprone.matchers.Matchers
Matches an Annotation AST node if an argument to the annotation does not exist.
doesNotHaveRuntimeRetention(Element) - Static method in class com.google.errorprone.bugpatterns.inject.ElementPredicates
 
DoNotCall - Annotation Type in com.google.errorprone.annotations
The method to which this annotation is applied cannot be called.
DoNotCallChecker - Class in com.google.errorprone.bugpatterns
 
DoNotCallChecker() - Constructor for class com.google.errorprone.bugpatterns.DoNotCallChecker
 
doStart() - Method in class com.google.errorprone.apply.DiffApplier
 
doStop() - Method in class com.google.errorprone.apply.DiffApplier
 
doTest() - Method in class com.google.errorprone.BugCheckerRefactoringTestHelper
 
doTest(BugCheckerRefactoringTestHelper.TestMode) - Method in class com.google.errorprone.BugCheckerRefactoringTestHelper
 
doTest() - Method in class com.google.errorprone.CompilationTestHelper
Performs a compilation and checks that the diagnostics and result match the expectations.
DoubleBraceInitialization - Class in com.google.errorprone.bugpatterns
 
DoubleBraceInitialization() - Constructor for class com.google.errorprone.bugpatterns.DoubleBraceInitialization
 
DoubleCheckedLocking - Class in com.google.errorprone.bugpatterns.threadsafety
 
DoubleCheckedLocking() - Constructor for class com.google.errorprone.bugpatterns.threadsafety.DoubleCheckedLocking
 
doubleLit(double) - Static method in class com.google.errorprone.refaster.ULiteral
 

E

ElementPredicates - Class in com.google.errorprone.bugpatterns.inject
Predicates for Element objects related to dependency injection.
ElementPredicates() - Constructor for class com.google.errorprone.bugpatterns.inject.ElementPredicates
 
emitComment(String) - Static method in class com.google.errorprone.refaster.Refaster
This is a special method to emit a one-line comment.
emitCommentBefore(String, T) - Static method in class com.google.errorprone.refaster.Refaster
This is a special method to emit a comment before an expression.
empty() - Static method in class com.google.errorprone.dataflow.AccessPathStore
 
empty() - Static method in class com.google.errorprone.dataflow.LocalStore
 
empty() - Static method in class com.google.errorprone.ErrorProneFlags
 
empty() - Static method in class com.google.errorprone.ErrorProneOptions
 
EmptyIfStatement - Class in com.google.errorprone.bugpatterns
This checker finds and fixes empty statements after an if, with no else part.
EmptyIfStatement() - Constructor for class com.google.errorprone.bugpatterns.EmptyIfStatement
 
EmptySetMultibindingContributions - Class in com.google.errorprone.bugpatterns.inject.dagger
 
EmptySetMultibindingContributions() - Constructor for class com.google.errorprone.bugpatterns.inject.dagger.EmptySetMultibindingContributions
 
EmptyTopLevelDeclaration - Class in com.google.errorprone.bugpatterns
 
EmptyTopLevelDeclaration() - Constructor for class com.google.errorprone.bugpatterns.EmptyTopLevelDeclaration
 
enabled() - Method in class com.google.errorprone.scanner.ScannerSupplier
 
ENABLED_ERRORS - Static variable in class com.google.errorprone.scanner.BuiltInCheckerSuppliers
A list of all checks with severity ERROR that are on by default.
ENABLED_WARNINGS - Static variable in class com.google.errorprone.scanner.BuiltInCheckerSuppliers
A list of all checks with severity WARNING that are on by default.
Enclosing - Class in com.google.errorprone.matchers
Adapt matchers to match against a parent node of a given type.
Enclosing.Block<T extends com.sun.source.tree.Tree> - Class in com.google.errorprone.matchers
 
Enclosing.BlockOrCase<T extends com.sun.source.tree.Tree> - Class in com.google.errorprone.matchers
 
Enclosing.Class<T extends com.sun.source.tree.Tree> - Class in com.google.errorprone.matchers
 
Enclosing.Method<T extends com.sun.source.tree.Tree> - Class in com.google.errorprone.matchers
 
ENCLOSING_CLASS - Static variable in class com.google.errorprone.suppliers.Suppliers
 
enclosingBlock(Matcher<BlockTree>) - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node which is enclosed by a block node that matches the given matcher.
enclosingClass() - Method in class com.google.errorprone.bugpatterns.threadsafety.GuardedBySymbolResolver
 
enclosingClass(Matcher<ClassTree>) - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node which is enclosed by a class node that matches the given matcher.
enclosingClass(Symbol) - Static method in class com.google.errorprone.util.ASTHelpers
Return the enclosing ClassSymbol of the given symbol, or null.
enclosingMethod(Matcher<MethodTree>) - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node which is enclosed by a method node that matches the given matcher.
enclosingNode(Matcher<T>) - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node that is enclosed by some node that matches the given matcher.
enclosingPackage(Symbol) - Static method in class com.google.errorprone.util.ASTHelpers
Return the enclosing PackageSymbol of the given symbol, or null.
endPos() - Method in class com.google.errorprone.util.ErrorProneToken
 
endPosition() - Method in class com.google.errorprone.fixes.Replacement
The end of the replacement range, exclusive.
endPositionAdjustment - Variable in class com.google.errorprone.fixes.AdjustedPosition
 
enhancedForLoop(Matcher<VariableTree>, Matcher<ExpressionTree>, Matcher<StatementTree>) - Static method in class com.google.errorprone.matchers.Matchers
Matches an enhanced for loop if all the given matchers match.
enter() - Method in class com.google.errorprone.refaster.Inliner
 
enumValueOf(String) - Static method in class com.google.errorprone.refaster.Refaster
This is a placeholder for the expression E.valueOf(string).
enumValues(Symbol.TypeSymbol) - Static method in class com.google.errorprone.util.ASTHelpers
 
equals(Object) - Method in class com.google.errorprone.BugCheckerInfo
 
equals(Object) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
 
equals(Object) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember
 
equals(Object) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff
 
equals(Object) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff
 
equals(Object) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
 
equals(Object) - Method in class com.google.errorprone.bugpatterns.BugChecker
 
equals(Object) - Method in class com.google.errorprone.dataflow.LocalStore
 
equals(Object) - Method in class com.google.errorprone.refaster.Bindings.Key
 
equals(Object) - Method in class com.google.errorprone.refaster.UTypeVar
 
EqualsBrokenForNull - Class in com.google.errorprone.bugpatterns.nullness
BugChecker adds a null check to equals() method implementations which don't satisfy the null contract of Object.equals(java.lang.Object) i.e.
EqualsBrokenForNull() - Constructor for class com.google.errorprone.bugpatterns.nullness.EqualsBrokenForNull
 
EqualsGetClass - Class in com.google.errorprone.bugpatterns
Discourages the use of Object.getClass() when implementing Object.equals(Object) for non-final classes.
EqualsGetClass() - Constructor for class com.google.errorprone.bugpatterns.EqualsGetClass
 
EqualsHashCode - Class in com.google.errorprone.bugpatterns
Classes that override equals should also override hashCode.
EqualsHashCode() - Constructor for class com.google.errorprone.bugpatterns.EqualsHashCode
 
EqualsIncompatibleType - Class in com.google.errorprone.bugpatterns
 
EqualsIncompatibleType() - Constructor for class com.google.errorprone.bugpatterns.EqualsIncompatibleType
 
EqualsIncompatibleType.TypeCompatibilityReport - Class in com.google.errorprone.bugpatterns
 
EqualsIncompatibleType.TypeStringPair - Class in com.google.errorprone.bugpatterns
 
equalsMethodDeclaration() - Static method in class com.google.errorprone.matchers.Matchers
Matches Object.equals(java.lang.Object) method declaration.
EqualsNaN - Class in com.google.errorprone.bugpatterns
 
EqualsNaN() - Constructor for class com.google.errorprone.bugpatterns.EqualsNaN
 
EqualsReference - Class in com.google.errorprone.bugpatterns
 
EqualsReference() - Constructor for class com.google.errorprone.bugpatterns.EqualsReference
 
EqualsUnsafeCast - Class in com.google.errorprone.bugpatterns
Checks for equals implementations making unsafe casts.
EqualsUnsafeCast() - Constructor for class com.google.errorprone.bugpatterns.EqualsUnsafeCast
 
EqualsUsingHashCode - Class in com.google.errorprone.bugpatterns
Discourages implementing equals using hashCode.
EqualsUsingHashCode() - Constructor for class com.google.errorprone.bugpatterns.EqualsUsingHashCode
 
EqualsWrongThing - Class in com.google.errorprone.bugpatterns
Checks for equals implementations comparing non-corresponding fields.
EqualsWrongThing() - Constructor for class com.google.errorprone.bugpatterns.EqualsWrongThing
 
errorChecks() - Static method in class com.google.errorprone.scanner.BuiltInCheckerSuppliers
Returns a ScannerSupplier with the BugCheckers that are in the ENABLED_ERRORS list.
ErrorProneAnalyzer - Class in com.google.errorprone
A TaskListener that runs Error Prone over attributed compilation units.
ErrorProneCompiler - Class in com.google.errorprone
Deprecated.
prefer ErrorProneJavaCompiler, which implements the standard javax.tools.JavacCompiler interface.
ErrorProneCompiler.Builder - Class in com.google.errorprone
Deprecated.
 
ErrorProneError - Error in com.google.errorprone
Wraps an unrecoverable error that occurs during analysis with the source position that triggered the crash.
ErrorProneError(String, Throwable, JCDiagnostic.DiagnosticPosition, JavaFileObject) - Constructor for error com.google.errorprone.ErrorProneError
 
ErrorProneFlags - Class in com.google.errorprone
Represents an immutable map of Error Prone flags to their set values.
ErrorProneFlags.Builder - Class in com.google.errorprone
Builder for Error Prone command-line flags object.
ErrorProneInMemoryFileManager - Class in com.google.errorprone
An in-memory file manager for testing that uses JavacFileManager and Jimfs.
ErrorProneInMemoryFileManager() - Constructor for class com.google.errorprone.ErrorProneInMemoryFileManager
Constructs an ErrorProneInMemoryFileManager instance.
ErrorProneInMemoryFileManager(Class<?>) - Constructor for class com.google.errorprone.ErrorProneInMemoryFileManager
Constructs an ErrorProneInMemoryFileManager instance, given a class that can be used to lookup file resources, such as test inputs to compile.
ErrorProneJavaCompiler - Class in com.google.errorprone
An Error Prone compiler that implements JavaCompiler.
ErrorProneJavaCompiler() - Constructor for class com.google.errorprone.ErrorProneJavaCompiler
 
ErrorProneJavaCompiler(ScannerSupplier) - Constructor for class com.google.errorprone.ErrorProneJavaCompiler
 
ErrorProneJavacPlugin - Class in com.google.errorprone
A javac Plugin that runs Error Prone.
ErrorProneJavacPlugin() - Constructor for class com.google.errorprone.ErrorProneJavacPlugin
 
ErrorProneOptions - Class in com.google.errorprone
Processes command-line options specific to error-prone.
errorProneOptions() - Method in class com.google.errorprone.VisitorState
 
ErrorProneOptions.Severity - Enum in com.google.errorprone
Severity levels for an error-prone check that define how the check results should be presented.
ErrorPronePlugins - Class in com.google.errorprone
Loads custom Error Prone checks from the annotation processor classpath.
ErrorPronePlugins() - Constructor for class com.google.errorprone.ErrorPronePlugins
 
ErrorProneScanner - Class in com.google.errorprone.scanner
Scans the parsed AST, looking for violations of any of the enabled checks.
ErrorProneScanner(BugChecker...) - Constructor for class com.google.errorprone.scanner.ErrorProneScanner
Create an error-prone scanner for a non-hardcoded set of checkers.
ErrorProneScanner(Iterable<BugChecker>) - Constructor for class com.google.errorprone.scanner.ErrorProneScanner
Create an error-prone scanner for a non-hardcoded set of checkers.
ErrorProneScanner(Iterable<BugChecker>, Map<String, BugPattern.SeverityLevel>) - Constructor for class com.google.errorprone.scanner.ErrorProneScanner
Create an error-prone scanner for a non-hardcoded set of checkers.
ErrorProneScannerTransformer - Class in com.google.errorprone.scanner
Adapter from an ErrorProneScanner to a CodeTransformer.
ErrorProneScannerTransformer() - Constructor for class com.google.errorprone.scanner.ErrorProneScannerTransformer
 
ErrorProneToken - Class in com.google.errorprone.util
Wraps a javac Tokens.Token to return comments in declaration order.
ErrorProneTokens - Class in com.google.errorprone.util
A utility for tokenizing and preserving comments.
ErrorProneTokens(String, Context) - Constructor for class com.google.errorprone.util.ErrorProneTokens
 
ErrorProneVersion - Class in com.google.errorprone
The Error Prone version.
ErrorProneVersion() - Constructor for class com.google.errorprone.ErrorProneVersion
 
EVERYTHING_DIFF_FIELD_NUMBER - Static variable in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
 
Exact - Class in com.google.errorprone.predicates.type
Matches types that exactly match the given type.
Exact(Supplier<Type>) - Constructor for class com.google.errorprone.predicates.type.Exact
 
ExactAny - Class in com.google.errorprone.predicates.type
Matches types that exactly match one of the given types.
ExactAny(Iterable<Supplier<Type>>) - Constructor for class com.google.errorprone.predicates.type.ExactAny
 
ExampleInfo - Class in com.google.errorprone
Encapsulates information about a positive or negative test case that should be included in the generated documentation.
ExampleInfo() - Constructor for class com.google.errorprone.ExampleInfo
 
ExampleInfo.ExampleKind - Enum in com.google.errorprone
 
exception() - Method in class com.google.errorprone.bugpatterns.formatstring.FormatStringValidation.ValidationResult
The exception thrown by String.format or Formatter.check.
EXCEPTION_TYPE - Static variable in class com.google.errorprone.suppliers.Suppliers
 
exists(String) - Method in class com.google.errorprone.ErrorProneInMemoryFileManager
 
expected - Variable in class com.google.errorprone.predicates.type.DescendantOf
 
ExpectedExceptionChecker - Class in com.google.errorprone.bugpatterns
 
ExpectedExceptionChecker() - Constructor for class com.google.errorprone.bugpatterns.ExpectedExceptionChecker
 
ExpectedExceptionRefactoring - Class in com.google.errorprone.bugpatterns
 
ExpectedExceptionRefactoring() - Constructor for class com.google.errorprone.bugpatterns.ExpectedExceptionRefactoring
 
expectedTypes(Inliner) - Method in class com.google.errorprone.refaster.Template
Returns a list of the expected types to be matched.
expectErrorMessage(String, Predicate<? super String>) - Method in class com.google.errorprone.CompilationTestHelper
Expects an error message matching matcher at the line below a comment matching the key.
expectErrorMessage(String, Predicate<? super String>) - Method in class com.google.errorprone.DiagnosticTestHelper
Expects an error message matching matcher at the line below a comment matching the key.
expectNoDiagnostics() - Method in class com.google.errorprone.CompilationTestHelper
Tells the compilation helper to expect that no diagnostics will be generated, even if the source file contains bug markers.
ExpectOutput(JavaFileObject) - Constructor for class com.google.errorprone.BugCheckerRefactoringTestHelper.ExpectOutput
 
expectResult(Main.Result) - Method in class com.google.errorprone.CompilationTestHelper
Tells the compilation helper to expect a specific result from the compilation, e.g.
expectUnchanged() - Method in class com.google.errorprone.BugCheckerRefactoringTestHelper.ExpectOutput
 
explanation - Variable in class com.google.errorprone.BugPatternInstance
 
expressionArgumentTypes() - Method in class com.google.errorprone.refaster.Template
 
expressionDataflow(TreePath, Context, T) - Static method in class com.google.errorprone.dataflow.DataFlow
Runs the transfer dataflow analysis to compute the abstract value of the expression which is the leaf of exprPath.
expressionStatement(Matcher<ExpressionTree>) - Static method in class com.google.errorprone.matchers.Matchers
Matches an ExpressionStatementTree based on its ExpressionTree.
ExpressionTemplate - Class in com.google.errorprone.refaster
Implementation of a template to match and replace an expression anywhere in an AST.
ExpressionTemplate() - Constructor for class com.google.errorprone.refaster.ExpressionTemplate
 
ExtendingJUnitAssert - Class in com.google.errorprone.bugpatterns
 
ExtendingJUnitAssert() - Constructor for class com.google.errorprone.bugpatterns.ExtendingJUnitAssert
 
extendSuppressionSets(Symbol, Type, Set<String>, Set<Class<? extends Annotation>>, boolean, VisitorState) - Method in class com.google.errorprone.SuppressionHelper
Extend suppression sets for both @SuppressWarnings and custom suppression annotations.
extractRules(ClassTree, Context) - Static method in class com.google.errorprone.refaster.RefasterRuleBuilderScanner
 

F

Factory() - Constructor for class com.google.errorprone.bugpatterns.threadsafety.GuardedByExpression.Factory
 
FallThrough - Class in com.google.errorprone.bugpatterns
 
FallThrough() - Constructor for class com.google.errorprone.bugpatterns.FallThrough
 
FieldCanBeFinal - Class in com.google.errorprone.bugpatterns
 
FieldCanBeFinal() - Constructor for class com.google.errorprone.bugpatterns.FieldCanBeFinal
 
fieldFix(Tree, VisitorState) - Static method in class com.google.errorprone.bugpatterns.SelfEquals
 
FieldMissingNullable - Class in com.google.errorprone.bugpatterns.nullness
Nullable suggestions for fields based on values assigned to them.
FieldMissingNullable() - Constructor for class com.google.errorprone.bugpatterns.nullness.FieldMissingNullable
 
FileDestination - Interface in com.google.errorprone.apply
 
FileSource - Interface in com.google.errorprone.apply
 
fileSystem() - Method in class com.google.errorprone.ErrorProneInMemoryFileManager
 
filter(Predicate<? super BugCheckerInfo>) - Method in class com.google.errorprone.scanner.ScannerSupplier
Filters this ScannerSupplier based on the provided predicate.
Finally - Class in com.google.errorprone.bugpatterns
Matches the behaviour of javac's finally Xlint warning.
Finally() - Constructor for class com.google.errorprone.bugpatterns.Finally
 
findAllFields(Type, VisitorState) - Static method in class com.google.errorprone.util.FindIdentifiers
Finds all the visible fields declared or inherited in the target class
findAllIdents(VisitorState) - Static method in class com.google.errorprone.util.FindIdentifiers
Finds the set of all bare variable identifiers in scope at the current location.
findClass(String) - Method in class com.google.errorprone.MaskedClassLoader
 
findClass(Symbol.ClassSymbol, VisitorState) - Static method in class com.google.errorprone.util.ASTHelpers
Returns the class tree that matches the given symbol within the compilation unit, or null if none was found.
findCommentsForArguments(NewClassTree, VisitorState) - Static method in class com.google.errorprone.util.Comments
Attach comments to nodes on arguments of constructor calls.
findCommentsForArguments(MethodInvocationTree, VisitorState) - Static method in class com.google.errorprone.util.Comments
Attach comments to nodes on arguments of method calls.
findEnclosing(Class<? extends T>...) - Method in class com.google.errorprone.VisitorState
Find the first enclosing tree node of one of the given types.
findEnclosingNode(TreePath, Class<T>) - Static method in class com.google.errorprone.util.ASTHelpers
Given a TreePath, walks up the tree until it finds a node of the given type.
findIdent(String, VisitorState) - Static method in class com.google.errorprone.util.FindIdentifiers
Finds a variable declaration with the given name that is in scope at the current location.
findIdent(String, VisitorState, Kinds.KindSelector) - Static method in class com.google.errorprone.util.FindIdentifiers
Finds a declaration with the given name and type that is in scope at the current location.
FindIdentifiers - Class in com.google.errorprone.util
A helper class to find all identifiers in scope at a given program point.
findMatchingMethods(Name, Predicate<Symbol.MethodSymbol>, Type, Types) - Static method in class com.google.errorprone.util.ASTHelpers
Finds all methods in any superclass of startClass with a certain name that match the given predicate.
findMethod(Symbol.MethodSymbol, VisitorState) - Static method in class com.google.errorprone.util.ASTHelpers
Returns the method tree that matches the given symbol within the compilation unit, or null if none was found.
findPathFromEnclosingNodeToTopLevel(TreePath, Class<T>) - Static method in class com.google.errorprone.util.ASTHelpers
Given a TreePath, finds the first enclosing node of the given type and returns the path from the enclosing node to the top-level CompilationUnitTree.
findPathToEnclosing(Class<? extends Tree>...) - Method in class com.google.errorprone.VisitorState
Returns the TreePath to the nearest tree node of one of the given types.
findReferencedIdentifiers(Tree) - Static method in class com.google.errorprone.util.FindIdentifiers
Find the set of all identifiers referenced within this Tree
findSuperMethod(Symbol.MethodSymbol, Types) - Static method in class com.google.errorprone.util.ASTHelpers
Finds (if it exists) first (in the class hierarchy) non-interface super method of given method.
findSuperMethodInType(Symbol.MethodSymbol, Type, Types) - Static method in class com.google.errorprone.util.ASTHelpers
 
findSuperMethods(Symbol.MethodSymbol, Types) - Static method in class com.google.errorprone.util.ASTHelpers
 
findUnusedIdentifiers(VisitorState) - Static method in class com.google.errorprone.util.FindIdentifiers
Finds all variable declarations which are unused at this point in the AST (i.e.
finished(TaskEvent) - Method in class com.google.errorprone.ErrorProneAnalyzer
 
finished(TaskEvent) - Method in class com.google.errorprone.refaster.RefasterRuleCompilerAnalyzer
 
first() - Method in class com.google.errorprone.refaster.Choice
Returns the first valid option from this Choice.
Fix - Interface in com.google.errorprone.fixes
Represents a source code transformation, usually used to fix a bug detected by error-prone.
fixes - Variable in class com.google.errorprone.matchers.Description
A list of fixes to suggest in an error message or use in automated refactoring.
fixesByReplacingExpressionWithLocallyDeclaredField(ExpressionTree, Predicate<JCTree.JCVariableDecl>, VisitorState) - Static method in class com.google.errorprone.bugpatterns.ReplacementVariableFinder
Suggest replacing input with a qualified reference to a locally declared field with a similar or the same name as the input expression.
fixesByReplacingExpressionWithMethodParameter(ExpressionTree, Predicate<JCTree.JCVariableDecl>, VisitorState) - Static method in class com.google.errorprone.bugpatterns.ReplacementVariableFinder
Suggest replacing input with a reference to a method parameter in the nearest enclosing method declaration with a similar or the same name as the input expression.
FloatCast - Class in com.google.errorprone.bugpatterns
 
FloatCast() - Constructor for class com.google.errorprone.bugpatterns.FloatCast
 
FloatingPointAssertionWithinEpsilon - Class in com.google.errorprone.bugpatterns
Detects usages of Float,DoubleSubject.isWithin(TOLERANCE).of(EXPECTED) where there are no other floating point values other than EXPECTED with satisfy the assertion, but TOLERANCE is not zero.
FloatingPointAssertionWithinEpsilon() - Constructor for class com.google.errorprone.bugpatterns.FloatingPointAssertionWithinEpsilon
 
FloatingPointLiteralPrecision - Class in com.google.errorprone.bugpatterns
 
FloatingPointLiteralPrecision() - Constructor for class com.google.errorprone.bugpatterns.FloatingPointLiteralPrecision
 
floatLit(float) - Static method in class com.google.errorprone.refaster.ULiteral
 
flush() - Method in class com.google.errorprone.apply.DiscardingFileDestination
 
flush() - Method in interface com.google.errorprone.apply.FileDestination
 
flush() - Method in class com.google.errorprone.apply.FsFileDestination
 
flush() - Method in class com.google.errorprone.apply.PatchFileDestination
 
forClass(TypePredicate) - Method in class com.google.errorprone.matchers.method.ConstructorMatcherImpl
 
forClass(String) - Method in class com.google.errorprone.matchers.method.ConstructorMatcherImpl
 
forClass(Supplier<Type>) - Method in class com.google.errorprone.matchers.method.ConstructorMatcherImpl
 
forClass(TypePredicate) - Method in interface com.google.errorprone.matchers.method.MethodMatchers.ConstructorMatcher
Match on types that satisfy the given predicate.
forClass(String) - Method in interface com.google.errorprone.matchers.method.MethodMatchers.ConstructorMatcher
Match on the given type exactly.
forClass(Supplier<Type>) - Method in interface com.google.errorprone.matchers.method.MethodMatchers.ConstructorMatcher
Match on the given type exactly.
fork() - Method in class com.google.errorprone.refaster.Unifier
Returns a Unifier containing all the bindings from this Unifier, but which can succeed or fail independently of this Unifier.
FormatMethod - Annotation Type in com.google.errorprone.annotations
Annotation for a method that takes a printf-style format string as an argument followed by arguments for that format string.
FormatString - Annotation Type in com.google.errorprone.annotations
Annotation for method parameter declarations which denotes that actual parameters will be used as a format string in printf-style formatting.
FormatString - Class in com.google.errorprone.bugpatterns.formatstring
 
FormatString() - Constructor for class com.google.errorprone.bugpatterns.formatstring.FormatString
 
FormatStringAnnotationChecker - Class in com.google.errorprone.bugpatterns.formatstring
BugChecker to assert validity of methods calls with FormatString annotations.
FormatStringAnnotationChecker() - Constructor for class com.google.errorprone.bugpatterns.formatstring.FormatStringAnnotationChecker
 
FormatStringValidation - Class in com.google.errorprone.bugpatterns.formatstring
Utilities for validating format strings.
FormatStringValidation() - Constructor for class com.google.errorprone.bugpatterns.formatstring.FormatStringValidation
 
FormatStringValidation.ValidationResult - Class in com.google.errorprone.bugpatterns.formatstring
Description of an incorrect format method call.
forNumber(int) - Static method in enum com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.DiffCase
 
ForOverride - Annotation Type in com.google.errorprone.annotations
Indicates that the annotated method is provided only to be overridden: it should not be invoked from outside its declaring source file (as if it is private), and overriding methods should not be directly invoked at all.
ForOverrideChecker - Class in com.google.errorprone.bugpatterns
Verifies that methods marked ForOverride are only called from the defining class.
ForOverrideChecker() - Constructor for class com.google.errorprone.bugpatterns.ForOverrideChecker
 
forResource(Class<?>, String) - Method in class com.google.errorprone.ErrorProneInMemoryFileManager
Loads a resource of the provided class into a JavaFileObject.
forResource(String) - Method in class com.google.errorprone.ErrorProneInMemoryFileManager
Loads a resource of the class passed into the constructor into a JavaFileObject.
forResources(Class<?>, String...) - Method in class com.google.errorprone.ErrorProneInMemoryFileManager
Loads resources of the provided class into JavaFileObjects.
forSourceLines(String, String...) - Method in class com.google.errorprone.ErrorProneInMemoryFileManager
Creates a JavaFileObject with the given name and content.
FRAGILE_CODE - Static variable in class com.google.errorprone.BugPattern.StandardTags
This check detects code that may technically be working within a limited domain, but is fragile, or violates generally-accepted assumptions of behavior.
FragmentInjection - Class in com.google.errorprone.bugpatterns.android
 
FragmentInjection() - Constructor for class com.google.errorprone.bugpatterns.android.FragmentInjection
 
FragmentNotInstantiable - Class in com.google.errorprone.bugpatterns.android
 
FragmentNotInstantiable() - Constructor for class com.google.errorprone.bugpatterns.android.FragmentNotInstantiable
 
FragmentNotInstantiable(Iterable<String>) - Constructor for class com.google.errorprone.bugpatterns.android.FragmentNotInstantiable
 
freeExpressionVariables(MethodTree) - Static method in class com.google.errorprone.refaster.UTemplater
 
from(Tree, VisitorState) - Static method in class com.google.errorprone.bugpatterns.threadsafety.GuardedBySymbolResolver
 
from(Symbol.ClassSymbol, CompilationUnitTree, Context, Tree) - Static method in class com.google.errorprone.bugpatterns.threadsafety.GuardedBySymbolResolver
 
from(Collection<T>) - Static method in class com.google.errorprone.refaster.Choice
 
from(Tree.Kind) - Static method in enum com.google.errorprone.util.OperatorPrecedence
 
fromAnnotations(Collection<String>) - Static method in enum com.google.errorprone.dataflow.nullnesspropagation.Nullness
 
fromAnnotationsOn(Symbol) - Static method in enum com.google.errorprone.dataflow.nullnesspropagation.Nullness
 
fromBugCheckerClasses(Class<? extends BugChecker>...) - Static method in class com.google.errorprone.scanner.ScannerSupplier
Returns a ScannerSupplier with a specific list of BugChecker classes.
fromBugCheckerClasses(Iterable<Class<? extends BugChecker>>) - Static method in class com.google.errorprone.scanner.ScannerSupplier
Returns a ScannerSupplier with a specific list of BugChecker classes.
fromBugCheckerInfos(Iterable<BugCheckerInfo>) - Static method in class com.google.errorprone.scanner.ScannerSupplier
Returns a ScannerSupplier built from a list of BugCheckerInfos.
fromElement(Element) - Static method in class com.google.errorprone.BugPatternInstance
 
fromFieldAccess(FieldAccessNode) - Static method in class com.google.errorprone.dataflow.AccessPath
Creates an AccessPath from field reads / AutoValue accessor we can track and returns null otherwise (for example, when the receiver of the field access contains an array access or non-AutoValue method call.
fromFlags(ErrorProneFlags) - Static method in class com.google.errorprone.bugpatterns.threadsafety.WellKnownMutability
 
fromLocalVariable(LocalVariableNode) - Static method in class com.google.errorprone.dataflow.AccessPath
 
fromMap(Map<String, String>) - Static method in class com.google.errorprone.ErrorProneFlags
 
fromMembers(Set<String>, Multimap<String, ApiDiff.ClassMemberKey>) - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiff
 
fromNodeIfTrackable(Node) - Static method in class com.google.errorprone.dataflow.AccessPath
Returns an AccessPath representing node if node is representable as an access path and null otherwise
fromOptional(Optional<T>) - Static method in class com.google.errorprone.refaster.Choice
Returns a choice of the optional value, if it is present, or the empty choice if it is absent.
fromProto(ApiDiffProto.Diff) - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiff
Converts a ApiDiffProto.Diff to a ApiDiff.
fromScanner(Scanner) - Static method in class com.google.errorprone.scanner.ScannerSupplier
Returns a ScannerSupplier that just returns the Scanner that was passed in.
fromSource(CharSequence, EndPosTable) - Static method in class com.google.errorprone.fixes.AppliedFix
 
fromStrings(Iterable<String>) - Static method in class com.google.errorprone.suppliers.Suppliers
 
fromVariableDecl(VariableDeclarationNode) - Static method in class com.google.errorprone.dataflow.AccessPath
 
FsFileDestination - Class in com.google.errorprone.apply
A FileDestination that writes content to a destination on the local filesystem.
FsFileDestination(Path) - Constructor for class com.google.errorprone.apply.FsFileDestination
 
FsFileSource - Class in com.google.errorprone.apply
A FileSource that reads source files from the local filesystem.
FsFileSource(Path) - Constructor for class com.google.errorprone.apply.FsFileSource
 
FunctionalInterfaceClash - Class in com.google.errorprone.bugpatterns
 
FunctionalInterfaceClash() - Constructor for class com.google.errorprone.bugpatterns.FunctionalInterfaceClash
 
FunctionalInterfaceMethodChanged - Class in com.google.errorprone.bugpatterns
 
FunctionalInterfaceMethodChanged() - Constructor for class com.google.errorprone.bugpatterns.FunctionalInterfaceMethodChanged
 
FutureReturnValueIgnored - Class in com.google.errorprone.bugpatterns
See BugPattern annotation.
FutureReturnValueIgnored() - Constructor for class com.google.errorprone.bugpatterns.FutureReturnValueIgnored
 
FuturesGetCheckedIllegalExceptionType - Class in com.google.errorprone.bugpatterns
Checks for calls to Guava's Futures.getChecked method that will always fail because they pass an incompatible exception type.
FuturesGetCheckedIllegalExceptionType() - Constructor for class com.google.errorprone.bugpatterns.FuturesGetCheckedIllegalExceptionType
 
FuzzyEqualsShouldNotBeUsedInEqualsMethod - Class in com.google.errorprone.bugpatterns
 
FuzzyEqualsShouldNotBeUsedInEqualsMethod() - Constructor for class com.google.errorprone.bugpatterns.FuzzyEqualsShouldNotBeUsedInEqualsMethod
 

G

generateExamplesFromTestCases - Variable in class com.google.errorprone.BugPatternInstance
 
generateNegation() - Method in class com.google.errorprone.refaster.ExpressionTemplate
 
genericTypeOf(Supplier<ExpressionTree>, int) - Static method in class com.google.errorprone.suppliers.Suppliers
Supplies the n'th generic type of the given expression.
genericTypeOfType(Supplier<Type>, int) - Static method in class com.google.errorprone.suppliers.Suppliers
Supplies the n'th generic type of the given expression.
get(String) - Method in class com.google.errorprone.ErrorProneFlags
Gets flag value for the given key as a String, wrapped in an Optional, which is empty if the flag is unset.
get(Context.Key<T>) - Method in class com.google.errorprone.SubContext
 
get(Class<T>) - Method in class com.google.errorprone.SubContext
 
get(VisitorState) - Method in interface com.google.errorprone.suppliers.Supplier
 
getActual(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.AbstractLockMethodChecker
Searches the method body for locks that are acquired/released.
getActual(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.LockMethodChecker
 
getActual(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.UnlockMethodChecker
 
getAllChecks() - Method in class com.google.errorprone.scanner.ScannerSupplier
Returns a map of check name to BugCheckerInfo for all BugCheckerInfos in this ScannerSupplier, including disabled ones.
getAnalysis() - Method in interface com.google.errorprone.dataflow.DataFlow.Result
 
getAnnotation(Tree, Class<T>) - Static method in class com.google.errorprone.util.ASTHelpers
Retrieve an annotation, considering annotation inheritance.
getAnnotation(Symbol, Class<T>) - Static method in class com.google.errorprone.util.ASTHelpers
Retrieve an annotation, considering annotation inheritance.
getAnnotationMirror(AnnotationTree) - Static method in class com.google.errorprone.util.ASTHelpers
Return a mirror of this annotation.
getAnnotationName(AnnotationTree) - Static method in class com.google.errorprone.util.ASTHelpers
 
getAnnotationWithSimpleName(List<? extends AnnotationTree>, String) - Static method in class com.google.errorprone.util.ASTHelpers
Returns an AnnotationTree with the given simple name, or null.
getArgument(AnnotationTree, String) - Static method in class com.google.errorprone.matchers.AnnotationMatcherUtils
Gets the value for an argument, or null if the argument does not exist.
getArguments() - Method in class com.google.errorprone.refaster.UMethodInvocation
 
getArgumentTypeString() - Method in class com.google.errorprone.bugpatterns.EqualsIncompatibleType.TypeStringPair
 
getAsSequence() - Method in class com.google.errorprone.apply.SourceFile
 
getBinding(Bindings.Key<V>) - Method in class com.google.errorprone.refaster.Bindings
 
getBinding(Bindings.Key<V>) - Method in class com.google.errorprone.refaster.Inliner
 
getBinding(Bindings.Key<V>) - Method in class com.google.errorprone.refaster.Unifier
 
getBindings() - Method in class com.google.errorprone.refaster.Unifier
 
getBoolean(String) - Method in class com.google.errorprone.ErrorProneFlags
Gets the flag value for the given key as a Boolean, wrapped in an Optional, which is empty if the flag is unset.
getBugCheckers() - Method in class com.google.errorprone.scanner.ErrorProneScanner
 
getChildNodes(T, VisitorState) - Method in class com.google.errorprone.matchers.AnnotationMatcher
 
getChildNodes(T, VisitorState) - Method in class com.google.errorprone.matchers.ChildMultiMatcher
Returns the set of child nodes to match.
getChildNodes(ClassTree, VisitorState) - Method in class com.google.errorprone.matchers.ConstructorOfClass
 
getChildNodes(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.matchers.HasArguments
 
getChildNodes(MethodTree, VisitorState) - Method in class com.google.errorprone.matchers.MethodHasParameters
 
getClassDiff(int) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiff(int) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiff(int) - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.DiffOrBuilder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiffBuilder(int) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiffBuilderList() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiffCount() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiffCount() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiffCount() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.DiffOrBuilder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiffList() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiffList() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiffList() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.DiffOrBuilder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiffOrBuilder(int) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiffOrBuilder(int) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiffOrBuilder(int) - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.DiffOrBuilder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiffOrBuilderList() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiffOrBuilderList() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassDiffOrBuilderList() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.DiffOrBuilder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassDiff class_diff = 1;
getClassName() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff.Builder
string class_name = 1;
getClassName() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff
string class_name = 1;
getClassName() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiffOrBuilder
string class_name = 1;
getClassName() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
string class_name = 1;
getClassName() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
string class_name = 1;
getClassName() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiffOrBuilder
string class_name = 1;
getClassNameBytes() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff.Builder
string class_name = 1;
getClassNameBytes() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff
string class_name = 1;
getClassNameBytes() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiffOrBuilder
string class_name = 1;
getClassNameBytes() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
string class_name = 1;
getClassNameBytes() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
string class_name = 1;
getClassNameBytes() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiffOrBuilder
string class_name = 1;
GetClassOnAnnotation - Class in com.google.errorprone.bugpatterns
 
GetClassOnAnnotation() - Constructor for class com.google.errorprone.bugpatterns.GetClassOnAnnotation
 
GetClassOnClass - Class in com.google.errorprone.bugpatterns
 
GetClassOnClass() - Constructor for class com.google.errorprone.bugpatterns.GetClassOnClass
 
GetClassOnEnum - Class in com.google.errorprone.bugpatterns
 
GetClassOnEnum() - Constructor for class com.google.errorprone.bugpatterns.GetClassOnEnum
 
getConstructors(ClassTree) - Static method in class com.google.errorprone.util.ASTHelpers
Returns the list of all constructors defined in the class (including generated ones).
getContext() - Method in class com.google.errorprone.refaster.Inliner
 
getContext() - Method in class com.google.errorprone.refaster.Unifier
 
getControlFlowGraph() - Method in interface com.google.errorprone.dataflow.DataFlow.Result
 
getCustomSuppressionAnnotations() - Method in class com.google.errorprone.scanner.ErrorProneScanner
 
getCustomSuppressionAnnotations() - Method in class com.google.errorprone.scanner.Scanner
Returns a set of all the custom suppression annotation types used by the BugCheckers in thisScanner.
getDeclarationAndTypeAttributes(Symbol) - Static method in class com.google.errorprone.util.ASTHelpers
Returns declaration annotations of the given symbol, as well as 'top-level' type annotations, including : Type annotations of the return type of a method.
getDeclarationAndTypeAttributes(Symbol) - Static method in class com.google.errorprone.util.MoreAnnotations
Returns declaration annotations of the given symbol, as well as 'top-level' type annotations, including : Type annotations of the return type of a method.
getDeclaredSymbol(Tree) - Static method in class com.google.errorprone.util.ASTHelpers
Gets the symbol declared by a tree.
getDefaultInstance() - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
 
getDefaultInstance() - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember
 
getDefaultInstance() - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff
 
getDefaultInstance() - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff
 
getDefaultInstance() - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
 
getDefaultInstanceForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
 
getDefaultInstanceForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
 
getDefaultInstanceForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
 
getDefaultInstanceForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember
 
getDefaultInstanceForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
 
getDefaultInstanceForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff
 
getDefaultInstanceForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff.Builder
 
getDefaultInstanceForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff
 
getDefaultInstanceForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
 
getDefaultInstanceForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
 
getDescriptionListener(Log, JCTree.JCCompilationUnit) - Method in interface com.google.errorprone.DescriptionListener.Factory
 
getDescriptor() - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
 
getDescriptor() - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
 
getDescriptor() - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
 
getDescriptor() - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember
 
getDescriptor() - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
 
getDescriptor() - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff
 
getDescriptor() - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff.Builder
 
getDescriptor() - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff
 
getDescriptor() - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto
 
getDescriptor() - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
 
getDescriptor() - Static method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
 
getDescriptorForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
 
getDescriptorForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
 
getDescriptorForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
 
getDescriptorForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff.Builder
 
getDescriptorForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
 
getDiagnostics() - Method in class com.google.errorprone.DiagnosticTestHelper
 
getDiffCase() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
 
getDiffCase() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
 
getDiffCase() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiffOrBuilder
 
getDiffs(FileSource, String[]) - Method in interface com.google.errorprone.apply.DiffSupplier
Gets the list of differences
getEditDistance(String, String) - Static method in class com.google.errorprone.names.LevenshteinEditDistance
Returns the edit distance between two strings.
getEditDistance(String, String, boolean) - Static method in class com.google.errorprone.names.LevenshteinEditDistance
Returns the edit distance between two strings.
getEditDistance(String, String, boolean, int, int, int) - Static method in class com.google.errorprone.names.NeedlemanWunschEditDistance
Returns the edit distance between two strings.
getEnabledChecks() - Method in class com.google.errorprone.scanner.ScannerSupplier
Returns the set of BugCheckerInfos that are enabled in this ScannerSupplier.
getEndPos() - Method in class com.google.errorprone.apply.ImportStatements
Return the end position of the import statements.
getEndPosition(EndPosTable) - Method in class com.google.errorprone.fixes.AdjustedPosition
 
getEndPosition(EndPosTable) - Method in class com.google.errorprone.fixes.IndexedPosition
 
getEndPosition(Tree) - Method in class com.google.errorprone.VisitorState
Returns the end position of the node, or -1 if it is not available.
getEverythingDiff() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
.devtools.staticanalysis.errorprone.apidiff.EverythingDiff everything_diff = 1;
getEverythingDiff() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
.devtools.staticanalysis.errorprone.apidiff.EverythingDiff everything_diff = 1;
getEverythingDiff() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiffOrBuilder
.devtools.staticanalysis.errorprone.apidiff.EverythingDiff everything_diff = 1;
getEverythingDiffBuilder() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
.devtools.staticanalysis.errorprone.apidiff.EverythingDiff everything_diff = 1;
getEverythingDiffOrBuilder() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
.devtools.staticanalysis.errorprone.apidiff.EverythingDiff everything_diff = 1;
getEverythingDiffOrBuilder() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
.devtools.staticanalysis.errorprone.apidiff.EverythingDiff everything_diff = 1;
getEverythingDiffOrBuilder() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiffOrBuilder
.devtools.staticanalysis.errorprone.apidiff.EverythingDiff everything_diff = 1;
getExcludedPattern() - Method in class com.google.errorprone.ErrorProneOptions
 
getExpression() - Method in class com.google.errorprone.refaster.UMemberSelect
 
getExpression() - Method in class com.google.errorprone.refaster.UReturn
 
getExprNullness(ExpressionTree) - Method in class com.google.errorprone.dataflow.nullnesspropagation.inference.InferredNullability
Get inferred nullness qualifier for an expression, if possible.
getFieldInitializerNullness(TreePath, Context) - Method in class com.google.errorprone.dataflow.nullnesspropagation.TrustingNullnessAnalysis
Returns Nullness of the initializer of the VariableTree at the leaf of the given fieldDeclPath.
getFileNameFromUri(URI) - Static method in class com.google.errorprone.util.ASTHelpers
Extract the filename from the URI, with special handling for jar files.
getFixes() - Method in class com.google.errorprone.fixes.BranchedSuggestedFixes
 
getFlags() - Method in class com.google.errorprone.ErrorProneOptions
 
getFlags() - Method in class com.google.errorprone.scanner.ScannerSupplier
 
getFlagsMap() - Method in class com.google.errorprone.ErrorProneFlags
 
getFragmentByChars(int, int) - Method in class com.google.errorprone.apply.SourceFile
Returns a fragment of the source code as a string.
getFragmentByLines(int, int) - Method in class com.google.errorprone.apply.SourceFile
Returns a fragment of the source code between the two stated line numbers.
getGeneratedBy(Symbol.ClassSymbol, VisitorState) - Static method in class com.google.errorprone.util.ASTHelpers
Returns the values of the given symbol's javax.annotation.Generated or javax.annotation.processing.Generated annotation, if present.
getGuardValues(Symbol) - Static method in class com.google.errorprone.bugpatterns.threadsafety.GuardedByUtils
 
getIdentifier() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
string identifier = 1;
getIdentifier() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember
string identifier = 1;
getIdentifier() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMemberOrBuilder
string identifier = 1;
getIdentifier() - Method in class com.google.errorprone.refaster.Bindings.Key
 
getIdentifier() - Method in class com.google.errorprone.refaster.UMemberSelect
 
getIdentifierBytes() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
string identifier = 1;
getIdentifierBytes() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember
string identifier = 1;
getIdentifierBytes() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMemberOrBuilder
string identifier = 1;
getImportOrganizer(String) - Static method in class com.google.errorprone.ImportOrderParser
Parse import order string and create appropriate ImportOrganizer.
getImportsToAdd() - Method in interface com.google.errorprone.fixes.Fix
 
getImportsToAdd() - Method in class com.google.errorprone.fixes.SuggestedFix
 
getImportsToAdd() - Method in class com.google.errorprone.refaster.Inliner
 
getImportsToRemove() - Method in interface com.google.errorprone.fixes.Fix
 
getImportsToRemove() - Method in class com.google.errorprone.fixes.SuggestedFix
 
getInferredNullability(Tree) - Static method in class com.google.errorprone.dataflow.nullnesspropagation.inference.NullnessQualifierInference
 
getInheritedAnnotation(Symbol, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety
Gets the possibly inherited marker annotation on the given symbol, and reverse-propagates containerOf spec's from super-classes.
getInitializer() - Method in class com.google.errorprone.refaster.UVariableDecl
 
getInteger(String) - Method in class com.google.errorprone.ErrorProneFlags
Gets the flag value for the given key as an Integer, wrapped in an Optional, which is empty if the flag is unset.
getKind() - Method in class com.google.errorprone.refaster.UAnyOf
 
getKind() - Method in class com.google.errorprone.refaster.ULiteral
 
getKind() - Method in class com.google.errorprone.refaster.UMemberSelect
 
getKind() - Method in class com.google.errorprone.refaster.UMethodInvocation
 
getKind() - Method in class com.google.errorprone.refaster.UPlaceholderExpression
 
getKind() - Method in class com.google.errorprone.refaster.UReturn
 
getKind() - Method in class com.google.errorprone.refaster.UVariableDecl
 
getKnownImmutableClasses() - Method in class com.google.errorprone.bugpatterns.threadsafety.WellKnownMutability
 
getKnownSafeClasses() - Method in interface com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.KnownTypes
Types that are known to be safe even if they're not annotated with an expected annotation.
getKnownSafeClasses() - Method in class com.google.errorprone.bugpatterns.threadsafety.WellKnownMutability
 
getKnownUnsafeClasses() - Method in interface com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.KnownTypes
Types that are known to be unsafe and don't need testing.
getKnownUnsafeClasses() - Method in class com.google.errorprone.bugpatterns.threadsafety.WellKnownMutability
 
getLineMap() - Method in class com.google.errorprone.util.ErrorProneTokens
 
getLines() - Method in class com.google.errorprone.apply.SourceFile
Returns a copy of code as a list of lines.
getLink() - Method in class com.google.errorprone.matchers.Description
Returns a link associated with this finding or null if there is no link.
getList(String) - Method in class com.google.errorprone.ErrorProneFlags
Gets the flag value for the given key as a comma-separated ImmutableList of Strings, wrapped in an Optional, which is empty if the flag is unset.
getLocation() - Method in class com.google.errorprone.refaster.TemplateMatch
 
getLockExpressions(MethodTree) - Method in class com.google.errorprone.bugpatterns.threadsafety.AbstractLockMethodChecker
Returns the lock expressions in the @LockMethod/@UnlockMethod annotation, if any.
getLockExpressions(MethodTree) - Method in class com.google.errorprone.bugpatterns.threadsafety.LockMethodChecker
 
getLockExpressions(MethodTree) - Method in class com.google.errorprone.bugpatterns.threadsafety.UnlockMethodChecker
 
getLowerBound() - Method in class com.google.errorprone.refaster.UTypeVar
 
getMarkerOrAcceptedAnnotation(Symbol, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety
Gets the Symbol's annotation info, either from a marker annotation on the symbol, from an accepted annotation on the symbol, or from the list of well-known types.
getMember(int) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
getMember(int) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
getMember(int) - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiffOrBuilder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
getMemberBuilder(int) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
getMemberBuilderList() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
getMemberCount() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
getMemberCount() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
getMemberCount() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiffOrBuilder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
getMemberDescriptor() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
a JVMS 4.3 member descriptor
getMemberDescriptor() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember
a JVMS 4.3 member descriptor
getMemberDescriptor() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMemberOrBuilder
a JVMS 4.3 member descriptor
getMemberDescriptorBytes() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
a JVMS 4.3 member descriptor
getMemberDescriptorBytes() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember
a JVMS 4.3 member descriptor
getMemberDescriptorBytes() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMemberOrBuilder
a JVMS 4.3 member descriptor
getMemberDiff() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
.devtools.staticanalysis.errorprone.apidiff.MemberDiff member_diff = 2;
getMemberDiff() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
.devtools.staticanalysis.errorprone.apidiff.MemberDiff member_diff = 2;
getMemberDiff() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiffOrBuilder
.devtools.staticanalysis.errorprone.apidiff.MemberDiff member_diff = 2;
getMemberDiffBuilder() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
.devtools.staticanalysis.errorprone.apidiff.MemberDiff member_diff = 2;
getMemberDiffOrBuilder() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
.devtools.staticanalysis.errorprone.apidiff.MemberDiff member_diff = 2;
getMemberDiffOrBuilder() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
.devtools.staticanalysis.errorprone.apidiff.MemberDiff member_diff = 2;
getMemberDiffOrBuilder() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiffOrBuilder
.devtools.staticanalysis.errorprone.apidiff.MemberDiff member_diff = 2;
getMemberList() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
getMemberList() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
getMemberList() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiffOrBuilder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
getMemberOrBuilder(int) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
getMemberOrBuilder(int) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
getMemberOrBuilder(int) - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiffOrBuilder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
getMemberOrBuilderList() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
getMemberOrBuilderList() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
getMemberOrBuilderList() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiffOrBuilder
repeated .devtools.staticanalysis.errorprone.apidiff.ClassMember member = 2;
getMessage() - Method in class com.google.errorprone.matchers.Description
Returns the message to be printed by the compiler when a match is found in interactive use.
getMessageWithoutCheckName() - Method in class com.google.errorprone.matchers.Description
Returns the message, not including the check name but including the link.
getMethodSelect() - Method in class com.google.errorprone.refaster.UMethodInvocation
 
getModifiers() - Method in class com.google.errorprone.refaster.LocalVarBinding
 
getModifiers() - Method in class com.google.errorprone.refaster.UVariableDecl
 
getModifiers(Tree) - Static method in class com.google.errorprone.util.ASTHelpers
Returns the modifiers tree of the given class, method, or variable declaration.
getName() - Method in class com.google.errorprone.ErrorProneJavacPlugin
 
getName() - Method in class com.google.errorprone.refaster.LocalVarBinding
 
getName() - Method in class com.google.errorprone.refaster.RefasterRuleCompiler
 
getName() - Method in class com.google.errorprone.refaster.UFreeIdent
 
getName() - Method in class com.google.errorprone.refaster.UStaticIdent
 
getName() - Method in class com.google.errorprone.refaster.UTypeVar
 
getName() - Method in class com.google.errorprone.refaster.UVariableDecl
 
getName(String) - Method in class com.google.errorprone.VisitorState
 
getNameExpression() - Method in class com.google.errorprone.refaster.UVariableDecl
 
getNewCodeSnippet() - Method in class com.google.errorprone.fixes.AppliedFix
 
getNormalizedEditDistance(String, String, boolean) - Static method in class com.google.errorprone.names.LevenshteinEditDistance
Returns a normalized edit distance between 0 and 1.
getNormalizedEditDistance(String, String, boolean, int, int, int) - Static method in class com.google.errorprone.names.NeedlemanWunschEditDistance
Returns a normalized edit distance between 0 and 1.
getNormalizedEditDistance(String, String) - Method in class com.google.errorprone.names.TermEditDistance
 
getNullness(TreePath, Context) - Method in class com.google.errorprone.dataflow.nullnesspropagation.NullnessAnalysis
Returns the Nullness of the leaf of exprPath.
getNullness(TreePath, Context) - Method in class com.google.errorprone.dataflow.nullnesspropagation.TrustingNullnessAnalysis
Returns the Nullness of the leaf of exprPath.
getNullnessAnalysis() - Method in class com.google.errorprone.VisitorState
 
getNullnessGenerics(MethodInvocationTree) - Method in class com.google.errorprone.dataflow.nullnesspropagation.inference.InferredNullability
Get inferred nullness qualifiers for method-generic type variables at a callsite.
getNullnessValue(ExpressionTree, VisitorState, NullnessAnalysis) - Static method in class com.google.errorprone.util.ASTHelpers
Returns the Nullness for an expression as determined by the nullness dataflow analysis.
getNumber() - Method in enum com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.DiffCase
 
getOptionalBinding(Bindings.Key<V>) - Method in class com.google.errorprone.refaster.Inliner
 
getParameterTypes() - Method in class com.google.errorprone.refaster.UMethodType
 
getParserForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
 
getParserForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember
 
getParserForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff
 
getParserForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff
 
getParserForType() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
 
getPath() - Method in class com.google.errorprone.apply.SourceFile
Returns the path for this source file
getPath() - Method in class com.google.errorprone.VisitorState
 
getPreferredPosition() - Method in class com.google.errorprone.fixes.AdjustedPosition
 
getPreferredPosition() - Method in class com.google.errorprone.fixes.IndexedPosition
 
getPrettyName(Symbol) - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety
Gets a human-friendly name for the given Symbol to use in diagnostics.
getQuantifiedType() - Method in class com.google.errorprone.refaster.UForAll
 
getRange(JCTree.JCCompilationUnit) - Method in class com.google.errorprone.refaster.TemplateMatch
 
getRawMessage() - Method in class com.google.errorprone.matchers.Description
Returns the raw message, not including a link or check name.
getReceiver(ExpressionTree) - Static method in class com.google.errorprone.util.ASTHelpers
Returns the receiver of an expression.
getReceiverType(ExpressionTree) - Static method in class com.google.errorprone.util.ASTHelpers
Returns the type of a receiver of a method call expression.
getReceiverTypeString() - Method in class com.google.errorprone.bugpatterns.EqualsIncompatibleType.TypeStringPair
 
getRelevantFileName() - Method in class com.google.errorprone.apply.DescriptionBasedDiff
 
getRelevantFileName() - Method in interface com.google.errorprone.apply.Diff
Gets the name of the file this difference applies to
getRemainingArgs() - Method in class com.google.errorprone.ErrorProneOptions
 
getReplacements(EndPosTable) - Method in interface com.google.errorprone.fixes.Fix
 
getReplacements(EndPosTable) - Method in class com.google.errorprone.fixes.SuggestedFix
 
getResultType(ExpressionTree) - Static method in class com.google.errorprone.util.ASTHelpers
Returns the type that this expression tree will evaluate to.
getReturnType() - Method in class com.google.errorprone.refaster.UMethodType
 
getReturnType(ExpressionTree) - Static method in class com.google.errorprone.util.ASTHelpers
Gives the return type of an ExpressionTree that represents a method select.
getRootAssignable(MethodInvocationTree) - Static method in class com.google.errorprone.util.ASTHelpers
Find the root assignable expression of a chain of field accesses.
getSerializedSize() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
 
getSerializedSize() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember
 
getSerializedSize() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff
 
getSerializedSize() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff
 
getSerializedSize() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
 
getSeverityMap() - Method in class com.google.errorprone.ErrorProneOptions
 
getShortDescription() - Method in interface com.google.errorprone.fixes.Fix
A short description which can be attached to the Fix to differentiate multiple fixes provided to the user.
getShortDescription() - Method in class com.google.errorprone.fixes.SuggestedFix
 
getSourceCode() - Method in class com.google.errorprone.VisitorState
Gets the current source file.
getSourceForNode(Tree) - Method in class com.google.errorprone.VisitorState
Gets the original source code that represents the given node.
getSourceText() - Method in class com.google.errorprone.apply.SourceFile
Returns a copy of the code as a string.
getSourceVersions() - Method in class com.google.errorprone.BaseErrorProneJavaCompiler
 
getStandardFileManager(DiagnosticListener<? super JavaFileObject>, Locale, Charset) - Method in class com.google.errorprone.BaseErrorProneJavaCompiler
 
getStartPos() - Method in class com.google.errorprone.apply.ImportStatements
Return the start position of the import statements.
getStartPosition() - Method in class com.google.errorprone.fixes.AdjustedPosition
 
getStartPosition() - Method in class com.google.errorprone.fixes.IndexedPosition
 
getStaticImportsToAdd() - Method in class com.google.errorprone.refaster.Inliner
 
getSubst(Type, List<Type>, List<Type>) - Static method in class com.google.errorprone.bugpatterns.FutureReturnValueIgnored
 
getSuppliers(Class<? extends BugChecker>...) - Static method in class com.google.errorprone.scanner.BuiltInCheckerSuppliers
 
getSuppliers(Iterable<Class<? extends BugChecker>>) - Static method in class com.google.errorprone.scanner.BuiltInCheckerSuppliers
 
getSupportedSourceVersion() - Method in class com.google.errorprone.DocGenProcessor
 
getSupportedSourceVersion() - Method in class com.google.errorprone.refaster.annotation.RequiredAnnotationProcessor
 
getSymbol() - Method in class com.google.errorprone.refaster.LocalVarBinding
 
getSymbol(Tree) - Static method in class com.google.errorprone.util.ASTHelpers
Gets the symbol for a tree.
getSymbol(ClassTree) - Static method in class com.google.errorprone.util.ASTHelpers
Gets the symbol for a class.
getSymbol(PackageTree) - Static method in class com.google.errorprone.util.ASTHelpers
Gets the symbol for a package.
getSymbol(MethodTree) - Static method in class com.google.errorprone.util.ASTHelpers
Gets the symbol for a method.
getSymbol(NewClassTree) - Static method in class com.google.errorprone.util.ASTHelpers
Gets the method symbol for a new class.
getSymbol(VariableTree) - Static method in class com.google.errorprone.util.ASTHelpers
Gets the symbol for a variable.
getSymbol(MethodInvocationTree) - Static method in class com.google.errorprone.util.ASTHelpers
Gets the symbol for a method invocation.
getSymbol(MemberReferenceTree) - Static method in class com.google.errorprone.util.ASTHelpers
Gets the symbol for a member reference.
getSymbolFromString(String) - Method in class com.google.errorprone.VisitorState
 
getSymbolFromString(Symbol.ModuleSymbol, Name) - Method in class com.google.errorprone.VisitorState
 
getSymtab() - Method in class com.google.errorprone.VisitorState
 
getTags() - Method in class com.google.errorprone.BugCheckerInfo
 
getTask(Writer, JavaFileManager, DiagnosticListener<? super JavaFileObject>, Iterable<String>, Iterable<String>, Iterable<? extends JavaFileObject>) - Method in class com.google.errorprone.BaseErrorProneJavaCompiler
 
getTextFromComment(Tokens.Comment) - Static method in class com.google.errorprone.util.Comments
Extract the text body from a comment.
getTokens() - Method in class com.google.errorprone.util.ErrorProneTokens
 
getTokens(String, Context) - Static method in class com.google.errorprone.util.ErrorProneTokens
Returns the tokens for the given source text, including comments.
getTokensForNode(Tree) - Method in class com.google.errorprone.VisitorState
Returns the list of Tokens.Tokens for the given JCTree.
getTree() - Method in class com.google.errorprone.fixes.AdjustedPosition
 
getTree() - Method in class com.google.errorprone.fixes.IndexedPosition
 
getTreeMaker() - Method in class com.google.errorprone.VisitorState
 
getType() - Method in class com.google.errorprone.apply.ImportOrganizer.Import
Return the type to import.
getType() - Method in class com.google.errorprone.refaster.UVariableDecl
 
getType(Tree) - Static method in class com.google.errorprone.util.ASTHelpers
Returns the Type of the given tree, or null if the type could not be determined.
getType(ClassTree) - Static method in class com.google.errorprone.util.ASTHelpers
Returns the ClassType for the given type ClassTree or null if the type could not be determined.
getType(Type, boolean, List<Type>) - Method in class com.google.errorprone.VisitorState
Build an instance of a Type.
getTypeArguments() - Method in class com.google.errorprone.refaster.UMethodInvocation
 
getTypeFromString(String) - Method in class com.google.errorprone.VisitorState
Given the binary name of a class, returns the Type.
getTypes() - Method in class com.google.errorprone.VisitorState
 
getTypeVars() - Method in class com.google.errorprone.refaster.UForAll
 
getUnifier() - Method in class com.google.errorprone.refaster.TemplateMatch
 
getUnknownFields() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
 
getUnknownFields() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember
 
getUnknownFields() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff
 
getUnknownFields() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff
 
getUnknownFields() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
 
getUnusedLookupKeys() - Method in class com.google.errorprone.DiagnosticTestHelper
Returns the lookup keys that weren't used.
getUnwanted(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.AbstractLockMethodChecker
Searches the method body for the incorrect lock operation (e.g.
getUnwanted(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.LockMethodChecker
 
getUnwanted(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.UnlockMethodChecker
 
getUpperBound() - Method in class com.google.errorprone.refaster.UTypeVar
 
getUpperBound(Type, Types) - Static method in class com.google.errorprone.util.ASTHelpers
Returns the upper bound of a type if it has one, or the type itself if not.
getValue() - Method in class com.google.errorprone.refaster.ULiteral
 
getWorstCaseEditDistance(int, int) - Static method in class com.google.errorprone.names.LevenshteinEditDistance
Calculate the worst case distance between two strings with the given lengths
getWorstCaseEditDistance(int, int, int, int, int) - Static method in class com.google.errorprone.names.NeedlemanWunschEditDistance
Return the worst case edit distance between strings of this length
greatestLowerBound(Nullness) - Method in enum com.google.errorprone.dataflow.nullnesspropagation.Nullness
 
GuardedBy - Annotation Type in com.google.errorprone.annotations.concurrent
Indicates that the annotated element should be used only while holding the specified lock.
GuardedByBinder - Class in com.google.errorprone.bugpatterns.threadsafety
A binder from @GuardedBy annotations to GuardedByExpressions.
GuardedByBinder() - Constructor for class com.google.errorprone.bugpatterns.threadsafety.GuardedByBinder
 
GuardedByBinder.Resolver - Interface in com.google.errorprone.bugpatterns.threadsafety
A context containing the information necessary to resolve a Symbol from an AST node.
GuardedByChecker - Class in com.google.errorprone.bugpatterns.threadsafety
 
GuardedByChecker() - Constructor for class com.google.errorprone.bugpatterns.threadsafety.GuardedByChecker
 
GuardedByExpression - Class in com.google.errorprone.bugpatterns.threadsafety
The lock expression of an @GuardedBy annotation.
GuardedByExpression() - Constructor for class com.google.errorprone.bugpatterns.threadsafety.GuardedByExpression
 
GuardedByExpression.ClassLiteral - Class in com.google.errorprone.bugpatterns.threadsafety
A 'class' literal: ClassName.class
GuardedByExpression.Erroneous - Class in com.google.errorprone.bugpatterns.threadsafety
A guarded by expression that could not be resolved.
GuardedByExpression.Factory - Class in com.google.errorprone.bugpatterns.threadsafety
GuardedByExpression.Kind - Enum in com.google.errorprone.bugpatterns.threadsafety
GuardedByExpression.LocalVariable - Class in com.google.errorprone.bugpatterns.threadsafety
A local variable (or parameter), resolved as part of a lock access expression.
GuardedByExpression.Select - Class in com.google.errorprone.bugpatterns.threadsafety
The member access expression for a field or method.
GuardedByExpression.ThisLiteral - Class in com.google.errorprone.bugpatterns.threadsafety
A simple 'this literal.
GuardedByExpression.TypeLiteral - Class in com.google.errorprone.bugpatterns.threadsafety
The base expression for a static member select on a class literal (e.g.
GuardedBySymbolResolver - Class in com.google.errorprone.bugpatterns.threadsafety
A symbol resolver used while binding guardedby expressions from string literals.
GuardedByUtils - Class in com.google.errorprone.bugpatterns.threadsafety
 
GuardedByUtils() - Constructor for class com.google.errorprone.bugpatterns.threadsafety.GuardedByUtils
 
guardString() - Method in class com.google.errorprone.bugpatterns.threadsafety.GuardedByExpression.Erroneous
 
GUICE_BINDING_ANNOTATION - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
GUICE_INJECT_ANNOTATION - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
GUICE_PROVIDES_ANNOTATION - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
GUICE_SCOPE_ANNOTATION - Static variable in class com.google.errorprone.matchers.InjectMatchers
 

H

handleError(Suppressible, Throwable) - Method in class com.google.errorprone.scanner.ErrorProneScanner
Handles an exception thrown by an individual BugPattern.
handleError(Suppressible, Throwable) - Method in class com.google.errorprone.scanner.Scanner
Handles an exception thrown by an individual check.
handleFix(Fix) - Method in class com.google.errorprone.apply.DescriptionBasedDiff
 
handleGuardedAccess(ExpressionTree, GuardedByExpression, HeldLockSet) - Method in interface com.google.errorprone.bugpatterns.threadsafety.HeldLockAnalyzer.LockEventListener
Handles a guarded member access.
handleMatch(MethodTree, VisitorState, List<Tree>, List<StatementTree>, StatementTree) - Method in class com.google.errorprone.bugpatterns.AbstractExpectedExceptionChecker
Handle a method that contains a use of ExpectedException.
handleMatch(MethodTree, VisitorState, List<Tree>, List<StatementTree>, StatementTree) - Method in class com.google.errorprone.bugpatterns.ExpectedExceptionChecker
 
handleMatch(MethodTree, VisitorState, List<Tree>, List<StatementTree>, StatementTree) - Method in class com.google.errorprone.bugpatterns.ExpectedExceptionRefactoring
 
handleStatements(MethodTree, VisitorState, JCTree.JCExpression, SuggestedFix) - Method in class com.google.errorprone.bugpatterns.AbstractTestExceptionChecker
Handle a method annotated with @Test(expected=....
handleStatements(MethodTree, VisitorState, JCTree.JCExpression, SuggestedFix) - Method in class com.google.errorprone.bugpatterns.TestExceptionChecker
 
handleStatements(MethodTree, VisitorState, JCTree.JCExpression, SuggestedFix) - Method in class com.google.errorprone.bugpatterns.TestExceptionRefactoring
 
HardCodedSdCardPath - Class in com.google.errorprone.bugpatterns.android
TODO(avenet): Restrict this check to Android code once the capability is available in Error Prone.
HardCodedSdCardPath() - Constructor for class com.google.errorprone.bugpatterns.android.HardCodedSdCardPath
 
HAS_INJECT_ANNOTATION - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
HAS_MUST_BE_CLOSED_ANNOTATION - Static variable in class com.google.errorprone.bugpatterns.AbstractMustBeClosedChecker
 
hasAnnotation(String) - Static method in class com.google.errorprone.matchers.Matchers
Determines whether an expression has an annotation of the given type.
hasAnnotation(TypeMirror) - Static method in class com.google.errorprone.matchers.Matchers
Determines if an expression has an annotation referred to by the given mirror.
hasAnnotation(Class<? extends Annotation>) - Static method in class com.google.errorprone.matchers.Matchers
Determines whether an expression has an annotation of the given class.
hasAnnotation(Symbol, String, VisitorState) - Static method in class com.google.errorprone.util.ASTHelpers
Determines whether a symbol has an annotation of the given type.
hasAnnotation(Symbol, Class<? extends Annotation>, VisitorState) - Static method in class com.google.errorprone.util.ASTHelpers
Check for the presence of an annotation, considering annotation inheritance.
hasAnnotation(Tree, String, VisitorState) - Static method in class com.google.errorprone.util.ASTHelpers
Check for the presence of an annotation, considering annotation inheritance.
hasAnnotation(Tree, Class<? extends Annotation>, VisitorState) - Static method in class com.google.errorprone.util.ASTHelpers
Check for the presence of an annotation, considering annotation inheritance.
hasAnnotationOnAnyOverriddenMethod(String) - Static method in class com.google.errorprone.matchers.Matchers
Matches if a method or any method it overrides has an annotation of the given type.
hasAnnotationWithSimpleName(String) - Static method in class com.google.errorprone.matchers.Matchers
Determines whether an expression has an annotation with the given simple name.
hasAnyAnnotation(Class<? extends Annotation>...) - Static method in class com.google.errorprone.matchers.Matchers
 
hasAnyAnnotation(List<? extends TypeMirror>) - Static method in class com.google.errorprone.matchers.Matchers
 
HasArguments - Class in com.google.errorprone.matchers
Matches if the given matcher matches all of/any of the parameters to this method.
HasArguments(ChildMultiMatcher.MatchType, Matcher<ExpressionTree>) - Constructor for class com.google.errorprone.matchers.HasArguments
 
hasArguments(ChildMultiMatcher.MatchType, Matcher<ExpressionTree>) - Static method in class com.google.errorprone.matchers.Matchers
Matches if the given matcher matches all of/any of the arguments to this method invocation.
hasArgumentWithValue(String, Matcher<ExpressionTree>) - Static method in class com.google.errorprone.matchers.Matchers
Matches an Annotation AST node if the argument to the annotation with the given name has a value which matches the given matcher.
hasCompileTimeConstantAnnotation(VisitorState, Symbol) - Static method in class com.google.errorprone.matchers.CompileTimeConstantExpressionMatcher
 
hasDirectAnnotationWithSimpleName(Symbol, String) - Static method in class com.google.errorprone.util.ASTHelpers
Check for the presence of an annotation with a specific simple name directly on this symbol.
hasDirectAnnotationWithSimpleName(Tree, String) - Static method in class com.google.errorprone.util.ASTHelpers
Check for the presence of an annotation with a specific simple name directly on this symbol.
hasEverythingDiff() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
.devtools.staticanalysis.errorprone.apidiff.EverythingDiff everything_diff = 1;
hasEverythingDiff() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
.devtools.staticanalysis.errorprone.apidiff.EverythingDiff everything_diff = 1;
hasEverythingDiff() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiffOrBuilder
.devtools.staticanalysis.errorprone.apidiff.EverythingDiff everything_diff = 1;
hashCode() - Method in class com.google.errorprone.BugCheckerInfo
 
hashCode() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
 
hashCode() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember
 
hashCode() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff
 
hashCode() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff
 
hashCode() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
 
hashCode() - Method in class com.google.errorprone.bugpatterns.BugChecker
 
hashCode() - Method in class com.google.errorprone.dataflow.LocalStore
 
hashCode() - Method in class com.google.errorprone.refaster.Bindings.Key
 
hashCode() - Method in class com.google.errorprone.refaster.UTypeVar
 
hashCodeMethodDeclaration() - Static method in class com.google.errorprone.matchers.Matchers
Matches hashCode method declaration.
HashtableContains - Class in com.google.errorprone.bugpatterns
 
HashtableContains() - Constructor for class com.google.errorprone.bugpatterns.HashtableContains
 
HasIdentifier - Class in com.google.errorprone.matchers
Matches if the given matcher matches all of the identifiers under this syntax tree.
HasIdentifier(Matcher<IdentifierTree>) - Constructor for class com.google.errorprone.matchers.HasIdentifier
 
hasIdentifier(Matcher<IdentifierTree>) - Static method in class com.google.errorprone.matchers.Matchers
Matches any AST that contains an identifier with a certain property.
hasInjectAnnotation() - Static method in class com.google.errorprone.matchers.InjectMatchers
 
hasJUnit4AfterAnnotations - Static variable in class com.google.errorprone.matchers.JUnitMatchers
 
hasJUnit4BeforeAnnotations - Static variable in class com.google.errorprone.matchers.JUnitMatchers
 
hasJUnit4TestCases - Static variable in class com.google.errorprone.matchers.JUnitMatchers
Match a class which has one or more methods with a JUnit 4 @Test annotation.
hasJUnit4TestRunner - Static variable in class com.google.errorprone.matchers.JUnitMatchers
 
hasJUnitAnnotation - Static variable in class com.google.errorprone.matchers.JUnitMatchers
 
hasMemberDiff() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
.devtools.staticanalysis.errorprone.apidiff.MemberDiff member_diff = 2;
hasMemberDiff() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
.devtools.staticanalysis.errorprone.apidiff.MemberDiff member_diff = 2;
hasMemberDiff() - Method in interface com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiffOrBuilder
.devtools.staticanalysis.errorprone.apidiff.MemberDiff member_diff = 2;
hasMethod(Matcher<MethodTree>) - Static method in class com.google.errorprone.matchers.Matchers
Matches a class in which at least one method matches the given methodMatcher.
hasModifier(Modifier) - Static method in class com.google.errorprone.matchers.Matchers
Returns true if the Tree node has the expected Modifier.
hasNonJUnit4AfterAnnotation - Static variable in class com.google.errorprone.matchers.JUnitMatchers
 
hasNonJUnit4BeforeAnnotation - Static variable in class com.google.errorprone.matchers.JUnitMatchers
 
hasNullableAnnotation(Symbol) - Static method in class com.google.errorprone.dataflow.nullnesspropagation.TrustingNullnessAnalysis
 
hasProvidesAnnotation() - Static method in class com.google.errorprone.matchers.InjectMatchers
 
hasSideEffect(ExpressionTree) - Static method in class com.google.errorprone.util.SideEffectAnalysis
 
hasSourceRetention(Element) - Static method in class com.google.errorprone.bugpatterns.inject.ElementPredicates
 
hasThreadSafeTypeParameterAnnotation(Symbol.TypeVariableSymbol) - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety
Returns true if the given type parameter's declaration is annotated with ThreadSafety.typeParameterAnnotation indicated it will only ever be instantiated with thread-safe types.
heap() - Method in class com.google.errorprone.dataflow.AccessPathStore
 
HeldLockAnalyzer - Class in com.google.errorprone.bugpatterns.threadsafety
A method body analyzer.
HeldLockAnalyzer() - Constructor for class com.google.errorprone.bugpatterns.threadsafety.HeldLockAnalyzer
 
HeldLockAnalyzer.LockEventListener - Interface in com.google.errorprone.bugpatterns.threadsafety
Listener interface for accesses to guarded members.
HidingField - Class in com.google.errorprone.bugpatterns
 
HidingField() - Constructor for class com.google.errorprone.bugpatterns.HidingField
 

I

identifier() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiff.ClassMemberKey
The simple name of the member.
IDENTIFIER_FIELD_NUMBER - Static variable in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember
 
IdentityBinaryExpression - Class in com.google.errorprone.bugpatterns
 
IdentityBinaryExpression() - Constructor for class com.google.errorprone.bugpatterns.IdentityBinaryExpression
 
identitySupplier(T) - Static method in class com.google.errorprone.suppliers.Suppliers
Supplies what was given.
ignoreJavacErrors() - Method in class com.google.errorprone.CompilationTestHelper
By default, the compilation helper will not run Error Prone on compilations that fail with javac errors.
ignoreParens(Matcher<ExpressionTree>) - Static method in class com.google.errorprone.matchers.Matchers
Ignores any number of parenthesis wrapping an expression and then applies the passed matcher to that expression.
ignoreUnknownChecks() - Method in class com.google.errorprone.ErrorProneOptions
 
ILLEGAL - Static variable in class com.google.errorprone.bugpatterns.ImmutableModification
 
IllegalGuardedBy - Exception in com.google.errorprone.bugpatterns.threadsafety
An error that occurred during the parsing or binding of a GuardedBy expression.
IllegalGuardedBy(String) - Constructor for exception com.google.errorprone.bugpatterns.threadsafety.IllegalGuardedBy
 
Immutable - Annotation Type in com.google.errorprone.annotations
The class to which this annotation is applied is immutable.
ImmutableAnalysis - Class in com.google.errorprone.bugpatterns.threadsafety
Analyzes types for deep immutability.
ImmutableAnalysis(BugChecker, VisitorState, WellKnownMutability) - Constructor for class com.google.errorprone.bugpatterns.threadsafety.ImmutableAnalysis
 
ImmutableAnalysis.ViolationReporter - Interface in com.google.errorprone.bugpatterns.threadsafety
Accepts violations that are found during the analysis.
ImmutableAnnotationChecker - Class in com.google.errorprone.bugpatterns.threadsafety
 
ImmutableAnnotationChecker() - Constructor for class com.google.errorprone.bugpatterns.threadsafety.ImmutableAnnotationChecker
Deprecated.
ImmutableAnnotationChecker(ErrorProneFlags) - Constructor for class com.google.errorprone.bugpatterns.threadsafety.ImmutableAnnotationChecker
 
ImmutableChecker - Class in com.google.errorprone.bugpatterns.threadsafety
 
ImmutableChecker() - Constructor for class com.google.errorprone.bugpatterns.threadsafety.ImmutableChecker
Deprecated.
ImmutableChecker(ErrorProneFlags) - Constructor for class com.google.errorprone.bugpatterns.threadsafety.ImmutableChecker
 
ImmutableCollections - Class in com.google.errorprone.bugpatterns
Common utility functions for immutable collections.
ImmutableEnumChecker - Class in com.google.errorprone.bugpatterns.threadsafety
 
ImmutableEnumChecker() - Constructor for class com.google.errorprone.bugpatterns.threadsafety.ImmutableEnumChecker
Deprecated.
ImmutableEnumChecker(ErrorProneFlags) - Constructor for class com.google.errorprone.bugpatterns.threadsafety.ImmutableEnumChecker
 
ImmutableModification - Class in com.google.errorprone.bugpatterns
 
ImmutableModification() - Constructor for class com.google.errorprone.bugpatterns.ImmutableModification
 
ImmutableRefactoring - Class in com.google.errorprone.bugpatterns.threadsafety
 
ImmutableRefactoring() - Constructor for class com.google.errorprone.bugpatterns.threadsafety.ImmutableRefactoring
 
ImmutableTypeParameter - Annotation Type in com.google.errorprone.annotations
The type parameter to which this annotation is applied should only be instantiated with immutable types.
implementsEquals(Type, VisitorState) - Static method in class com.google.errorprone.bugpatterns.ReferenceEquality
Check if the method declares or inherits an implementation of .equals()
implicitToStringFix(ExpressionTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractToString
Constructs a fix for an implicit toString call, e.g.
implicitToStringFix(ExpressionTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ArrayToString
 
implicitToStringFix(ExpressionTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ObjectToString
 
implicitToStringFix(ExpressionTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.StreamToString
 
Import() - Constructor for class com.google.errorprone.apply.ImportOrganizer.Import
 
importedName() - Method in class com.google.errorprone.bugpatterns.StaticImports.StaticImportInfo
 
ImportOrderParser - Class in com.google.errorprone
Parse import order strings.
ImportOrderParser() - Constructor for class com.google.errorprone.ImportOrderParser
 
ImportOrganizer - Interface in com.google.errorprone.apply
Organizes import statements when patching files.
ImportOrganizer.Import - Class in com.google.errorprone.apply
Represents an import.
ImportOrganizer.OrganizedImports - Class in com.google.errorprone.apply
Provides support for building a list of imports from groups and formatting it as a block of imports.
ImportPolicy - Enum in com.google.errorprone.refaster
Policy specifying when and how to import classes when inlining types.
importPolicy() - Method in class com.google.errorprone.refaster.Inliner
 
importsHaveChanged() - Method in class com.google.errorprone.apply.ImportStatements
 
importStatement() - Method in class com.google.errorprone.bugpatterns.StaticImports.StaticImportInfo
Builds the canonical import statement for the type.
ImportStatements - Class in com.google.errorprone.apply
Represents a list of import statements.
IncompatibleArgumentType - Class in com.google.errorprone.bugpatterns.collectionincompatibletype
 
IncompatibleArgumentType() - Constructor for class com.google.errorprone.bugpatterns.collectionincompatibletype.IncompatibleArgumentType
 
IncompatibleModifiers - Annotation Type in com.google.errorprone.annotations
Annotation declaring that the target annotation is incompatible with any one of the provided modifiers.
IncompatibleModifiersChecker - Class in com.google.errorprone.bugpatterns
 
IncompatibleModifiersChecker() - Constructor for class com.google.errorprone.bugpatterns.IncompatibleModifiersChecker
 
InconsistentCapitalization - Class in com.google.errorprone.bugpatterns
Checker for variables under the same scope that only differ in capitalization.
InconsistentCapitalization() - Constructor for class com.google.errorprone.bugpatterns.InconsistentCapitalization
 
InconsistentHashCode - Class in com.google.errorprone.bugpatterns
Looks for hashCode implementations which are inconsistent with equals.
InconsistentHashCode() - Constructor for class com.google.errorprone.bugpatterns.InconsistentHashCode
 
InconsistentOverloads - Class in com.google.errorprone.bugpatterns.overloading
A BugChecker that detects inconsistently overloaded methods in Java classes.
InconsistentOverloads() - Constructor for class com.google.errorprone.bugpatterns.overloading.InconsistentOverloads
 
IncrementInForLoopAndHeader - Class in com.google.errorprone.bugpatterns
 
IncrementInForLoopAndHeader() - Constructor for class com.google.errorprone.bugpatterns.IncrementInForLoopAndHeader
 
IndexedPosition - Class in com.google.errorprone.fixes
Describes a position that only has a start and end index.
IndexedPosition(int, int) - Constructor for class com.google.errorprone.fixes.IndexedPosition
 
IndexOfChar - Class in com.google.errorprone.bugpatterns
 
IndexOfChar() - Constructor for class com.google.errorprone.bugpatterns.IndexOfChar
 
InexactVarargsConditional - Class in com.google.errorprone.bugpatterns
 
InexactVarargsConditional() - Constructor for class com.google.errorprone.bugpatterns.InexactVarargsConditional
 
infer() - Method in class com.google.errorprone.refaster.Inliner
 
InferredNullability - Class in com.google.errorprone.dataflow.nullnesspropagation.inference
Results of running NullnessQualifierInference over a method.
InfiniteRecursion - Class in com.google.errorprone.bugpatterns
 
InfiniteRecursion() - Constructor for class com.google.errorprone.bugpatterns.InfiniteRecursion
 
inGeneratedCode - Variable in class com.google.errorprone.SuppressionHelper.SuppressionInfo
 
init(ProcessingEnvironment) - Method in class com.google.errorprone.DocGenProcessor
init(JavacTask, String...) - Method in class com.google.errorprone.ErrorProneJavacPlugin
 
init(JavacTask, String...) - Method in class com.google.errorprone.refaster.RefasterRuleCompiler
 
InjectedConstructorAnnotations - Class in com.google.errorprone.bugpatterns.inject
A checker for injected constructors with @Inject(optional=true) or binding annotations.
InjectedConstructorAnnotations() - Constructor for class com.google.errorprone.bugpatterns.inject.InjectedConstructorAnnotations
 
InjectMatchers - Class in com.google.errorprone.matchers
Utility constants and matchers related to dependency injection.
InjectOnConstructorOfAbstractClass - Class in com.google.errorprone.bugpatterns.inject
 
InjectOnConstructorOfAbstractClass() - Constructor for class com.google.errorprone.bugpatterns.inject.InjectOnConstructorOfAbstractClass
 
InjectOnFinalField - Class in com.google.errorprone.bugpatterns.inject.guice
 
InjectOnFinalField() - Constructor for class com.google.errorprone.bugpatterns.inject.guice.InjectOnFinalField
 
inline(Inliner) - Method in class com.google.errorprone.refaster.StringName
 
inline(Inliner) - Method in class com.google.errorprone.refaster.UAnyOf
 
inline(Inliner) - Method in class com.google.errorprone.refaster.UClassType
 
inline(Inliner) - Method in class com.google.errorprone.refaster.UForAll
 
inline(Inliner) - Method in class com.google.errorprone.refaster.UFreeIdent
 
inline(Inliner) - Method in class com.google.errorprone.refaster.UIntersectionClassType
 
inline(Inliner) - Method in class com.google.errorprone.refaster.ULiteral
 
inline(Inliner) - Method in class com.google.errorprone.refaster.UMemberSelect
 
inline(Inliner) - Method in class com.google.errorprone.refaster.UMethodInvocation
 
inline(Inliner) - Method in class com.google.errorprone.refaster.UMethodType
 
inline(Inliner) - Method in class com.google.errorprone.refaster.UPlaceholderExpression
 
inline(Inliner) - Method in class com.google.errorprone.refaster.UReturn
 
inline(Inliner) - Method in class com.google.errorprone.refaster.UStaticIdent
 
inline(Inliner) - Method in class com.google.errorprone.refaster.UTypeVar
 
inline(Inliner) - Method in class com.google.errorprone.refaster.UTypeVar.TypeWithExpression
 
inline(Inliner) - Method in class com.google.errorprone.refaster.UVariableDecl
 
inlineAsTree(Type) - Method in class com.google.errorprone.refaster.Inliner
Inlines the syntax tree representing the specified type.
inlineAsVar(UTypeVar) - Method in class com.google.errorprone.refaster.Inliner
 
inlineImplicitType(Inliner) - Method in class com.google.errorprone.refaster.UVariableDecl
 
inlineList(Iterable<? extends Inlineable<? extends R>>) - Method in class com.google.errorprone.refaster.Inliner
 
Inliner - Class in com.google.errorprone.refaster
A context representing all the dependencies necessary to reconstruct a pretty-printable source tree from a UTree based on a set of substitutions.
Inliner(Context, Bindings) - Constructor for class com.google.errorprone.refaster.Inliner
 
inlineStatements(Inliner) - Method in interface com.google.errorprone.refaster.UStatement
 
inLoop() - Static method in class com.google.errorprone.matchers.Matchers
Matches if the given tree is inside a loop.
InputStreamSlowMultibyteRead - Class in com.google.errorprone.bugpatterns
Checks that InputStreams should override int read(byte[], int, int);
InputStreamSlowMultibyteRead() - Constructor for class com.google.errorprone.bugpatterns.InputStreamSlowMultibyteRead
 
inSamePackage(Symbol, VisitorState) - Static method in class com.google.errorprone.util.ASTHelpers
Return true if the given symbol is defined in the current package.
InsecureCipherMode - Class in com.google.errorprone.bugpatterns
 
InsecureCipherMode() - Constructor for class com.google.errorprone.bugpatterns.InsecureCipherMode
 
INSIDE_GUICE_MODULE - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
instance(Context) - Static method in class com.google.errorprone.dataflow.nullnesspropagation.NullnessAnalysis
Retrieve an instance of NullnessAnalysis from the context.
instance(Context) - Static method in class com.google.errorprone.dataflow.nullnesspropagation.TrustingNullnessAnalysis
Retrieve an instance of TrustingNullnessAnalysis from the context.
INSTANCE - Static variable in class com.google.errorprone.refaster.ControlFlowVisitor
 
instance(Context) - Static method in enum com.google.errorprone.refaster.ImportPolicy
 
instanceEqualsInvocation() - Static method in class com.google.errorprone.matchers.Matchers
Matches calls to the method Object.equals(Object) or any override of that method.
InstanceMethod - Class in com.google.errorprone.matchers
Matches an instance method expression.
InstanceMethod(Matcher<? super ExpressionTree>, String) - Constructor for class com.google.errorprone.matchers.InstanceMethod
 
instanceMethod() - Static method in class com.google.errorprone.matchers.Matchers
Matches an instance method.
instanceMethod(Matcher<? super ExpressionTree>, String) - Static method in class com.google.errorprone.matchers.Matchers
instanceMethod() - Static method in class com.google.errorprone.matchers.method.MethodMatchers
 
InstanceOfAndCastMatchWrongType - Class in com.google.errorprone.bugpatterns
 
InstanceOfAndCastMatchWrongType() - Constructor for class com.google.errorprone.bugpatterns.InstanceOfAndCastMatchWrongType
 
inSynchronized() - Static method in class com.google.errorprone.matchers.Matchers
Matches if this Tree is enclosed by either a synchronized block or a synchronized method.
INT_TYPE - Static variable in class com.google.errorprone.suppliers.Suppliers
 
internalGetFieldAccessorTable() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
 
internalGetFieldAccessorTable() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
 
internalGetFieldAccessorTable() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
 
internalGetFieldAccessorTable() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember
 
internalGetFieldAccessorTable() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
 
internalGetFieldAccessorTable() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff
 
internalGetFieldAccessorTable() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff.Builder
 
internalGetFieldAccessorTable() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff
 
internalGetFieldAccessorTable() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
 
internalGetFieldAccessorTable() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
 
intLit(int) - Static method in class com.google.errorprone.refaster.ULiteral
 
intLiteral(int) - Static method in class com.google.errorprone.matchers.Matchers
 
IntLongMath - Class in com.google.errorprone.bugpatterns
 
IntLongMath() - Constructor for class com.google.errorprone.bugpatterns.IntLongMath
 
InvalidCommandLineOptionException - Exception in com.google.errorprone
 
InvalidCommandLineOptionException(String) - Constructor for exception com.google.errorprone.InvalidCommandLineOptionException
 
InvalidParam - Class in com.google.errorprone.bugpatterns.javadoc
Matches incorrect Javadoc @param tags.
InvalidParam() - Constructor for class com.google.errorprone.bugpatterns.javadoc.InvalidParam
 
InvalidPatternSyntax - Class in com.google.errorprone.bugpatterns
 
InvalidPatternSyntax() - Constructor for class com.google.errorprone.bugpatterns.InvalidPatternSyntax
 
InvalidTag - Class in com.google.errorprone.bugpatterns.javadoc
Matches invalid Javadoc tags, and tries to suggest fixes.
InvalidTag() - Constructor for class com.google.errorprone.bugpatterns.javadoc.InvalidTag
 
InvalidTargetingOnScopingAnnotation - Class in com.google.errorprone.bugpatterns.inject
 
InvalidTargetingOnScopingAnnotation() - Constructor for class com.google.errorprone.bugpatterns.inject.InvalidTargetingOnScopingAnnotation
 
InvalidThrows - Class in com.google.errorprone.bugpatterns.javadoc
Matches errors in Javadoc @throws tags.
InvalidThrows() - Constructor for class com.google.errorprone.bugpatterns.javadoc.InvalidThrows
 
InvalidTimeZoneID - Class in com.google.errorprone.bugpatterns
 
InvalidTimeZoneID() - Constructor for class com.google.errorprone.bugpatterns.InvalidTimeZoneID
 
IS_APPLICATION_OF_AT_INJECT - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
IS_APPLICATION_OF_GUICE_INJECT - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
IS_APPLICATION_OF_JAVAX_INJECT - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
IS_BINDING_ANNOTATION - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
IS_DAGGER_COMPONENT - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
IS_DAGGER_COMPONENT_OR_MODULE - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
IS_SCOPING_ANNOTATION - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
isAmbiguousJUnitVersion - Static variable in class com.google.errorprone.matchers.JUnitMatchers
Matches classes which have attributes of both JUnit 3 and 4 classes.
isAndroidCompatible() - Method in class com.google.errorprone.VisitorState
Returns true if the compilation is targeting Android.
isAnnotation(VisitorState, Type) - Static method in class com.google.errorprone.bugpatterns.threadsafety.WellKnownMutability
Returns true if the type is an annotation.
isArray() - Static method in class com.google.errorprone.predicates.TypePredicates
Match arrays.
isArrayType() - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node if its type is an array type.
isAutoValueAccessor(Tree) - Static method in class com.google.errorprone.dataflow.AccessPath
Check whether tree is an AutoValue accessor.
isBadType(Type, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractAsKeyOfSetOrMap
 
isBadType(Type, VisitorState) - Method in class com.google.errorprone.bugpatterns.ArrayAsKeyOfSetOrMap
 
isBadType(Type, VisitorState) - Method in class com.google.errorprone.bugpatterns.ProtosAsKeyOfSetOrMap
 
isCanonical() - Method in class com.google.errorprone.bugpatterns.StaticImports.StaticImportInfo
Returns true if the import is canonical, i.e.
isCastable(Type, Type, VisitorState) - Static method in class com.google.errorprone.util.ASTHelpers
Returns true if erasure(s) is castable to erasure(t).
isConcreteClassWithoutRunWith - Static variable in class com.google.errorprone.matchers.JUnitMatchers
Match a class which appears to be missing a @RunWith annotation.
isDescendantOf(Supplier<Type>) - Static method in class com.google.errorprone.predicates.TypePredicates
Match sub-types of the given type.
isDescendantOf(String) - Static method in class com.google.errorprone.predicates.TypePredicates
Match sub-types of the given type.
isDescendantOfAny(Iterable<String>) - Static method in class com.google.errorprone.predicates.TypePredicates
Match types that are a sub-type of one of the given types.
isDescendantOfMethod(String, String) - Static method in class com.google.errorprone.matchers.Matchers
isDirectImplementationOf(String) - Static method in class com.google.errorprone.matchers.Matchers
Matches any node that is directly an implementation, but not extension, of the given Class.
isDisableAllChecks() - Method in class com.google.errorprone.ErrorProneOptions
 
isDropErrorsToWarnings() - Method in class com.google.errorprone.ErrorProneOptions
 
isEmpty() - Method in class com.google.errorprone.apply.DescriptionBasedDiff
 
isEmpty() - Method in class com.google.errorprone.ErrorProneFlags
Whether this Flags object is empty, i.e.
isEmpty() - Method in interface com.google.errorprone.fixes.Fix
 
isEmpty() - Method in class com.google.errorprone.fixes.Replacements
 
isEmpty() - Method in class com.google.errorprone.fixes.SuggestedFix.Builder
 
isEmpty() - Method in class com.google.errorprone.fixes.SuggestedFix
 
isEnableAllChecksAsWarnings() - Method in class com.google.errorprone.ErrorProneOptions
 
isExactType(String) - Static method in class com.google.errorprone.predicates.TypePredicates
Match types that are exactly equal.
isExactType(Supplier<Type>) - Static method in class com.google.errorprone.predicates.TypePredicates
Match types that are exactly equal.
isExactTypeAny(Iterable<String>) - Static method in class com.google.errorprone.predicates.TypePredicates
Match types that are exactly equal to any of the given types.
isField() - Static method in class com.google.errorprone.matchers.Matchers
Matches if a VariableTree is a field declaration, as opposed to a local variable, enum constant, parameter to a method, etc.
isFinal(Symbol) - Static method in class com.google.errorprone.bugpatterns.NumericEquality
 
isFinalField(Element) - Static method in class com.google.errorprone.bugpatterns.inject.ElementPredicates
 
isFirstConstructorOfMultiInjectedClass(Element) - Static method in class com.google.errorprone.bugpatterns.inject.ElementPredicates
 
isGeneratedConstructor(MethodTree) - Static method in class com.google.errorprone.util.ASTHelpers
Returns true if the given tree is a generated constructor.
isGuardedByValid(Tree, VisitorState) - Static method in class com.google.errorprone.bugpatterns.threadsafety.GuardedByUtils
 
isHigher(OperatorPrecedence) - Method in enum com.google.errorprone.util.OperatorPrecedence
 
isImmutableType(Type) - Static method in class com.google.errorprone.bugpatterns.ImmutableCollections
 
isInitialized() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff.Builder
 
isInitialized() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassDiff
 
isInitialized() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember.Builder
 
isInitialized() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.ClassMember
 
isInitialized() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff.Builder
 
isInitialized() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.Diff
 
isInitialized() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff.Builder
 
isInitialized() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.EverythingDiff
 
isInitialized() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff.Builder
 
isInitialized() - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffProto.MemberDiff
 
isInstance(Class<?>) - Static method in class com.google.errorprone.matchers.Matchers
Matches if an AST node is an instance of the given class.
isInstance(Object) - Static method in class com.google.errorprone.refaster.Refaster
This is a placeholder for the Java instanceof operator that can be used with Refaster type variables.
isInstanceField() - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node that represents a non-static field.
IsInstanceOfClass - Class in com.google.errorprone.bugpatterns
 
IsInstanceOfClass() - Constructor for class com.google.errorprone.bugpatterns.IsInstanceOfClass
 
isJunit3TestCase - Static variable in class com.google.errorprone.matchers.JUnitMatchers
Match a method which appears to be a JUnit 3 test case.
isJUnit3TestClass - Static variable in class com.google.errorprone.matchers.JUnitMatchers
Match a class which appears to be a JUnit 3 test class.
isJUnit4TestClass - Static variable in class com.google.errorprone.matchers.JUnitMatchers
Matches classes which have attributes of only JUnit4 test classes.
isJUnitTestCode(VisitorState) - Static method in class com.google.errorprone.util.ASTHelpers
Returns true if the leaf node in the TreePath from state sits somewhere underneath a class or method that is marked as JUnit 3 or 4 test code.
isKnownNonNullReturning() - Method in interface com.google.errorprone.dataflow.nullnesspropagation.MethodInfo
 
IsLastStatementInBlock<T extends com.sun.source.tree.StatementTree> - Class in com.google.errorprone.matchers
A matcher that returns true if the statement is the final statement in the block.
IsLastStatementInBlock() - Constructor for class com.google.errorprone.matchers.IsLastStatementInBlock
 
isLastStatementInBlock() - Static method in class com.google.errorprone.matchers.Matchers
Matches a statement AST node if the statement is the last statement in the block.
IsLoggableTagLength - Class in com.google.errorprone.bugpatterns.android
 
IsLoggableTagLength() - Constructor for class com.google.errorprone.bugpatterns.android.IsLoggableTagLength
 
isNonNull() - Static method in class com.google.errorprone.matchers.Matchers
Matches if the expression is provably non-null.
isNull() - Static method in class com.google.errorprone.matchers.Matchers
Matches if the expression is provably null.
isPresent() - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.Violation
 
isPrimitive() - Method in interface com.google.errorprone.dataflow.nullnesspropagation.MethodInfo
 
isPrimitiveArrayType() - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node if its type is a primitive array type.
isPrimitiveOrBoxedPrimitiveType() - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node if its type is a primitive type, or a boxed version of a primitive type.
isPrimitiveOrVoidType() - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node if its type is either a primitive type or a void type.
isPrimitiveType() - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node if its type is a primitive type.
isProto2MessageClass(VisitorState, Type) - Static method in class com.google.errorprone.bugpatterns.threadsafety.WellKnownMutability
Compile-time equivalent of com.google.io.protocol.ProtocolSupport#isProto2MessageClass.
isProto2MutableMessageClass(VisitorState, Type) - Static method in class com.google.errorprone.bugpatterns.threadsafety.WellKnownMutability
Compile-time equivalent of com.google.io.protocol.ProtocolSupport#isProto2MutableMessageClass.
isRemoveLine() - Method in class com.google.errorprone.fixes.AppliedFix
 
isSame(Tree) - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node which is the same object reference as the given node.
IsSameType<T extends com.sun.source.tree.Tree> - Class in com.google.errorprone.matchers
Matches an AST node if its erased type is the same as the given type, e.g.
IsSameType(Supplier<Type>) - Constructor for class com.google.errorprone.matchers.IsSameType
 
IsSameType(String) - Constructor for class com.google.errorprone.matchers.IsSameType
 
isSameType(Supplier<Type>) - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node if it has the same erased type as the given type.
isSameType(String) - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node if it has the same erased type as the given type.
isSameType(Class<?>) - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node if it has the same erased type as the given class.
isSameType(Type, Type, VisitorState) - Static method in class com.google.errorprone.util.ASTHelpers
Returns true if erasure(s) == erasure(t).
isStatic() - Method in class com.google.errorprone.apply.ImportOrganizer.Import
True if the import is static, false otherwise.
isStatic() - Method in interface com.google.errorprone.dataflow.nullnesspropagation.MethodInfo
 
isStatic() - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node that is static.
isSubtype(Type, Type, VisitorState) - Static method in class com.google.errorprone.util.ASTHelpers
Returns true if erasure(s) <: erasure(t).
IsSubtypeOf<T extends com.sun.source.tree.Tree> - Class in com.google.errorprone.matchers
 
IsSubtypeOf(Supplier<Type>) - Constructor for class com.google.errorprone.matchers.IsSubtypeOf
 
IsSubtypeOf(String) - Constructor for class com.google.errorprone.matchers.IsSubtypeOf
 
isSubtypeOf(String) - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node if its type is a subtype of the given type.
isSubtypeOf(Supplier<Type>) - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node if its type is a subtype of the given type.
isSubtypeOf(Class<?>) - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node if its type is a subtype of the given type.
isSupportedOption(String) - Method in class com.google.errorprone.BaseErrorProneJavaCompiler
 
isSupportedOption(String) - Static method in class com.google.errorprone.ErrorProneOptions
isSuppressed(Tree) - Method in class com.google.errorprone.bugpatterns.BugChecker
Returns true if the given tree is annotated with a @SuppressWarnings that disables this bug checker.
isSuppressed(Symbol) - Method in class com.google.errorprone.bugpatterns.BugChecker
Returns true if the given symbol is annotated with a @SuppressWarnings that disables this bug checker.
isSuppressed(Suppressible, ErrorProneOptions) - Method in class com.google.errorprone.scanner.Scanner
Returns true if this checker should be suppressed on the current tree path.
isSuppressed(Suppressible, Set<String>, Set<Class<? extends Annotation>>, BugPattern.SeverityLevel, boolean, boolean) - Static method in class com.google.errorprone.SuppressionHelper
Returns true if this checker should be suppressed on the current tree path.
isTestCaseDescendant - Static variable in class com.google.errorprone.matchers.JUnitMatchers
Matches a class that inherits from TestCase.
isTestOnlyTarget() - Method in class com.google.errorprone.ErrorProneOptions
 
isThreadSafeType(Set<String>, Type) - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety
isThreadSafeType(boolean, Set<String>, Type) - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety
Returns an ThreadSafety.Violation explaining whether the type is threadsafe.
isTransient() - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node that is transient.
isType(String) - Static method in class com.google.errorprone.matchers.Matchers
 
isValidName() - Method in enum com.google.errorprone.bugpatterns.TypeParameterNaming.TypeParameterNamingClassification
 
isVariable() - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node that represents a local variable or parameter.
isVoidType() - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node if its type is a void type.
isVoidType(Type, VisitorState) - Static method in class com.google.errorprone.util.ASTHelpers
Return true if the given type is 'void' or 'Void'.
IterableAndIterator - Class in com.google.errorprone.bugpatterns
 
IterableAndIterator() - Constructor for class com.google.errorprone.bugpatterns.IterableAndIterator
 
IterablePathParameter - Class in com.google.errorprone.bugpatterns
 
IterablePathParameter() - Constructor for class com.google.errorprone.bugpatterns.IterablePathParameter
 
iterator() - Method in class com.google.errorprone.refaster.Choice
 

J

Java7ApiChecker - Class in com.google.errorprone.bugpatterns.apidiff
Checks for uses of classes, fields, or methods that are not compatible with JDK 7
Java7ApiChecker() - Constructor for class com.google.errorprone.bugpatterns.apidiff.Java7ApiChecker
 
JAVA_LANG_BOOLEAN_TYPE - Static variable in class com.google.errorprone.suppliers.Suppliers
 
JAVA_LANG_VOID_TYPE - Static variable in class com.google.errorprone.suppliers.Suppliers
 
JavacErrorDescriptionListener - Class in com.google.errorprone
Making our errors appear to the user and break their build.
javaCharEscaper() - Static method in class com.google.errorprone.util.SourceCodeEscapers
Returns an Escaper instance that escapes special characters in a string so it can safely be included in either a Java character literal or string literal.
JavaLangClash - Class in com.google.errorprone.bugpatterns
 
JavaLangClash() - Constructor for class com.google.errorprone.bugpatterns.JavaLangClash
 
JAVAX_INJECT_ANNOTATION - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
JAVAX_QUALIFIER_ANNOTATION - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
JAVAX_SCOPE_ANNOTATION - Static variable in class com.google.errorprone.matchers.InjectMatchers
 
JavaxInjectOnAbstractMethod - Class in com.google.errorprone.bugpatterns.inject
 
JavaxInjectOnAbstractMethod() - Constructor for class com.google.errorprone.bugpatterns.inject.JavaxInjectOnAbstractMethod
 
JavaxInjectOnFinalField - Class in com.google.errorprone.bugpatterns.inject
 
JavaxInjectOnFinalField() - Constructor for class com.google.errorprone.bugpatterns.inject.JavaxInjectOnFinalField
 
JdkObsolete - Class in com.google.errorprone.bugpatterns
 
JdkObsolete() - Constructor for class com.google.errorprone.bugpatterns.JdkObsolete
 
JMockTestWithoutRunWithOrRuleAnnotation - Class in com.google.errorprone.bugpatterns
 
JMockTestWithoutRunWithOrRuleAnnotation() - Constructor for class com.google.errorprone.bugpatterns.JMockTestWithoutRunWithOrRuleAnnotation
 
JUnit3FloatingPointComparisonWithoutDelta - Class in com.google.errorprone.bugpatterns
Detects floating-point assertEquals() calls that will not work in JUnit 4.
JUnit3FloatingPointComparisonWithoutDelta() - Constructor for class com.google.errorprone.bugpatterns.JUnit3FloatingPointComparisonWithoutDelta
 
JUnit3TestNotRun - Class in com.google.errorprone.bugpatterns
 
JUnit3TestNotRun() - Constructor for class com.google.errorprone.bugpatterns.JUnit3TestNotRun
 
JUNIT4_RUN_WITH_ANNOTATION - Static variable in class com.google.errorprone.matchers.JUnitMatchers
 
JUNIT4_TEST_ANNOTATION - Static variable in class com.google.errorprone.matchers.JUnitMatchers
 
JUnit4ClassAnnotationNonStatic - Class in com.google.errorprone.bugpatterns
@BeforeClass or @AfterClass should be applied to static methods.
JUnit4ClassAnnotationNonStatic() - Constructor for class com.google.errorprone.bugpatterns.JUnit4ClassAnnotationNonStatic
 
JUnit4ClassUsedInJUnit3 - Class in com.google.errorprone.bugpatterns
 
JUnit4ClassUsedInJUnit3() - Constructor for class com.google.errorprone.bugpatterns.JUnit4ClassUsedInJUnit3
 
JUnit4SetUpNotRun - Class in com.google.errorprone.bugpatterns
Checks for the existence of a JUnit3 style setUp() method in a JUnit4 test class or methods annotated with a non-JUnit4 @Before annotation.
JUnit4SetUpNotRun() - Constructor for class com.google.errorprone.bugpatterns.JUnit4SetUpNotRun
 
JUnit4TearDownNotRun - Class in com.google.errorprone.bugpatterns
Checks for the existence of a JUnit3 style tearDown() method in a JUnit4 test class or methods annotated with a non-JUnit4 @After annotation.
JUnit4TearDownNotRun() - Constructor for class com.google.errorprone.bugpatterns.JUnit4TearDownNotRun
 
JUnit4TestNotRun - Class in com.google.errorprone.bugpatterns
 
JUnit4TestNotRun() - Constructor for class com.google.errorprone.bugpatterns.JUnit4TestNotRun
 
JUNIT_AFTER_ANNOTATION - Static variable in class com.google.errorprone.matchers.JUnitMatchers
 
JUNIT_AFTER_CLASS_ANNOTATION - Static variable in class com.google.errorprone.matchers.JUnitMatchers
 
JUNIT_BEFORE_ANNOTATION - Static variable in class com.google.errorprone.matchers.JUnitMatchers
 
JUNIT_BEFORE_CLASS_ANNOTATION - Static variable in class com.google.errorprone.matchers.JUnitMatchers
 
JUnitAmbiguousTestClass - Class in com.google.errorprone.bugpatterns
 
JUnitAmbiguousTestClass() - Constructor for class com.google.errorprone.bugpatterns.JUnitAmbiguousTestClass
 
JUnitAssertSameCheck - Class in com.google.errorprone.bugpatterns
Points out if an object is tested for reference equality to itself using JUnit library.
JUnitAssertSameCheck() - Constructor for class com.google.errorprone.bugpatterns.JUnitAssertSameCheck
 
JUnitMatchers - Class in com.google.errorprone.matchers
Matchers for code patterns which appear to be JUnit-based tests.
JUnitMatchers() - Constructor for class com.google.errorprone.matchers.JUnitMatchers
 

K

Key(String) - Constructor for class com.google.errorprone.refaster.Bindings.Key
 
key() - Method in class com.google.errorprone.refaster.UFreeIdent
 
key() - Method in class com.google.errorprone.refaster.UTypeVar
 
Key(CharSequence) - Constructor for class com.google.errorprone.refaster.UTypeVar.Key
 
kind() - Method in class com.google.errorprone.bugpatterns.threadsafety.GuardedByExpression.Erroneous
 
kind() - Method in class com.google.errorprone.bugpatterns.threadsafety.GuardedByExpression
 
kind() - Method in class com.google.errorprone.bugpatterns.threadsafety.GuardedByExpression.ThisLiteral
 
kind() - Method in class com.google.errorprone.util.ErrorProneToken
 
kindIs(Tree.Kind) - Static method in class com.google.errorprone.matchers.Matchers
Matches an AST node of a given kind, for example, an Annotation or a switch block.
knownTypes(ThreadSafety.KnownTypes) - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.Builder
Information about known types and whether they're known to be safe or unsafe.

L

LambdaFunctionalInterface - Class in com.google.errorprone.bugpatterns
 
LambdaFunctionalInterface() - Constructor for class com.google.errorprone.bugpatterns.LambdaFunctionalInterface
 
LazyInit - Annotation Type in com.google.errorprone.annotations.concurrent
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()).
leastUpperBound(AccessPathStore<V>) - Method in class com.google.errorprone.dataflow.AccessPathStore
 
leastUpperBound(LocalStore<V>) - Method in class com.google.errorprone.dataflow.LocalStore
 
leastUpperBound(Nullness) - Method in enum com.google.errorprone.dataflow.nullnesspropagation.Nullness
 
length() - Method in class com.google.errorprone.fixes.Replacement
The length of the input text to be replaced.
length() - Method in class com.google.errorprone.refaster.StringName
 
LevenshteinEditDistance - Class in com.google.errorprone.names
A utility class for finding the Levenshtein edit distance between strings.
lhs() - Method in class com.google.errorprone.bugpatterns.EqualsIncompatibleType.TypeCompatibilityReport
 
LIKELY_ERROR - Static variable in class com.google.errorprone.BugPattern.StandardTags
This check, for reasons of backwards compatibility or difficulty in cleaning up, should be considered very likely to represent a real error in the vast majority (>99.9%) of cases, but couldn't otherwise be turned on as an ERROR.
linkUrl() - Method in class com.google.errorprone.BugCheckerInfo
 
linkUrl() - Method in class com.google.errorprone.bugpatterns.BugChecker
 
listenToDiagnostics(DiagnosticListener<? super JavaFileObject>) - Method in class com.google.errorprone.BaseErrorProneCompiler.Builder
Deprecated.
 
listenToDiagnostics(DiagnosticListener<? super JavaFileObject>) - Method in class com.google.errorprone.ErrorProneCompiler.Builder
Deprecated.
 
LiteByteStringUtf8 - Class in com.google.errorprone.bugpatterns
 
LiteByteStringUtf8() - Constructor for class com.google.errorprone.bugpatterns.LiteByteStringUtf8
 
loadPlugins(ScannerSupplier, Context) - Static method in class com.google.errorprone.ErrorPronePlugins
 
loadVersionFromPom() - Static method in class com.google.errorprone.ErrorProneVersion
Loads the Error Prone version.
LocalStore<V extends org.checkerframework.dataflow.analysis.AbstractValue<V>> - Class in com.google.errorprone.dataflow
Immutable map from each local variable to its AbstractValue.
LocalStore.Builder<V extends org.checkerframework.dataflow.analysis.AbstractValue<V>> - Class in com.google.errorprone.dataflow
Builder for LocalStore instances.
LocalVarBinding - Class in com.google.errorprone.refaster
Binding for a local variable in a template.
LocalVarBinding() - Constructor for class com.google.errorprone.refaster.LocalVarBinding
 
LocalVariable() - Constructor for class com.google.errorprone.bugpatterns.threadsafety.GuardedByExpression.LocalVariable
 
LocalVariableValues<T> - Interface in com.google.errorprone.dataflow
Read-only access to LocalStore for convenience.
LockMethod - Annotation Type in com.google.errorprone.annotations.concurrent
The method to which this annotation is applied acquires one or more locks.
LockMethodChecker - Class in com.google.errorprone.bugpatterns.threadsafety
 
LockMethodChecker() - Constructor for class com.google.errorprone.bugpatterns.threadsafety.LockMethodChecker
 
LockNotBeforeTry - Class in com.google.errorprone.bugpatterns
Suggests that calls to Lock.lock must be immediately followed by a try-finally that calls Lock.unlock.
LockNotBeforeTry() - Constructor for class com.google.errorprone.bugpatterns.LockNotBeforeTry
 
logFatalError(Log) - Method in error com.google.errorprone.ErrorProneError
logFatalError(Log, Context) - Method in error com.google.errorprone.ErrorProneError
 
LogicalAssignment - Class in com.google.errorprone.bugpatterns
 
LogicalAssignment() - Constructor for class com.google.errorprone.bugpatterns.LogicalAssignment
 
longLit(long) - Static method in class com.google.errorprone.refaster.ULiteral
 
LongLiteralLowerCaseSuffix - Class in com.google.errorprone.bugpatterns
Matcher for a long literal with a lower-case ell for a suffix (e.g.
LongLiteralLowerCaseSuffix() - Constructor for class com.google.errorprone.bugpatterns.LongLiteralLowerCaseSuffix
 
looksLikeJUnit3SetUp - Static variable in class com.google.errorprone.matchers.JUnitMatchers
Match a method which appears to be a JUnit 3 setUp method
looksLikeJUnit3TearDown - Static variable in class com.google.errorprone.matchers.JUnitMatchers
Match a method which appears to be a JUnit 3 tearDown method
looksLikeJUnit4After - Static variable in class com.google.errorprone.matchers.JUnitMatchers
Matches a method which appears to be a JUnit4 @After method.
looksLikeJUnit4Before - Static variable in class com.google.errorprone.matchers.JUnitMatchers
Matches a method which appears to be a JUnit4 @Before method.
LoopConditionChecker - Class in com.google.errorprone.bugpatterns
 
LoopConditionChecker() - Constructor for class com.google.errorprone.bugpatterns.LoopConditionChecker
 

M

main(String[]) - Static method in class com.google.errorprone.DocGenTool
 
main(String[]) - Static method in class com.google.errorprone.ErrorProneCompiler
Deprecated.
Entry point for compiling Java code with error-prone enabled.
maker() - Method in class com.google.errorprone.refaster.Inliner
 
markerAnnotations(Set<String>) - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.Builder
Annotations that will cause a class to be tested with this ThreadSafety instance; for example, when testing a class for immutability, this should be @Immutable.
markerAnnotations(ImmutableSet<String>) - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadSafety.Builder
 
MaskedClassLoader - Class in com.google.errorprone
A classloader that allows plugins to access the Error Prone classes from the compiler classpath.
MaskedClassLoader(ClassLoader) - Constructor for class com.google.errorprone.MaskedClassLoader
 
match(JCTree, Context) - Method in class com.google.errorprone.refaster.BlockTemplate
If the tree is a JCTree.JCBlock, returns a list of disjoint matches corresponding to the exact list of template statements found consecutively; otherwise, returns an empty list.
match(JCTree, Context) - Method in class com.google.errorprone.refaster.ExpressionTemplate
Returns the matches of this template against the specified target AST.
match(JCTree, Context) - Method in class com.google.errorprone.refaster.Template
 
matchAllDiagnostics() - Method in class com.google.errorprone.CompilationTestHelper
By default, the compilation helper will only inspect diagnostics generated by the check being tested.
matchAnnotatedType(AnnotatedTypeTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.AnnotatedTypeTreeMatcher
 
matchAnnotatedType(AnnotatedTypeTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NullablePrimitive
 
matchAnnotation(AnnotationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.RestrictToEnforcer
 
matchAnnotation(AnnotationTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.AnnotationTreeMatcher
 
matchAnnotation(AnnotationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.collectionincompatibletype.CompatibleWithMisuse
 
matchAnnotation(AnnotationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.IncompatibleModifiersChecker
 
matchAnnotation(AnnotationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.AssistedInjectAndInjectOnSameConstructor
 
matchAnnotation(AnnotationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.AutoFactoryAtInject
 
matchAnnotation(AnnotationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.guice.ProvidesMethodOutsideOfModule
 
matchAnnotation(AnnotationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.JavaxInjectOnFinalField
 
matchAnnotation(AnnotationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.MoreThanOneInjectableConstructor
 
matchAnnotation(AnnotationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.MoreThanOneQualifier
 
matchAnnotation(AnnotationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.ScopeAnnotationOnInterfaceOrAbstractClass
 
matchAnnotation(AnnotationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.JUnit4ClassUsedInJUnit3
 
matchAnnotation(AnnotationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MissingSuperCall
Prevents abstract methods from being annotated with @CallSuper et al.
matchAnnotation(AnnotationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.RequiredModifiersChecker
 
matchAnnotation(AnnotationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.RestrictedApiChecker
Validates a @RestrictedApi annotation and that the declared restriction makes sense.
matchAnnotation(AnnotationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.SuppressWarningsDeprecated
 
matchArgument(ExpressionTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractReferenceEquality
 
matchArgument(ExpressionTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NumericEquality
 
matchArgument(ExpressionTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.OptionalEquality
 
matchArgument(ExpressionTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ReferenceEquality
 
matchArgument(ExpressionTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.StringEquality
 
matchArrayAccess(ArrayAccessTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.ArrayAccessTreeMatcher
 
matchArrayAccess(ArrayAccessTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.nullness.ParameterNotNullable
 
matchArrayType(ArrayTypeTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.ArrayTypeTreeMatcher
 
matchAssert(AssertTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AssertFalse
 
matchAssert(AssertTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.AssertTreeMatcher
 
matchAssignment(AssignmentTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.AssignmentTreeMatcher
 
matchAssignment(AssignmentTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.IntLongMath
 
matchAssignment(AssignmentTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NoAllocationChecker
 
matchAssignment(AssignmentTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NonAtomicVolatileUpdate
 
matchAssignment(AssignmentTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.nullness.FieldMissingNullable
 
matchAssignment(AssignmentTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.SelfAssignment
 
matchBinary(BinaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractReferenceEquality
 
matchBinary(BinaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.BadShiftAmount
 
matchBinary(BinaryTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.BinaryTreeMatcher
 
matchBinary(BinaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ComparingThisWithNull
 
matchBinary(BinaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ComparisonOutOfRange
 
matchBinary(BinaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ComplexBooleanConstant
 
matchBinary(BinaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ConstantOverflow
 
matchBinary(BinaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.DivZero
 
matchBinary(BinaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.EqualsNaN
 
matchBinary(BinaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.IdentityBinaryExpression
 
matchBinary(BinaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NoAllocationChecker
 
matchBinary(BinaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.OperatorPrecedence
 
matchBinary(BinaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ProtoStringFieldReferenceEquality
 
matchBinary(BinaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.RandomModInteger
 
matchBinary(BinaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ShortCircuitBoolean
 
matchBinary(BinaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.SizeGreaterThanOrEqualsZero
 
matchBinaryTree(BinaryTree, List<Matcher<ExpressionTree>>, VisitorState) - Static method in class com.google.errorprone.util.ASTHelpers
Given a BinaryTree to match against and a list of two matchers, applies the matchers to the operands in both orders.
matchBlock(BlockTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.BlockTreeMatcher
 
matchBlock(BlockTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MultiVariableDeclaration
 
matchBreak(BreakTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.BreakTreeMatcher
 
matchBreak(BreakTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.Finally
 
matchCase(CaseTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.CaseTreeMatcher
 
matchCatch(CatchTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.CatchTreeMatcher
 
matchCatch(CatchTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.CatchAndPrintStackTrace
 
matchCatch(CatchTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.UnusedException
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AmbiguousMethodReference
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.FragmentInjection
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.FragmentNotInstantiable
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.ParcelableCreator
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AutoValueFinalMethods
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.BadAnnotationImplementation
 
matchClass(ClassTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.ClassTreeMatcher
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.CheckReturnValue
Validate that at most one of CheckReturnValue and CanIgnoreReturnValue are applied to a class (or interface or enum).
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ClassCanBeStatic
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ClassNamedLikeTypeParameter
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ComparableAndComparator
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ComparableType
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.DepAnn
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.EqualsHashCode
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ExtendingJUnitAssert
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.FunctionalInterfaceClash
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.HidingField
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.InconsistentCapitalization
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.InconsistentHashCode
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.AssistedInjectAndInjectOnConstructors
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.dagger.PrivateConstructorForNoninstantiableModule
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.dagger.ScopeOnModule
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.guice.AssistedInjectScoping
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.InvalidTargetingOnScopingAnnotation
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.MoreThanOneScopeAnnotationOnClass
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.OverlappingQualifierAndScopeAnnotation
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.QualifierWithTypeUse
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.ScopeOrQualifierAnnotationRetention
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.InputStreamSlowMultibyteRead
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.IterableAndIterator
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.javadoc.InvalidParam
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.javadoc.InvalidTag
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.JavaLangClash
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.JdkObsolete
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.JUnitAmbiguousTestClass
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MultiVariableDeclaration
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.overloading.InconsistentOverloads
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.OverrideThrowableToString
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.PrivateConstructorForUtilityClass
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ProvidesFixChecker
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.ImmutableAnnotationChecker
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.ImmutableChecker
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.ImmutableEnumChecker
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.TypeNameShadowing
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.TypeParameterShadowing
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.UngroupedOverloads
 
matchClass(ClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.VarTypeName
 
matchCompilationUnit(CompilationUnitTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.CompilationUnitTreeMatcher
 
matchCompilationUnit(CompilationUnitTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ChainingConstructorIgnoresParameter
 
matchCompilationUnit(CompilationUnitTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ClassName
 
matchCompilationUnit(CompilationUnitTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.EmptyTopLevelDeclaration
 
matchCompilationUnit(CompilationUnitTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.FieldCanBeFinal
 
matchCompilationUnit(CompilationUnitTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MockitoCast
 
matchCompilationUnit(CompilationUnitTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MultipleTopLevelClasses
 
matchCompilationUnit(CompilationUnitTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.PackageInfo
 
matchCompilationUnit(CompilationUnitTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.PackageLocation
 
matchCompilationUnit(CompilationUnitTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ProtoFieldNullComparison
 
matchCompilationUnit(CompilationUnitTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.RemoveUnusedImports
 
matchCompilationUnit(CompilationUnitTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.ImmutableRefactoring
 
matchCompilationUnit(CompilationUnitTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.Unused
 
matchCompilationUnit(CompilationUnitTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.WildcardImport
 
matchCompoundAssignment(CompoundAssignmentTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.CompoundAssignmentTreeMatcher
 
matchCompoundAssignment(CompoundAssignmentTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.DivZero
 
matchCompoundAssignment(CompoundAssignmentTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NarrowingCompoundAssignment
 
matchCompoundAssignment(CompoundAssignmentTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NoAllocationChecker
 
matchCompoundAssignment(CompoundAssignmentTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NonAtomicVolatileUpdate
 
matchConditionalExpression(ConditionalExpressionTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.ConditionalExpressionTreeMatcher
 
matchConditionalExpression(ConditionalExpressionTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ConditionalExpressionNumericPromotion
 
matchConditionalExpression(ConditionalExpressionTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NullTernary
 
matchContinue(ContinueTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.ContinueTreeMatcher
 
matchContinue(ContinueTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.Finally
 
matchDoWhileLoop(DoWhileLoopTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.DoWhileLoopTreeMatcher
 
matchDoWhileLoop(DoWhileLoopTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.LogicalAssignment
 
matchDoWhileLoop(DoWhileLoopTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.LoopConditionChecker
 
matchEmptyStatement(EmptyStatementTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.EmptyStatementTreeMatcher
 
matchEmptyStatement(EmptyStatementTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.EmptyIfStatement
Match empty statement if: - Parent statement is an if - The then part of the parent if is an empty statement, and - The else part of the parent if does not exist
matchEnhancedForLoop(EnhancedForLoopTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.EnhancedForLoopTreeMatcher
 
matchEnhancedForLoop(EnhancedForLoopTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NoAllocationChecker
 
MATCHER - Static variable in class com.google.errorprone.bugpatterns.DeadException
 
MATCHER - Static variable in class com.google.errorprone.bugpatterns.StreamResourceLeak
 
Matcher<T extends com.sun.source.tree.Tree> - Interface in com.google.errorprone.matchers
Define a predicate on a Tree, which also accesses the state of AST traversal.
Matchers - Class in com.google.errorprone.matchers
Static factory methods which make the DSL read more fluently.
matches(T, VisitorState) - Method in class com.google.errorprone.matchers.AbstractTypeMatcher
 
matches(AnnotationTree, VisitorState) - Method in class com.google.errorprone.matchers.AnnotationDoesNotHaveArgument
 
matches(AnnotationTree, VisitorState) - Method in class com.google.errorprone.matchers.AnnotationHasArgumentWithValue
 
matches(AnnotationTree, VisitorState) - Method in class com.google.errorprone.matchers.AnnotationType
 
matches(StatementTree, VisitorState) - Method in class com.google.errorprone.matchers.Asserts
 
matches(T, VisitorState) - Method in class com.google.errorprone.matchers.ChildMultiMatcher
 
matches(ExpressionTree, VisitorState) - Method in class com.google.errorprone.matchers.CompileTimeConstantExpressionMatcher
 
matches(CompoundAssignmentTree, VisitorState) - Method in class com.google.errorprone.matchers.CompoundAssignment
 
matches(Tree, VisitorState) - Method in class com.google.errorprone.matchers.Contains
 
matches(ExpressionTree, VisitorState) - Method in class com.google.errorprone.matchers.DescendantOf
 
matches(T, VisitorState) - Method in class com.google.errorprone.matchers.Enclosing.BlockOrCase
 
matches(Tree, VisitorState) - Method in class com.google.errorprone.matchers.HasIdentifier
 
matches(ExpressionTree, VisitorState) - Method in class com.google.errorprone.matchers.InstanceMethod
 
matches(T, VisitorState) - Method in class com.google.errorprone.matchers.IsLastStatementInBlock
 
matches(T, VisitorState) - Method in class com.google.errorprone.matchers.IsSameType
 
matches(T, VisitorState) - Method in class com.google.errorprone.matchers.IsSubtypeOf
 
matches(T, VisitorState) - Method in interface com.google.errorprone.matchers.Matcher
 
matches(ExpressionTree, VisitorState) - Method in class com.google.errorprone.matchers.MethodInvocation
 
matches(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.matchers.MethodInvocationArgument
 
matches(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.matchers.MethodInvocationMethodSelect
 
matches(MethodTree, VisitorState) - Method in class com.google.errorprone.matchers.MethodVisibility
 
matches() - Method in class com.google.errorprone.matchers.MultiMatcher.MultiMatchResult
True if the MultiMatcher matched the nodes expected.
matches(T, VisitorState) - Method in class com.google.errorprone.matchers.NextStatement
 
matches(ExpressionTree, VisitorState) - Method in class com.google.errorprone.matchers.NullnessMatcher
 
matches(Tree, VisitorState) - Method in class com.google.errorprone.matchers.ParentNode
 
matches(StatementTree, VisitorState) - Method in class com.google.errorprone.matchers.Returns
 
matches(ExpressionTree, VisitorState) - Method in class com.google.errorprone.matchers.StringLiteral
 
matches(StatementTree, VisitorState) - Method in class com.google.errorprone.matchers.Throws
 
Matches - Annotation Type in com.google.errorprone.refaster.annotation
Specify an error-prone Matcher to further restrict what expressions are matched by the annotated parameter.
matchExpressionStatement(ExpressionStatementTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.ExpressionStatementTreeMatcher
 
matchForLoop(ForLoopTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.ForLoopTreeMatcher
 
matchForLoop(ForLoopTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.IncrementInForLoopAndHeader
 
matchForLoop(ForLoopTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.LogicalAssignment
 
matchForLoop(ForLoopTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.LoopConditionChecker
 
matchIdentifier(IdentifierTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractToString
 
matchIdentifier(IdentifierTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.RestrictToEnforcer
 
matchIdentifier(IdentifierTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffChecker
 
matchIdentifier(IdentifierTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.IdentifierTreeMatcher
 
matchIf(IfTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.IfTreeMatcher
 
matchIf(IfTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.LogicalAssignment
 
matchIf(IfTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NestedInstanceOfConditions
 
matchIf(IfTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.DoubleCheckedLocking
 
matchImport(ImportTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.BadImport
 
matchImport(ImportTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.ImportTreeMatcher
 
matchImport(ImportTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NonCanonicalStaticImport
 
matchImport(ImportTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NonCanonicalStaticMemberImport
 
matchImport(ImportTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.UnnecessaryStaticImport
 
matchingNodes() - Method in class com.google.errorprone.matchers.MultiMatcher.MultiMatchResult
The list of nodes which matched the MultiMatcher's expectations (could be empty if the match type was ALL and there were no child nodes).
matchInstanceOf(InstanceOfTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.BadInstanceof
 
matchInstanceOf(InstanceOfTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.InstanceOfTreeMatcher
 
matchIntersectionType(IntersectionTypeTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.IntersectionTypeTreeMatcher
 
matchLabeledStatement(LabeledStatementTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.LabeledStatementTreeMatcher
 
matchLambdaExpression(LambdaExpressionTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.RestrictToEnforcer
 
matchLambdaExpression(LambdaExpressionTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.LambdaExpressionTreeMatcher
 
matchLambdaExpression(LambdaExpressionTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.GuardedByChecker
 
matchLiteral(LiteralTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.HardCodedSdCardPath
 
matchLiteral(LiteralTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.LiteralTreeMatcher
 
matchLiteral(LiteralTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.FloatingPointLiteralPrecision
 
matchLiteral(LiteralTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.LongLiteralLowerCaseSuffix
 
matchLiteral(LiteralTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.OrphanedFormatString
 
matchLiteral(LiteralTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.SwigMemoryLeak
 
matchMemberReference(MemberReferenceTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractReturnValueIgnored
 
matchMemberReference(MemberReferenceTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.RestrictToEnforcer
 
matchMemberReference(MemberReferenceTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.MemberReferenceTreeMatcher
 
matchMemberReference(MemberReferenceTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.DoNotCallChecker
 
matchMemberReference(MemberReferenceTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.FutureReturnValueIgnored
Detect member references that implement an interface that return Object, but resolve to a method that returns Future.
matchMemberReference(MemberReferenceTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.JdkObsolete
 
matchMemberReference(MemberReferenceTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.PredicateIncompatibleType
 
matchMemberReference(MemberReferenceTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.ImmutableChecker
 
matchMemberSelect(MemberSelectTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractToString
 
matchMemberSelect(MemberSelectTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.MislabeledAndroidString
 
matchMemberSelect(MemberSelectTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.apidiff.ApiDiffChecker
 
matchMemberSelect(MemberSelectTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.MemberSelectTreeMatcher
 
matchMemberSelect(MemberSelectTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.nullness.NullableDereference
 
matchMemberSelect(MemberSelectTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.nullness.ParameterNotNullable
 
matchMemberSelect(MemberSelectTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.StaticQualifiedUsingExpression
 
matchMemberSelect(MemberSelectTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.TypeParameterQualifier
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractExpectedExceptionChecker
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractTestExceptionChecker
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.RestrictToEnforcer
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.StaticOrDefaultInterfaceMethod
 
matchMethod(MethodTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.MethodTreeMatcher
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ChainingConstructorIgnoresParameter
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.CheckReturnValue
Validate @CheckReturnValue and CanIgnoreReturnValue usage on methods.
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ComparisonContractViolated
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.DepAnn
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.DoNotCallChecker
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.EqualsReference
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.EqualsUnsafeCast
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.EqualsWrongThing
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.formatstring.FormatStringAnnotationChecker
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ForOverrideChecker
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.FunctionalInterfaceMethodChanged
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.InfiniteRecursion
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.CloseableProvides
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.dagger.AndroidInjectionBeforeSuper
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.dagger.EmptySetMultibindingContributions
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.dagger.UseBinds
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.guice.AssistedParameters
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.guice.BindingToUnqualifiedCommonType
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.guice.OverridesGuiceInjectableMethod
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.guice.OverridesJavaxInjectableMethod
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.InjectedConstructorAnnotations
Matches injected constructors annotated with @Inject(optional=true) or binding annotations.
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.InjectOnConstructorOfAbstractClass
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.JavaxInjectOnAbstractMethod
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.QualifierOrScopeOnInjectMethod
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.javadoc.InvalidParam
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.javadoc.InvalidTag
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.javadoc.InvalidThrows
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.javadoc.ReturnFromVoid
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.JUnit3TestNotRun
Matches if: 1) Method's name begins with misspelled variation of "test".
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.JUnit4ClassAnnotationNonStatic
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.JUnit4TestNotRun
Matches if: The method is public, void, and has no parameters; the method is not already annotated with @Test, @Before, @After, @BeforeClass, or @AfterClass; the enclosing class appears to be intended to run in JUnit4, that is:
    it is non-abstract, it does not extend JUnit3 TestCase, it has an @RunWith annotation or at least one other method annotated @Test; and, the method appears to be a test method, that is:
      or, the method body contains a method call with a name that contains "assert", "verify", "check", "fail", or "expect".
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.LambdaFunctionalInterface
Identifies methods with parameters that have a generic argument with Int, Long, or Double.
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MethodCanBeStatic
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MissingOverride
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MissingSuperCall
Matches a method that overrides a method that has been annotated with @CallSuper et al., but does not call the super method.
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MissingTestCall
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MixedArrayDimensions
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MustBeClosedChecker
Check that the MustBeClosed annotation is only used for constructors of AutoCloseables and methods that return an AutoCloseable.
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MutableMethodReturnType
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NoFunctionalReturnType
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NonFinalCompileTimeConstant
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NonOverridingEquals
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NullableConstructor
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NullablePrimitive
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NullableVoid
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.nullness.EqualsBrokenForNull
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.Overrides
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.RedundantThrows
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.AbstractLockMethodChecker
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.GuardedByChecker
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ThrowsUncheckedException
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ToStringReturnsNull
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.TypeNameShadowing
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.TypeParameterShadowing
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.TypeParameterUnusedInFormals
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.UnsynchronizedOverridesSynchronized
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.UseCorrectAssertInTests
 
matchMethod(MethodTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.WrongParameterPackage
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractAsKeyOfSetOrMap
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractReturnValueIgnored
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractToString
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.BinderIdentityRestoredDangerously
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.IsLoggableTagLength
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.RestrictToEnforcer
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.WakelockReleasedDangerously
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AnnotateFormatMethod
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.argumentselectiondefects.ArgumentSelectionDefectChecker
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.argumentselectiondefects.AssertEqualsArgumentOrderChecker
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ArrayEquals
Suggests replacing with Arrays.equals(a, b).
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ArrayFillIncompatibleType
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ArrayHashCode
Wraps identity hashcode computations in calls to Arrays.hashCode(long[]) if the array is single dimensional or Arrays.deepHashCode(java.lang.Object[]) if the array is multidimensional.
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ArraysAsListPrimitiveArray
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AssertionFailureIgnored
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AssertThrowsMultipleStatements
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.BigDecimalEquals
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.BooleanParameter
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.MethodInvocationTreeMatcher
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ByteBufferBackingArray
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.CannotMockFinalClass
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.CanonicalDuration
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ChainingConstructorIgnoresParameter
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ClassNewInstance
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.collectionincompatibletype.CollectionIncompatibleType
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.collectionincompatibletype.IncompatibleArgumentType
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.collectionincompatibletype.TruthIncompatibleType
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.CollectionToArraySafeParameter
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.CollectorShouldNotUseState
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.CompileTimeConstantChecker
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.DefaultCharset
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.DoNotCallChecker
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.EqualsGetClass
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.EqualsIncompatibleType
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.EqualsUsingHashCode
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.FloatingPointAssertionWithinEpsilon
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.formatstring.FormatString
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.formatstring.FormatStringAnnotationChecker
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ForOverrideChecker
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.FutureReturnValueIgnored
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.FuturesGetCheckedIllegalExceptionType
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.FuzzyEqualsShouldNotBeUsedInEqualsMethod
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.GetClassOnAnnotation
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.GetClassOnClass
Suggests removing getClass() or changing to Class.class.
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.GetClassOnEnum
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.HashtableContains
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ImmutableModification
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.IndexOfChar
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.InexactVarargsConditional
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.guice.BindingToUnqualifiedCommonType
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.InsecureCipherMode
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.InvalidPatternSyntax
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.InvalidTimeZoneID
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.IsInstanceOfClass
Suggests removing getClass() or changing to Class.class.
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.JUnit3FloatingPointComparisonWithoutDelta
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.JUnit4ClassUsedInJUnit3
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.JUnitAssertSameCheck
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.LiteByteStringUtf8
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.LockNotBeforeTry
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MathAbsoluteRandom
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MathRoundIntLong
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MisusedWeekYear
Match uses of SimpleDateFormat.applyPattern and SimpleDateFormat.applyLocalizedPattern in which the pattern passed in contains YYYY but not ww, signifying that it was not intended to be a week date.
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MockitoUsage
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ModifyCollectionInEnhancedForLoop
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ModifyingCollectionWithItself
Matches calls to addAll, containsAll, removeAll, and retainAll on itself
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MultipleParallelOrSequentialCalls
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MultipleUnaryOperatorsInMethodCall
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MustBeClosedChecker
Check that invocations of methods annotated with MustBeClosed are called within the resource variable initializer of a try-with-resources statement.
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NCopiesOfChar
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NoAllocationChecker
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NonRuntimeAnnotation
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ObjectsHashCodePrimitive
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.OptionalNotPresent
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ParameterComment
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ParameterName
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.PreconditionsCheckNotNull
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.PreconditionsCheckNotNullPrimitive
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.PreconditionsInvalidPlaceholder
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.PrimitiveArrayPassedToVarargsMethod
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.PrivateSecurityContractProtoAccess
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ProtocolBufferOrdinal
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ProtoRedundantSet
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.RandomCast
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ReachabilityFenceUsage
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.RestrictedApiChecker
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.SelfComparison
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.SelfEquals
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ShouldHaveEvenArgs
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.StreamResourceLeak
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.StringSplitter
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.SubstringOfZero
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.SystemExitOutsideMain
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ThreadJoinLoop
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.DeprecatedThreadMethods
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.ImmutableChecker
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.ThreadPriorityCheck
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ThreeLetterTimeZoneID
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ThrowIfUncheckedKnownChecked
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.TruthAssertExpected
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.TruthConstantAsserts
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.TruthSelfEquals
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.UndefinedEquals
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.UnnecessarySetDefault
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.UnnecessaryTypeArgument
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.UnsafeFinalization
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.UnusedCollectionModifiedInPlace
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.URLEqualsHashCode
 
matchMethodInvocation(MethodInvocationTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.WaitNotInLoop
 
matchModifiers(ModifiersTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.ModifiersTreeMatcher
 
matchNewArray(NewArrayTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.NewArrayTreeMatcher
 
matchNewArray(NewArrayTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NoAllocationChecker
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractAsKeyOfSetOrMap
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.RestrictToEnforcer
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.argumentselectiondefects.ArgumentSelectionDefectChecker
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.argumentselectiondefects.AutoValueConstructorOrderChecker
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.BigDecimalLiteralDouble
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.BooleanParameter
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.BoxedPrimitiveConstructor
 
matchNewClass(NewClassTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.NewClassTreeMatcher
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.CompileTimeConstantChecker
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.DeadException
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.DeadThread
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.DefaultCharset
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.DoubleBraceInitialization
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.formatstring.FormatStringAnnotationChecker
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.JdkObsolete
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MisusedWeekYear
Match uses of the SimpleDateFormat constructor in which the pattern passed in contains YYYY but not ww, signifying that it was not intended to be a week date.
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MustBeClosedChecker
Check that construction of constructors annotated with MustBeClosed occurs within the resource variable initializer of a try-with-resources statement.
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NoAllocationChecker
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ParameterComment
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ParameterName
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.RestrictedApiChecker
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.StringBuilderInitWithChar
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ThreadLocalUsage
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.ImmutableChecker
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.UnnecessaryTypeArgument
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.UnusedAnonymousClass
 
matchNewClass(NewClassTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.URLEqualsHashCode
 
matchNewClassOrMethodInvocation(ExpressionTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.AbstractMustBeClosedChecker
Check that constructors and methods annotated with MustBeClosed occur within the resource variable initializer of a try-with-resources statement.
matchParameterizedType(ParameterizedTypeTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.ParameterizedTypeTreeMatcher
 
matchParenthesized(ParenthesizedTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.ParenthesizedTreeMatcher
 
matchParenthesized(ParenthesizedTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.UnnecessaryParentheses
 
matchPrimitiveType(PrimitiveTypeTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.PrimitiveTypeTreeMatcher
 
matchResult(ExpressionTree, VisitorState) - Method in class com.google.errorprone.matchers.method.ConstructorMatcherImpl
 
matchResult(ExpressionTree, MatchState, VisitorState) - Method in class com.google.errorprone.matchers.method.MethodSignatureMatcherImpl
 
matchResult(ExpressionTree, MatchState, VisitorState) - Method in class com.google.errorprone.matchers.method.ParameterMatcherImpl
 
matchReturn(ReturnTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.ReturnTreeMatcher
 
matchReturn(ReturnTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.Finally
 
matchReturn(ReturnTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.FutureReturnValueIgnored
Returning a type of Future from a lambda or method that returns Object loses the Future type, which can result in suppressed errors or race conditions.
matchReturn(ReturnTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.dagger.ProvidesNull
Matches explicit "return null" statements in methods annotated with @Provides but not @Nullable.
matchReturn(ReturnTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.IntLongMath
 
matchReturn(ReturnTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NoAllocationChecker
 
matchReturn(ReturnTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.nullness.ReturnMissingNullable
 
matchSwitch(SwitchTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.SwitchTreeMatcher
 
matchSwitch(SwitchTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.FallThrough
 
matchSwitch(SwitchTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MissingCasesInEnumSwitch
 
matchSwitch(SwitchTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MissingDefault
 
matchSwitch(SwitchTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.SwitchDefault
 
matchSwitch(SwitchTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.UnnecessaryDefaultInEnumSwitch
 
matchSynchronized(SynchronizedTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.SynchronizedTreeMatcher
 
matchSynchronized(SynchronizedTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.StaticGuardedByInstance
 
matchSynchronized(SynchronizedTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.SynchronizeOnNonFinalField
 
matchThrow(ThrowTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.ThrowTreeMatcher
 
matchThrow(ThrowTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.Finally
 
matchThrow(ThrowTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ThrowNull
 
matchTry(TryTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.TryTreeMatcher
 
matchTry(TryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.CatchFail
 
matchTry(TryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MissingFail
 
matchTry(TryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.TryFailRefactoring
 
matchTry(TryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.TryFailThrowable
 
matchTypeCast(TypeCastTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.android.BundleDeserializationCast
 
matchTypeCast(TypeCastTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.BadComparable
 
matchTypeCast(TypeCastTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.TypeCastTreeMatcher
 
matchTypeCast(TypeCastTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.FloatCast
 
matchTypeCast(TypeCastTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.InstanceOfAndCastMatchWrongType
 
matchTypeCast(TypeCastTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NoAllocationChecker
 
matchTypeCast(TypeCastTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.UnsafeReflectiveConstructionCast
 
matchTypeParameter(TypeParameterTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.TypeParameterTreeMatcher
 
matchTypeParameter(TypeParameterTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.JavaLangClash
 
matchTypeParameter(TypeParameterTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.threadsafety.ImmutableChecker
 
matchTypeParameter(TypeParameterTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.TypeParameterNaming
 
matchTypeParameter(TypeParameterTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.VarTypeName
 
matchUnary(UnaryTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.UnaryTreeMatcher
 
matchUnary(UnaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NoAllocationChecker
 
matchUnary(UnaryTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.NonAtomicVolatileUpdate
 
matchUnionType(UnionTypeTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.UnionTypeTreeMatcher
 
matchVariable(VariableTree, VisitorState) - Method in interface com.google.errorprone.bugpatterns.BugChecker.VariableTreeMatcher
 
matchVariable(VariableTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.CannotMockFinalClass
 
matchVariable(VariableTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ConstantField
 
matchVariable(VariableTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.DateFormatConstant
 
matchVariable(VariableTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.DepAnn
 
matchVariable(VariableTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ExpectedExceptionRefactoring
 
matchVariable(VariableTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.inject.guice.InjectOnFinalField
 
matchVariable(VariableTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.IntLongMath
 
matchVariable(VariableTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.IterablePathParameter
 
matchVariable(VariableTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.javadoc.InvalidTag
 
matchVariable(VariableTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.JMockTestWithoutRunWithOrRuleAnnotation
 
matchVariable(VariableTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.MixedArrayDimensions
 
matchVariable(VariableTree, VisitorState) - Method in class com.google.errorprone.bugpatterns.ModifiedButNotUsed