01: package org.drools.util.asm;
02:
03: public class MethodCompareA {
04:
05: public boolean evaluate(final String foo) {
06: if (foo == null || foo.startsWith("42")) {
07: return true;
08: } else {
09: return false;
10: }
11: }
12:
13: public boolean askew(final Integer a) {
14: return false;
15: }
16:
17: public boolean evaluate2(final String foo) {
18: if (foo == null || foo.startsWith("43")) {
19: return true;
20: } else {
21: return false;
22: }
23: }
24:
25: }
|