]> source.dussan.org Git - aspectj.git/log
aspectj.git
19 years agotests and fix for bug pr106461:
acolyer [Wed, 10 Aug 2005 11:49:34 +0000 (11:49 +0000)]
tests and fix for bug pr106461:
 "org.aspectj.weaver.patterns.WildTypePattern.maybeGetCleanName(WildTypePattern.java:500)"

19 years agosupport for binding of parameterized types in after returning().
acolyer [Wed, 10 Aug 2005 08:39:35 +0000 (08:39 +0000)]
support for binding of parameterized types in after returning().

19 years agotest cases for after throwing and after returning with generic and parameterized...
acolyer [Wed, 10 Aug 2005 08:39:08 +0000 (08:39 +0000)]
test cases for after throwing and after returning with generic and parameterized types.

19 years agoensure that the generic signature information for advice is retained
acolyer [Wed, 10 Aug 2005 08:38:32 +0000 (08:38 +0000)]
ensure that the generic signature information for advice is retained

19 years agotests for args - this completes the implementation of generic and parameterized type...
acolyer [Tue, 9 Aug 2005 13:04:57 +0000 (13:04 +0000)]
tests for args - this completes the implementation of generic and parameterized type matching for ALL pointcuts in AspectJ 5. yay.

19 years agonow handles resolving of generic wildcards in type patterns
acolyer [Tue, 9 Aug 2005 13:04:18 +0000 (13:04 +0000)]
now handles resolving of generic wildcards in type patterns

19 years agomake sure that "all exact" testing takes into account subtype flags
acolyer [Tue, 9 Aug 2005 13:03:49 +0000 (13:03 +0000)]
make sure that "all exact" testing takes into account subtype flags

19 years ago>> and >>> are lexed as tokens by the JDT parser. We always want >,> and >,>,> -...
acolyer [Tue, 9 Aug 2005 13:03:22 +0000 (13:03 +0000)]
>> and >>> are lexed as tokens by the JDT parser. We always want >,> and >,>,> - yuck.

19 years agoensure we don't try and insert an instanceof test for a parameterized type
acolyer [Tue, 9 Aug 2005 13:02:45 +0000 (13:02 +0000)]
ensure we don't try and insert an instanceof test for a parameterized type

19 years agoI only changed a comment, honestly, I only changed a comment....
acolyer [Tue, 9 Aug 2005 13:02:11 +0000 (13:02 +0000)]
I only changed a comment, honestly, I only changed a comment....

19 years agoargs fully updated for generics and parameterized types
acolyer [Tue, 9 Aug 2005 13:01:44 +0000 (13:01 +0000)]
args fully updated for generics and parameterized types

19 years agodon't try and make BcelObjectTypes for parameterized types
acolyer [Tue, 9 Aug 2005 13:00:38 +0000 (13:00 +0000)]
don't try and make BcelObjectTypes for parameterized types

19 years agoresolved members never belong to raw types, but the backing generic type
acolyer [Tue, 9 Aug 2005 12:59:55 +0000 (12:59 +0000)]
resolved members never belong to raw types, but the backing generic type

19 years agoadded getSimpleName which looks better when used in error and warning messages
acolyer [Tue, 9 Aug 2005 12:59:26 +0000 (12:59 +0000)]
added getSimpleName which looks better when used in error and warning messages

19 years agoa type variable reference type should never be treated as a generic wildcard
acolyer [Tue, 9 Aug 2005 12:58:59 +0000 (12:58 +0000)]
a type variable reference type should never be treated as a generic wildcard

19 years agoa shadow now remembers the resolved version of its signature
acolyer [Tue, 9 Aug 2005 12:58:31 +0000 (12:58 +0000)]
a shadow now remembers the resolved version of its signature

19 years agosupport for coercion testing with parameterized types
acolyer [Tue, 9 Aug 2005 12:57:56 +0000 (12:57 +0000)]
support for coercion testing with parameterized types

19 years agoadded unchecked match warning
acolyer [Tue, 9 Aug 2005 12:57:09 +0000 (12:57 +0000)]
added unchecked match warning

19 years agoadded toGenericString
acolyer [Tue, 9 Aug 2005 12:56:54 +0000 (12:56 +0000)]
added toGenericString

19 years agosupport for coercion testing
acolyer [Tue, 9 Aug 2005 12:56:40 +0000 (12:56 +0000)]
support for coercion testing

19 years agonew tests cases for args with generics and generic methods in general
acolyer [Tue, 9 Aug 2005 12:56:00 +0000 (12:56 +0000)]
new tests cases for args with generics and generic methods in general

