Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for qualifierOf (0.41 sec)

  1. maven-di/src/main/java/org/apache/maven/di/impl/ReflectionUtils.java

        }
    
        public static @Nullable Object qualifierOf(AnnotatedElement annotatedElement) {
            Object qualifier = null;
            for (Annotation annotation : annotatedElement.getDeclaredAnnotations()) {
                if (annotation.annotationType().isAnnotationPresent(Qualifier.class)) {
                    if (qualifier != null) {
                        throw new DIException("More than one qualifier annotation on " + annotatedElement);
                    }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. maven-di/src/main/java/org/apache/maven/di/impl/InjectorImpl.java

            Key<?> key = Key.of(clazz, ReflectionUtils.qualifierOf(clazz));
            Binding<U> binding = Binding.toInstance(instance);
            return doBind(key, binding);
        }
    
        @Override
        public Injector bindImplicit(Class<?> clazz) {
            Key<?> key = Key.of(clazz, ReflectionUtils.qualifierOf(clazz));
            if (clazz.isInterface()) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                if (RELEASE_QUALIFIERS.contains(qualifier)) {
                    return String.valueOf(QUALIFIERS.indexOf(""));
                }
    
                int i = QUALIFIERS.indexOf(qualifier);
    
                // Just returning an Integer with the index here is faster, but requires a lot of if/then/else to check for
                // -1
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 26K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

                }
    
                qualifier.getCalleeExpressionIfAny() as? KtNameReferenceExpression
                    ?: errorWithAttachment("Cannot get referenced name from '${qualifier::class}'") {
                        withPsiEntry("qualifier", qualifier)
                    }
            }
    
            override val referencedByName: Name
                get() = typeNameReference.getReferencedNameAsName()
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            val qualifiers = generateSequence(this as KtExpression) { (it as? KtDotQualifiedExpression)?.receiverExpression }
                .map { (it as? KtDotQualifiedExpression)?.selectorExpression ?: it }
                .toList()
                .asReversed()
    
            val qualifyingReferences = qualifiers.mapIndexed { index, qualifier ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 37K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

         *
         * To properly resolve qualifier parts in the middle,
         * we need to resolve the whole qualifier to understand which parts of the qualifier are package or class qualifiers.
         * And then we will be able to resolve the qualifier selected by the user to the proper class, package or callable.
         *
         * It's possible that the whole qualifier is invalid, in this case we still want to resolve our [selectedFqName].
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. src/go/types/typestring.go

    //
    // Using a nil Qualifier is equivalent to using (*[Package]).Path: the
    // object is qualified by the import path, e.g., "encoding/json.Marshal".
    type Qualifier func(*Package) string
    
    // RelativeTo returns a [Qualifier] that fully qualifies members of
    // all packages other than pkg.
    func RelativeTo(pkg *Package) Qualifier {
    	if pkg == nil {
    		return nil
    	}
    	return func(other *Package) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/typestring.go

    //
    // Using a nil Qualifier is equivalent to using (*[Package]).Path: the
    // object is qualified by the import path, e.g., "encoding/json.Marshal".
    type Qualifier func(*Package) string
    
    // RelativeTo returns a [Qualifier] that fully qualifies members of
    // all packages other than pkg.
    func RelativeTo(pkg *Package) Qualifier {
    	if pkg == nil {
    		return nil
    	}
    	return func(other *Package) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/dependency_resolution.adoc

    [[sec:base-version-comparison]]
    === Qualifiers
    There is a caveat to comparing versions when it comes to selecting the _highest_ one.
    All the rules of <<single_versions#version_ordering,version ordering>> still apply, but the conflict resolver
    has a bias towards versions without qualifiers.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 22.1K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                val unresolvedName = when (val diagnostic = errorType?.diagnostic) {
                    is ConeUnresolvedTypeQualifierError -> diagnostic.qualifier
                    is ConeUnresolvedNameError -> diagnostic.qualifier
                    else -> null
                }
                qualifierParts += unresolvedName
                if (errorType != null && expression is FirPropertyAccessExpression) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top