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
|
java.lang.String |
resolveName(java.lang.String name) |
void |
setOwner(Element modelElement) |
void |
setPropertyName(java.lang.String string) |
@CheckForNull public Classifier resolve(java.lang.String name, java.util.Collection elementClassTypes, @CheckForNull java.util.Collection restricted)
name
- a nameelementClassTypes
- classifier metatypesrestricted
- allowed dsl'ed stereotypes@CheckForNull public java.lang.String resolveName(java.lang.String name)
@CheckForNull public java.util.Collection<? extends Element> getCandidates()
public void setOwner(Element modelElement)
public void setPropertyName(java.lang.String string)