I have some local classes inside an external class, and I get a bunch
of errors. Eclipse reports:-
Multiple markers at this line
- Syntax error, insert ";" to complete ConstructorDeclaration
- Syntax error, insert "Identifier (" to complete
ConstructorHeaderName
- Syntax error, insert ")" to complete ConstructorDeclaration
- Syntax error on token "Village", invalid GenericMethodDeclaration
- Syntax error on token "class", Identifier expected after this token
When I try changing the annotation from Bean to Data, I get:-
Multiple markers at this line
- Syntax error, insert ";" to complete ConstructorDeclaration
- Syntax error, insert ")" to complete ConstructorDeclaration
- Syntax error, insert "Identifier (" to complete
ConstructorHeaderName
The class in question looks like:-
public class Test {
@Bean private class Village {
private String name;
private County county;
}
}
David
On Dec 31 2009, 6:29 pm, David Goodenough
--
You received this message because you are subscribed to the Google
Groups group for http://projectlombok.org/
To post to this group, send email to project...@googlegroups.com
To unsubscribe from this group, send email to
project-lombo...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/project-lombok?hl=en
David
On Jan 6, 1:43 pm, Reinier Zwitserloot <reini...@gmail.com> wrote:
> I can't repeat this issue; if I write:
>
> public class Test {
> @Data private class Foo {
> private String name;
> private Object obj;
>
> }
> }
>
> in eclipse, lombok does what it should be doing - generates getters, and as
> a side-effect you get a bunch of warnings involving unused private stuff,
> but that's intentional. No errors.
>
> --Reinier Zwitserloot
>
> On Wed, Jan 6, 2010 at 2:41 PM, David Goodenough <
>
> > Groups group forhttp://projectlombok.org/
>
> > To post to this group, send email to project...@googlegroups.com
> > To unsubscribe from this group, send email to
> > project-lombo...@googlegroups.com<project-lombok%2Bunsu...@googlegroups.com>