Uses of Class
com.google.errorprone.bugpatterns.StronglyType.Builder
Package
Description
Checks added to the java compiler which detect common bug patterns.
-
Uses of StronglyType.Builder in com.google.errorprone.bugpatterns
Modifier and TypeMethodDescriptionfinal StronglyType.Builder
StronglyType.Builder.addType
(com.sun.tools.javac.code.Type type) Add a type that can be replaced with a stronger type.static StronglyType.Builder
StronglyType.forCheck
(BugChecker bugChecker) abstract StronglyType.Builder
StronglyType.Builder.setFactoryMatcher
(Matcher<com.sun.source.tree.ExpressionTree> matcher) Set the matcher used to check if an expression is a factory creating a stronger type.abstract StronglyType.Builder
StronglyType.Builder.setRenameFunction
(Function<String, String> renameFn) Set a mapping function that maps from the original name to a new name more befitting the strong type.