Package org.eclipse.xtext.xbase.util
Class TypesOrderUtil
- java.lang.Object
-
- org.eclipse.xtext.xbase.util.TypesOrderUtil
-
public class TypesOrderUtil extends java.lang.ObjectSmall utility class that allows to check whether a given type was already handled in a chain of instanceof checks, e.g to validate catch-clauses or switch expressions.
-
-
Constructor Summary
Constructors Constructor Description TypesOrderUtil()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisHandled(LightweightTypeReference actualTypeReference, java.util.Collection<LightweightTypeReference> collection)booleanisHandled(LightweightTypeReference actualTypeReference, LightweightTypeReference previousTypeReference)
-
-
-
Method Detail
-
isHandled
public boolean isHandled(LightweightTypeReference actualTypeReference, java.util.Collection<LightweightTypeReference> collection)
-
isHandled
public boolean isHandled(LightweightTypeReference actualTypeReference, LightweightTypeReference previousTypeReference)
-
-