public static class ClassifierFinder.SimpleNameResolver
extends java.lang.Object
Constructor and Description |
---|
SimpleNameResolver() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends Element> |
getCandidates()
An utility method to return a list of element as candidates for name resolving.
|
Classifier |
resolve(java.lang.String name,
java.util.Collection elementClassTypes,
java.util.Collection restricted)
Resolves given name to a classifier
|
void |
setOwner(Element modelElement) |
void |
setPropertyName(java.lang.String string) |
public Classifier resolve(java.lang.String name, java.util.Collection elementClassTypes, @CheckForNull java.util.Collection restricted)
name
- a nameelementClassTypes
- classifier metatypesrestricted
- allowed dsl'ed stereotypespublic java.util.Collection<? extends Element> getCandidates()
public void setOwner(Element modelElement)
public void setPropertyName(java.lang.String string)