public Annotation[] getAnnotations() {
    return getReflection().getAnnotations();
  }
Base class for runtime information about an element in a Spock specification.

@author Peter Niederwieser
spock-core/src/main/java/org/spockframework/runtime/model/NodeInfo.java