step method

void step(
  1. Type clazz
)

Add a Type with defined step definitions

Implementation

void step(Type clazz) {
  final ClassMirror lib = reflectClass(clazz);
  if (lib.isAbstract) {
    _log.warning('Skipping abstract type ${lib.simpleName}, assuming a subclass will be present to pick up its step methods');
  } else {
    _stepdefs.add(clazz);
  }
}