Code Monkey home page Code Monkey logo

lombok.ast's People

Contributors

askoning avatar grootjans avatar rspilker avatar rzwitserloot avatar tnorbye avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lombok.ast's Issues

use HTTPS to protect developers

The build system here downloads and executes lots of jars via plain text HTTP connections. This is a large security risk:
http://blog.ontoillogical.com/blog/2014/07/28/how-to-take-over-any-java-developer/

And there is a simple fix that will help a lot, switch the URLs to use HTTPS:
find * -name \*.xml|xargs sed -i 's,http://projectlombok.org,https://projectlombok.org,g'

And changing this in buildScripts/ivysettings.xml works for me:
<ibiblio name="maven-repo2" m2compatible="true" root="https://repo1.maven.org/maven2" />

This same issue also applies to lombok and ivyplusplus.

Create minimal jar for code analysis and transformations

We want to deliver a separate lightweight jar without dependencies on Parboiled, Guava and cmdreader.

Jar 1, transformations

  • lombok.ast
  • lombok.ast.ecj
  • lombok.ast.javac
  • lombok.ast.resolve

Jar 2, everything

For jar 1, we should remove some of the Guava static factory methods, like Lists.newArrayList()

Where's Select.java

When I import this project, I see AstVisitor has a method visitSelect, but I can't see Select.java in this package. Please help me. Thank you.

Sources for com.github.parboiled.custom are missing

Hello

I am trying to package lombok-ast for Debian and I discovered that lombok-ast fails to build from source with the latest version of parboiled from https://github.com/sirthias/parboiled. Apparently this project uses a custom version of parboiled. I downloaded http://projectlombok.org/ivyrepo/parboiled/parboiled-0.9.7.2-src.jar but it contains no source and only class files.

Could you provide the sources for your custom version of parboiled please?

"java.lang.NoSuchFieldError: type" in EcjConverter

When running the EcjTreeConverter I get the following NoSuchFieldError on a bunch of different files. This is using Eclipse 3.7.1, on Mac OSX Snow Leopard. The Lombok AST library is from head a couple of days ago.

java.lang.NoSuchFieldError: type
at lombok.ast.ecj.EcjTreeConverter$2.visitCastExpression(EcjTreeConverter.java:831)
at lombok.ast.ecj.EcjTreeVisitor.visitEcjNode(EcjTreeVisitor.java:280)
at lombok.ast.ecj.EcjTreeConverter.visit(EcjTreeConverter.java:289)
at lombok.ast.ecj.EcjTreeConverter.toTree(EcjTreeConverter.java:230)
at lombok.ast.ecj.EcjTreeConverter.toTree(EcjTreeConverter.java:223)
at lombok.ast.ecj.EcjTreeConverter.createVariableDefinition(EcjTreeConverter.java:345)
at lombok.ast.ecj.EcjTreeConverter.toVariableDefinition(EcjTreeConverter.java:299)
at lombok.ast.ecj.EcjTreeConverter.fillList(EcjTreeConverter.java:274)
... lots of frames ...

 at lombok.ast.ecj.EcjTreeConverter$2.visitCompilationUnitDeclaration(EcjTreeConverter.java:434)
 at lombok.ast.ecj.EcjTreeVisitor.visitEcjNode(EcjTreeVisitor.java:264)
 at lombok.ast.ecj.EcjTreeConverter.visit(EcjTreeConverter.java:289)

I get this on this file:
http://codesearch.google.com/#Z1yw3OC_QbA/astrid/rmilk-src/org/weloveastrid/rmilk/api/Invoker.java
(well I'm running it on a snapshot of that project which is older, but I'm hoping the above file will still trigger it, if not I can send it to you directly)

Is there any documentation about lombok.ast?

I'm new to lombok.ast and recently I want to do some code analysis work and need to use lombok.ast. But seems that there isn't any documentation about it. Would you offer some clues?

adding `ant intellij` to lombok.ast?

Hi, Reinier

Do you have any plans to adding the ant intellij task in a near future? I tried adapting both the ant intellij task that appears in your rzwitserloot/lombok project and in rzwitserloot/ivyplusplus (the example) using the ant eclipse task (in lombok.ast/build.xml) as a reference. Unfortunately, I did not get good results. I was getting errors like lombok.ast/build.xml:361: module doesn't support the nested "apt" element. or missing dependencies.

I would appreciate if you could let me know about this. Thanks.

lombok hangs forever on Java 7 multicatch

I've seen lombok hit an apparent infinite loop when parsing stuff like

catch (IOException|SomeOtherExceptionType|SomeThirdExceptionType e) {

}

Is Java 7 not supported?

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.