|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.internal.xtend.type.baseimpl.BuiltinMetaModel
public final class BuiltinMetaModel
Field Summary | |
---|---|
static java.lang.String |
BOOLEAN
|
static java.lang.String |
COLLECTION
|
static java.lang.String |
FEATURE
|
static java.lang.String |
INTEGER
|
static java.lang.String |
LIST
|
static java.lang.String |
OBJECT
|
static java.lang.String |
OPERATION
|
static java.lang.String |
PROPERTY
|
static java.lang.String |
REAL
|
static java.lang.String |
SET
|
static java.lang.String |
STRING
|
static java.lang.String |
TYPE
|
static java.lang.String |
VOID
|
Constructor Summary | |
---|---|
BuiltinMetaModel(TypeSystem typeSystem)
|
Method Summary | |
---|---|
Type |
getBooleanType()
Returns the type for boolean objects. |
ParameterizedType |
getCollectionType(Type innerType)
Returns the type for collection objects. |
Type |
getFeatureType()
Returns the type for feature objects. |
Type |
getIntegerType()
Returns the type for integer objects. |
java.util.Set<Type> |
getKnownTypes()
returns all types this metamodel is responsible for |
ParameterizedType |
getListType(Type innerType)
Returns the type for list objects. |
java.lang.String |
getName()
Returns the name of the metamodel. |
java.util.Set<java.lang.String> |
getNamespaces()
Returns all namespaces provided by this metamodel. |
Type |
getObjectType()
Returns the type for objects. |
Type |
getOperationType()
Returns the type for operation objects. |
Type |
getPropertyType()
Returns the type for property objects. |
Type |
getRealType()
Returns the type for real objects. |
ParameterizedType |
getSetType(Type innerType)
Returns the type for set objects. |
Type |
getStaticPropertyType()
Returns the type for static property objects. |
Type |
getStringType()
Returns the type for string objects. |
Type |
getType(java.lang.Object obj)
if this metamodel is responsible for a types which are responsible for the given object, it returns the corresponding type. |
Type |
getTypeForName(java.lang.String typeName)
if this metamodel is responsible for a type with the given name, it returns the corresponding type. |
TypeSystem |
getTypeSystem()
Returns the underlying typesystem. |
Type |
getTypeType()
Returns the type for type objects. |
Type |
getVoidType()
Returns the type for void objects. |
void |
setTypeSystem(TypeSystem typeSystem)
Sets the underlying typesystem. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String OBJECT
public static final java.lang.String STRING
public static final java.lang.String BOOLEAN
public static final java.lang.String INTEGER
public static final java.lang.String REAL
public static final java.lang.String COLLECTION
public static final java.lang.String SET
public static final java.lang.String LIST
public static final java.lang.String TYPE
public static final java.lang.String FEATURE
public static final java.lang.String PROPERTY
public static final java.lang.String OPERATION
public static final java.lang.String VOID
Constructor Detail |
---|
public BuiltinMetaModel(TypeSystem typeSystem)
Method Detail |
---|
public TypeSystem getTypeSystem()
MetaModel
getTypeSystem
in interface MetaModel
public java.lang.String getName()
public final Type getObjectType()
public final Type getBooleanType()
public final Type getIntegerType()
public Type getRealType()
public final Type getStringType()
public final Type getTypeType()
public final Type getFeatureType()
public final Type getPropertyType()
public final Type getOperationType()
public Type getStaticPropertyType()
public final ParameterizedType getCollectionType(Type innerType)
public final ParameterizedType getListType(Type innerType)
public final ParameterizedType getSetType(Type innerType)
public Type getType(java.lang.Object obj)
MetaModel
null
getType
in interface MetaModel
obj
- object for which a corresponding object is requested
MetaModel.getType(java.lang.Object)
public Type getTypeForName(java.lang.String typeName)
MetaModel
null
getTypeForName
in interface MetaModel
typeName
- name of type
MetaModel.getTypeForName(java.lang.String)
public java.util.Set<Type> getKnownTypes()
MetaModel
getKnownTypes
in interface MetaModel
MetaModel.getKnownTypes()
public Type getVoidType()
public void setTypeSystem(TypeSystem typeSystem)
MetaModel
setTypeSystem
in interface MetaModel
typeSystem
- the typesystemMetaModel.setTypeSystem(org.eclipse.xtend.expression.TypeSystem)
public java.util.Set<java.lang.String> getNamespaces()
MetaModel
getNamespaces
in interface MetaModel
Set
containing the names of all namespaces provided by
this metamodel.MetaModel.getNamespaces()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |