Ejemplo n.º 1
0
 /**
  * {@inheritDoc}
  *
  * <p>This implementation scans the enclosed elements, unless the element is a {@code
  * RESOURCE_VARIABLE} in which case {@code visitUnknown} is called.
  *
  * @param e {@inheritDoc}
  * @param p {@inheritDoc}
  * @return the result of scanning
  */
 public R visitVariable(VariableElement e, P p) {
   if (e.getKind() != ElementKind.RESOURCE_VARIABLE) return scan(e.getEnclosedElements(), p);
   else return visitUnknown(e, p);
 }