]> source.dussan.org Git - aspectj.git/log
aspectj.git
19 years agogenerics: signature unpacking.
aclement [Mon, 11 Jul 2005 10:50:15 +0000 (10:50 +0000)]
generics: signature unpacking.

19 years agogenerics: dont assume its a bcelmethod. When working with generic methods they are...
aclement [Mon, 11 Jul 2005 10:48:54 +0000 (10:48 +0000)]
generics: dont assume its a bcelmethod.  When working with generic methods they are merely 'resolvedmembers'

19 years agogenerics: now promotes simple types to raw types if we discover they are generic...
aclement [Mon, 11 Jul 2005 10:48:28 +0000 (10:48 +0000)]
generics: now promotes simple types to raw types if we discover they are generic during resolution.

19 years agogenerics: copes with '+' '-' in the signature, less than ideal...
aclement [Mon, 11 Jul 2005 10:47:42 +0000 (10:47 +0000)]
generics: copes with '+' '-' in the signature, less than ideal...

19 years agogenerics: allow for type variables that arrive in static methods and don't come from...
aclement [Mon, 11 Jul 2005 10:47:08 +0000 (10:47 +0000)]
generics: allow for type variables that arrive in static methods and don't come from the declaring type

19 years agogenerics: few bug fixes to ensure typex's know if they represent generics/raws or...
aclement [Mon, 11 Jul 2005 10:46:30 +0000 (10:46 +0000)]
generics: few bug fixes to ensure typex's know if they represent generics/raws or simples.

19 years agogenerics: lots of generic decp tests.
aclement [Mon, 11 Jul 2005 10:46:02 +0000 (10:46 +0000)]
generics: lots of generic decp tests.

19 years agogenerics: ask for the appropriate TypeX depending on the binding
aclement [Mon, 11 Jul 2005 10:45:27 +0000 (10:45 +0000)]
generics: ask for the appropriate TypeX depending on the binding

19 years agobut i only changed a comment...
acolyer [Mon, 11 Jul 2005 09:40:14 +0000 (09:40 +0000)]
but i only changed a comment...

19 years agofixes dumb array cast
acolyer [Mon, 11 Jul 2005 09:38:48 +0000 (09:38 +0000)]
fixes dumb array cast

19 years agoability to replace upper bound (used when fixing up circular dependencies)
acolyer [Mon, 11 Jul 2005 09:38:13 +0000 (09:38 +0000)]
ability to replace upper bound (used when fixing up circular dependencies)

19 years agotest case for Enum conversions
acolyer [Mon, 11 Jul 2005 09:37:21 +0000 (09:37 +0000)]
test case for Enum conversions

19 years agoanswer correct superclass and superinterfaces taking into account generic signature
acolyer [Mon, 11 Jul 2005 09:36:49 +0000 (09:36 +0000)]
answer correct superclass and superinterfaces taking into account generic signature

19 years agohandle recursive type variables such as Enum
acolyer [Mon, 11 Jul 2005 09:35:36 +0000 (09:35 +0000)]
handle recursive type variables such as Enum

19 years agobeginnings of proper type variable support in Eclipse type world
acolyer [Mon, 11 Jul 2005 09:34:44 +0000 (09:34 +0000)]
beginnings of proper type variable support in Eclipse type world

19 years agodo the right thing with ":" in an ftp
acolyer [Mon, 11 Jul 2005 09:32:20 +0000 (09:32 +0000)]
do the right thing with ":" in an ftp

19 years agogenerics: includes fix for generic signatures
aclement [Fri, 8 Jul 2005 16:31:44 +0000 (16:31 +0000)]
generics: includes fix for generic signatures

19 years agoexpose generic ClassTypeSignature for member resolving
acolyer [Fri, 8 Jul 2005 16:07:21 +0000 (16:07 +0000)]
expose generic ClassTypeSignature for member resolving

19 years agosupport for unpacking generic signature
acolyer [Fri, 8 Jul 2005 16:06:48 +0000 (16:06 +0000)]
support for unpacking generic signature

19 years agoavoid needless resolving
acolyer [Fri, 8 Jul 2005 16:06:18 +0000 (16:06 +0000)]
avoid needless resolving

19 years agoimproved tolerance for generics signature chars
acolyer [Fri, 8 Jul 2005 16:05:54 +0000 (16:05 +0000)]
improved tolerance for generics signature chars

