History log of /external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4dd975eacde53b53db704dc17d1c173cba2e1e28 06-May-2017 Michael Ernst <mernst@cs.washington.edu> Add missing curly braces
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
52e8495fa4d3730f1ae8e4d97c01dbc24a7ea4a2 06-May-2017 Michael Ernst <mernst@cs.washington.edu> Whitespace fixes
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
77c5c01e3abf96e65edacbe71520e8b56eae423f 06-May-2017 Michael Ernst <mernst@cs.washington.edu> Improve Javadoc tag formatting
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
f363307b8c8b78b369f6770b2d0b95eccf6754c9 06-May-2017 Michael Ernst <mernst@cs.washington.edu> Add curly braces
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
762a40ec41adeb2787d0bd5b3a37afce2d8ed187 06-May-2017 Michael Ernst <mernst@cs.washington.edu> Prepare for future reformatting
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
a3e51b83fa3eb8dd3ed322bd2d4d0395d7744522 18-Dec-2016 Michael Ernst <mernst@cs.washington.edu> Improve Javadoc formatting
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
4f36ca57e86fb378d83d121bdc424e8477196bd6 18-Dec-2016 Michael Ernst <mernst@cs.washington.edu> Change "base type" to "name" for bounded types.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
28d13b6b64c439846066aa1d27d026aee3a5cefd 02-Jun-2016 Dan Brown <dbro@cs.washington.edu> Puts package annotation on package-info class.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
43367280222c6f50f8085ae8d12a985c257b3ea0 01-Jun-2016 Michael Ernst <mernst@cs.washington.edu> Revert "Move plume-lib classes to a different package to prevent conflicts"

