rootid / bpep

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

Does not handle static inner classes correctly #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to a class which contains a static inner class with a constructor which a 
bunch of parameters which could benefit from the builder pattern.
2. Highlight the name of the inner class.
3. Right click on Source and select "Generate Builder Pattern Code"

What is the expected output? What do you see instead?

I would expect the listed fields to be from the inner class.  However, the 
fields appear to be from the outer class.

What version of the product are you using? On what operating system?

1.0.0 on Windows 7 with Eclipse 3.4.1.

Please provide any additional information below.

This is more of a feature request but it would be nice to have context 
sensitive support for inner classes.

Original issue reported on code.google.com by gerrys...@gmail.com on 20 Sep 2010 at 7:26

GoogleCodeExporter commented 8 years ago
Hi!

I currently don't have much time available for this project. But if you have 
the time to create a patch it's very welcome! :)

Shouldn't be to hard to fix this. The code for reading member variables from 
the class is very simple. If you have some java experience you should be able 
to fix this quite easily.  

--
Henning

Original comment by henning....@gmail.com on 19 May 2011 at 9:34