|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtend.typesystem.AbstractTypeImpl
public abstract class AbstractTypeImpl
Constructor Summary | |
---|---|
AbstractTypeImpl(TypeSystem typeSystem,
java.lang.String name)
|
Method Summary | |
---|---|
java.lang.Object |
convert(java.lang.Object src,
java.lang.Class<?> targetType)
converts the given Object to an instance of the given Class, if this type is responsible for java objects of the given Class and the given Object |
boolean |
equals(java.lang.Object obj)
|
java.util.Set<Callable> |
getAllFeatures()
Return all features defined by the type |
java.util.Set<? extends Operation> |
getAllOperations()
|
java.util.Set<? extends Property> |
getAllProperties()
|
java.util.Set<? extends StaticProperty> |
getAllStaticProperties()
|
abstract Feature[] |
getContributedFeatures()
|
java.lang.String |
getDocumentation()
|
Callable |
getFeature(java.lang.String name,
Type[] parameterTypes)
finds a feature with the given name on the given type with respect to the given parametertypes this method handles polymorphistic resolution for parameter types |
java.lang.String |
getName()
|
Operation |
getOperation(java.lang.String name,
Type[] parameterTypes)
finds an operation with the given name on the given type with respect to the given parametertypes this method handles polymorphistic resolution for parameter types |
Property |
getProperty(java.lang.String name)
finds a property with the given name |
StaticProperty |
getStaticProperty(java.lang.String name)
finds a static property with the given name |
java.util.Set<? extends Type> |
getSuperTypes()
|
TypeSystem |
getTypeSystem()
|
int |
hashCode()
|
protected java.util.Set<? extends Type> |
internalGetSuperTypes()
|
protected boolean |
internalIsAssignableFrom(Type t)
|
boolean |
isAbstract()
|
boolean |
isAssignableFrom(Type t)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.xtend.typesystem.Type |
---|
isInstance, newInstance |
Constructor Detail |
---|
public AbstractTypeImpl(TypeSystem typeSystem, java.lang.String name)
Method Detail |
---|
public final TypeSystem getTypeSystem()
getTypeSystem
in interface Type
public final java.lang.String getName()
getName
in interface Type
public abstract Feature[] getContributedFeatures()
public final java.util.Set<Callable> getAllFeatures()
getAllFeatures
in interface Type
public StaticProperty getStaticProperty(java.lang.String name)
Type
getStaticProperty
in interface Type
public Property getProperty(java.lang.String name)
Type
getProperty
in interface Type
public Callable getFeature(java.lang.String name, Type[] parameterTypes)
Type
getFeature
in interface Type
public Operation getOperation(java.lang.String name, Type[] parameterTypes)
Type
getOperation
in interface Type
public java.util.Set<? extends StaticProperty> getAllStaticProperties()
getAllStaticProperties
in interface Type
public java.util.Set<? extends Property> getAllProperties()
getAllProperties
in interface Type
public java.util.Set<? extends Operation> getAllOperations()
getAllOperations
in interface Type
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public final boolean isAssignableFrom(Type t)
isAssignableFrom
in interface Type
protected boolean internalIsAssignableFrom(Type t)
public java.lang.Object convert(java.lang.Object src, java.lang.Class<?> targetType)
Type
convert
in interface Type
public java.lang.String getDocumentation()
getDocumentation
in interface Type
public java.util.Set<? extends Type> getSuperTypes()
getSuperTypes
in interface Type
protected java.util.Set<? extends Type> internalGetSuperTypes()
public boolean isAbstract()
isAbstract
in interface Type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |