spring-framework/org.springframework.context
Chris Beams df7bda5637 Constrain targets for @Filter declaration
For clarity, add @Target({}) to definition of @Filter, constraining it
to complex annotation composition only; i.e. it cannot be placed on
any element, only within annotations, e.g.

    @ComponentScan(includeFilters=@Filter(...))

is legal, while

    @Filter
    public class MyType { }

is not.

Also, widen @Retention from SOURCE to RUNTIME, even though it is not
technically necessary, as all parsing of @Filter annotations happens via
ASM, i.e. at the source level.  This change is made primarily for
consistency (@ComponentScan's Retention is RUNTIME) and in avoidance of
potential confusion or surprise on the part of those casually browsing
the code.
2011-12-06 12:17:54 +00:00
..
.settings Merge 3.1.0 development branch into trunk 2010-10-25 19:48:20 +00:00
src Constrain targets for @Filter declaration 2011-12-06 12:17:54 +00:00
.classpath upgraded compile-time dependency to EHCache 2.0.0 2011-11-28 15:10:03 +00:00
.project revised cache abstraction 2011-05-18 17:43:13 +00:00
.springBeans Remove "Feature" support introduced in 3.1 M1 2011-05-06 19:03:52 +00:00
build.xml + upgrade to AspectJ 1.6.8 2010-02-04 11:46:21 +00:00
context.iml upgraded compile-time dependency to EHCache 2.0.0 2011-11-28 15:10:03 +00:00
ivy.xml upgraded compile-time dependency to EHCache 2.0.0 2011-11-28 15:10:03 +00:00
pom.xml Update ejb, inject-tck, jsr166 deps in context pom 2011-08-20 03:01:49 +00:00
template.mf cleanup of conversation dependencies 2011-10-20 09:56:07 +00:00