19 years agosimplify signature processing and remove implicit extends
acolyer [Fri, 8 Jul 2005 16:05:19 +0000 (16:05 +0000)]
simplify signature processing and remove implicit extends

19 years agoadded getTypeVariables to interface
acolyer [Fri, 8 Jul 2005 16:03:45 +0000 (16:03 +0000)]
added getTypeVariables to interface

19 years agogive back parameterized versions of members for parameterized types
acolyer [Fri, 8 Jul 2005 16:03:21 +0000 (16:03 +0000)]
give back parameterized versions of members for parameterized types

19 years agochange signature until we figure out the right thing to do in TypeX
acolyer [Fri, 8 Jul 2005 16:02:51 +0000 (16:02 +0000)]
change signature until we figure out the right thing to do in TypeX

19 years agoraise inner type visibility for subclasses
acolyer [Fri, 8 Jul 2005 16:02:28 +0000 (16:02 +0000)]
raise inner type visibility for subclasses

19 years agomoved some tests with 1.5 dependencies
acolyer [Fri, 8 Jul 2005 16:01:02 +0000 (16:01 +0000)]
moved some tests with 1.5 dependencies

19 years agodummy implementation of getTypeVariables
acolyer [Fri, 8 Jul 2005 16:00:41 +0000 (16:00 +0000)]
dummy implementation of getTypeVariables

19 years agoadded test for broken primitive case
acolyer [Fri, 8 Jul 2005 16:00:07 +0000 (16:00 +0000)]
added test for broken primitive case

19 years agofix in GenericSigParser when tokenising primitives
acolyer [Fri, 8 Jul 2005 15:59:24 +0000 (15:59 +0000)]
fix in GenericSigParser when tokenising primitives

19 years agogenerics: more accurate generic type test.
aclement [Fri, 8 Jul 2005 15:19:44 +0000 (15:19 +0000)]
generics: more accurate generic type test.

19 years agogenerics: can determine if java class is generic.
aclement [Fri, 8 Jul 2005 15:17:23 +0000 (15:17 +0000)]
generics: can determine if java class is generic.

19 years agocreate a typeX from a set of TypeX parameters
acolyer [Fri, 8 Jul 2005 13:25:02 +0000 (13:25 +0000)]
create a typeX from a set of TypeX parameters

19 years agosome /. confusion cleared up
acolyer [Fri, 8 Jul 2005 13:24:32 +0000 (13:24 +0000)]
some /. confusion cleared up

19 years agosmall signature change in JavaClass
acolyer [Fri, 8 Jul 2005 10:28:14 +0000 (10:28 +0000)]
small signature change in JavaClass

19 years agotest cases for generics updates made by amc
acolyer [Fri, 8 Jul 2005 10:26:53 +0000 (10:26 +0000)]
test cases for generics updates made by amc

19 years agoinclude new test suites for generics updates
acolyer [Fri, 8 Jul 2005 10:26:26 +0000 (10:26 +0000)]
include new test suites for generics updates

19 years agosupport for generics and type variables
acolyer [Fri, 8 Jul 2005 10:25:01 +0000 (10:25 +0000)]
support for generics and type variables

19 years agoproper implementation of canBeParameterized
acolyer [Fri, 8 Jul 2005 10:24:19 +0000 (10:24 +0000)]
proper implementation of canBeParameterized

19 years agoutility class that converts from Bcel signature world to TypeX world
acolyer [Fri, 8 Jul 2005 10:23:45 +0000 (10:23 +0000)]
utility class that converts from Bcel signature world to TypeX world

19 years agoadded support for canBeParameterized
acolyer [Fri, 8 Jul 2005 10:23:11 +0000 (10:23 +0000)]
added support for canBeParameterized

19 years agocan create a parameterized type from an array of TypeX's
acolyer [Fri, 8 Jul 2005 10:22:52 +0000 (10:22 +0000)]
can create a parameterized type from an array of TypeX's

19 years agosupports isGeneric
acolyer [Fri, 8 Jul 2005 10:21:55 +0000 (10:21 +0000)]
supports isGeneric

19 years agoTypeX hierarchy members for bounded reference types and type variables
acolyer [Fri, 8 Jul 2005 10:21:35 +0000 (10:21 +0000)]
TypeX hierarchy members for bounded reference types and type variables

