org.eclipse.xtend.backend.types.java
Class AbstractJavaBeansTypesystem
java.lang.Object
org.eclipse.xtend.backend.types.java.AbstractJavaBeansTypesystem
- All Implemented Interfaces:
- BackendTypesystem
- Direct Known Subclasses:
- GlobalJavaBeansTypesystem
public abstract class AbstractJavaBeansTypesystem
- extends java.lang.Object
- implements BackendTypesystem
- Since:
- 1.4
- Author:
- Arno Haase (http://www.haase-consulting.com), André Arnold - Made public API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNIQUE_REPRESENTATION_PREFIX
public static final java.lang.String UNIQUE_REPRESENTATION_PREFIX
- See Also:
- Constant Field Values
AbstractJavaBeansTypesystem
public AbstractJavaBeansTypesystem()
findType
public BackendType findType(java.lang.Class<?> cls)
- Description copied from interface:
BackendTypesystem
- returns the type for instances of a given class or, if this type system does not feel responsible, null.
- Specified by:
findType
in interface BackendTypesystem
findType
public BackendType findType(java.lang.Object o)
- Description copied from interface:
BackendTypesystem
- returns the type for a given object or, if this type system does not feel responsible, null.
- Specified by:
findType
in interface BackendTypesystem
findType
public BackendType findType(java.lang.String uniqueRepresentation)
- Description copied from interface:
BackendTypesystem
- returns the type corresponding with the unique representation. It is up to typesystem implementations to
provide - and document - their respective naming schemes
- Specified by:
findType
in interface BackendTypesystem
matchesScope
public abstract boolean matchesScope(java.lang.Class<?> cls)
- This operation allows support for type system instances that are selective, e.g. by package, as
to which classes they feel responsible for.
getRootTypesystem
public BackendTypesystem getRootTypesystem()
- Specified by:
getRootTypesystem
in interface BackendTypesystem
setRootTypesystem
public void setRootTypesystem(BackendTypesystem ts)
- Specified by:
setRootTypesystem
in interface BackendTypesystem