- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getTypeLiteral (0.19 sec)
-
impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java
Object qualifier = key.getAnnotation() instanceof Named n ? n.value() : key.getAnnotation(); org.apache.maven.di.Key<T> k = org.apache.maven.di.Key.ofType(key.getTypeLiteral().getType(), qualifier); return scope(k, unscoped::get)::get; } public static <T> Provider<T> seededKeyProvider(Class<? extends T> clazz) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.3K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
} // use temporary Key as quick way to auto-box primitive types into their equivalent object types final TypeLiteral<?> boxedType = rawType.isPrimitive() ? Key.get(rawType).getTypeLiteral() : toType; for (final TypeConverterBinding b : typeConverterBindings) { if (b.getTypeMatcher().matches(boxedType)) { return b.getTypeConverter().convert(text, toType);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 15.3K bytes - Viewed (0)