]> source.dussan.org Git - aspectj.git/log
aspectj.git
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

19 years agoadded extra utility method for warnings
acolyer [Sat, 23 Jul 2005 07:07:16 +0000 (07:07 +0000)]
added extra utility method for warnings

19 years agoupdate to expected messages for type pattern matching with generics
acolyer [Fri, 22 Jul 2005 15:38:36 +0000 (15:38 +0000)]
update to expected messages for type pattern matching with generics

19 years agoannotated lines that should produce compilation warnings
acolyer [Fri, 22 Jul 2005 15:38:00 +0000 (15:38 +0000)]
annotated lines that should produce compilation warnings

19 years agoalso support superinterfaces when converting an Eclipse TypeParameter into a TypeVariable
acolyer [Fri, 22 Jul 2005 15:37:06 +0000 (15:37 +0000)]
also support superinterfaces when converting an Eclipse TypeParameter into a TypeVariable

19 years agoimproved matching in canBeBoundTo to consider equality of all bounds when testing...
acolyer [Fri, 22 Jul 2005 15:36:32 +0000 (15:36 +0000)]
improved matching in canBeBoundTo to consider equality of all bounds when testing against a type variable reference

19 years agoremember source location when faulting in generic type
acolyer [Fri, 22 Jul 2005 15:35:54 +0000 (15:35 +0000)]
remember source location when faulting in generic type

19 years agochanged the serialized form of a WildTypePattern to remember generic info... standby...
acolyer [Fri, 22 Jul 2005 15:34:14 +0000 (15:34 +0000)]
changed the serialized form of a WildTypePattern to remember generic info... standby for mass updates of binary comparison tests.

19 years agofix #104212 very bad bug on static method call jp that has been around since java...
avasseur [Fri, 22 Jul 2005 14:57:40 +0000 (14:57 +0000)]
fix #104212 very bad bug on static method call jp that has been around since java 1.4 is there

19 years agoproper support for type variable across patterns in the Eclipse Source Type world...
acolyer [Thu, 21 Jul 2005 13:27:37 +0000 (13:27 +0000)]
proper support for type variable across patterns in the Eclipse Source Type world. Still need serialization support for this.

19 years agonew warnings for generics in patterns
acolyer [Thu, 21 Jul 2005 13:26:28 +0000 (13:26 +0000)]
new warnings for generics in patterns

19 years agochange from isTypeVariable to isTypeVariableReference
acolyer [Thu, 21 Jul 2005 13:26:10 +0000 (13:26 +0000)]
change from isTypeVariable to isTypeVariableReference

19 years agomore tests and refinement of existing tests
acolyer [Thu, 21 Jul 2005 13:25:36 +0000 (13:25 +0000)]
more tests and refinement of existing tests

19 years agofixes bug in test case caught by improved error messages in compiler
acolyer [Thu, 21 Jul 2005 13:25:14 +0000 (13:25 +0000)]
fixes bug in test case caught by improved error messages in compiler

19 years agodont go looking for generic types pre 1.5
aclement [Thu, 21 Jul 2005 10:13:00 +0000 (10:13 +0000)]
dont go looking for generic types pre 1.5

19 years agogenerics: fixes for decp testcases involving generic types targeted by parameterized...
aclement [Thu, 21 Jul 2005 10:01:29 +0000 (10:01 +0000)]
generics:  fixes for decp testcases involving generic types targeted by parameterized decps.  Type variables now persist in the system for longer... also LazyClassGen generates correct generic signatures for modified types.

19 years agotidy up after a run...
aclement [Thu, 21 Jul 2005 08:25:23 +0000 (08:25 +0000)]
tidy up after a run...

19 years agofix in ltw log + test + some doc on custom message handler is evil
avasseur [Thu, 21 Jul 2005 08:13:24 +0000 (08:13 +0000)]
fix in ltw log + test + some doc on custom message handler is evil

19 years agoone more passing test...
acolyer [Wed, 20 Jul 2005 16:18:53 +0000 (16:18 +0000)]
one more passing test...

19 years agowild type patterns with no type params ignore <...> when matching by name (raw match)
acolyer [Wed, 20 Jul 2005 16:18:21 +0000 (16:18 +0000)]
wild type patterns with no type params ignore <...> when matching by name (raw match)

