Class AnyOperationContributor
java.lang.Object
org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
org.eclipse.epsilon.eol.execute.operations.contributors.AnyOperationContributor
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
Fields inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
cachedMethodNames
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
double
asDouble()
float
asFloat()
int
long
asLong()
float
asReal()
asString()
boolean
contributesTo
(Object target) err()
errln()
Class<?>
boolean
hasProperty
(String property) ifUndefined
(Object alternative) boolean
instanceOf
(EolType type) boolean
boolean
boolean
boolean
isReal()
boolean
final boolean
Class<?>
print()
println()
type()
Methods inherited from class org.eclipse.epsilon.eol.execute.operations.contributors.OperationContributor
close, findContributedMethodForEvaluatedParameters, findContributedMethodForEvaluatedParameters, findContributedMethodForUnevaluatedParameters, getContext, getReflectionTarget, getTarget, includeInheritedMethods, setContext, setTarget
-
Constructor Details
-
AnyOperationContributor
public AnyOperationContributor()
-
-
Method Details
-
contributesTo
- Specified by:
contributesTo
in classOperationContributor
-
type
-
instanceOf
-
isTypeOf
-
isKindOf
-
getNativeType
-
nativeType
-
getOwningModel
-
owningModel
-
hasProperty
- Throws:
Exception
-
asString
-
isDefined
public boolean isDefined() -
isUndefined
public final boolean isUndefined() -
ifUndefined
-
println
-
println
-
println
-
print
-
print
-
print
-
err
-
err
-
err
-
errln
-
errln
-
errln
-
format
-
asInteger
public int asInteger() -
isInteger
public boolean isInteger() -
isReal
public boolean isReal() -
asReal
public float asReal() -
asDouble
public double asDouble() -
asFloat
public float asFloat() -
asLong
public long asLong() -
asBoolean
public boolean asBoolean() -
asUnicode
-
asDate
- Throws:
ParseException
-
asVar
-