org.eclipse.xtext.xtend2.resource
Class Xtend2ResourceDescriptionStrategy

java.lang.Object
  extended by org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
      extended by org.eclipse.xtext.xtend2.resource.Xtend2ResourceDescriptionStrategy
All Implemented Interfaces:
IDefaultResourceDescriptionStrategy

public class Xtend2ResourceDescriptionStrategy
extends DefaultResourceDescriptionStrategy

Author:
Jan Koehnlein - Initial contribution and API

Constructor Summary
Xtend2ResourceDescriptionStrategy()
           
 
Method Summary
 boolean createEObjectDescriptions(org.eclipse.emf.ecore.EObject eObject, IAcceptor<IEObjectDescription> acceptor)
          Calculates the IEObjectDescriptions for eObject and passes them to the acceptor.
protected  java.util.Map<java.lang.String,java.lang.String> createUserData(org.eclipse.emf.ecore.EObject eObject)
           
protected  java.util.Map<java.lang.String,java.lang.String> createUserData(int flags)
           
protected  int getFlags(JvmField field)
           
protected  int getFlags(JvmOperation operation)
           
protected  int getFlags(XtendField field)
           
protected  int getFlags(XtendFunction function)
           
 
Methods inherited from class org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy
createReferenceDescription, createReferenceDescriptions, getLazyURIEncoder, getQualifiedNameProvider, isIndexable, isResolvedAndExternal, setLazyURIEncoder, setQualifiedNameProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Xtend2ResourceDescriptionStrategy

public Xtend2ResourceDescriptionStrategy()
Method Detail

createEObjectDescriptions

public boolean createEObjectDescriptions(org.eclipse.emf.ecore.EObject eObject,
                                         IAcceptor<IEObjectDescription> acceptor)
Description copied from interface: IDefaultResourceDescriptionStrategy
Calculates the IEObjectDescriptions 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.

createUserData

protected java.util.Map<java.lang.String,java.lang.String> createUserData(org.eclipse.emf.ecore.EObject eObject)

createUserData

protected java.util.Map<java.lang.String,java.lang.String> createUserData(int flags)

getFlags

protected int getFlags(JvmOperation operation)

getFlags

protected int getFlags(JvmField field)

getFlags

protected int getFlags(XtendField field)

getFlags

protected int getFlags(XtendFunction function)