Class XtendResourceDescriptionStrategy

  • All Implemented Interfaces:
    org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy

    public class XtendResourceDescriptionStrategy
    extends org.eclipse.xtext.xbase.resource.XbaseResourceDescriptionStrategy
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ACTIVE_ANNOTATION_TIMESTAMP  
      • Fields inherited from class org.eclipse.xtext.common.types.descriptions.JvmTypesResourceDescriptionStrategy

        IS_INTERFACE, IS_NESTED_TYPE, SIGNATURE_HASH_KEY, TYPE_PARAMETERS
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addFlags​(int flags, com.google.common.collect.ImmutableMap.Builder<java.lang.String,​java.lang.String> userData)  
      boolean createEObjectDescriptions​(org.eclipse.emf.ecore.EObject eObject, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)  
      boolean createReferenceDescriptions​(org.eclipse.emf.ecore.EObject from, org.eclipse.emf.common.util.URI exportedContainerURI, org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IReferenceDescription> acceptor)  
      protected void createUserData​(org.eclipse.emf.ecore.EObject eObject, com.google.common.collect.ImmutableMap.Builder<java.lang.String,​java.lang.String> userData)  
      protected int getFlags​(XtendField field)  
      protected int getFlags​(XtendFunction function)  
      protected int getFlags​(org.eclipse.xtext.common.types.JvmField field)  
      protected int getFlags​(org.eclipse.xtext.common.types.JvmOperation operation)  
      protected boolean isActiveAnnotation​(org.eclipse.xtext.common.types.JvmAnnotationType annotationType)  
      • Methods inherited from class org.eclipse.xtext.common.types.descriptions.JvmTypesResourceDescriptionStrategy

        createLazyUserData
      • Methods inherited from class org.eclipse.xtext.resource.impl.DefaultResourceDescriptionStrategy

        createReferenceDescription, getLazyURIEncoder, getQualifiedNameProvider, isIndexable, isResolvedAndExternal, setLazyURIEncoder, setQualifiedNameProvider
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ACTIVE_ANNOTATION_TIMESTAMP

        public static final java.lang.String ACTIVE_ANNOTATION_TIMESTAMP
        See Also:
        Constant Field Values
    • Constructor Detail

      • XtendResourceDescriptionStrategy

        public XtendResourceDescriptionStrategy()
    • Method Detail

      • createEObjectDescriptions

        public boolean createEObjectDescriptions​(org.eclipse.emf.ecore.EObject eObject,
                                                 org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IEObjectDescription> acceptor)
        Specified by:
        createEObjectDescriptions in interface org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy
        Overrides:
        createEObjectDescriptions in class org.eclipse.xtext.common.types.descriptions.JvmTypesResourceDescriptionStrategy
      • createReferenceDescriptions

        public boolean createReferenceDescriptions​(org.eclipse.emf.ecore.EObject from,
                                                   org.eclipse.emf.common.util.URI exportedContainerURI,
                                                   org.eclipse.xtext.util.IAcceptor<org.eclipse.xtext.resource.IReferenceDescription> acceptor)
        Specified by:
        createReferenceDescriptions in interface org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy
        Overrides:
        createReferenceDescriptions in class org.eclipse.xtext.xbase.resource.XbaseResourceDescriptionStrategy
      • createUserData

        protected void createUserData​(org.eclipse.emf.ecore.EObject eObject,
                                      com.google.common.collect.ImmutableMap.Builder<java.lang.String,​java.lang.String> userData)
        Overrides:
        createUserData in class org.eclipse.xtext.common.types.descriptions.JvmTypesResourceDescriptionStrategy
      • addFlags

        protected void addFlags​(int flags,
                                com.google.common.collect.ImmutableMap.Builder<java.lang.String,​java.lang.String> userData)
      • getFlags

        protected int getFlags​(org.eclipse.xtext.common.types.JvmOperation operation)
      • getFlags

        protected int getFlags​(org.eclipse.xtext.common.types.JvmField field)
      • getFlags

        protected int getFlags​(XtendField field)
      • isActiveAnnotation

        protected boolean isActiveAnnotation​(org.eclipse.xtext.common.types.JvmAnnotationType annotationType)