|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.roo.classpath.customdata.taggers.TypeMatcher
org.springframework.roo.classpath.customdata.taggers.AnnotatedTypeMatcher
public class AnnotatedTypeMatcher
A TypeMatcher that looks for any of a given set of annotations.
| Constructor Summary | |
|---|---|
AnnotatedTypeMatcher(org.springframework.roo.model.CustomDataKey<MemberHoldingTypeDetails> customDataKey,
org.springframework.roo.model.JavaType... annotationTypesToMatchOn)
Constructor |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotatedTypeMatcher(org.springframework.roo.model.CustomDataKey<MemberHoldingTypeDetails> customDataKey,
org.springframework.roo.model.JavaType... annotationTypesToMatchOn)
customDataKey - the CustomDataKey to apply (required)annotationTypesToMatchOn - | Method Detail |
|---|
public org.springframework.roo.model.CustomDataKey<MemberHoldingTypeDetails> getCustomDataKey()
MatcherMatcher.matches(List)
null keypublic Object getTagValue(MemberHoldingTypeDetails key)
Matcher
key - the custom data key
public 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 matches
null list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||