Package org.eclipse.epsilon.eol.types
Class EolNativeType
- java.lang.Object
-
- org.eclipse.epsilon.eol.types.EolType
-
- org.eclipse.epsilon.eol.types.EolAnyType
-
- org.eclipse.epsilon.eol.types.EolNativeType
-
public class EolNativeType extends EolAnyType
-
-
Field Summary
Fields Modifier and Type Field Description protected String
clazz
protected IEolContext
context
protected IToolNativeTypeDelegate
delegate
-
Fields inherited from class org.eclipse.epsilon.eol.types.EolAnyType
Instance
-
-
Constructor Summary
Constructors Constructor Description EolNativeType(Class<?> actualClass, IEolContext context)
EolNativeType(StringLiteral classAst, IEolContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
createInstance()
Object
createInstance(List<Object> parameters)
boolean
equals(Object o)
Class<?>
getJavaClass()
String
getName()
int
hashCode()
boolean
isKind(Object o)
boolean
isType(Object o)
-
Methods inherited from class org.eclipse.epsilon.eol.types.EolAnyType
getParentType, toString
-
Methods inherited from class org.eclipse.epsilon.eol.types.EolType
getParentTypes, isNot
-
-
-
-
Field Detail
-
context
protected IEolContext context
-
clazz
protected String clazz
-
delegate
protected IToolNativeTypeDelegate delegate
-
-
Constructor Detail
-
EolNativeType
public EolNativeType(Class<?> actualClass, IEolContext context)
- Parameters:
actualClass
-context
-- Since:
- 1.6
-
EolNativeType
public EolNativeType(StringLiteral classAst, IEolContext context) throws EolTypeNotFoundException
- Throws:
EolTypeNotFoundException
-
-
Method Detail
-
createInstance
public Object createInstance() throws EolRuntimeException
- Overrides:
createInstance
in classEolAnyType
- Throws:
EolRuntimeException
-
createInstance
public Object createInstance(List<Object> parameters) throws EolRuntimeException
- Overrides:
createInstance
in classEolAnyType
- Throws:
EolRuntimeException
-
getJavaClass
public Class<?> getJavaClass()
-
getName
public String getName()
- Overrides:
getName
in classEolAnyType
-
isKind
public boolean isKind(Object o)
- Overrides:
isKind
in classEolAnyType
-
isType
public boolean isType(Object o)
- Overrides:
isType
in classEolAnyType
-
-