|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtend.backend.types.CompositeTypesystem
public final class CompositeTypesystem
This is the "normal" implementation of a backend type system - it can recursively contain other type system implementations, and it contributes the built-in types.
Constructor Summary | |
---|---|
CompositeTypesystem()
|
Method Summary | |
---|---|
BackendType |
findType(java.lang.Class<?> cls)
returns the type for instances of a given class or, if this type system does not feel responsible, null. |
BackendType |
findType(java.lang.Object o)
returns the type for a given object or, if this type system does not feel responsible, null. |
BackendType |
findType(java.lang.String uniqueRepresentation)
returns the type corresponding with the unique representation. |
java.util.Collection<BackendTypesystem> |
getInner()
|
BackendTypesystem |
getRootTypesystem()
|
void |
register(BackendTypesystem ts)
|
void |
setRootTypesystem(BackendTypesystem ts)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositeTypesystem()
Method Detail |
---|
public java.util.Collection<BackendTypesystem> getInner()
public void register(BackendTypesystem ts)
public BackendType findType(java.lang.Object o)
BackendTypesystem
findType
in interface BackendTypesystem
public BackendType findType(java.lang.Class<?> cls)
BackendTypesystem
findType
in interface BackendTypesystem
public BackendType findType(java.lang.String uniqueRepresentation)
BackendTypesystem
findType
in interface BackendTypesystem
public BackendTypesystem getRootTypesystem()
getRootTypesystem
in interface BackendTypesystem
public void setRootTypesystem(BackendTypesystem ts)
setRootTypesystem
in interface BackendTypesystem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |