public class IndexedJvmTypeAccess
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
IndexedJvmTypeAccess.ShadowedTypeException |
Constructor and Description |
---|
IndexedJvmTypeAccess() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.ecore.EObject |
getIndexedJvmType(QualifiedName qualifiedName,
java.lang.String fragment,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
org.eclipse.emf.ecore.EObject |
getIndexedJvmType(QualifiedName qualifiedName,
java.lang.String fragment,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
boolean throwShadowedException) |
org.eclipse.emf.ecore.EObject |
getIndexedJvmType(org.eclipse.emf.common.util.URI javaObjectURI,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
Locate and resolve a
JvmType in the context of the given resource set. |
org.eclipse.emf.ecore.EObject |
getIndexedJvmType(org.eclipse.emf.common.util.URI javaObjectURI,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
boolean throwShadowedException) |
boolean |
isIndexingPhase(org.eclipse.emf.common.notify.Notifier notifier) |
org.eclipse.emf.ecore.EObject |
resolveJavaArrayObject(JvmType rootType,
java.lang.String fragment) |
org.eclipse.emf.ecore.EObject |
resolveJavaObject(JvmType rootType,
java.lang.String fragment)
Locate a locale type with the given fragment.
|
public boolean isIndexingPhase(org.eclipse.emf.common.notify.Notifier notifier)
public org.eclipse.emf.ecore.EObject getIndexedJvmType(org.eclipse.emf.common.util.URI javaObjectURI, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
JvmType
in the context of the given resource set. It'll try to
decode the qualified name from the URI and find an instance with that name in the index
. Short-circuits to a resource that is already available in the resource set.javaObjectURI
- the uri of the to-be-loaded instance. It is expected to be a Java-scheme URI. May not be
null
.resourceSet
- the context resource set. May not be null
.null
.public org.eclipse.emf.ecore.EObject getIndexedJvmType(org.eclipse.emf.common.util.URI javaObjectURI, org.eclipse.emf.ecore.resource.ResourceSet resourceSet, boolean throwShadowedException)
public org.eclipse.emf.ecore.EObject getIndexedJvmType(QualifiedName qualifiedName, java.lang.String fragment, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
public org.eclipse.emf.ecore.EObject getIndexedJvmType(QualifiedName qualifiedName, java.lang.String fragment, org.eclipse.emf.ecore.resource.ResourceSet resourceSet, boolean throwShadowedException)
public org.eclipse.emf.ecore.EObject resolveJavaObject(JvmType rootType, java.lang.String fragment)
public org.eclipse.emf.ecore.EObject resolveJavaArrayObject(JvmType rootType, java.lang.String fragment)