19 years agosimple implementation of isGeneric
acolyer [Fri, 8 Jul 2005 10:20:38 +0000 (10:20 +0000)]
simple implementation of isGeneric

19 years agocopyright statement
acolyer [Fri, 8 Jul 2005 10:19:33 +0000 (10:19 +0000)]
copyright statement

19 years agolazy loading and parsing of generic signature
acolyer [Fri, 8 Jul 2005 10:19:14 +0000 (10:19 +0000)]
lazy loading and parsing of generic signature

19 years agogenerics: new message
aclement [Fri, 8 Jul 2005 09:56:50 +0000 (09:56 +0000)]
generics: new message

19 years agogenerics: decp tests, binary weaving
aclement [Fri, 8 Jul 2005 09:56:22 +0000 (09:56 +0000)]
generics: decp tests, binary weaving

19 years agogenerics: decp tests
aclement [Fri, 8 Jul 2005 09:56:01 +0000 (09:56 +0000)]
generics: decp tests

19 years agoorganized imports
aclement [Fri, 8 Jul 2005 09:55:12 +0000 (09:55 +0000)]
organized imports

19 years agotemp removal of the call to build runtime with 11 javac. WILL NEED TO FIX RUNTIME...
aclement [Wed, 6 Jul 2005 08:25:53 +0000 (08:25 +0000)]
temp removal of the call to build runtime with 11 javac.  WILL NEED TO FIX RUNTIME before finishing 1.5.0

19 years agoadd offset in MethodDeclarationAttribute for @AJ in AJDT
avasseur [Tue, 5 Jul 2005 11:46:21 +0000 (11:46 +0000)]
add offset in MethodDeclarationAttribute for @AJ in AJDT

19 years agoOn the build machine, code to test is in jars, not in 'bin' folders - so the aj.path...
aclement [Tue, 5 Jul 2005 08:12:33 +0000 (08:12 +0000)]
On the build machine, code to test is in jars, not in 'bin' folders - so the aj.path for the LTW tests needs to have an entry for asm.jar in addition to the asm/bin it currently has.  Otherwise they fail with 'NoClassDefFoundError: org/aspectj/asm/IRelationship$Kind'

19 years agogenerics: promoted getGenericType up to ResolvedTypeX - it will throw an exception...
aclement [Mon, 4 Jul 2005 16:20:08 +0000 (16:20 +0000)]
generics: promoted getGenericType up to ResolvedTypeX - it will throw an exception if you ask a type that is not parameterized or raw

19 years agogenerics: First simple change to ensure the pattern I<String> results in an ExactTyp...
aclement [Mon, 4 Jul 2005 15:00:52 +0000 (15:00 +0000)]
generics:  First simple change to ensure the pattern I<String> results in an ExactTypePattern that remembers the parameterization.

19 years agogenerics: one fix to ensure the class we output says 'class X implement I' rather...
aclement [Mon, 4 Jul 2005 14:59:57 +0000 (14:59 +0000)]
generics: one fix to ensure the class we output says 'class X implement I' rather than 'class X implements I<String>' when the I<String> is added via declare parents.  (I<String> should be captured in the signature attribute on the class X).  Also some placeholder code added (commented out) that we'll need when trying to fix up the signature attribute when binary weaving.

19 years agogenerics: implementation of getDeclaredGenericSignature()
aclement [Mon, 4 Jul 2005 14:58:21 +0000 (14:58 +0000)]
generics: implementation of getDeclaredGenericSignature()

19 years agogenerics: loads of changes to make the resolution process generics aware
aclement [Mon, 4 Jul 2005 14:58:00 +0000 (14:58 +0000)]
generics: loads of changes to make the resolution process generics aware

19 years agogenerics: TypeXs are much more aware of generics. The only method in this class...
aclement [Mon, 4 Jul 2005 14:57:20 +0000 (14:57 +0000)]
generics: TypeXs are much more aware of generics.  The only method in this class not finished now is forGenericTypeSignature() - it does not quite capture all the information from the parsed generic signature in the TypeX it creates.  It currently captures enough for the testcases I've written - no doubt will need extending for other testcases.

