Constructor.
The general format of the textual representation is:
br [path/]featureIdentifierbr
The featureIdentifier is the identifier of the feature. The path is a sequence of type identifiers or field names.
The special character * may be used for specifying "anything".
Parameters:
specification - the textual representation of the pattern.
Action Details
isNameReplacement
def isNameReplacement : boolean
Replies if this pattern is only for a simple name replacement.
Returns:
true if the pattern corresponds to a simple name only.
matches(Deque<E>)
def matches(Deque<E>) : boolean
Replies if the pattern matches the given identifier.
Parameters:
feature - the feature to test.
Returns:
true if the pattern matches.
simpleName(String)
def simpleName(String) : java.lang.String
Replies the simple name of the feature from the given textual representation.
Parameters:
textualRepresentation - the textual representation.