Skip to main content
summaryrefslogtreecommitdiffstats
blob: e83c3ea919299fbf18022655d096ce8adc41bef0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
* generated by Xtext
*/
package org.eclipse.qvtd.xtext.qvtimperative.validation;

/**
 * Custom validation rules. 
 *
 * see http://www.eclipse.org/Xtext/documentation.html#validation
 */
public class QVTimperativeJavaValidator extends org.eclipse.qvtd.xtext.qvtimperative.validation.AbstractQVTimperativeJavaValidator {

//	@Check
//	public void checkGreetingStartsWithCapital(Greeting greeting) {
//		if (!Character.isUpperCase(greeting.getName().charAt(0))) {
//			warning("Name should start with a capital", MyDslPackage.Literals.GREETING__NAME);
//		}
//	}
}

Back to the top