Home
last modified time | relevance | path

Searched refs:bindsTypeChecker (Results 1 – 4 of 4) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/validation/
DBindsMethodValidator.java40 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/
DDelegateRequestRepresentation.java49 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()
DDerivedFromFrameworkInstanceRequestRepresentation.java43 private final BindsTypeChecker bindsTypeChecker; field in DerivedFromFrameworkInstanceRequestRepresentation
58 this.bindsTypeChecker = new BindsTypeChecker(types, elements); in DerivedFromFrameworkInstanceRequestRepresentation()
90 && instanceRequiresCast(binding, expression, requestingClass, bindsTypeChecker); in requiresTypeCast()
DExperimentalSwitchingProviderDependencyRepresentation.java49 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()