Comments (6)
👤 voidstar 🕗 Sep 16, 2009 at 19:35 UTC
What steps will reproduce the problem?
Try this:
@ Getter private Class<?> foo;
What is the expected output? What do you see instead?
Results in..
java.lang.IllegalArgumentException
at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2614)
at org.eclipse.jdt.core.dom.ASTConverter.convertType(ASTConverter.java:3162)
at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:476)
at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:179)
at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:2694)
at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1264)
at
org.eclipse.jdt.core.dom.CompilationUnitResolver.convert(CompilationUnitResolver.java:256)
at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:933)
at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:657)
at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider.java:544)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:537)
at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:478)
at org.eclipse.jdt.ui.SharedASTProvider.getAST(SharedASTProvider.java:126)
at
org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.getOverrideIndicators(OverrideIndicatorLabelD
ecorator.java:161)
at
org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.computeAdornmentFlags(OverrideIndicatorLab
elDecorator.java:136)
at
org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.decorate(OverrideIndicatorLabelDecorator.java:
272)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecorator
Definition.java:269)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(Lightw
eightDecoratorManager.java:81)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorM
anager.java:365)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDeco
ratorManager.java:347)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationSchedul
er.java:371)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
What version of the product are you using? On what operating system?
0.8.5 on MacOS 10.6.1
Please provide any additional information below.
With "Organize Imports" save action turned on I get this in addition to the IAE:
A save participant caused problems.
The save participant 'Code Clean Up' caused an exception: java.lang.IllegalArgumentException.
See the error Log for details.
from lombok.
👤 mccallum.michael 🕗 Sep 18, 2009 at 12:10 UTC
The wildcard sourceEnd and sourceStart were not being set, the constructor does not
match the other types...
Heres a patch
from lombok.
👤 mccallum.michael 🕗 Sep 18, 2009 at 12:10 UTC
from lombok.
👤 reinierz 🕗 Sep 21, 2009 at 01:49 UTC
Perfect. Added it verbatim to master via 76f50cc - it will be in v0.8.6.
from lombok.
👤 reinierz 🕗 Oct 16, 2009 at 08:52 UTC
from lombok.
End of migration
from lombok.
Related Issues (20)
- @FieldDefaults: Keep the global setting experimental, make the annotation permanent.
- [FEATURE] Allow to easily add interfaces to Builders
- [BUG] Support for Eclipse 2024-06 (4.32) HOT 14
- [FEATURE] Super Constructor
- [FEATURE] enhance @FieldNameConstants with specific prefix string HOT 2
- [BUG] SuperBuilder does not compile then binding generics to an array HOT 5
- [BUG] SaSessionForFastjsonCustomized类中的getModel报错 HOT 1
- [FEATURE] setX() for mutable state, fluent otherwise HOT 2
- [BUG] Lombok 1.18.34 (Edit updated) not working with eclipse 24-06 HOT 3
- [QUESTION} How to build lombok using JDK21 (javac)
- Support for an entirely new constructor generation HOT 2
- [FEATURE] Support for use extension method within the same class it was declared in
- [@ToStringJSON, @ToStringJSONPretty] Please add feature when class have some others lombok JSON. For default actual mode of lombok ToString. HOT 1
- [BUG] Lombok with Java 21 Compilation failure with v1.18.32
- [BUG] Warning when using @StandardException with the -Xlint:this-escape compiler flag
- [BUG] Potential NPE in EclipseHandlerUtil.setDocComment(..) HOT 1
- [BUG] @Delegate throwing null pointer exception on enums
- [BUG] `@Getter` with `AccessLevel` and `onMethod_` causes a compile error
- [BUG] `StringIndexOutOfBoundsException` in `EclipseHandlerUtil.getDocComment()`
- [BUG] Encountering stack overflow error when building spring app with lombok. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lombok.