android-retrolambda-lombok | modified version of lombok ast | Code Analyzer library
kandi X-RAY | android-retrolambda-lombok Summary
kandi X-RAY | android-retrolambda-lombok Summary
A modified version of lombok ast that allows lint to run on java 8 sources without error.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Invokes the method on the proxy
- Attempt to try to parse the given node as a number
- Unwraps the select chain
- Attempts to resolve an enum value
- Checks whether a given type reference is valid
- Returns a list of all the imports of the given AST
- Strip generics
- Returns the result with javadoc
- Attach javadoc to node
- Processes a UnaryExpression
- Analyze the type reference
- Process an AnnotationMethodDeclaration
- Get type name
- Emit a ForEach node
- Analyze the inline if expression
- Visits a Try node
- Visits an interface declaration
- Visits a constructor declaration
- Outputs an IF condition
- Processes a constructor invocation
- Visits a switch statement
- Visits a class declaration
- Parses a string literal
- The main entry point
- Handles a class declaration
- Outputs a FOR
android-retrolambda-lombok Key Features
android-retrolambda-lombok Examples and Code Snippets
Community Discussions
Trending Discussions on android-retrolambda-lombok
QUESTION
I'm using retrolambda with android-retrolambda-lombok but lint crashes anyway during :app:lintVital** task.
These two are in my projects build.gradle
and I excluded com.android.tools.external.lombok
as in readme.
ANSWER
Answered 2017-Jan-17 at 15:40This is a bug in lint. It looks like this happens when you are using a functional method reference which includes a wildcard. I can reproduce it, so I've filed this tracking bug https://code.google.com/p/android/issues/detail?id=232383 and I plan to get it into 2.3.
(Sadly there's no workaround; the only thing you can do is to locate the relevant source file (listed in the stacktrace but redacted here, e.g. *Database.java), look for your functional references (::), and try removing the generics in the call and just suppress generics warnings instead.)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install android-retrolambda-lombok
You can use android-retrolambda-lombok like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the android-retrolambda-lombok component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page