java.lang.Object
org.eclipse.m2m.atl.emftvm.constraints.ValidCodeBlockStackLevelValidator
- All Implemented Interfaces:
Validator<CodeBlock>
Validates the final stack level of code blocks, which should be 0 or 1.
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ValidCodeBlockStackLevelValidator
public ValidCodeBlockStackLevelValidator()
-
Method Details
-
validate
Validates object.
- Specified by:
validate in interface Validator<CodeBlock>
- Parameters:
cb - the object to validate
- Returns:
true if object is valid