Beispiel #1
0
 /**
  * If the component maps to a property, forwards to purple, otherwise to green.
  *
  * <p>If the component is mapped to a type, this method needs to return true. See the chart at the
  * class javadoc.
  */
 public void ying(XSComponent sc, @Nullable XSComponent referer) {
   if (sc.apply(toPurple) == true || getClassSelector().bindToType(sc, referer) != null)
     sc.visit(purple);
   else sc.visit(green);
 }