19 years agogenericitds: 2 big changes here: I've modifed the super/extends stuff so its only...
aclement [Tue, 9 Aug 2005 10:19:41 +0000 (10:19 +0000)]
genericitds:  2 big changes here:  I've modifed the super/extends stuff so its only in one place (UnresolvedType) - making it available through the type hierarchy.  I've modified the TypeMap in the World to avoid putting entries in the type map which might confuse us later.  This fix stops us putting parameterized types that are parameterized by type variables from a generic member into the typemap, since we may look them up later for another member that happened to use the same variable name but had different bounds specified.  I'm sure its not perfect yet, but it is definetly improved.  things like Enum<E> still go in the typemap since E is not a generic member type variable.

19 years agoGenericAspects: from AJDK
aclement [Tue, 9 Aug 2005 10:08:07 +0000 (10:08 +0000)]
GenericAspects: from AJDK

19 years agothis version is built with -1.3 ;)
acolyer [Tue, 9 Aug 2005 08:38:51 +0000 (08:38 +0000)]
this version is built with -1.3 ;)

19 years agosome updates to make this sort-of-compile
acolyer [Mon, 8 Aug 2005 15:57:29 +0000 (15:57 +0000)]
some updates to make this sort-of-compile

19 years agoupdated rules that allow ITDs on generic types using type parameters
acolyer [Mon, 8 Aug 2005 15:54:47 +0000 (15:54 +0000)]
updated rules that allow ITDs on generic types using type parameters

19 years agogenericitds: reusing similar specifications for type variables in the same aspect...
aclement [Mon, 8 Aug 2005 15:18:46 +0000 (15:18 +0000)]
genericitds: reusing similar specifications for type variables in the same aspect 'Comparable<? super T/P>'.  If our logic isnt working correctly, it reports a problem with calls to the second ITD thinking it is specified as '<P extends Object & Comparable<? super T>>'

19 years agogenericitds: test programs for ITDs targetting the different kinds of type.
aclement [Mon, 8 Aug 2005 15:16:15 +0000 (15:16 +0000)]
genericitds: test programs for ITDs targetting the different kinds of type.

19 years agoFix for pr98901: copying annotations to new members created via ITD !!
aclement [Mon, 8 Aug 2005 09:54:54 +0000 (09:54 +0000)]
Fix for pr98901: copying annotations to new members created via ITD !!

19 years agogenericitds:
aclement [Mon, 8 Aug 2005 09:06:58 +0000 (09:06 +0000)]
genericitds:

19 years agogeneric itds:
aclement [Mon, 8 Aug 2005 08:37:08 +0000 (08:37 +0000)]
generic itds:

19 years agogenericitds: sharing type variables with generic type - parsing test
aclement [Mon, 8 Aug 2005 08:36:05 +0000 (08:36 +0000)]
genericitds: sharing type variables with generic type - parsing test

19 years agogenericitds: test programs
aclement [Mon, 8 Aug 2005 08:33:09 +0000 (08:33 +0000)]
genericitds: test programs

19 years agotests and implementation for calls to bridge methods. This completes the implementati...
acolyer [Fri, 5 Aug 2005 10:19:23 +0000 (10:19 +0000)]
tests and implementation for calls to bridge methods. This completes the implementation of the call pointcut for generic and parameterized types.

19 years agotests and fix for call pointcut matching with various generic and parameterized types
acolyer [Fri, 5 Aug 2005 08:59:15 +0000 (08:59 +0000)]
tests and fix for call pointcut matching with various generic and parameterized types

19 years agogenericitds: lots of new support for recursive type variables and ITD ctors.
aclement [Thu, 4 Aug 2005 16:11:03 +0000 (16:11 +0000)]
genericitds: lots of new support for recursive type variables and ITD ctors.

19 years agooops, this is the implementation that is needed for the execution tests I committed...
acolyer [Thu, 4 Aug 2005 15:51:50 +0000 (15:51 +0000)]
oops, this is the implementation that is needed for the execution tests I committed to pass...

19 years agotest cases for execution pointcut with generic and parameterized types. This complete...
acolyer [Thu, 4 Aug 2005 14:41:28 +0000 (14:41 +0000)]
test cases for execution pointcut with generic and parameterized types. This completes the implementation of the execution pcd with generics. :)

19 years agolast couple of withincode tests - this completes the testing and implementation of...
acolyer [Thu, 4 Aug 2005 14:17:12 +0000 (14:17 +0000)]
last couple of withincode tests - this completes the testing and implementation of withincode with generic and parameterized types

