diff options
author | avasseur <avasseur> | 2005-04-22 10:12:14 +0000 |
---|---|---|
committer | avasseur <avasseur> | 2005-04-22 10:12:14 +0000 |
commit | ced5f6e66dff30a7b4acb6f2d5943757f810c645 (patch) | |
tree | b5da93a142a24d98f0ccc624c40c78e3f46ada3a | |
parent | b151d1a68ca711696f6f43a5e1ac03ce7b7c5431 (diff) | |
download | aspectj-ced5f6e66dff30a7b4acb6f2d5943757f810c645.tar.gz aspectj-ced5f6e66dff30a7b4acb6f2d5943757f810c645.zip |
@AJ annotation are runtime visible, fixed all licenses from branch for EPL
28 files changed, 251 insertions, 157 deletions
diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/After.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/After.java index 968270b87..ae42b542e 100644 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/After.java +++ b/aspectj5rt/java5-src/org/aspectj/lang/annotation/After.java @@ -1,23 +1,27 @@ /******************************************************************************* * Copyright (c) 2005 Contributors. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * * Contributors: - * Jonas Bonér, Alexandre Vasseur initial implementation + * initial implementation Alexandre Vasseur *******************************************************************************/ package org.aspectj.lang.annotation; import java.lang.annotation.Target; import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; /** * After finally advice * * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> */ +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface After { diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/AfterReturning.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/AfterReturning.java index 38d4a0d6d..0010fcff7 100644 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/AfterReturning.java +++ b/aspectj5rt/java5-src/org/aspectj/lang/annotation/AfterReturning.java @@ -1,23 +1,27 @@ /******************************************************************************* * Copyright (c) 2005 Contributors. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * * Contributors: - * Jonas Bonér, Alexandre Vasseur initial implementation + * initial implementation Alexandre Vasseur *******************************************************************************/ package org.aspectj.lang.annotation; import java.lang.annotation.Target; import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; /** * After returning advice * * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> */ +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface AfterReturning { diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/AfterThrowing.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/AfterThrowing.java index ca8cb112f..4433fa907 100644 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/AfterThrowing.java +++ b/aspectj5rt/java5-src/org/aspectj/lang/annotation/AfterThrowing.java @@ -1,23 +1,27 @@ /******************************************************************************* * Copyright (c) 2005 Contributors. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * * Contributors: - * Jonas Bonér, Alexandre Vasseur initial implementation + * initial implementation Alexandre Vasseur *******************************************************************************/ package org.aspectj.lang.annotation; import java.lang.annotation.Target; import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; /** * After throwing advice * * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> */ +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface AfterThrowing { diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/Around.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/Around.java index 806f43e0e..df1a20a70 100644 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/Around.java +++ b/aspectj5rt/java5-src/org/aspectj/lang/annotation/Around.java @@ -1,23 +1,27 @@ /******************************************************************************* * Copyright (c) 2005 Contributors. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * * Contributors: - * Jonas Bonér, Alexandre Vasseur initial implementation + * initial implementation Alexandre Vasseur *******************************************************************************/ package org.aspectj.lang.annotation; import java.lang.annotation.Target; import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; /** * Around advice * * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> */ +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface Around { diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/Aspect.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/Aspect.java index 1c77dcd12..d45e85c84 100644 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/Aspect.java +++ b/aspectj5rt/java5-src/org/aspectj/lang/annotation/Aspect.java @@ -1,23 +1,27 @@ /******************************************************************************* * Copyright (c) 2005 Contributors. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * * Contributors: - * Jonas Bonér, Alexandre Vasseur initial implementation + * initial implementation Alexandre Vasseur *******************************************************************************/ package org.aspectj.lang.annotation; import java.lang.annotation.Target; import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; /** * Aspect declaration * * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> */ +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface Aspect { diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/Before.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/Before.java index 7f5a14ff4..ea88da101 100644 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/Before.java +++ b/aspectj5rt/java5-src/org/aspectj/lang/annotation/Before.java @@ -1,24 +1,27 @@ /******************************************************************************* * Copyright (c) 2005 Contributors. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * * Contributors: - * Jonas Bonér, Alexandre Vasseur initial implementation + * initial implementation Alexandre Vasseur *******************************************************************************/ package org.aspectj.lang.annotation; import java.lang.annotation.Target; import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; /** * Before advice * * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> */ -//FIXME av @AJ annotations RuntimeVisible or RuntimeInvisible? Applies to all annotations in this package +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface Before { diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclarePrecedence.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclarePrecedence.java index d25893b0d..e1a048819 100644 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclarePrecedence.java +++ b/aspectj5rt/java5-src/org/aspectj/lang/annotation/DeclarePrecedence.java @@ -1,23 +1,27 @@ /******************************************************************************* * Copyright (c) 2005 Contributors. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * * Contributors: - * Jonas Bonér, Alexandre Vasseur initial implementation + * initial implementation Alexandre Vasseur *******************************************************************************/ package org.aspectj.lang.annotation; import java.lang.annotation.Target; import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; /** * Aspect precedence declaration * * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> */ +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface DeclarePrecedence { diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/Pointcut.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/Pointcut.java index 759165912..364066e06 100644 --- a/aspectj5rt/java5-src/org/aspectj/lang/annotation/Pointcut.java +++ b/aspectj5rt/java5-src/org/aspectj/lang/annotation/Pointcut.java @@ -1,23 +1,27 @@ /******************************************************************************* * Copyright (c) 2005 Contributors. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * * Contributors: - * Jonas Bonér, Alexandre Vasseur initial implementation + * initial implementation Alexandre Vasseur *******************************************************************************/ package org.aspectj.lang.annotation; import java.lang.annotation.Target; import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; /** * Pointcut declaration * * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> */ +@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface Pointcut { diff --git a/runtime/build.xml b/runtime/build.xml index 3dd22e1ed..6ddcc7828 100644 --- a/runtime/build.xml +++ b/runtime/build.xml @@ -13,11 +13,26 @@ <path id="runtime.src.path"> </path> - <target name="compile" depends="init"> + <target name="compile" depends="init, compile:jdk13, compile:residual"> + <!-- don't use the Ant macro srccompile that is Java 1.3 level --> + <!-- use an indirection level since Java 5 does not accept -source 1.1 anymore --> + <!-- under Java 5 we will only ensure source 1.2 --> + </target> + <target name="compile:jdk13" if="jdk13"> + <!-- Note: note sure we can trust that. Pbly better if CruiseControl runs with a real 1.1 for this module --> + <!-- f.e. use a TreeMap (@since Java 1.2) somewhere, and it still compiles.. --> + <mkdir dir="../runtime/bin"/> + <javac debug="on" destdir="../runtime/bin" source="1.1" target="1.1"> + <src path="../runtime/src"/> + <classpath refid="runtime.src.path"/> + </javac> + </target> + <target name="compile:residual"> <srccompile project="runtime" path="runtime.src.path"/> </target> <target name="test:compile" depends="compile"> + <!-- TODO AV do we want to run them on 1.1 ? --> <testcompile project="runtime" path="runtime.test.src.path"/> </target> diff --git a/runtime/src/org/aspectj/lang/Aspects.java b/runtime/src/org/aspectj/lang/Aspects.java index 2f6fa5329..0d8cb5ccb 100644 --- a/runtime/src/org/aspectj/lang/Aspects.java +++ b/runtime/src/org/aspectj/lang/Aspects.java @@ -1,12 +1,13 @@ /******************************************************************************* - * Copyright (c) 2005 Contributors - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html * * Contributors: - * initial implementation Jonas Bonér, Alexandre Vasseur + * initial implementation Alexandre Vasseur *******************************************************************************/ package org.aspectj.lang; diff --git a/runtime/src/org/aspectj/lang/ProceedingJoinPoint.java b/runtime/src/org/aspectj/lang/ProceedingJoinPoint.java index 2a54d407b..9d220358d 100644 --- a/runtime/src/org/aspectj/lang/ProceedingJoinPoint.java +++ b/runtime/src/org/aspectj/lang/ProceedingJoinPoint.java @@ -1,12 +1,13 @@ /******************************************************************************* - * Copyright (c) 2005 Contributors - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html * * Contributors: - * initial implementation Jonas Bonér, Alexandre Vasseur + * initial implementation Alexandre Vasseur *******************************************************************************/ package org.aspectj.lang; diff --git a/tests/java5/ataspectj/ataspectj/AfterXTest.java b/tests/java5/ataspectj/ataspectj/AfterXTest.java index dbfefd480..270bea9d1 100644 --- a/tests/java5/ataspectj/ataspectj/AfterXTest.java +++ b/tests/java5/ataspectj/ataspectj/AfterXTest.java @@ -1,9 +1,13 @@ /******************************************************************************* - * Copyright (c) Jonas Bonér, Alexandre Vasseur - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * + * Contributors: + * initial implementation Alexandre Vasseur *******************************************************************************/ package ataspectj; diff --git a/tests/java5/ataspectj/ataspectj/BindingTest.java b/tests/java5/ataspectj/ataspectj/BindingTest.java index 639389732..e88bead39 100644 --- a/tests/java5/ataspectj/ataspectj/BindingTest.java +++ b/tests/java5/ataspectj/ataspectj/BindingTest.java @@ -1,9 +1,13 @@ /******************************************************************************* - * Copyright (c) Jonas Bonér, Alexandre Vasseur - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * + * Contributors: + * initial implementation Alexandre Vasseur *******************************************************************************/ package ataspectj; diff --git a/tests/java5/ataspectj/ataspectj/CflowTest.java b/tests/java5/ataspectj/ataspectj/CflowTest.java index 1b48a915b..781e3acad 100644 --- a/tests/java5/ataspectj/ataspectj/CflowTest.java +++ b/tests/java5/ataspectj/ataspectj/CflowTest.java @@ -1,9 +1,13 @@ /******************************************************************************* - * Copyright (c) Jonas Bonér, Alexandre Vasseur - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * + * Contributors: + * initial implementation Alexandre Vasseur *******************************************************************************/ package ataspectj; diff --git a/tests/java5/ataspectj/ataspectj/IfPointcutTest.java b/tests/java5/ataspectj/ataspectj/IfPointcutTest.java index 1073a730b..a50f59354 100644 --- a/tests/java5/ataspectj/ataspectj/IfPointcutTest.java +++ b/tests/java5/ataspectj/ataspectj/IfPointcutTest.java @@ -1,9 +1,13 @@ /******************************************************************************* - * Copyright (c) Jonas Bonér, Alexandre Vasseur - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * + * Contributors: + * initial implementation Alexandre Vasseur *******************************************************************************/ package ataspectj; diff --git a/tests/java5/ataspectj/ataspectj/PerClauseTest.java b/tests/java5/ataspectj/ataspectj/PerClauseTest.java index 47e95289b..0773f627f 100644 --- a/tests/java5/ataspectj/ataspectj/PerClauseTest.java +++ b/tests/java5/ataspectj/ataspectj/PerClauseTest.java @@ -1,9 +1,13 @@ /******************************************************************************* - * Copyright (c) Jonas Bonér, Alexandre Vasseur - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * + * Contributors: + * initial implementation Alexandre Vasseur *******************************************************************************/ package ataspectj; diff --git a/tests/java5/ataspectj/ataspectj/PointcutReferenceTest.java b/tests/java5/ataspectj/ataspectj/PointcutReferenceTest.java index 4bef14b8c..10eb24c2e 100644 --- a/tests/java5/ataspectj/ataspectj/PointcutReferenceTest.java +++ b/tests/java5/ataspectj/ataspectj/PointcutReferenceTest.java @@ -1,9 +1,13 @@ /******************************************************************************* - * Copyright (c) Jonas Bonér, Alexandre Vasseur - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * + * Contributors: + * initial implementation Alexandre Vasseur *******************************************************************************/ package ataspectj; diff --git a/tests/java5/ataspectj/ataspectj/PrecedenceTest.java b/tests/java5/ataspectj/ataspectj/PrecedenceTest.java index 8f4573e37..e488aa3c6 100644 --- a/tests/java5/ataspectj/ataspectj/PrecedenceTest.java +++ b/tests/java5/ataspectj/ataspectj/PrecedenceTest.java @@ -1,9 +1,13 @@ /******************************************************************************* - * Copyright (c) Jonas Bonér, Alexandre Vasseur - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * + * Contributors: + * initial implementation Alexandre Vasseur *******************************************************************************/ package ataspectj; diff --git a/tests/java5/ataspectj/ataspectj/SingletonAspectBindingsTest.java b/tests/java5/ataspectj/ataspectj/SingletonAspectBindingsTest.java index 037c67571..47e2470b2 100644 --- a/tests/java5/ataspectj/ataspectj/SingletonAspectBindingsTest.java +++ b/tests/java5/ataspectj/ataspectj/SingletonAspectBindingsTest.java @@ -1,9 +1,13 @@ /******************************************************************************* - * Copyright (c) Jonas Bonér, Alexandre Vasseur - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * + * Contributors: + * initial implementation Alexandre Vasseur *******************************************************************************/ package ataspectj; diff --git a/tests/java5/ataspectj/ataspectj/TestHelper.java b/tests/java5/ataspectj/ataspectj/TestHelper.java index 77fbb0993..bf30408fc 100644 --- a/tests/java5/ataspectj/ataspectj/TestHelper.java +++ b/tests/java5/ataspectj/ataspectj/TestHelper.java @@ -1,9 +1,13 @@ /******************************************************************************* - * Copyright (c) Jonas Bonér, Alexandre Vasseur - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * + * Contributors: + * initial implementation Alexandre Vasseur *******************************************************************************/ package ataspectj; diff --git a/tests/java5/ataspectj/ataspectj/XXJoinPointTest.java b/tests/java5/ataspectj/ataspectj/XXJoinPointTest.java index de5aeb70d..168e2fbe6 100644 --- a/tests/java5/ataspectj/ataspectj/XXJoinPointTest.java +++ b/tests/java5/ataspectj/ataspectj/XXJoinPointTest.java @@ -1,9 +1,13 @@ /******************************************************************************* - * Copyright (c) Jonas Bonér, Alexandre Vasseur - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * + * Contributors: + * initial implementation Alexandre Vasseur *******************************************************************************/ package ataspectj; diff --git a/tests/src/org/aspectj/systemtest/ajc150/AnnotationPointcutsTests.java b/tests/src/org/aspectj/systemtest/ajc150/AnnotationPointcutsTests.java index 2d7e30909..bcece33f5 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/AnnotationPointcutsTests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/AnnotationPointcutsTests.java @@ -34,19 +34,19 @@ public class AnnotationPointcutsTests extends XMLBasedAjcTestCase { public void test001_usingAnnotationsInPointcuts() { runTest("annotation matching on call"); } - + public void test002_AtAnnotationMatching() { runTest("at annotation matching"); } - + public void test003_Within_Code() { runTest("annotations and within(code)"); } - + public void test004_Within() { runTest("annotations and within"); } - + // TODO extra tests // 3) @annotation on the different join point kinds, matches with inherited annotation diff --git a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjSyntaxTests.java b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjSyntaxTests.java index ecb517ab4..19d6dc8eb 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjSyntaxTests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/ataspectj/AtAjSyntaxTests.java @@ -1,12 +1,13 @@ /******************************************************************************* - * Copyright (c) 2005 Contributors - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * * Contributors: - * initial development Jonas Bonér, Alexandre Vasseur + * initial implementation Alexandre Vasseur *******************************************************************************/ package org.aspectj.systemtest.ajc150.ataspectj; diff --git a/weaver/src/org/aspectj/weaver/ast/CastExpr.java b/weaver/src/org/aspectj/weaver/ast/CastExpr.java index 4e8454f2d..4643b31b8 100644 --- a/weaver/src/org/aspectj/weaver/ast/CastExpr.java +++ b/weaver/src/org/aspectj/weaver/ast/CastExpr.java @@ -1,12 +1,13 @@ /******************************************************************************* - * Copyright (c) 2005 Contributors - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * * Contributors: - * initial implementation Jonas Bonér, Alexandre Vasseur + * initial implementation Alexandre Vasseur *******************************************************************************/ package org.aspectj.weaver.ast; diff --git a/weaver/src/org/aspectj/weaver/ast/FieldGetOn.java b/weaver/src/org/aspectj/weaver/ast/FieldGetOn.java index f4b0d6edd..bf4aeb56d 100644 --- a/weaver/src/org/aspectj/weaver/ast/FieldGetOn.java +++ b/weaver/src/org/aspectj/weaver/ast/FieldGetOn.java @@ -1,12 +1,13 @@ /******************************************************************************* - * Copyright (c) 2005 Contributors - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * * Contributors: - * initial implementation Jonas Bonér, Alexandre Vasseur + * initial implementation Alexandre Vasseur *******************************************************************************/ package org.aspectj.weaver.ast; diff --git a/weaver/src/org/aspectj/weaver/ast/StringConstExpr.java b/weaver/src/org/aspectj/weaver/ast/StringConstExpr.java index f4261f16b..9364bb66a 100644 --- a/weaver/src/org/aspectj/weaver/ast/StringConstExpr.java +++ b/weaver/src/org/aspectj/weaver/ast/StringConstExpr.java @@ -1,12 +1,13 @@ /******************************************************************************* - * Copyright (c) 2005 Contributors - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * * Contributors: - * initial implementation Jonas Bonér, Alexandre Vasseur + * initial implementation Alexandre Vasseur *******************************************************************************/ package org.aspectj.weaver.ast; diff --git a/weaver/src/org/aspectj/weaver/ataspectj/Ajc5MemberMaker.java b/weaver/src/org/aspectj/weaver/ataspectj/Ajc5MemberMaker.java index 0909adf6b..e6f68d7ff 100644 --- a/weaver/src/org/aspectj/weaver/ataspectj/Ajc5MemberMaker.java +++ b/weaver/src/org/aspectj/weaver/ataspectj/Ajc5MemberMaker.java @@ -1,12 +1,13 @@ /******************************************************************************* - * Copyright (c) 2005 Contributors - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html * * Contributors: - * initial implementation Jonas Bonér, Alexandre Vasseur + * initial implementation Alexandre Vasseur *******************************************************************************/ package org.aspectj.weaver.ataspectj; diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelPerClauseAspectAdder.java b/weaver/src/org/aspectj/weaver/bcel/BcelPerClauseAspectAdder.java index 00b8403a4..7f759c721 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelPerClauseAspectAdder.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelPerClauseAspectAdder.java @@ -1,12 +1,13 @@ /******************************************************************************* - * Copyright (c) 2005 Contributors - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/cpl-v10.html - * + * Copyright (c) 2005 Contributors. + * All rights reserved. + * This program and the accompanying materials are made available + * under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution and is available at + * http://eclipse.org/legal/epl-v10.html + * * Contributors: - * initial implementation Jonas Bonér, Alexandre Vasseur + * initial implementation Alexandre Vasseur *******************************************************************************/ package org.aspectj.weaver.bcel; |