|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.roo.classpath.customdata.taggers.ConstructorMatcher
public class ConstructorMatcher
ConstructorMetadata-specific implementation of Matcher.
Currently ConstructorMetadata instances are only matched based on parameter
types.
| Constructor Summary | |
|---|---|
ConstructorMatcher(org.springframework.roo.model.CustomDataKey<ConstructorMetadata> customDataKey,
Collection<? extends org.springframework.roo.model.JavaType> parameterTypes)
Constructor |
|
ConstructorMatcher(org.springframework.roo.model.CustomDataKey<ConstructorMetadata> customDataKey,
T... parameterTypes)
Constructor |
|
| Method Summary | |
|---|---|
org.springframework.roo.model.CustomDataKey<ConstructorMetadata> |
getCustomDataKey()
Returns a key indicating the type of custom data returned by Matcher.matches(List) |
Object |
getTagValue(ConstructorMetadata key)
Returns the value associated with the given key that should be applied to the matched instance. |
List<ConstructorMetadata> |
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 ConstructorMatcher(org.springframework.roo.model.CustomDataKey<ConstructorMetadata> customDataKey,
Collection<? extends org.springframework.roo.model.JavaType> parameterTypes)
customDataKey - (required)parameterTypes - can be null for none
public ConstructorMatcher(org.springframework.roo.model.CustomDataKey<ConstructorMetadata> customDataKey,
T... parameterTypes)
T - JavaType or any subclasscustomDataKey - (required)parameterTypes - | Method Detail |
|---|
public org.springframework.roo.model.CustomDataKey<ConstructorMetadata> getCustomDataKey()
MatcherMatcher.matches(List)
getCustomDataKey in interface Matcher<ConstructorMetadata>null keypublic Object getTagValue(ConstructorMetadata key)
Matcher
getTagValue in interface Matcher<ConstructorMetadata>key - the custom data key
public List<ConstructorMetadata> matches(List<MemberHoldingTypeDetails> memberHoldingTypeDetailsList)
MatcherCustomDataAccessors for any elements of the given
list that meet this matcher's inclusion criteria.
matches in interface Matcher<ConstructorMetadata>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 | |||||||||