MCPcopy Create free account
hub / github.com/jmrozanec/cron-utils / visit

Method visit

src/main/java/com/cronutils/mapper/CronMapper.java:289–291  ·  view source on GitHub ↗
(Every every)

Source from the content-addressed store, hash-verified

287 FieldExpression dest = null;
288 dest = expression.accept(new FieldExpressionVisitorAdaptor() {
289 public FieldExpression visit(Every every) {
290 return new Every(every.getExpression().accept(this), every.getPeriod());
291 }
292
293 public FieldExpression visit(On on) {
294 return new On(mapDayOfWeek(sourceDef, targetDef, on.getTime()), on.getSpecialChar());

Callers

nothing calls this directly

Calls 10

mapDayOfWeekMethod · 0.95
andMethod · 0.95
getPeriodMethod · 0.80
getSpecialCharMethod · 0.80
getFromMethod · 0.80
getToMethod · 0.80
getExpressionsMethod · 0.80
acceptMethod · 0.45
getExpressionMethod · 0.45
getTimeMethod · 0.45

Tested by

no test coverage detected