19 years agonasty clone method fix for 83311
aclement [Mon, 4 Jul 2005 14:55:34 +0000 (14:55 +0000)]
nasty clone method fix for 83311

19 years agogenerics:
aclement [Mon, 4 Jul 2005 14:55:13 +0000 (14:55 +0000)]
generics:

19 years agogenerics: delegates should be able to supply their declared generic signature.
aclement [Mon, 4 Jul 2005 14:54:51 +0000 (14:54 +0000)]
generics: delegates should be able to supply their declared generic signature.

19 years agogenerics: Going from eclipse type bindings to AspectJ TypeXs (and back again) is...
aclement [Mon, 4 Jul 2005 14:54:01 +0000 (14:54 +0000)]
generics: Going from eclipse type bindings to AspectJ TypeXs (and back again) is now generics aware.  Also modified the code that adds source type bindings into the 'world map' of types to be a little more generics aware.

19 years agogenerics: comments added to indicate whats gone wrong *should* there be an NPE at...
aclement [Mon, 4 Jul 2005 14:52:51 +0000 (14:52 +0000)]
generics: comments added to indicate whats gone wrong *should* there be an NPE at a particular line...  TODO left in so we can look to remove it later if it doesnt cause problems when generics is complete.

19 years agogenerics: simple decp test, woooo !
aclement [Mon, 4 Jul 2005 14:51:56 +0000 (14:51 +0000)]
generics: simple decp test, woooo !

19 years agogenerics: first bit of making the compiler/weaver more aware - includes signature...
aclement [Mon, 4 Jul 2005 14:50:21 +0000 (14:50 +0000)]
generics: first bit of making the compiler/weaver more aware - includes signature attribute parsing code.

19 years agoJRockit agent for LTW with 1.3/1.4 + update in doc
avasseur [Mon, 4 Jul 2005 14:42:10 +0000 (14:42 +0000)]
JRockit agent for LTW with 1.3/1.4 + update in doc

19 years agogenerics: decp testcases
aclement [Mon, 4 Jul 2005 14:36:48 +0000 (14:36 +0000)]
generics: decp testcases

19 years agotestcase
aclement [Mon, 4 Jul 2005 14:36:26 +0000 (14:36 +0000)]
testcase

19 years agomake weaveradapter available to tests...
aclement [Mon, 4 Jul 2005 14:28:00 +0000 (14:28 +0000)]
make weaveradapter available to tests...