This reverts commit 6ded22f83487938efe4709d95c807e8288ed86d1.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
985bb6da10794e6bb3bd3dfa96ee81ba1a68df65 21-May-2016 Dan Brown <dbro@cs.washington.edu> Stores package annotations in scene as annotations on class package-info.
Fixes #117.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
6ded22f83487938efe4709d95c807e8288ed86d1 29-Apr-2016 Michael Ernst <mernst@cs.washington.edu> Move plume-lib classes to a different package to prevent conflicts
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
3aff85d01d84fa9d8551ca791036a733ae4a4f39 21-Apr-2016 Michael Ernst <mernst@cs.washington.edu> Remove mentions of IGJ and Javari
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
f5548b582be985bb4fff756433114069a98f3e85 10-Mar-2016 Dan Brown <dbro@cs.washington.edu> Explains need for pattern match to extract class name.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
7497b7d679b3cee5317d4b4dca0c4e7c0ed6db6b 09-Mar-2016 Dan Brown <dbro@cs.washington.edu> Allows constructor name in place of "<init>" in JAIF method declarations.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
8366e95cbef27cb54688dbeefc94ab309041f4d7 18-Nov-2015 Werner Dietl <wdietl@gmail.com> Whitespace fixes.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
9967de5fe4b0240e9b5169020aec35fb29cdfb83 26-Aug-2015 Dan Brown <dbro@cs.washington.edu> Avoids abbreviating annotations when there are multiple definitions for the same name. Fixes #101.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
28bc2338ce22fe422b5135f7954786eb47ee3939 02-Jul-2015 Dan Brown <dbro@cs.washington.edu> Issues warning instead of throwing exception when duplicate annotation definition is found.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
2d07106200d909201107a9fa658cb347002f33b9 04-Jun-2015 Dan Brown <dbro@cs.washington.edu> restores tabbing consistency
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
035b99d62853f1230875953109c1f6158be5daf6 07-May-2015 Dan Brown <dbro@cs.washington.edu> Fixes parsing bugs affecting "lambda:" sections.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
e8049f28626abdee26a8d9809b798543c4c5e66a 11-Mar-2015 Dan Brown <dbro@cs.washington.edu> Uses correct type_index default for RelativeLocation.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
b1699772924e3204b2b6adc37ef704689f4a214c 25-Feb-2015 Dan Brown <dbro@cs.washington.edu> Expands set of type annotation locations.
Specifically, now allows annotations on type arguments of static method
invocations, type arguments of method references, and formal parameters
of lambda expressions.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
04354d7431b76b4111df0da729aa8d0110e0c5a0 30-Jan-2015 Dan Brown <dbro@cs.washington.edu> Slightly changes syntax for type arguments etc.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
63c4163c2c80cb4d0309ac088216a7e777872b94 22-Jan-2015 Dan Brown <dbro@cs.washington.edu> Updates JAIF format.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
8c7ea9e039943d45608760e943fcab51a5e9215a 13-Jan-2015 Dan Brown <dbro@cs.washington.edu> Adds support for lambda expressions and partial support for method references.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
7cbd70a28125c30d4e9ef1f8a506c20c0ec8a293 28-Oct-2014 Dan Brown <dbro@cs.washington.edu> Reverts recent changes to parseASTInsertion().
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
4258aa5945d4cf8a38f57ef072631600f4c87585 11-Oct-2014 Dan Brown <dbro@cs.washington.edu> Changes new array paths to use ArrayType.type.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
d429e5d87eb48b6c7ad9041eba400e775a1796ef 09-Oct-2014 Dan Brown <dbro@cs.washington.edu> new branch persistent-ast-paths
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
bf7518334421065aadf20938aea6f227cee1299f 12-Sep-2014 Dan Brown <dbro@cs.washington.edu> minor bug fixes / refactoring
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
859e97240fe5026b69c38ad63c4f6f6ca8c530a0 06-Jul-2014 Dan Brown <dbro@cs.washington.edu> Corrects error in previous commit.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
7165cfd52319198639f0103ed8e85701b9cb46b4 06-Jul-2014 Dan Brown <dbro@cs.washington.edu> Takes advantage of changes to ASTPath API.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
41366ae097ea672211a305b9fdf7c8f29a32a140 24-Jun-2014 Dan Brown <dbro@cs.washington.edu> Separates inner types out of ASTPaths ending in NewArray.type <int>.
Consequently, restores the correspondence between ASTPaths and AST nodes.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
e6c00d8cfb8bd587510ef58b0f09b45a63877038 01-May-2014 Dan Brown <dbro@cs.washington.edu> Fixes AST path-based type insertions on NewArray nodes.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
3536938b7ab0c211e89e589c1f7ac6e256b5aeac 23-Apr-2014 Dan Brown <dbro@cs.washington.edu> Corrects generated import format.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
e4003a2bdd8f2634d19cdac8875a10979f87a0e4 23-Apr-2014 Dan Brown <dbro@cs.washington.edu> Abbreviates enum arguments of annotations when abbreviation is turned on.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
ba913f5fda137e65f3118f2c64dd766c92879a9f 22-Apr-2014 Dan Brown <dbro@cs.washington.edu> Fixes parsing crash on -1 index in ASTPath (for real this time).
Fixes Issue #85.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
93bf5e524312a90abc347505d31639cdf5fd330a 22-Apr-2014 Dan Brown <dbro@cs.washington.edu> Fixes parsing crash on -1 index in ASTPath.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
ae59e800285da24b81da6668782b9a20d884d364 10-Apr-2014 Dan Brown <dbro@cs.washington.edu> Adds suport for TypeParameter.bound as an AST path node descriptor.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
a1d527e4d395dfa5d3eb519eb1420cf86e80070b 03-Apr-2014 Dan Brown <dbro@cs.washington.edu> Makes method declarations accessible via AST paths.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
e5e00a91997bf73810c286c994f5bd3d4a9413cf 24-Mar-2014 Dan Brown <dbro@cs.washington.edu> Allows insert-annotations on local variable declarations.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
8f1acf7e0e6625ab1695f61d6b70109a44be089c 21-Mar-2014 Dan Brown <dbro@cs.washington.edu> Changes types of parameters and receiver from AElement to AField.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
79db425002236129f25393fe1a6bac1f5186794e 15-Mar-2014 Werner Dietl <wdietl@gmail.com> Adapt to Checker Framework changes.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
e3fe514f761cae0d4cf27e315b8b29d0f7fce6c0 05-Mar-2014 Dan Brown <dbro@cs.washington.edu> Reorganizes AElement hierarchy, adding new classes ADeclaration and AField.
ADeclaration (extends AElement) is an abstract superclass for AClass,
AMethod, and AField, the last of which represents member declarations.
AMethod no longer extends ABlock but instead contains a field (ABlock body)
that provides the information the superclass once provided.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
0d161b87d0b1b90ba1967ca4d4071b09e83cc907 28-Nov-2013 Dan Brown <dbro@cs.washington.edu> Adds support for annotations inside instance initializer blocks.
Fixes Issue #64.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
08aee756a074fb7df907f99468b2f62f0aef7367 13-Sep-2013 Dan Brown <dbro@cs.washington.edu> Adds "insert-annotation" to JAIF format, allowing annotation insertions to be specified by AST paths.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
d7468ffff4cd085a3f97ca3afddc0a2fd1b882b7 06-Mar-2013 Eric Spishak <espishak@cs.washington.edu> Bug fix: allow primitive types when parsing a type from a .jaif file.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
13153e3de9079d8acf16c8fcc32bd708fb0308e9 06-Mar-2013 Eric Spishak <espishak@cs.washington.edu> Allow annotations on compound types of a cast insertion.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
bcf0e58623d43433c1c05a2fc954f69411b86759 04-Feb-2013 Eric Spishak <espishak@cs.washington.edu> Small improvements to JAIF file parsing error messages.
Only print strack track in debug mode. Clarify error messages.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
5f9031e68d307396df12492ac4fe816edc970888 04-Feb-2013 Eric Spishak <espishak@cs.washington.edu> Reorder imports.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
a74f2668d253bb9375805db0f23a01e30ddfba8f 01-Feb-2013 wdietl <wdietl@gmail.com> General code cleanup to largely reduce the number of warnings: put qualifier imports into Voodoo comments, remove unused imports, adapt whitespace, comment-out dead code, ...
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
e0ac3a8d3302812abc7556ca87e0602e88c7a3da 31-Jan-2013 Eric Spishak <espishak@cs.washington.edu> Update annotation syntax.
Use new receiver syntax and remove receivers from anonymous inner classes. Put annotation in correct place on inner types.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
239944388565938ceab7d7529540b75174c031b8 28-Jan-2013 Werner Dietl <wdietl@gmail.com> Support annotating casts with intersection types - read offset and type index, adapt storage format, and storage in RelativeLocation.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
2fde166bd31cae0d48b180098bc586582f7ad95d 25-Jan-2013 Eric Spishak <espishak@cs.washington.edu> Merge.
3a4a5017af43fd04846c39ca1611e4c7c1415462 18-Jan-2013 Eric Spishak <espishak@cs.washington.edu> Rename and rework WildcardType into BoundedType.
BoundedType is a more accurate way of representing the type.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
7c7dd1ebe58f70cc79ef43a4bd92767863fc07ef 17-Jan-2013 Eric Spishak <espishak@cs.washington.edu> Use constants for child selector names.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
cf60ba0d812c61a09a5597dfda3556792b6c9831 09-Jan-2013 Werner Dietl <wdietl@gmail.com> Automated merge with https://annotation-tools.googlecode.com/hg/
16df2254d685db54b8496d352b5116792c916011 11-Dec-2012 Werner Dietl <wdietl@gmail.com> First set of adaptations to the new JSR 308 bytecode representation. Doesn't quite work yet, but compiles :-)
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
e5c299b5a604d888f312414745090254be34d387 06-Dec-2012 Eric Spishak <espishak@cs.washington.edu> Move InsertionType into scene-lib so it can be used when parsing the index file. Add support for array, wild card and inner types.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
67651485ed9db8c73ed0650f22a529a4be9cd867 28-Nov-2012 Eric Spishak <espishak@cs.washington.edu> Rename AInsertTypecastTypeElement to ATypeElementWithType.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
07a61175c257cf7fb7738d5eede16733440c1b56 28-Nov-2012 Eric Spishak <espishak@cs.washington.edu> Add cast insertion on an arbitrary expression using an AST path.
This includes tests and documentation updates.
This does not yet support cast insertion where an annotation is being added to a type parameter.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
66ed18a3af8e76f1505f6a4668139ef4aa371dd9 12-Nov-2012 Eric Spishak <espishak@cs.washington.edu> Rearrange some imports.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
f41a79458b0a5b70947f56bedfd1d4f57a202416 01-Aug-2012 wdietl <wdietl@gmail.com> Adapt format of .class literals to always use the internal representation, which is mostly what Class.forName expects, with the addition of primitive types and void.class.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
64a56937845569de0aa295d3540724f9e99e58aa 31-Jul-2012 wdietl <wdietl@gmail.com> Use Voodoo comment to prevent unused-import warning.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
378047a5324fa5067c36c38ea304d70766798564 31-Jul-2012 wdietl <wdietl@gmail.com> Tab to space whitespace cleanup.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
78fd0ebb5418fe65b66c06f125fc8dfd39810269 06-Feb-2012 wdietl <wdietl@gmail.com> First changes to allow generic method receiver annotations.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
862491b3fb553432c73c3d3fbdbb95ff5fc30528 15-Apr-2011 wdietl <devnull@localhost> Parse extends and implements clauses.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
e0ce57b1d4936fc5950302232602b15e9dbfb6aa 11-Jan-2011 Michael Ernst <mernst@cs.washington.edu> Handle type parameters as well as bounds. Also some better error checking.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
6985a14be133c6afb4a4df9768230bd4fd70b15e 01-Jan-2011 Michael Ernst <mernst@cs.washington.edu> Improve error reporting
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
06ba4a4c6499b2eb353e3235821251a100b160ec 29-Nov-2010 Michael Ernst <mernst@cs.washington.edu> Remove comma after 'bound' in file format; is now consistent with documentation
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
9eeae1db778d0958939c30bea8ad01d9b622f099 04-Oct-2010 Werner Dietl <wdietl@gmail.com> Fixed parsing of static initializers.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
0156d24111f6028ae816947f6b0fbb28f45f1744 03-Oct-2010 Werner Dietl <wdietl@gmail.com> Support field and static initializers.
Make the order of expression annotation elements irrelevant.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
ef74e43599c7c6ddd09e3151ad467d8c4b81cce1 25-Sep-2010 Werner Dietl <wdietl@gmail.com> Use the new RelativeLocation instead of plain Integers.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
2697825b7dc291ef63eed89f7afccdd2d7ecb71b 24-Sep-2010 Werner Dietl <wdietl@gmail.com> Allow the specification of a local variable index to disambiguate between different variables with the same name.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
c94766272862b92be5d7351f059c27ba5efe053e 24-Sep-2010 Werner Dietl <wdietl@gmail.com> Support local variable identifiers instead of byte code ranges.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
e7e8d2178983c1a02c95d59ad72f7c6eee67c82d 03-Feb-2010 Michael Ernst <mernst@cs.washington.edu> Only permit inner-type keyword after a type keyword, such as: type receiver return
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
64b3159308f0b687652722c469e73282357e79fa 29-Jan-2010 Michael Ernst <mernst@cs.washington.edu> Type annotations should not be intermingled with declaration annotations.
These changes accommodate that fact.

