prakashjegan / javaparser

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

Variable Parse #68

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
I am currently trying to parse variables in a certain class but I wasn't able 
to do. (Since I am new to java, I couldn't understand most of the search 
results that I get.)

For instance;

public class Car {
    private String plate;
    public Car(String plateNr) {
        plate = plateNr;
    }
    public String getPlate() {
        return plate;
    }
    public void setPlate(String plate) {
        this.plate = plate;
    }
}
I would like to parse "private String plate" part.
Thanks.

Original issue reported on code.google.com by cansinsa...@gmail.com on 5 May 2015 at 12:13