Parsing Java Class using PSI

My Java Class  has the below code snippet.

public final MyConfiguration<String> URL_PATH = new MyStringConfiguration(this.getValue(), "file.url.path", "dummy", "dummy text");

Using Psi Tree how can I parse each of the parameters passed to the class. For example, I want to get the value of "file.url.path" and "dummy"
.

I am able to get all fields using getFields() method, but I am not sure how to get the values assigned.

psiClass.getFields()

Please sign in to leave a comment.