@Override public boolean visit(TypeLiteral node) { node.getType().accept(this); this.buffer.append(".class");//$NON-NLS-1$ return false; }
/** * @deprecated */ private void visitComponentType(ArrayType node) { node.getComponentType().accept(this); }
public boolean visit(TypeLiteral node) { node.getType().accept(this); this.buffer.append(".class");//$NON-NLS-1$ return false; }
@Override public boolean visit(UnionType node) { for (Iterator<Type> it= node.types().iterator(); it.hasNext();) { Type t= it.next(); t.accept(this); if (it.hasNext()) { this.fBuffer.append("|");//$NON-NLS-1$ } } return false; }
/** * @deprecated */ private void visitComponentType(ArrayType node) { node.getComponentType().accept(this); }
@Override public boolean visit(UnionType node) { for (Iterator it = node.types().iterator(); it.hasNext(); ) { Type t = (Type) it.next(); t.accept(this); if (it.hasNext()) { this.buffer.append('|'); } } return false; }
@Override public boolean visit(IntersectionType node) { for (Iterator it = node.types().iterator(); it.hasNext(); ) { Type t = (Type) it.next(); t.accept(this); if (it.hasNext()) { this.buffer.append(" & "); //$NON-NLS-1$ } } return false; }
@Override public boolean visit(CastExpression node) { this.buffer.append("(");//$NON-NLS-1$ node.getType().accept(this); this.buffer.append(")");//$NON-NLS-1$ node.getExpression().accept(this); return false; }
@Override public boolean visit(CreationReference node) { node.getType().accept(this); visitReferenceTypeArguments(node.typeArguments()); this.buffer.append("new");//$NON-NLS-1$ return false; }
public boolean visit(InstanceofExpression node) { node.getLeftOperand().accept(this); this.buffer.append(" instanceof ");//$NON-NLS-1$ node.getRightOperand().accept(this); return false; }
public boolean visit(InstanceofExpression node) { node.getLeftOperand().accept(this); this.buffer.append(" instanceof ");//$NON-NLS-1$ node.getRightOperand().accept(this); return false; }
public boolean visit(QualifiedType node) { node.getQualifier().accept(this); this.buffer.append(".");//$NON-NLS-1$ node.getName().accept(this); return false; }
@Override public boolean visit(InstanceofExpression node) { node.getLeftOperand().accept(this); this.buffer.append(" instanceof ");//$NON-NLS-1$ node.getRightOperand().accept(this); return false; }
@Override public boolean visit(final TypeLiteral node) { if (this.fallBackStrategy) { this.appendToBuffer("typeof("); } node.getType().accept(this); if (this.fallBackStrategy) { this.appendToBuffer(")"); } return false; }
@SuppressWarnings("unchecked") @Override public boolean visit(ParameterizedType node) { pushNode(node, ""); node.getType().accept(this); visitListAsNode(EntityType.TYPE_ARGUMENTS, node.typeArguments()); return false; }
public boolean visit(TypeMethodReference node) { node.getType().accept(this); visitReferenceTypeArguments(node.typeArguments()); node.getName().accept(this); return false; }
@Override public boolean visit(TypeMethodReference node) { node.getType().accept(this); printReferenceTypeArguments(node.typeArguments()); node.getName().accept(this); return false; }
@Override public boolean visit(TypeMethodReference node) { node.getType().accept(this); printReferenceTypeArguments(node.typeArguments()); node.getName().accept(this); return false; }
public boolean visit(TypeMethodReference node) { node.getType().accept(this); visitReferenceTypeArguments(node.typeArguments()); node.getName().accept(this); return false; }
@Override public boolean visit(TypeMethodReference node) { node.getType().accept(this); visitReferenceTypeArguments(node.typeArguments()); node.getName().accept(this); return false; }