19 years agowith the new matching algorithm, these tests now pass - hurrah!
acolyer [Thu, 4 Aug 2005 14:06:09 +0000 (14:06 +0000)]
with the new matching algorithm, these tests now pass - hurrah!

19 years agosignature matching algorithm simplified, sorted, and fully genericised.
acolyer [Thu, 4 Aug 2005 13:21:00 +0000 (13:21 +0000)]
signature matching algorithm simplified, sorted, and fully genericised.

19 years agoimproved and additional signature matching tests
acolyer [Thu, 4 Aug 2005 13:19:47 +0000 (13:19 +0000)]
improved and additional signature matching tests

19 years agochanged Member to be an interface with impl MemberImpl. changed ResolvedMember to...
acolyer [Thu, 4 Aug 2005 13:19:20 +0000 (13:19 +0000)]
changed Member to be an interface with impl MemberImpl. changed ResolvedMember to be an interface with impl ResolvedMemberImpl

19 years agofixed broken example wrt. annotation inheritance
acolyer [Thu, 4 Aug 2005 11:26:36 +0000 (11:26 +0000)]
fixed broken example wrt. annotation inheritance

19 years agogenericitds: more combinations
aclement [Wed, 3 Aug 2005 10:50:44 +0000 (10:50 +0000)]
genericitds: more combinations

19 years agogenericitds: now we're getting silly..
aclement [Wed, 3 Aug 2005 08:40:55 +0000 (08:40 +0000)]
genericitds: now we're getting silly..

19 years agogenericitds: more combinations
aclement [Wed, 3 Aug 2005 07:39:34 +0000 (07:39 +0000)]
genericitds: more combinations

19 years agogenericitds: the possibilities are endless.
aclement [Fri, 29 Jul 2005 14:05:05 +0000 (14:05 +0000)]
genericitds: the possibilities are endless.

19 years agogenericitds: using wildcard '? extends Type' and '? extends <TypeVariable>'. Basical...
aclement [Fri, 29 Jul 2005 13:40:55 +0000 (13:40 +0000)]
genericitds: using wildcard '? extends Type' and '? extends <TypeVariable>'.  Basically preserves wildcardbindings that are built by eclipse as boundedreferencetypes.

19 years agogenericitds: using wildcard '? extends' with typevariables.
aclement [Fri, 29 Jul 2005 13:20:10 +0000 (13:20 +0000)]
genericitds: using wildcard '? extends' with typevariables.

19 years agochanges for initialization and preinitialization join point matching with generic...
acolyer [Fri, 29 Jul 2005 13:11:20 +0000 (13:11 +0000)]
changes for initialization and preinitialization join point matching with generic and parameterized types. This completes the implementation of these pointcuts.

19 years agotests for initialization and preinitialization pointcut matching with generics
acolyer [Fri, 29 Jul 2005 13:10:36 +0000 (13:10 +0000)]
tests for initialization and preinitialization pointcut matching with generics

19 years agogenericitds: using wildcard '? extends Type'
aclement [Fri, 29 Jul 2005 12:50:05 +0000 (12:50 +0000)]
genericitds: using wildcard '? extends Type'

19 years agogenericitds: using wildcard '? extends' with typevariables.
aclement [Fri, 29 Jul 2005 12:48:58 +0000 (12:48 +0000)]
genericitds: using wildcard '? extends' with typevariables.

19 years agoensure that wildcard bounds for things like ? extends and ? super are fully taken...
acolyer [Fri, 29 Jul 2005 11:19:18 +0000 (11:19 +0000)]
ensure that wildcard bounds for things like ? extends and ? super are fully taken into account when matching.

19 years agoconsider the true (generic signature) type of a field when matching "return type".
acolyer [Fri, 29 Jul 2005 11:16:01 +0000 (11:16 +0000)]
consider the true (generic signature) type of a field when matching "return type".

19 years agothe name says it all ;)
acolyer [Fri, 29 Jul 2005 11:15:13 +0000 (11:15 +0000)]
the name says it all ;)

19 years agotake type parameters into account for equality and hashCode
acolyer [Fri, 29 Jul 2005 11:14:52 +0000 (11:14 +0000)]
take type parameters into account for equality and hashCode

19 years agoavoids creating field signature twice
acolyer [Fri, 29 Jul 2005 11:14:18 +0000 (11:14 +0000)]
avoids creating field signature twice

19 years agoremoved some dead code
acolyer [Fri, 29 Jul 2005 11:13:27 +0000 (11:13 +0000)]
removed some dead code

19 years agoremoved dead imports
acolyer [Fri, 29 Jul 2005 11:13:06 +0000 (11:13 +0000)]
removed dead imports

