org.eclipse.xtend.backend.common
Interface BackendTypesystem

All Known Implementing Classes:
AbstractJavaBeansTypesystem, CompositeTypesystem, EmfTypesystem, GlobalJavaBeansTypesystem, UmlTypesystem, XsdTypesystem

public interface BackendTypesystem

Author:
Arno Haase (http://www.haase-consulting.com)

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.
 BackendTypesystem getRootTypesystem()
           
 void setRootTypesystem(BackendTypesystem ts)
           
 

Method Detail

findType

BackendType findType(java.lang.Object o)
returns the type for a given object or, if this type system does not feel responsible, null.


findType

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.


findType

BackendType findType(java.lang.String uniqueRepresentation)
returns the type corresponding with the unique representation. It is up to typesystem implementations to provide - and document - their respective naming schemes


setRootTypesystem

void setRootTypesystem(BackendTypesystem ts)

getRootTypesystem

BackendTypesystem getRootTypesystem()