public class NoTypeResult extends java.lang.Object implements ITypeComputationResult
Constructor and Description |
---|
NoTypeResult(org.eclipse.emf.ecore.EObject context,
ITypeReferenceOwner owner) |
Modifier and Type | Method and Description |
---|---|
LightweightTypeReference |
getActualExpressionType()
Returns the type of the expression (if known).
|
int |
getCheckedConformanceFlags()
Conformance information about the actual expression type and
the expectation.
|
java.util.EnumSet<ConformanceHint> |
getCheckedConformanceHints()
Conformance information about the actual expression type and
the expectation.
|
int |
getConformanceFlags()
Conformance information about the actual expression type and
the expectation.
|
java.util.EnumSet<ConformanceHint> |
getConformanceHints()
Conformance information about the actual expression type and
the expectation.
|
LightweightTypeReference |
getExpectedExpressionType()
Returns the type of the expectation (if any).
|
LightweightTypeReference |
getExpectedReturnType()
Returns the type of the return expectation (if any).
|
XExpression |
getExpression()
The expression that is associated with this result.
|
LightweightTypeReference |
getReturnType()
Returns the return type of the expression (if known).
|
java.lang.String |
toString() |
public NoTypeResult(org.eclipse.emf.ecore.EObject context, ITypeReferenceOwner owner)
public LightweightTypeReference getReturnType()
ITypeComputationResult
null
. The return type is different
from the actual type
since
its value escapes the current context.getReturnType
in interface ITypeComputationResult
public XExpression getExpression()
ITypeComputationResult
getExpression
in interface ITypeComputationResult
public LightweightTypeReference getActualExpressionType()
ITypeComputationResult
null
.getActualExpressionType
in interface ITypeComputationResult
public LightweightTypeReference getExpectedExpressionType()
ITypeComputationResult
ITypeExpectation
instead which carries more information.getExpectedExpressionType
in interface ITypeComputationResult
public LightweightTypeReference getExpectedReturnType()
ITypeComputationResult
ITypeExpectation
instead which carries more information.getExpectedReturnType
in interface ITypeComputationResult
public java.util.EnumSet<ConformanceHint> getConformanceHints()
ITypeComputationResult
getConformanceHints
in interface ITypeComputationResult
public int getConformanceFlags()
ITypeComputationResult
getConformanceFlags
in interface ITypeComputationResult
public java.util.EnumSet<ConformanceHint> getCheckedConformanceHints()
ITypeComputationResult
getCheckedConformanceHints
in interface ITypeComputationResult
public int getCheckedConformanceFlags()
ITypeComputationResult
getCheckedConformanceFlags
in interface ITypeComputationResult
public java.lang.String toString()
toString
in class java.lang.Object