Searched refs:companionModule (Results 1 – 2 of 2) sorted by relevance
187 TypeElement companionModule = metadataUtil.getEnclosedCompanionObject(moduleElement); in collectCompanionModuleBindings() local192 methodsIn(elements.getAllMembers(companionModule)).stream() in collectCompanionModuleBindings()204 bindings.add(bindingFactory.providesMethodBinding(method, companionModule)); in collectCompanionModuleBindings()207 bindings.add(bindingFactory.producesMethodBinding(method, companionModule)); in collectCompanionModuleBindings()
650 TypeElement companionModule = metadataUtil.getEnclosedCompanionObject(module); in validateCompanionModule() local652 methodsIn(companionModule.getEnclosedElements()); in validateCompanionModule()679 if (!companionBindingMethods.isEmpty() && metadataUtil.isVisibilityPrivate(companionModule)) { in validateCompanionModule()681 "A Companion Module with binding methods cannot be private.", companionModule); in validateCompanionModule()