Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getAnnotation (0.09 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScope.java

            getScopeState().seed(clazz, value::get);
        }
    
        public <T> Provider<T> scope(final Key<T> key, Provider<T> unscoped) {
            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;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top