Fix scope handling during annotation binding

When binding annotations on a class declaration, members of that class
are not in scope (e.g. for use as class literals in annotation element
values).

Keep track of the scope that encloses class declaration in addition to
the class member scope, and use the former when binding annotations on
the class.

MOE_MIGRATED_REVID=137767162
11 files changed
tree: a4e0398d7a0f57ba2a7da81c996841a1778cdda5
  1. java/
  2. javatests/
  3. proto/
  4. .gitignore
  5. LICENSE
  6. pom.xml
  7. README.md
  8. turbine.iml
README.md

Turbine

Turbine is a header compiler for Java.