setConversionPositionInfo(last, "<", getPosition(node));
set(node, ref);
}
@Override public void visitWildcard(JCWildcard node) {
TypeReference ref = (TypeReference) toTree(node.getBound(), FlagKey.TYPE_REFERENCE);
if (ref == null) ref = new TypeReference();
switch (node.getKind()) {
case UNBOUNDED_WILDCARD:
ref.astWildcard(WildcardKind.UNBOUND);
break;
case EXTENDS_WILDCARD:
ref.astWildcard(WildcardKind.EXTENDS);
setConversionPositionInfo(ref, "extends", getTypeBoundKindPosition(node));
break;
case SUPER_WILDCARD:
ref.astWildcard(WildcardKind.SUPER);
setConversionPositionInfo(ref, "super", getTypeBoundKindPosition(node));
break;
}
set(node, ref);
}