Home
last modified time | relevance | path

Searched refs:isTypeAccessibleFrom (Results 1 – 15 of 15) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/writing/
DOptionalBindingExpression.java21 import static dagger.internal.codegen.langmodel.Accessibility.isTypeAccessibleFrom;
65 if (isTypeAccessibleFrom(binding.key().type(), requestingClass.packageName())) { in getDependencyExpression()
81 return isTypeAccessibleFrom(dependency.key().type(), requestingClass.packageName()) in getDependencyExpression()
DFrameworkInstanceBindingExpression.java20 import static dagger.internal.codegen.langmodel.Accessibility.isTypeAccessibleFrom;
61 isTypeAccessibleFrom(binding.contributedType(), requestingClass.packageName()) in getDependencyExpression()
DDelegateBindingExpression.java24 import static dagger.internal.codegen.langmodel.Accessibility.isTypeAccessibleFrom;
97 && isTypeAccessibleFrom(binding.contributedType(), requestingClass.packageName()); in instanceRequiresCast()
DMembersInjectionMethods.java22 import static dagger.internal.codegen.langmodel.Accessibility.isTypeAccessibleFrom;
88 isTypeAccessibleFrom(keyType, componentImplementation.name().packageName()) in membersInjectionMethod()
DSetBindingExpression.java22 import static dagger.internal.codegen.langmodel.Accessibility.isTypeAccessibleFrom;
153 return isTypeAccessibleFrom(elementType, requestingClass.packageName()) in maybeTypeParameter()
DMapBindingExpression.java24 import static dagger.internal.codegen.langmodel.Accessibility.isTypeAccessibleFrom;
153 return isTypeAccessibleFrom(bindingKeyType, requestingClass.packageName()) in maybeTypeParameters()
DSimpleMethodBindingExpression.java24 import static dagger.internal.codegen.langmodel.Accessibility.isTypeAccessibleFrom;
131 .allMatch(t -> isTypeAccessibleFrom(t, requestingClass.packageName()))) { in constructorTypeName()
DMemberSelect.java30 import static dagger.internal.codegen.langmodel.Accessibility.isTypeAccessibleFrom;
222 accessible &= isTypeAccessibleFrom(typeParameter, usingClass.packageName()); in getExpressionFor()
DMembersInjectorGenerator.java35 import static dagger.internal.codegen.langmodel.Accessibility.isTypeAccessibleFrom;
168 !isTypeAccessibleFrom(dependency.key().type(), generatedTypeName.packageName()); in write()
DInjectionMethods.java40 import static dagger.internal.codegen.langmodel.Accessibility.isTypeAccessibleFrom;
312 && isTypeAccessibleFrom(injectSiteType, generatedTypeName.packageName()) in invokeAll()
379 && isTypeAccessibleFrom(keyType, generatedTypeName.packageName())) { in injectionMethodArgument()
DComponentImplementation.java26 import static dagger.internal.codegen.langmodel.Accessibility.isTypeAccessibleFrom;
292 return isTypeAccessibleFrom(type, name.packageName()); in isTypeAccessible()
DComponentBindingExpressions.java28 import static dagger.internal.codegen.langmodel.Accessibility.isTypeAccessibleFrom;
203 && !isTypeAccessibleFrom(dependencyType, requestingClass.packageName()) in getDependencyArgumentExpression()
/external/dagger2/java/dagger/internal/codegen/base/
DMapKeyAccessibility.java19 import static dagger.internal.codegen.langmodel.Accessibility.isTypeAccessibleFrom;
72 return new MapKeyAccessibility(type -> isTypeAccessibleFrom(type, accessingPackage)) in isMapKeyAccessibleFrom()
/external/dagger2/java/dagger/internal/codegen/langmodel/
DAccessibility.java68 public static boolean isTypeAccessibleFrom(TypeMirror type, String packageName) { in isTypeAccessibleFrom() method in Accessibility
72 private static boolean isTypeAccessibleFrom(TypeMirror type, Optional<String> packageName) { in isTypeAccessibleFrom() method in Accessibility
256 return isTypeAccessibleFrom(e, requestingPackage);
DDaggerTypes.java174 t -> Accessibility.isTypeAccessibleFrom(t, requestingClass.packageName()), in accessibleType()