public interface IJvmTypeProvider
IJvmTypeProvider
allows to retrieve a JvmType
for a given name.Modifier and Type | Interface and Description |
---|---|
static interface |
IJvmTypeProvider.Factory |
Modifier and Type | Method and Description |
---|---|
JvmType |
findTypeByName(java.lang.String name)
Find a type by its fully qualified name, e.g.
|
JvmType |
findTypeByName(java.lang.String name,
boolean binaryNestedTypeDelimiter)
Find a type by its fully qualified name, e.g.
|
org.eclipse.emf.ecore.resource.ResourceSet |
getResourceSet()
Returns the resource set that will contain dynamically created resources.
|
JvmType findTypeByName(java.lang.String name)
java.util.Map$Entry
, int[]
, void
or
java.lang.String[][][]
. Nested class delimiters are expected to be the '$'
. This is fully
equivalent to findTypeByName(name, true)
.JvmType
or null if no such type could be found.findTypeByName(String, boolean)
JvmType findTypeByName(java.lang.String name, boolean binaryNestedTypeDelimiter)
java.util.Map.Entry
, int[]
, void
or
java.lang.String[][][]
. If binaryNestedTypeDelimiter
is set to true
, the char '$'
is expected to be delimiter for nested classes. If it is set to false, a char '.'
is assumed to be a
valid nested type delimiter, too.
If the name contains a '$'
, it is assumed to be a class name that uses binary delimiters for nested types.JvmType
or null if no such type could be found.findTypeByName(String, boolean)
org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()