public static class SynthesizedAnnotationSelector.FarthestAndNewestPrioritySelector extends Object implements SynthesizedAnnotationSelector
SynthesizedAnnotationSelector.FarthestAndNewestPrioritySelector, SynthesizedAnnotationSelector.FarthestAndOldestPrioritySelector, SynthesizedAnnotationSelector.NearestAndNewestPrioritySelector, SynthesizedAnnotationSelector.NearestAndOldestPrioritySelectorFARTHEST_AND_NEWEST_PRIORITY, FARTHEST_AND_OLDEST_PRIORITY, NEAREST_AND_NEWEST_PRIORITY, NEAREST_AND_OLDEST_PRIORITY| 构造器和说明 |
|---|
FarthestAndNewestPrioritySelector() |
public <T extends SynthesizedAnnotation> T choose(T oldAnnotation, T newAnnotation)
SynthesizedAnnotationSelectorchoose 在接口中 SynthesizedAnnotationSelectorT - 复合注解类型oldAnnotation - 已存在的注解,该参数不允许为空newAnnotation - 新获取的注解,该参数不允许为空Copyright © 2022. All rights reserved.