/** * Create an instance of {@link MatchersRoutineType } * */ public MatchersRoutineType createMatchersRoutineType() { return new MatchersRoutineType(); }
public MatchersRoutineType withExpression(String value) { setExpression(value); return this; }
public MatchersRoutineType withRoutineClass(MatcherRule value) { setRoutineClass(value); return this; }
@Override public String getJavaMethodName(Definition definition, Mode mode) { for (MatchersRoutineType routines : routines(definition)) { String result = match(definition, routines.getExpression(), routines.getRoutineMethod()); if (result != null) return result; } // Default to standard behaviour return super.getJavaMethodName(definition, mode); }
String result = match(definition, routines.getExpression(), routines.getRoutineClass()); if (result != null) return result;
String result = match(definition, routines.getExpression(), routines.getRoutineImplements()); if (result != null) return split(result);
public MatchersRoutineType withRoutineImplements(String value) { setRoutineImplements(value); return this; }
public MatchersRoutineType withRoutineMethod(MatcherRule value) { setRoutineMethod(value); return this; }