Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read annotation definitions from classpath #25

Open
GoogleCodeExporter opened this issue Jul 3, 2015 · 0 comments
Open

Read annotation definitions from classpath #25

GoogleCodeExporter opened this issue Jul 3, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

The AFU manual states:

"The Annotation File Utilities can read annotation definitions from the 
classpath, so it is optional to define them in the annotation file."

This is not true, annotations are not read from the classpath and must always 
be defined in the annotation file. This would be a nice feature to have though.

A simple example is attached. To run it execute:

export CLASSPATH=$CHECKERS/checkers-quals.jar
insert-annotations-to-source Classpath.jaif Classpath.java

Currently, the insertion fails with the error:

Error while parsing annotation file Classpath.jaif at line 5:
    No definition for annotation type checkers.nullness.quals.Nullable

Original issue reported on code.google.com by emspis...@gmail.com on 12 Mar 2013 at 2:04

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants