protected List < AnnotationNode > getTargetAnnotationList ( AnnotationNode collector , AnnotationNode aliasAnnotationUsage , SourceUnit source ) { List < AnnotationNode > stored = getStoredTargetList ( aliasAnnotationUsage , source ) ; List < AnnotationNode > targetList = getTargetListFromValue ( collector , aliasAnnotationUsage , source ) ; int size = targetList . size ( ) + stored . size ( ) ; if ( size == 0 ) { return Collections . emptyList ( ) ; } List < AnnotationNode > ret = new ArrayList < AnnotationNode > ( size ) ; ret . addAll ( stored ) ; ret . addAll ( targetList ) ; return ret ; }
Returns a list of AnnotationNodes for the value attribute of the given AnnotationNode .