public class ObjectType extends Object implements FieldType
| Constructor and Description |
|---|
ObjectType(String className)
Creates a new object type, of the given class name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClassName()
Gets the name of the class of the object.
|
int |
hashCode() |
boolean |
isAssignableFrom(Type obj,
InheritanceProvider inheritanceProvider)
Checks whether this type is assignable from the given
Type, using
data provided by the given InheritanceProvider. |
String |
toString() |
public ObjectType(String className)
className - The class namepublic String getClassName()
public boolean isAssignableFrom(Type obj, InheritanceProvider inheritanceProvider)
TypeType, using
data provided by the given InheritanceProvider.isAssignableFrom in interface Typeobj - The type to check againstinheritanceProvider - The inheritance providertrue if this type is assignable from the given type;
false otherwise