@Override
public EvaluatedCondition eval(AnnotationFS annotation, RuleElement element,
RutaStream stream, InferenceCrowd crowd) {
RutaBasic endAnchor = stream.getEndAnchor(annotation.getEnd());
Type t = type.getType(element.getParent());
boolean result = endAnchor.beginsWith(t) && endAnchor.endsWith(t);
return new EvaluatedCondition(this, result);
}
}