19 years agohandle superinterfaces correctly for raw types
acolyer [Wed, 20 Jul 2005 16:17:52 +0000 (16:17 +0000)]
handle superinterfaces correctly for raw types

19 years agogenerics: testcase for decp'ing parameterized type onto a generic type that implement...
aclement [Wed, 20 Jul 2005 16:07:25 +0000 (16:07 +0000)]
generics: testcase for decp'ing parameterized type onto a generic type that implements a parameterized type using a type variable type parameter ;)

19 years agocommented out debug line...
aclement [Wed, 20 Jul 2005 16:02:45 +0000 (16:02 +0000)]
commented out debug line...

19 years agoensure that when parameterizing a member, we handle any types that are themselves...
acolyer [Wed, 20 Jul 2005 12:35:59 +0000 (12:35 +0000)]
ensure that when parameterizing a member, we handle any types that are themselves parameterized (eg. a return type List<N> should turn to List<String> when parameterized with String).

19 years agochanges to construction and representation of parameterized types, and enforcement...
acolyer [Wed, 20 Jul 2005 11:11:29 +0000 (11:11 +0000)]
changes to construction and representation of parameterized types, and enforcement of the constraint that type mungers always operate on the generic type (never raw or parameterized)

19 years agoorganized imports - wanted to trigger a build :)
aclement [Tue, 19 Jul 2005 07:08:32 +0000 (07:08 +0000)]
organized imports - wanted to trigger a build :)

19 years agoltw reweavable test for Mattew bug, fix some wrong getCoreType that makes some stderr...
avasseur [Mon, 18 Jul 2005 14:58:41 +0000 (14:58 +0000)]
ltw reweavable test for Mattew bug, fix some wrong getCoreType that makes some stderr output when closure are encountered on ltw / dump

19 years agofix LTW for JMX stuff, rename messageHolder, some doc on that + dump
avasseur [Mon, 18 Jul 2005 11:23:32 +0000 (11:23 +0000)]
fix LTW for JMX stuff, rename messageHolder, some doc on that + dump

19 years agomethod name in weaver refactored.
aclement [Mon, 18 Jul 2005 09:45:21 +0000 (09:45 +0000)]
method name in weaver refactored.

19 years agoMore bits of fix for pr98901 (annotation copying)
aclement [Mon, 18 Jul 2005 09:36:00 +0000 (09:36 +0000)]
More bits of fix for pr98901 (annotation copying)

19 years ago@DeclareAnnotation and guard to not use it in M3, doc update for M3
avasseur [Mon, 18 Jul 2005 09:26:20 +0000 (09:26 +0000)]
@DeclareAnnotation and guard to not use it in M3, doc update for M3

19 years agoFirst bits of fix for pr98901 (annotation copying)
aclement [Mon, 18 Jul 2005 08:44:04 +0000 (08:44 +0000)]
First bits of fix for pr98901 (annotation copying)

19 years agotestcases for pr98901 (annotations copied to targets of decannotation). Not yet...
aclement [Mon, 18 Jul 2005 08:34:11 +0000 (08:34 +0000)]
testcases for pr98901 (annotations copied to targets of decannotation).  Not yet wired into the full 150 suite.

19 years agoFix for pr103266: allow for nulls in the visitor (can happen if there are syntax...
aclement [Mon, 18 Jul 2005 08:27:44 +0000 (08:27 +0000)]
Fix for pr103266: allow for nulls in the visitor (can happen if there are syntax errors)

19 years agomoves forGenericType from UnresolvedType to ResolvedType. Return value still needs...
acolyer [Fri, 15 Jul 2005 18:12:53 +0000 (18:12 +0000)]
moves forGenericType from UnresolvedType to ResolvedType. Return value still needs changing... one step at a time!

19 years agomakes fromBinding in EclipseFactory an instance rather than static method. This paves...
acolyer [Fri, 15 Jul 2005 18:11:34 +0000 (18:11 +0000)]
makes fromBinding in EclipseFactory an instance rather than static method. This paves the way for fromBinding to return a ResolvedType (which needs the world that the instance contains) rather than an UnresolvedType.

19 years agoThis is the beginning of a significant refactoring needed to cleanly support generics...
acolyer [Fri, 15 Jul 2005 16:09:02 +0000 (16:09 +0000)]
This is the beginning of a significant refactoring needed to cleanly support generics. We need to be much crisper about when we have an unresolved type (plain old TypeX) and when we have a resolved type. This refactoring renames TypeX to UnresolvedType and ResolvedTypeX to ResolvedType. In addition, it moves a number of methods that were defined on TypeX but which can only be answered by resolved types down onto ResolvedType. At the moment, ResolvedType still extends UnresolvedType - but a ResolvedType is *not* a UnresolvedType and this inheritance of convenience will be broken down the line so that ResolvedType does not extend UnresolvedType. Full signature information can only be known for ResolvedTypes.

19 years agojust comments (honest ;) ) describing the format of signatures for TypeXs.
acolyer [Thu, 14 Jul 2005 15:59:16 +0000 (15:59 +0000)]
just comments (honest ;) ) describing the format of signatures for TypeXs.

