Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for qualifierOf (0.32 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/compile/internal/types2/object.go

    	WriteType(buf, typ, qf)
    }
    
    func packagePrefix(pkg *Package, qf Qualifier) string {
    	if pkg == nil {
    		return ""
    	}
    	var s string
    	if qf != nil {
    		s = qf(pkg)
    	} else {
    		s = pkg.Path()
    	}
    	if s != "" {
    		s += "."
    	}
    	return s
    }
    
    // ObjectString returns the string form of obj.
    // The Qualifier controls the printing of
    // package-level objects, and may be nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  10. src/go/types/object.go

    	WriteType(buf, typ, qf)
    }
    
    func packagePrefix(pkg *Package, qf Qualifier) string {
    	if pkg == nil {
    		return ""
    	}
    	var s string
    	if qf != nil {
    		s = qf(pkg)
    	} else {
    		s = pkg.Path()
    	}
    	if s != "" {
    		s += "."
    	}
    	return s
    }
    
    // ObjectString returns the string form of obj.
    // The Qualifier controls the printing of
    // package-level objects, and may be nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top