Searched refs:bindsTypeChecker (Results 1 – 4 of 4) sorted by relevance
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | BindsMethodValidator.java | 40 private final BindsTypeChecker bindsTypeChecker; field in BindsMethodValidator 46 BindsTypeChecker bindsTypeChecker, in BindsMethodValidator() argument 60 this.bindsTypeChecker = bindsTypeChecker; in BindsMethodValidator() 99 if (!bindsTypeChecker.isAssignable(parameterType, returnType, contributionType)) { in checkParameter()
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | DelegateRequestRepresentation.java | 49 private final BindsTypeChecker bindsTypeChecker; field in DelegateRequestRepresentation 62 this.bindsTypeChecker = new BindsTypeChecker(types, elements); in DelegateRequestRepresentation() 89 return instanceRequiresCast(binding, delegateExpression, requestingClass, bindsTypeChecker) in getDependencyExpression() 102 BindsTypeChecker bindsTypeChecker) { in instanceRequiresCast() argument 106 return !bindsTypeChecker.isAssignable( in instanceRequiresCast()
|
D | DerivedFromFrameworkInstanceRequestRepresentation.java | 43 private final BindsTypeChecker bindsTypeChecker; field in DerivedFromFrameworkInstanceRequestRepresentation 58 this.bindsTypeChecker = new BindsTypeChecker(types, elements); in DerivedFromFrameworkInstanceRequestRepresentation() 90 && instanceRequiresCast(binding, expression, requestingClass, bindsTypeChecker); in requiresTypeCast()
|
D | ExperimentalSwitchingProviderDependencyRepresentation.java | 49 private final BindsTypeChecker bindsTypeChecker; field in ExperimentalSwitchingProviderDependencyRepresentation 64 this.bindsTypeChecker = new BindsTypeChecker(types, elements); in ExperimentalSwitchingProviderDependencyRepresentation() 109 && !bindsTypeChecker.isAssignable(expression.type(), type, binding.contributionType()) in usesExplicitTypeCast()
|