machao657 / javaparser

Automatically exported from code.google.com/p/javaparser
0 stars 0 forks source link

A refactor suggestion for AnnotationExpr and its subclasses #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Each 3 subclasses of AnnotationExpr has the following code:
    private NameExpr name;
    public NameExpr getName() {
        return name;
    }
    public void setName(NameExpr name) {
        this.name = name;
    }

It might be better to pull them up.

Original issue reported on code.google.com by qiuguo0...@gmail.com on 2 Mar 2009 at 6:31

GoogleCodeExporter commented 9 years ago
Please do this.  It makes processing annotations far more awkward than it 
should be.

Original comment by nat.pr...@gmail.com on 3 Mar 2009 at 6:34

GoogleCodeExporter commented 9 years ago
All right, I'll do this soon as possible!

Original comment by jges...@gmail.com on 3 Mar 2009 at 6:39

GoogleCodeExporter commented 9 years ago
Done, will be delivered in the next release.

Original comment by jges...@gmail.com on 17 Jan 2010 at 7:35