public boolean visit(TypeLiteral node) { node.getType().accept(this); this.fBuffer.append(".class");//$NON-NLS-1$ return false; }
@Override public boolean visit(TypeLiteral node) { node.getType().accept(this); this.fBuffer.append(".class");//$NON-NLS-1$ return false; }
public boolean visit(TypeLiteral node) { node.getType().accept(this); this.buffer.append(".class");//$NON-NLS-1$ return false; }
@Override public boolean visit(TypeLiteral node) { node.getType().accept(this); this.buffer.append(".class");//$NON-NLS-1$ return false; }
@Override public boolean visit(TypeLiteral node) { final String type = node.getType().toString(); if (topMethod != null && methodsAsRoot) { types.put(topMethod, type); } else if (topClass != null) { types.put(topClass, type); } return super.visit(node); }
public void endVisit(TypeLiteral node) { if (skipNode(node)) return; assignFlowInfo(node, node.getType()); }
public boolean visit(TypeLiteral node) { IValue type = visitChild(node.getType()); ownValue = constructExpressionNode("type", type); return false; }
@Override public void endVisit(TypeLiteral node) { if (skipNode(node)) { return; } assignFlowInfo(node, node.getType()); }
@Override public void endVisit(TypeLiteral node) { if (skipNode(node)) return; assignFlowInfo(node, node.getType()); }
final ASTNode internalGetSetChildProperty(ChildPropertyDescriptor property, boolean get, ASTNode child) { if (property == TYPE_PROPERTY) { if (get) { return getType(); } else { setType((Type) child); return null; } } // allow default implementation to flag the error return super.internalGetSetChildProperty(property, get, child); }
@Override int treeSize() { return memSize() + (this.type == null ? 0 : getType().treeSize()); } }
final ASTNode internalGetSetChildProperty(ChildPropertyDescriptor property, boolean get, ASTNode child) { if (property == TYPE_PROPERTY) { if (get) { return getType(); } else { setType((Type) child); return null; } } // allow default implementation to flag the error return super.internalGetSetChildProperty(property, get, child); }
void accept0(ASTVisitor visitor) { boolean visitChildren = visitor.visit(this); if (visitChildren) { acceptChild(visitor, getType()); } visitor.endVisit(this); }
@Override void accept0(ASTVisitor visitor) { boolean visitChildren = visitor.visit(this); if (visitChildren) { acceptChild(visitor, getType()); } visitor.endVisit(this); }
@Override protected String convertExpression(Expression expression) { if (expression.getNodeType() == ASTNode.TYPE_LITERAL) { org.eclipse.jdt.core.dom.Type type = ((TypeLiteral) expression).getType(); if (type.getNodeType() == ASTNode.PRIMITIVE_TYPE) { return ((PrimitiveType) type).getPrimitiveTypeCode().toString(); } } return null; }
ASTNode clone0(AST target) { TypeLiteral result = new TypeLiteral(target); result.setSourceRange(getStartPosition(), getLength()); result.setType((Type) getType().clone(target)); return result; }
@Override ASTNode clone0(AST target) { TypeLiteral result = new TypeLiteral(target); result.setSourceRange(getStartPosition(), getLength()); result.setType((Type) getType().clone(target)); return result; }
ASTNode clone0(AST target) { TypeLiteral result = new TypeLiteral(target); result.setSourceRange(getStartPosition(), getLength()); result.setType((Type) getType().clone(target)); return result; }
ASTNode clone0(AST target) { TypeLiteral result = new TypeLiteral(target); result.setSourceRange(getStartPosition(), getLength()); result.setType((Type) getType().clone(target)); return result; }