Package org.eclipse.xtext.build
Class ResolvedResourceDescription
- java.lang.Object
-
- org.eclipse.xtext.resource.impl.AbstractResourceDescription
-
- org.eclipse.xtext.build.ResolvedResourceDescription
-
- All Implemented Interfaces:
IResourceDescription
,ISelectable
public class ResolvedResourceDescription extends AbstractResourceDescription
A resource description that has no references to the origin resource anymore (thus it is "resolved"). Imported names and reference descriptions are not available.- Since:
- 2.29
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.xtext.resource.IResourceDescription
IResourceDescription.CoarseGrainedEvent, IResourceDescription.Delta, IResourceDescription.Event, IResourceDescription.Manager
-
-
Field Summary
-
Fields inherited from class org.eclipse.xtext.resource.impl.AbstractResourceDescription
lookup
-
-
Constructor Summary
Constructors Constructor Description ResolvedResourceDescription(IResourceDescription original)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<IEObjectDescription>
computeExportedObjects()
java.lang.Iterable<QualifiedName>
getImportedNames()
java.lang.Iterable<IReferenceDescription>
getReferenceDescriptions()
org.eclipse.emf.common.util.URI
getURI()
-
Methods inherited from class org.eclipse.xtext.resource.impl.AbstractResourceDescription
getExportedObjects, getExportedObjects, getExportedObjectsByObject, getExportedObjectsByType, getLookUp, getNormalizedURI, isEmpty
-
-
-
-
Constructor Detail
-
ResolvedResourceDescription
public ResolvedResourceDescription(IResourceDescription original)
-
-
Method Detail
-
computeExportedObjects
protected java.util.List<IEObjectDescription> computeExportedObjects()
- Specified by:
computeExportedObjects
in classAbstractResourceDescription
-
getImportedNames
public java.lang.Iterable<QualifiedName> getImportedNames()
- Returns:
- the list of names the described resource depends on.
-
getReferenceDescriptions
public java.lang.Iterable<IReferenceDescription> getReferenceDescriptions()
- Returns:
- the list of all references contained in the underlying resource.
-
getURI
public org.eclipse.emf.common.util.URI getURI()
- Returns:
- the uri of the described resource. Will not return
null
.
-
-