public class XbaseResource extends DerivedStateAwareResource
Modifier and Type | Class and Description |
---|---|
protected static class |
XbaseResource.AssumptionState |
protected static class |
XbaseResource.AssumptionTracker |
protected static class |
XbaseResource.RootAssumptionTracker |
LazyLinkingResource.DiagnosticMessageContext
org.eclipse.emf.ecore.resource.impl.ResourceImpl.ContentsEList<E extends java.lang.Object & org.eclipse.emf.ecore.EObject>, org.eclipse.emf.ecore.resource.impl.ResourceImpl.ModificationTrackingAdapter
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
org.eclipse.emf.ecore.resource.Resource.Diagnostic, org.eclipse.emf.ecore.resource.Resource.Factory, org.eclipse.emf.ecore.resource.Resource.Internal, org.eclipse.emf.ecore.resource.Resource.IOWrappedException
fullyInitialized, isInitializing
resolving, UNRESOLVEABLE_PROXIES_KEY
isUpdating, OPTION_ENCODING, OPTION_FORMAT, OPTION_RESOLVE_ALL, OPTION_SERIALIZATION_OPTIONS
contents, defaultDeleteOptions, defaultLoadOptions, defaultSaveOptions, errors, intrinsicIDToEObjectMap, isLoaded, isLoading, isModified, modificationTrackingAdapter, resourceSet, timeStamp, unloadingContents, uri, warnings
eAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAG
OPTION_CIPHER, OPTION_LINE_DELIMITER, OPTION_LINE_DELIMITER_UNSPECIFIED, OPTION_SAVE_ONLY_IF_CHANGED, OPTION_SAVE_ONLY_IF_CHANGED_FILE_BUFFER, OPTION_SAVE_ONLY_IF_CHANGED_MEMORY_BUFFER, OPTION_ZIP, RESOURCE__CONTENTS, RESOURCE__ERRORS, RESOURCE__IS_LOADED, RESOURCE__IS_MODIFIED, RESOURCE__IS_TRACKING_MODIFICATION, RESOURCE__RESOURCE_SET, RESOURCE__TIME_STAMP, RESOURCE__URI, RESOURCE__WARNINGS
Constructor and Description |
---|
XbaseResource() |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
assumeLinked(JvmIdentifiableElement proxy,
JvmIdentifiableElement candidate,
XAbstractFeatureCall featureCall,
XExpression implicitReceiver,
XExpression implicitFirstArgument,
com.google.inject.Provider<T> algorithm) |
protected JvmConstructor |
getConstructor(XConstructorCall featureCall,
boolean resolve) |
org.eclipse.emf.ecore.EObject |
getEObject(java.lang.String uriFragment) |
protected JvmIdentifiableElement |
getFeature(XAbstractFeatureCall featureCall,
boolean resolve) |
protected XExpression |
getImplicitFirstArgument(XAbstractFeatureCall featureCall) |
protected XExpression |
getImplicitReceiver(XAbstractFeatureCall featureCall) |
protected org.eclipse.emf.ecore.EObject |
handleCyclicResolution(Triple<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EReference,INode> triple) |
protected boolean |
isUnresolveableProxyCacheable(Triple<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EReference,INode> triple) |
protected LinkingAssumptions.Tracker |
trackAssumptions() |
protected JvmIdentifiableElement |
trackResolution(JvmIdentifiableElement proxy,
XExpression owner,
org.eclipse.emf.ecore.EReference reference)
This one is currently implemented as a no-op.
|
clearInternalState, discardDerivedState, doGetContents, getContents, getEObjectForURIFragmentRootSegment, getURIFragmentRootSegment, installDerivedState, setDerivedStateComputer, updateInternalState, updateInternalState
createAndAddDiagnostic, createAndAddDiagnostic, createDiagnostic, createDiagnosticMessage, createDiagnosticMessageContext, doLinking, doLoad, doResolveLazyCrossReference, getDiagnosticList, getDiagnosticMessageProvider, getEncoder, getEObject, getLinkingHelper, getLinkingService, getReferences, getUnresolvableURIFragments, isEagerLinking, isPotentialLazyCrossReference, markUnresolvable, removeDiagnostic, resolveLazyCrossReference, resolveLazyCrossReferences, setDiagnosticMessageProvider, setEagerLinking, setEncoder, setLinkingHelper, setLinkingService
addSyntaxErrors, basicGetEObject, clearErrorsAndWarnings, doSave, doUnload, getCache, getConcreteSyntaxValidator, getEncoding, getFragmentProvider, getLanguageName, getLinker, getModificationStamp, getParser, getParseResult, getResourceServiceProvider, getSerializer, getUnloader, getURIFragment, isValidationDisabled, reattachModificationTracker, reparse, setCache, setEncodingFromOptions, setFragmentProvider, setInjectedParser, setLanguageName, setLinker, setModificationStamp, setParser, setParseResult, setResourceServiceProvider, setSerializer, setUnloader, setValidationDisabled, unload, update, validateConcreteSyntax
addModificationTrackingAdapters, attached, attachedHelper, basicSetResourceSet, createModificationTrackingAdapter, delete, detached, detachedHelper, getAllContents, getAllProperContents, getAllProperContents, getDefaultURIConverter, getEObject, getEObjectByID, getErrors, getIntrinsicIDToEObjectMap, getResourceSet, getTimeStamp, getURI, getURIConverter, getWarnings, handleLoadResponse, handleSaveResponse, isAttachedDetachedHelperRequired, isContentZipEntry, isLoaded, isLoading, isModified, isTrackingModification, load, load, mergeMaps, newContentZipEntry, removeModificationTrackingAdapters, save, save, saveOnlyIfChangedWithFileBuffer, saveOnlyIfChangedWithMemoryBuffer, setIntrinsicIDToEObjectMap, setLoaded, setModified, setTimeStamp, setTrackingModification, setURI, toKeyString, toString, unload, unloaded, useZip
eAdapters, eBasicAdapters, eDeliver, eSetDeliver
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
protected LinkingAssumptions.Tracker trackAssumptions()
protected <T> T assumeLinked(JvmIdentifiableElement proxy, JvmIdentifiableElement candidate, XAbstractFeatureCall featureCall, XExpression implicitReceiver, XExpression implicitFirstArgument, com.google.inject.Provider<T> algorithm)
protected XExpression getImplicitReceiver(XAbstractFeatureCall featureCall)
protected XExpression getImplicitFirstArgument(XAbstractFeatureCall featureCall)
protected JvmIdentifiableElement getFeature(XAbstractFeatureCall featureCall, boolean resolve)
protected JvmIdentifiableElement trackResolution(JvmIdentifiableElement proxy, XExpression owner, org.eclipse.emf.ecore.EReference reference)
proxy
- the proxy which should be resolved with tracking.owner
- the owner of the proxy.reference
- the cross reference.protected JvmConstructor getConstructor(XConstructorCall featureCall, boolean resolve)
public org.eclipse.emf.ecore.EObject getEObject(java.lang.String uriFragment)
getEObject
in interface org.eclipse.emf.ecore.resource.Resource
getEObject
in class LazyLinkingResource
protected boolean isUnresolveableProxyCacheable(Triple<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EReference,INode> triple)
isUnresolveableProxyCacheable
in class LazyLinkingResource
protected org.eclipse.emf.ecore.EObject handleCyclicResolution(Triple<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EReference,INode> triple) throws java.lang.AssertionError
handleCyclicResolution
in class LazyLinkingResource
java.lang.AssertionError