19 years agofields now unpack their generic signature to determine the true field type
acolyer [Fri, 29 Jul 2005 11:12:52 +0000 (11:12 +0000)]
fields now unpack their generic signature to determine the true field type

19 years agopruned some dead code
acolyer [Fri, 29 Jul 2005 11:12:21 +0000 (11:12 +0000)]
pruned some dead code

19 years agonew messages emitted during pointcut resolution when parameterized type patterns...
acolyer [Fri, 29 Jul 2005 11:11:58 +0000 (11:11 +0000)]
new messages emitted during pointcut resolution when parameterized type patterns are used in inappropriate places.

19 years agofixes paramerization for raw types so that List<T> goes to List and not List<Object>
acolyer [Fri, 29 Jul 2005 11:11:29 +0000 (11:11 +0000)]
fixes paramerization for raw types so that List<T> goes to List and not List<Object>

19 years agotest cases for get, set, staticinitialization, this, target, and within pointcuts...
acolyer [Fri, 29 Jul 2005 11:10:49 +0000 (11:10 +0000)]
test cases for get, set, staticinitialization, this, target, and within pointcuts matching with various generic and parameterized combos. The implementation of these pointcuts is now complete.

19 years agono more parameterized or type variable types for declaring type patterns (generics...
acolyer [Thu, 28 Jul 2005 10:56:48 +0000 (10:56 +0000)]
no more parameterized or type variable types for declaring type patterns (generics simplification plan).

19 years agoparser updates for generics simplification plan
acolyer [Thu, 28 Jul 2005 10:56:10 +0000 (10:56 +0000)]
parser updates for generics simplification plan

19 years agofull support for generic wildcard (?, ? extends, ? super)
acolyer [Thu, 28 Jul 2005 10:55:30 +0000 (10:55 +0000)]
full support for generic wildcard (?, ? extends, ? super)

19 years agoeliminates unwanted "genericSignature" attribute, and adds full support for generic...
acolyer [Thu, 28 Jul 2005 10:55:10 +0000 (10:55 +0000)]
eliminates unwanted "genericSignature" attribute, and adds full support for generic wildcard (?, ? extends, ? super)

19 years agoupdates to tests in accordance with generics simplification plan
acolyer [Thu, 28 Jul 2005 10:54:17 +0000 (10:54 +0000)]
updates to tests in accordance with generics simplification plan

19 years ago...
aclement [Thu, 28 Jul 2005 10:46:48 +0000 (10:46 +0000)]
...

19 years agoajh02 initials removed !
aclement [Thu, 28 Jul 2005 10:38:51 +0000 (10:38 +0000)]
ajh02 initials removed !

19 years agopart of fix for annotations appearing on public members: can now ask AnnotationX...
aclement [Thu, 28 Jul 2005 10:38:09 +0000 (10:38 +0000)]
part of fix for annotations appearing on public members: can now ask AnnotationX if it represents a runtime visible annotation

19 years agopart of fix for annotations appearing on public members: new accessor method for...
aclement [Thu, 28 Jul 2005 10:27:51 +0000 (10:27 +0000)]
part of fix for annotations appearing on public members: new accessor method for obtaining dispatcher

19 years agoorganized imports
aclement [Thu, 28 Jul 2005 10:27:09 +0000 (10:27 +0000)]
organized imports

19 years agofix corrupted test failing on Jrockit, fix a ltw doc, ltw include are ORed as per doc
avasseur [Thu, 28 Jul 2005 10:15:26 +0000 (10:15 +0000)]
fix corrupted test failing on Jrockit, fix a ltw doc, ltw include are ORed as per doc

19 years agogeneric decp: now polices you supply the right number of parameters and they have...
aclement [Wed, 27 Jul 2005 13:43:29 +0000 (13:43 +0000)]
generic decp: now polices you supply the right number of parameters and they have the right bounds on your decp statement.

19 years agochanged dumb testcase
aclement [Wed, 27 Jul 2005 11:51:03 +0000 (11:51 +0000)]
changed dumb testcase

19 years agogenericmethoditd: implements tag interface
aclement [Wed, 27 Jul 2005 11:49:55 +0000 (11:49 +0000)]
genericmethoditd: implements tag interface

19 years agogenericmethoditd: tag for type/method since either of those can declare a type variable.
aclement [Wed, 27 Jul 2005 11:49:25 +0000 (11:49 +0000)]
genericmethoditd: tag for type/method since either of those can declare a type variable.

19 years agogenericmethoditd: record a rank/declaringelement, like their Eclipse counterparts.
aclement [Wed, 27 Jul 2005 11:49:03 +0000 (11:49 +0000)]
genericmethoditd: record a rank/declaringelement, like their Eclipse counterparts.

19 years agogenericmethoditd: VersionedDataInputStream
aclement [Wed, 27 Jul 2005 11:48:35 +0000 (11:48 +0000)]
genericmethoditd: VersionedDataInputStream

19 years agogenericmethoditd: testcase
aclement [Wed, 27 Jul 2005 11:48:16 +0000 (11:48 +0000)]
genericmethoditd: testcase

19 years agogenericmethoditd: uses different ctor so tvariables arent lost
aclement [Wed, 27 Jul 2005 11:47:51 +0000 (11:47 +0000)]
genericmethoditd: uses different ctor so tvariables arent lost

19 years agogenericmethoditd: keep a note of rank/declaringelement in tvariable
aclement [Wed, 27 Jul 2005 11:47:29 +0000 (11:47 +0000)]
genericmethoditd: keep a note of rank/declaringelement in tvariable

19 years agogenericmethoditd: helper methods for going to/from resolvedmembers/methodbindings...
aclement [Wed, 27 Jul 2005 11:47:04 +0000 (11:47 +0000)]
genericmethoditd: helper methods for going to/from resolvedmembers/methodbindings, including typevariable conversions between TypeVariableReferences and TypeVariableBindings.

19 years agogenericmethoditd: forces Resolvedmember to remember typevariables
aclement [Wed, 27 Jul 2005 11:46:22 +0000 (11:46 +0000)]
genericmethoditd: forces Resolvedmember to remember typevariables

19 years agorebuilt jars because of resolvedmember serialization change to remember type variables.
aclement [Wed, 27 Jul 2005 11:45:23 +0000 (11:45 +0000)]
rebuilt jars because of resolvedmember serialization change to remember type variables.

19 years agoincludes change so parameterizedgenericmethodbindings know about underlying ITD gener...
aclement [Wed, 27 Jul 2005 11:14:42 +0000 (11:14 +0000)]
includes change so parameterizedgenericmethodbindings know about underlying ITD generic methods that they represent.

19 years agoincludes change so parameterizedgenericmethodbindings know about underlying ITD gener...
aclement [Wed, 27 Jul 2005 10:51:45 +0000 (10:51 +0000)]
includes change so parameterizedgenericmethodbindings know about underlying ITD generic methods that they represent.

19 years agoupdate to style sheet to fix unpleasant title wrapping on IE
acolyer [Wed, 27 Jul 2005 09:28:43 +0000 (09:28 +0000)]
update to style sheet to fix unpleasant title wrapping on IE

19 years agoadd the version when we add either aspect/pointcut attributes.
aclement [Tue, 26 Jul 2005 15:10:20 +0000 (15:10 +0000)]
add the version when we add either aspect/pointcut attributes.

19 years agosick sick sick generic itd tests.
aclement [Tue, 26 Jul 2005 14:17:04 +0000 (14:17 +0000)]
sick sick sick generic itd tests.

19 years agominor versioning improvement. dont add the version attribute if someone else already...
aclement [Tue, 26 Jul 2005 14:15:32 +0000 (14:15 +0000)]
minor versioning improvement.  dont add the version attribute if someone else already has.

19 years agofixing the versioning problem. Up until now if we found no version in a class we...
aclement [Tue, 26 Jul 2005 14:01:14 +0000 (14:01 +0000)]
fixing the versioning problem.  Up until now if we found no version in a class we 'assumed' it was the latest (1.5.0) - this is dumb.  No version really means it is probably 1.2.0 (as the version was added for 1.2.1).  These fixes mean that you can now safely check that version when reading in attributes, confident that checking for 1.5.0 *means* 1.5.0 was used to build it.

19 years agogenerics: testcase - static generic method ITD
aclement [Tue, 26 Jul 2005 08:38:34 +0000 (08:38 +0000)]
generics: testcase - static generic method ITD

19 years agogenerics: testcase - static generic method ITD
aclement [Tue, 26 Jul 2005 08:25:05 +0000 (08:25 +0000)]
generics: testcase - static generic method ITD

19 years agoThis commit simply makes the World a better place.
acolyer [Sat, 23 Jul 2005 07:10:18 +0000 (07:10 +0000)]
This commit simply makes the World a better place.

I've refactored, tidied, and commented. Members now have minimum necessary visibility (e.g fields are private). Some redundant methods are eliminated altogether. Also caches precedence calculations, but other than that there are no functional changes.

19 years agoremoved erroneous "s" from method name
acolyer [Sat, 23 Jul 2005 07:08:10 +0000 (07:08 +0000)]
removed erroneous "s" from method name