• Home
  • Raw
  • Download

Lines Matching refs:requestingClass

75   Expression getDependencyExpression(ClassName requestingClass) {  in getDependencyExpression()  argument
84 .add(maybeTypeParameters(requestingClass)) in getDependencyExpression()
90 .map(dependency -> keyAndValueExpression(dependency, requestingClass)) in getDependencyExpression()
96 return collectionsStaticFactoryInvocation(requestingClass, CodeBlock.of("emptyMap()")); in getDependencyExpression()
99 requestingClass, in getDependencyExpression()
102 keyAndValueExpression(getOnlyElement(dependencies.keySet()), requestingClass))); in getDependencyExpression()
107 .add(maybeTypeParameters(requestingClass)); in getDependencyExpression()
116 instantiation.add(".put($L)", keyAndValueExpression(dependency, requestingClass)); in getDependencyExpression()
130 private CodeBlock keyAndValueExpression(DependencyRequest dependency, ClassName requestingClass) { in keyAndValueExpression() argument
133 getMapKeyExpression(dependencies.get(dependency), requestingClass, elements), in keyAndValueExpression()
135 .getDependencyExpression(bindingRequest(dependency), requestingClass) in keyAndValueExpression()
140 ClassName requestingClass, CodeBlock methodInvocation) { in collectionsStaticFactoryInvocation() argument
145 .add(maybeTypeParameters(requestingClass)) in collectionsStaticFactoryInvocation()
150 private CodeBlock maybeTypeParameters(ClassName requestingClass) { in maybeTypeParameters() argument
153 return isTypeAccessibleFrom(bindingKeyType, requestingClass.packageName()) in maybeTypeParameters()