19 years agofix source location for @AJ + fix the AsmManager behavior for @AJ (still no luck...
avasseur [Mon, 4 Jul 2005 12:58:41 +0000 (12:58 +0000)]
fix source location for @AJ + fix the AsmManager behavior for @AJ (still no luck in AJDT though)

19 years agogenerics: trivial decp implements.
aclement [Mon, 4 Jul 2005 12:32:09 +0000 (12:32 +0000)]
generics: trivial decp implements.

19 years agosignature parsing for methods and fields now complete also
acolyer [Fri, 1 Jul 2005 11:29:54 +0000 (11:29 +0000)]
signature parsing for methods and fields now complete also

19 years agoupdates to Signature parsing for generics
acolyer [Fri, 1 Jul 2005 09:10:44 +0000 (09:10 +0000)]
updates to Signature parsing for generics

19 years agoFor build machine - fixed classpath to include built jars.
aclement [Wed, 29 Jun 2005 08:22:52 +0000 (08:22 +0000)]
For build machine - fixed classpath to include built jars.

19 years ago-- here be dragons --
acolyer [Sun, 26 Jun 2005 20:29:23 +0000 (20:29 +0000)]
-- here be dragons --
this is an early check-in for handover to Andy. I've added code to parse the generic signature attributes, but only completed parsing for class signature so far, method and field to do although these will reuse many of the same building blocks.
Needs test cases and probably some more rework. Would not normally check-in at this stage.
-- end of dragons --

19 years agoadded getGenericSignature method
acolyer [Sun, 26 Jun 2005 20:27:40 +0000 (20:27 +0000)]
added getGenericSignature method

19 years agorenamed "getRealSignatureFromAttribute" to "getGenericSignature" (which is what it...
acolyer [Sun, 26 Jun 2005 20:27:23 +0000 (20:27 +0000)]
renamed "getRealSignatureFromAttribute" to "getGenericSignature" (which is what it is).

19 years agoFixed classpath for build machine.
aclement [Fri, 24 Jun 2005 11:28:31 +0000 (11:28 +0000)]
Fixed classpath for build machine.

19 years agolicensing fix.
aclement [Fri, 24 Jun 2005 08:00:09 +0000 (08:00 +0000)]
licensing fix.

19 years agogenerics: helper methods
aclement [Fri, 24 Jun 2005 07:35:56 +0000 (07:35 +0000)]
generics: helper methods

19 years agoClasspath set for running tests on build machine
aclement [Thu, 23 Jun 2005 08:42:08 +0000 (08:42 +0000)]
Classpath set for running tests on build machine

19 years agogenerics: some of the new fields/members added
aclement [Thu, 23 Jun 2005 08:33:01 +0000 (08:33 +0000)]
generics: some of the new fields/members added

19 years agocopyright added.
aclement [Thu, 23 Jun 2005 08:02:19 +0000 (08:02 +0000)]
copyright added.

19 years agogenerics: Holds a generic type reference (used by the raw or parameterized variants)
aclement [Thu, 23 Jun 2005 07:30:50 +0000 (07:30 +0000)]
generics: Holds a generic type reference (used by the raw or parameterized variants)

19 years agorename weaver.patterns.TypeVariable to weaver.patterns.TypeVariablePattern
acolyer [Wed, 22 Jun 2005 15:15:49 +0000 (15:15 +0000)]
rename weaver.patterns.TypeVariable to weaver.patterns.TypeVariablePattern

19 years agotest cases for TypeVariable implementation -- AMC
acolyer [Wed, 22 Jun 2005 15:12:33 +0000 (15:12 +0000)]
test cases for TypeVariable implementation -- AMC

19 years agoearly commit of TypeVariable for Andy...
acolyer [Wed, 22 Jun 2005 14:38:36 +0000 (14:38 +0000)]
early commit of TypeVariable for Andy...

19 years agoimportant updates for call, get, and set wrt. erasure and declaring type semantics
acolyer [Wed, 22 Jun 2005 12:43:06 +0000 (12:43 +0000)]
important updates for call, get, and set wrt. erasure and declaring type semantics

19 years agoeasier to manually debug output jars
wisberg [Tue, 21 Jun 2005 18:48:13 +0000 (18:48 +0000)]
easier to manually debug output jars

19 years agofix release jars including testing-*
wisberg [Tue, 21 Jun 2005 18:47:46 +0000 (18:47 +0000)]
fix release jars including testing-*

19 years agoSome refactoring to try and come up with better type names!
aclement [Tue, 21 Jun 2005 12:26:14 +0000 (12:26 +0000)]
Some refactoring to try and come up with better type names!

19 years agogenerics decp test.
aclement [Tue, 21 Jun 2005 10:06:39 +0000 (10:06 +0000)]
generics decp test.

19 years agoyet another version of aspectjrt.jar due to question mark over 1.5 contents in previous
acolyer [Mon, 20 Jun 2005 16:04:00 +0000 (16:04 +0000)]
yet another version of aspectjrt.jar due to question mark over 1.5 contents in previous

19 years agoLTW weaver/dump@within option + fix a sout in weaver
avasseur [Mon, 20 Jun 2005 13:41:09 +0000 (13:41 +0000)]
LTW weaver/dump@within option + fix a sout in weaver

19 years agocompleted set of basic parser tests for pcds with type variables as per generics...
acolyer [Mon, 20 Jun 2005 13:06:16 +0000 (13:06 +0000)]
completed set of basic parser tests for pcds with type variables as per generics chapter.

19 years agoupdate aspectjrt.jar in lib and test cases uses MAP in tests to reflect introduction...
acolyer [Mon, 20 Jun 2005 10:28:36 +0000 (10:28 +0000)]
update aspectjrt.jar in lib and test cases uses MAP in tests to reflect introduction of PointcutExpression interface

19 years agofirst complete version of the generics chapter.
acolyer [Sun, 19 Jun 2005 14:15:39 +0000 (14:15 +0000)]
first complete version of the generics chapter.

19 years agoinstall before examples, vm-setup fix
wisberg [Sat, 18 Jun 2005 13:33:49 +0000 (13:33 +0000)]
install before examples, vm-setup fix