Class ProblemResourceDescription

java.lang.Object
org.eclipse.xtext.resource.impl.AbstractResourceDescription
org.eclipse.xtext.resource.impl.DefaultResourceDescription
tools.refinery.language.resource.ProblemResourceDescription
All Implemented Interfaces:
org.eclipse.xtext.resource.IResourceDescription, org.eclipse.xtext.resource.ISelectable

public class ProblemResourceDescription extends org.eclipse.xtext.resource.impl.DefaultResourceDescription
A resource description that takes ProblemResourceDescriptionStrategy.SHADOWING_KEY into account when describing EObjects.

Based on DefaultResourceDescription.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.xtext.resource.IResourceDescription

    org.eclipse.xtext.resource.IResourceDescription.CoarseGrainedEvent, org.eclipse.xtext.resource.IResourceDescription.Delta, org.eclipse.xtext.resource.IResourceDescription.Event, org.eclipse.xtext.resource.IResourceDescription.Manager
  • Field Summary

    Fields inherited from class org.eclipse.xtext.resource.impl.AbstractResourceDescription

    lookup
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProblemResourceDescription(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy strategy)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected List<org.eclipse.xtext.resource.IEObjectDescription>
    Based on DefaultResourceDescription.computeExportedObjects().
    protected org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
     

    Methods inherited from class org.eclipse.xtext.resource.impl.DefaultResourceDescription

    computeReferenceDescriptions, createEObject2ExportedEObjectsMap, findExportedContainerURI, getImportedNames, getReferenceDescriptions, getResource, getURI, toString

    Methods inherited from class org.eclipse.xtext.resource.impl.AbstractResourceDescription

    getExportedObjects, getExportedObjects, getExportedObjectsByObject, getExportedObjectsByType, getNormalizedURI, isEmpty

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ProblemResourceDescription

      public ProblemResourceDescription(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy strategy)
  • Method Details

    • computeExportedObjects

      protected List<org.eclipse.xtext.resource.IEObjectDescription> computeExportedObjects()
      Based on DefaultResourceDescription.computeExportedObjects().
      Overrides:
      computeExportedObjects in class org.eclipse.xtext.resource.impl.DefaultResourceDescription
      Returns:
      The computed exported objects, taking shadowing into account.
    • getLookUp

      protected org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp getLookUp()
      Overrides:
      getLookUp in class org.eclipse.xtext.resource.impl.DefaultResourceDescription