Coder Social home page Coder Social logo

Comments (6)

lombokissues avatar lombokissues commented on August 16, 2024

👤 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.

lombokissues avatar lombokissues commented on August 16, 2024

👤 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.

lombokissues avatar lombokissues commented on August 16, 2024

👤 mccallum.michael   🕗 Sep 18, 2009 at 12:10 UTC

🔗 wildcard-iae.patch View file

from lombok.

lombokissues avatar lombokissues commented on August 16, 2024

👤 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.

lombokissues avatar lombokissues commented on August 16, 2024

👤 reinierz   🕗 Oct 16, 2009 at 08:52 UTC

from lombok.

lombokissues avatar lombokissues commented on August 16, 2024

End of migration

from lombok.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.