- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for bindingFromMethod (0.14 sec)
-
maven-di/src/main/java/org/apache/maven/di/impl/ReflectionUtils.java
if (!injectFactoryMethods.isEmpty()) { if (injectFactoryMethods.size() > 1) { throw failedImplicitBinding(key, "more than one inject factory method"); } return bindingFromMethod(injectFactoryMethods.iterator().next()); } if (constructors.isEmpty()) { throw failedImplicitBinding(key, "inject annotation on interface"); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Feb 09 17:13:31 UTC 2024 - 16K bytes - Viewed (0) -
maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java
Set<Class<?>> types = getBoundTypes(method.getAnnotation(Typed.class), Types.getRawType(returnType)); Binding<Object> bind = ReflectionUtils.bindingFromMethod(method).scope(scope); for (Type t : Types.getAllSuperTypes(returnType)) { if (types == null || types.contains(Types.getRawType(t))) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 14.3K bytes - Viewed (0)