Searched refs:companionModule (Results 1 – 2 of 2) sorted by relevance
180 .ifPresent(companionModule -> collectCompanionModuleBindings(companionModule, bindings)); in createUncached()193 XTypeElement companionModule, ImmutableSet.Builder<ContributionBinding> bindings) { in collectCompanionModuleBindings() argument201 methodsIn(elements.getAllMembers(toJavac(companionModule))).stream() in collectCompanionModuleBindings()216 bindings.add(bindingFactory.providesMethodBinding(method, companionModule)); in collectCompanionModuleBindings()219 bindings.add(bindingFactory.producesMethodBinding(method, companionModule)); in collectCompanionModuleBindings()
226 .ifPresent(companionModule -> validateCompanionModule(companionModule, builder)); in validateUncached()588 XTypeElement companionModule, ValidationReport.Builder builder) { in validateCompanionModule() argument590 for (XMethodElement companionMethod : companionModule.getDeclaredMethods()) { in validateCompanionModule()614 if (!companionBindingMethods.isEmpty() && companionModule.isPrivate()) { in validateCompanionModule()616 "A Companion Module with binding methods cannot be private.", companionModule); in validateCompanionModule()