Uses of Class
com.ultikits.ultitools.context.MergedAnnotationResolver.Candidate
Packages that use MergedAnnotationResolver.Candidate
-
Uses of MergedAnnotationResolver.Candidate in com.ultikits.ultitools.context
Methods in com.ultikits.ultitools.context that return types with arguments of type MergedAnnotationResolver.CandidateModifier and TypeMethodDescriptionprivate static Map<String, List<MergedAnnotationResolver.Candidate>> MergedAnnotationResolver.collectOverrideCandidates(List<Annotation> path, int level, List<Map<String, List<MergedAnnotationResolver.Candidate>>> outerLevels) Collect the candidate values for every attribute of the annotation atpath[level], given the already-computed candidates of every level above it (outerLevels, indexed by distance from the class): Forwarded. For each outer level, each attribute declaring@AliasFor(annotation = <this level's type>)forwards all of its own candidates to the aliased attribute here.Methods in com.ultikits.ultitools.context with parameters of type MergedAnnotationResolver.CandidateModifier and TypeMethodDescriptionprivate static ContainerExceptionMergedAnnotationResolver.selfContradiction(Class<? extends Annotation> annotationType, String attribute, MergedAnnotationResolver.Candidate conflicting, List<MergedAnnotationResolver.Candidate> candidates) Method parameters in com.ultikits.ultitools.context with type arguments of type MergedAnnotationResolver.CandidateModifier and TypeMethodDescriptionprivate static voidMergedAnnotationResolver.addAllDistinct(List<MergedAnnotationResolver.Candidate> target, List<MergedAnnotationResolver.Candidate> source) private static voidMergedAnnotationResolver.addCandidateIfNonDefault(Map<String, List<MergedAnnotationResolver.Candidate>> out, Method sourceMethod, Annotation sourceInstance, int distance) private static ObjectMergedAnnotationResolver.resolveNearest(Class<? extends Annotation> annotationType, String attribute, List<MergedAnnotationResolver.Candidate> candidates) Apply the per-instance conflict rule and nearest-wins rule (seeMergedAnnotationResolver.merge(java.lang.annotation.Annotation, java.lang.Class<A>, java.util.List<java.lang.annotation.Annotation>)) to one attribute's candidates.private static ContainerExceptionMergedAnnotationResolver.selfContradiction(Class<? extends Annotation> annotationType, String attribute, MergedAnnotationResolver.Candidate conflicting, List<MergedAnnotationResolver.Candidate> candidates)