/** Applies the annotations defined in this helper to the specified * instance definition. * * @param compInfo the instance definition to update * @param propName the property name * @param clear whether to clear all definitions before returning * @see #clear * @since 8.0.0 */ public void applyAnnotations(ShadowInfo compInfo, String propName, boolean clear) { for (AnnotInfo info : _annots) { compInfo.addAnnotation(propName, info.name, info.attrs, info.loc); } if (clear) _annots.clear(); }