public class AnnotatedTypeMatcher extends TypeMatcher
TypeMatcher that looks for any of a given set of annotations.| Constructor and Description |
|---|
AnnotatedTypeMatcher(org.springframework.roo.model.CustomDataKey<MemberHoldingTypeDetails> customDataKey,
org.springframework.roo.model.JavaType... annotationTypesToMatchOn)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.roo.model.CustomDataKey<MemberHoldingTypeDetails> |
getCustomDataKey()
Returns a key indicating the type of custom data returned by
Matcher.matches(List) |
Object |
getTagValue(MemberHoldingTypeDetails key)
Returns the value associated with the given key that should be applied to
the matched instance.
|
List<MemberHoldingTypeDetails> |
matches(List<MemberHoldingTypeDetails> memberHoldingTypeDetailsList)
Returns the
CustomDataAccessors for any elements of the given
list that meet this matcher's inclusion criteria. |
public AnnotatedTypeMatcher(org.springframework.roo.model.CustomDataKey<MemberHoldingTypeDetails> customDataKey, org.springframework.roo.model.JavaType... annotationTypesToMatchOn)
customDataKey - the CustomDataKey to apply (required)annotationTypesToMatchOn - public org.springframework.roo.model.CustomDataKey<MemberHoldingTypeDetails> getCustomDataKey()
MatcherMatcher.matches(List)null keypublic Object getTagValue(MemberHoldingTypeDetails key)
Matcherkey - the custom data keypublic List<MemberHoldingTypeDetails> matches(List<MemberHoldingTypeDetails> memberHoldingTypeDetailsList)
MatcherCustomDataAccessors for any elements of the given
list that meet this matcher's inclusion criteria.memberHoldingTypeDetailsList - the list to check for matchesnull listCopyright © 2009–2016. All rights reserved.