Class ConstantPatternCompile

java.lang.Object
com.google.errorprone.bugpatterns.BugChecker
com.google.errorprone.bugpatterns.ConstantPatternCompile
All Implemented Interfaces:
BugChecker.VariableTreeMatcher, Suppressible, Serializable

public final class ConstantPatternCompile
extends BugChecker
implements BugChecker.VariableTreeMatcher
Flags variables initialized with Pattern.compile(String) calls that could be constants.
Author:
bhagwani@google.com (Sumit Bhagwani)
See Also:
Serialized Form