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:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal com.google.errorprone.suppliers.Supplier<com.sun.tools.javac.code.Type>
- 
Constructor SummaryConstructorsConstructorDescriptionCastableTo(com.google.errorprone.suppliers.Supplier<com.sun.tools.javac.code.Type> type) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanapply(com.sun.tools.javac.code.Type type, com.google.errorprone.VisitorState state) 
- 
Field Details- 
expectedpublic final com.google.errorprone.suppliers.Supplier<com.sun.tools.javac.code.Type> expected
 
- 
- 
Constructor Details- 
CastableTopublic CastableTo(com.google.errorprone.suppliers.Supplier<com.sun.tools.javac.code.Type> type) 
 
- 
- 
Method Details- 
applypublic boolean apply(com.sun.tools.javac.code.Type type, com.google.errorprone.VisitorState state) - Specified by:
- applyin interface- com.google.errorprone.predicates.TypePredicate
 
 
-