oliviercoma / fluent-builders-generator-eclipse-plugin

Automatically exported from code.google.com/p/fluent-builders-generator-eclipse-plugin
0 stars 0 forks source link

Doesn't works when class has self-relatioship #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a class X
2. create an attribute Set<X> childXs;
3. execute the generator.

What is the expected output? What do you see instead?
There is a error on the generated internal class.

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

Please provide any additional information below.

Original issue reported on code.google.com by cvgav...@gmail.com on 21 Jul 2010 at 2:08

GoogleCodeExporter commented 8 years ago
Hi, I need some additional info:
1. was your class in the root package?
2. what was the compilation error?
Cheers

Original comment by pwyrzy...@gmail.com on 1 Aug 2010 at 9:54

GoogleCodeExporter commented 8 years ago
Hi, sorry for not given details before...
So, it goes...

I've just created a simply parent-children class...

And eclipse throws me this:
{code}
Description Resource    Path    Location    Type
The nested type MyClassBuilderBase cannot hide an enclosing 
type    MyClassBuilder.java /test.model/src/main/java/com/teste/model/products/arti
facts/code  line 101    Java Problem

{code}

Original comment by cvgav...@gmail.com on 1 Aug 2010 at 11:00

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by pwyrzy...@gmail.com on 2 Aug 2010 at 5:15

GoogleCodeExporter commented 8 years ago

Original comment by pwyrzy...@gmail.com on 15 Aug 2010 at 7:12