|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.xbase.typesystem.internal.AbstractTypeExpectation
public abstract class AbstractTypeExpectation
Constructor Summary | |
---|---|
protected |
AbstractTypeExpectation(AbstractTypeComputationState state)
|
Method Summary | |
---|---|
protected AbstractTypeComputationState |
getState()
|
boolean |
isVoidTypeAllowed()
Returns true if Void.TYPE is a valid type. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.xtext.xbase.typesystem.computation.ITypeExpectation |
---|
acceptActualType, getExpectedType, isNoTypeExpectation |
Constructor Detail |
---|
protected AbstractTypeExpectation(AbstractTypeComputationState state)
Method Detail |
---|
public boolean isVoidTypeAllowed()
ITypeExpectation
true
if Void.TYPE
is a valid type. It may be the only valid type
or there may exist others.
isVoidTypeAllowed
in interface ITypeExpectation
true
if primitive void
is allowed.protected AbstractTypeComputationState getState()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |