public BaseParameter(VariableDeclaratorId id) { setId(id); }
public BaseParameter(int modifiers, VariableDeclaratorId id) { setModifiers(modifiers); setId(id); }
public BaseParameter(int modifiers, List<AnnotationExpr> annotations, VariableDeclaratorId id) { setModifiers(modifiers); setAnnotations(annotations); setId(id); }
public BaseParameter(int beginLine, int beginColumn, int endLine, int endColumn, int modifiers, List<AnnotationExpr> annotations, VariableDeclaratorId id) { super(beginLine, beginColumn, endLine, endColumn); setModifiers(modifiers); setAnnotations(annotations); setId(id); }
protected Node visit(final BaseParameter n, final A arg) { final List<AnnotationExpr> annotations = n.getAnnotations(); if (annotations != null) { for (int i = 0; i < annotations.size(); i++) { annotations.set(i, (AnnotationExpr) annotations.get(i).accept(this, arg)); } removeNulls(annotations); } n.setId((VariableDeclaratorId) n.getId().accept(this, arg)); return n; }