org.eclipse.xtext.xbase.resource
Class XbaseResourceDescriptionStrategy
java.lang.Object
org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
org.eclipse.xtext.xbase.resource.XbaseResourceDescriptionStrategy
- All Implemented Interfaces:
- IDefaultResourceDescriptionStrategy
- Direct Known Subclasses:
- XtendResourceDescriptionStrategy
public class XbaseResourceDescriptionStrategy
- extends DefaultResourceDescriptionStrategy
- Author:
- Jan Koehnlein - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIGNATURE_HASH_KEY
public static final java.lang.String SIGNATURE_HASH_KEY
- See Also:
- Constant Field Values
XbaseResourceDescriptionStrategy
public XbaseResourceDescriptionStrategy()
createEObjectDescriptions
public boolean createEObjectDescriptions(org.eclipse.emf.ecore.EObject eObject,
IAcceptor<IEObjectDescription> acceptor)
- Description copied from interface:
IDefaultResourceDescriptionStrategy
- Calculates the
IEObjectDescription
s for eObject
and passes them to the acceptor.
- Specified by:
createEObjectDescriptions
in interface IDefaultResourceDescriptionStrategy
- Overrides:
createEObjectDescriptions
in class DefaultResourceDescriptionStrategy
- Returns:
- true if the children of
eObject
should be traversed.
createLazyUserData
protected java.util.Map<java.lang.String,java.lang.String> createLazyUserData(org.eclipse.emf.ecore.EObject eObject)
createUserData
protected void createUserData(org.eclipse.emf.ecore.EObject eObject,
com.google.common.collect.ImmutableMap.Builder<java.lang.String,java.lang.String> userData)