ATypeElement stands for something that is a type annotation. Its .type
field is always null. AElement is used whenever manipulating something
that is not guaranteed to be a type annotation. This caused changes in the
code to use ATypeElement in many places that AElement was used before.

Update goals to put annotations in correct locations. Example change:

Fix an indentation problem in the output.
Enhance some debugging output.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
e67b0ef921bf74296a1c601b85e2bdcca1e1a86c 25-Jan-2010 Michael Ernst <mernst@cs.washington.edu> Switch from utilMDE library to plume
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
4133eea96f5f187a09f4712631dbe1dee3a8f717 20-Dec-2009 notnoop <devnull@localhost> Separate type annotations from declaration annotations
for fields and method parameters
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
5aff856c5c194ba2f608f16aa7b34f16aa8dcb6a 06-Nov-2009 Mahmood Ali <mahmood@notnoop.com> allow for redifining (occurs because of clashes with standard annos)
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
02ac307c0d3fa53b83666972e0a75bc098500700 13-Sep-2009 Michael Ernst <mernst@cs.washington.edu> Handle meta-annotations, read annotations from classfiles.

The four major user-visible changes are:


1. Handle meta-annotations.
Previously, the Annotation File Utilities didn't handle meta-annotations
(annotations that are written on an annotation type declaration); in fact,
AFU simply fabricated retention information. Now, meta-annotations are
handled uniformly with other annotations.

