Class StronglyType
- java.lang.Object
-
- com.google.errorprone.bugpatterns.StronglyType
-
public abstract class StronglyType extends Object
Helper for strongly typing fields. Fields that are declared as a weaker type but only used when wrapped in a stronger type will be refactored to the stronger type.- See Also:
StronglyTypeTime
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StronglyType.Builder
Builder forStronglyType
-
Constructor Summary
Constructors Constructor Description StronglyType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StronglyType.Builder
forCheck(BugChecker bugChecker)
Description
match(com.sun.source.tree.CompilationUnitTree tree, VisitorState state)
-
-
-
Method Detail
-
forCheck
public static StronglyType.Builder forCheck(BugChecker bugChecker)
-
match
public final Description match(com.sun.source.tree.CompilationUnitTree tree, VisitorState state)
-
-