19 years agoorganized imports PRE_ANDY
aclement [Wed, 13 Jul 2005 15:33:33 +0000 (15:33 +0000)]
organized imports

19 years agobeginnings of support for matching against type variables
acolyer [Wed, 13 Jul 2005 13:04:31 +0000 (13:04 +0000)]
beginnings of support for matching against type variables

19 years agoavoid losing type variable information when resolving bindings
acolyer [Wed, 13 Jul 2005 13:04:03 +0000 (13:04 +0000)]
avoid losing type variable information when resolving bindings

19 years agonow remembers its location for better error reporting
acolyer [Wed, 13 Jul 2005 13:03:35 +0000 (13:03 +0000)]
now remembers its location for better error reporting

19 years agotest case updates...
acolyer [Wed, 13 Jul 2005 13:02:54 +0000 (13:02 +0000)]
test case updates...

19 years agobetter error reporting when using type vars in inappropriate locations
acolyer [Wed, 13 Jul 2005 13:02:35 +0000 (13:02 +0000)]
better error reporting when using type vars in inappropriate locations

19 years agoadded an additional message operation to tidy up weaver code
acolyer [Wed, 13 Jul 2005 13:02:06 +0000 (13:02 +0000)]
added an additional message operation to tidy up weaver code

19 years agotest for parameterized type usage
acolyer [Wed, 13 Jul 2005 13:01:37 +0000 (13:01 +0000)]
test for parameterized type usage

19 years agonew message "a parameterized type pattern may not be used in a handler pointcut expre...
acolyer [Wed, 13 Jul 2005 13:00:59 +0000 (13:00 +0000)]
new message "a parameterized type pattern may not be used in a handler pointcut expression"

19 years agosometimes we get asked to resolve more than once, and that's ok...
acolyer [Wed, 13 Jul 2005 13:00:08 +0000 (13:00 +0000)]
sometimes we get asked to resolve more than once, and that's ok...

19 years agomore test cases covering generics in pointcut expressions
acolyer [Wed, 13 Jul 2005 12:59:45 +0000 (12:59 +0000)]
more test cases covering generics in pointcut expressions

19 years agodon't re-resolve already resolved types
acolyer [Wed, 13 Jul 2005 10:13:38 +0000 (10:13 +0000)]
don't re-resolve already resolved types

19 years agoteach a typex whether or not it represents a type variable
acolyer [Wed, 13 Jul 2005 10:13:10 +0000 (10:13 +0000)]
teach a typex whether or not it represents a type variable

19 years agoorganized imports
aclement [Wed, 13 Jul 2005 08:40:51 +0000 (08:40 +0000)]
organized imports

19 years agoAnt 1.6 antlib.xml support, per bug 103493
wisberg [Tue, 12 Jul 2005 21:00:30 +0000 (21:00 +0000)]
Ant 1.6 antlib.xml support, per bug 103493

19 years agohandles resolution of bindings when the pointcut uses type variables
acolyer [Tue, 12 Jul 2005 14:24:51 +0000 (14:24 +0000)]
handles resolution of bindings when the pointcut uses type variables

19 years agoa pointcut now has a simple list of type variable names in scope rather than a TypeVa...
acolyer [Tue, 12 Jul 2005 14:24:13 +0000 (14:24 +0000)]
a pointcut now has a simple list of type variable names in scope rather than a TypeVariableListPattern