Make AnnotationDef a subclass of AElement, because it can be subtyped.
This introduces recursion in the data structure and requires a number of
changes.


2. Distinguish type annotations from declaration annotations.
Previously, AFU assumed that all annotations were type annotations. Now,
this information is looked up from the meta-annotations.

In AMethod, add returnType field. (Forgetting to add it to prune() was a
source of bugs.) AMethod now only extends AElement, not ATypeElement,
because it can be annotated, but not with type annotations.


3. Read annotations from classfiles.
Previously, AFU created partial information for annotations in an ad hoc
way, and classfile reading did not work. (The focus was on inserting
annotations in class files, not reading annotations from class files.)
Now, classfile reading is operational, and it is often not necessary to
declare annotations in an annotation file. However, if the annotation is
declared in the annotation file, it should be consistent with its
declaration in the class file.


4. Changes to annotation file format.

1. Indicating meta-annotations

annotation visible @Nullable:

becomes

annotation @Nullable: @Retention(value=RUNTIME)

and if it's a type annotation, it should be

annotation @Nullable: @Retention(value=RUNTIME) @java.lang.annotation.Target(value={TYPE_USE})

2. Locations for type and declaration annotations

If p2.B is a declaration annotation on a method, it is written as before:

method foo(Ljava/util/Set;)V: @p2.B

