Class Helpers.CastableTo
- java.lang.Object
-
- org.robolectric.errorprone.bugpatterns.Helpers.CastableTo
-
- All Implemented Interfaces:
com.google.errorprone.predicates.TypePredicate
,Serializable
- Enclosing class:
- Helpers
public static class Helpers.CastableTo extends Object implements com.google.errorprone.predicates.TypePredicate
Matches implementations of the given interface.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description com.google.errorprone.suppliers.Supplier<com.sun.tools.javac.code.Type>
expected
-
Constructor Summary
Constructors Constructor Description CastableTo(com.google.errorprone.suppliers.Supplier<com.sun.tools.javac.code.Type> type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(com.sun.tools.javac.code.Type type, com.google.errorprone.VisitorState state)
-