If p2.B is a type annotation on a method return type, it is written in a
new location:

method foo(Ljava/util/Set;)V:
return: @p2.B

Fields should perhaps be treated similarly, but are not (yet).

3. Permit qualified names in several places that only identifiers were
permitted before. This enables use of names that contain periods, such
as inner classes, and also fully-qualified names.

4. Permit two shorthands in annotation uses, as in Java. If there is a
single field named "value", then its name may be omitted: @A(1) instead
of @A(value=1). If an array has only one element, the braces may be
omitted: @A(value=1) instead of @A(value={1}). Naturally, both
shorthands may be combined.


Move changelog to a separate webpage.


Code changes for constructing an annotation:

In Annotations, programmatically build a few useful Annotation and
AnnotationDef objects.

When creating an annotation, sanity-check the field names and values. This
forced many bug fixes and some representation changes. New method
AnnotationFieldType.isValidValue is part of this change.

In AnnotationBuilder, permit passing an AnnotationDef to the constructor.
This is now the preferred usage model, even when when reading from a
classfile, and should perhaps be required, with other uses not supported.
Previously a new AnnotationDef was always inferred from the fields that
were read. AnnotationBuilder can create the AnnotationDef from a
java.lang.annotation.Annotation.

Use a map of all definitions (AnnotationDef) to avoid re-computation or
inconsistencies.


Other code changes:

Code cleanup:
Remove RetentionPolicy.
Eliminate confusing "isVisible" terminology in favor of more standard
"isRuntimeRetention".
Eliminate uses of Annotations.fieldValuesMap, which was only an
optimization (that doesn't seem to help any) and was a source of bugs.

Make explicit the hack where ArrayAnnotationSceneReader extends
AnnotationSceneReader (this hack is not proper behavioral subtyping) by
passing "dummy" from the subclass to the superclass to turn off some
undesired superclass behavior in that case.

Debugging improvements:
Add debugging statements.
ClassAnnotationSceneReader: add tracing
Print classpath if annotation cannot be found on it.


Scene library tests:
Rename files scene-lib/test/annotations/tests/classfile/cases/*.expected to
*_Expected.class; this name permits javap to be run on the file.
Likewise for files *.generated.
Don't delete temp class file if test fails.
Improve error & failure messages.
Improve documentation.
Add helper methods.
Specific changes to AnnotationVerifier and AnnotationRecorder follow.

AnnotationVerifier:
Improve error/failure messages.
Add pretty-printing.

AnnotationRecorder:
Improve field names
fieldArgs1 => fieldArgsName
fieldArgs2 => fieldArgsValue
enumArgs1 => enumArgsName
enumArgs2 =>enumArgsDesc
enumArgs3 =>enumArgsValue
innerAnnotationArgs1 =>innerAnnotationArgsName
innerAnnotationArgs2 =>innerAnnotationArgsDesc
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
0804839dcd296a515a523b1e67474fe8717e0e5b 15-Aug-2009 Michael Ernst <mernst@cs.washington.edu> Relax file format:
receiver may predede parameters (in spec & implementation)
parameters may omit "#" (in implementation only)
Slight improvements to some error messages.
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
4735bdd95fe3025e721476ae821d0aca6127f80a 04-Aug-2009 Michael Ernst <mernst@cs.washington.edu> Handle annotations on packages.
Remove duplicate test files.
Make indentation uniform (unfortunately, this led to huge diffs).
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java
10353ed766fc48a0af6bd33d934439e695c03e32 06-Jul-2009 Mahmood Ali <msaeed43@gmail.com> initial import
/external/annotation-tools/scene-lib/src/annotations/io/IndexFileParser.java