From: wisberg Date: Fri, 11 Feb 2005 05:28:21 +0000 (+0000) Subject: new module for Java5-specific additions to aspectjrt.jar. aspectjrt.jar is assemble... X-Git-Tag: V1_5_0M2~167 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7dd69aace9cbd37d5813dd820e6a264bb5fcf6b4;p=aspectj.git new module for Java5-specific additions to aspectjrt.jar. aspectjrt.jar is assemble from this and its required module runtime. It requires Java 5; Eclipse developers not using 3.1 or Java 5 should close this module. In Ant, the java5-src directory will be ignored unless Ant is run under a 1.5 or later VM. See the build docs for more details. --- diff --git a/aspectj5rt/.classpath b/aspectj5rt/.classpath new file mode 100644 index 000000000..491bfa2f0 --- /dev/null +++ b/aspectj5rt/.classpath @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/aspectj5rt/.cvsignore b/aspectj5rt/.cvsignore new file mode 100644 index 000000000..ba077a403 --- /dev/null +++ b/aspectj5rt/.cvsignore @@ -0,0 +1 @@ +bin diff --git a/aspectj5rt/.project b/aspectj5rt/.project new file mode 100644 index 000000000..dcdff0410 --- /dev/null +++ b/aspectj5rt/.project @@ -0,0 +1,17 @@ + + + aspectj5rt + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/aspectj5rt/.settings/org.eclipse.jdt.core.prefs b/aspectj5rt/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..f7c61c0b6 --- /dev/null +++ b/aspectj5rt/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,62 @@ +#Thu Feb 10 12:42:10 PST 2005 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore +org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning +org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled +org.eclipse.jdt.core.compiler.problem.unusedImport=warning +org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore +org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning +org.eclipse.jdt.core.builder.invalidClasspath=ignore +org.eclipse.jdt.core.builder.resourceCopyExclusionFilter=*.launch +org.eclipse.jdt.core.compiler.problem.unusedLocal=ignore +org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.problem.deprecation=ignore +org.eclipse.jdt.core.compiler.source=1.5 +org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore +org.eclipse.jdt.core.compiler.problem.missingJavadocTags=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled +org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.builder.cleanOutputFolder=clean +org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning +org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=ignore +org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=ignore +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore +org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.classpath.exclusionPatterns=enabled +org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsVisibility=public +org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=private +org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore +org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning +org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled +org.eclipse.jdt.core.incompatibleJDKLevel=ignore +eclipse.preferences.version=1 +org.eclipse.jdt.core.circularClasspath=error +org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=enabled +org.eclipse.jdt.core.compiler.maxProblemPerUnit=100 +org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore +org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsVisibility=private +org.eclipse.jdt.core.classpath.multipleOutputLocations=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore +org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=ignore +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.doc.comment.support=enabled +org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning +org.eclipse.jdt.core.incompleteClasspath=error +org.eclipse.jdt.core.compiler.problem.invalidJavadoc=ignore +org.eclipse.jdt.core.compiler.problem.missingJavadocTagsOverriding=enabled +org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore +org.eclipse.jdt.core.builder.duplicateResourceTask=warning +org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled diff --git a/aspectj5rt/aspectj5rt.mf.txt b/aspectj5rt/aspectj5rt.mf.txt new file mode 100644 index 000000000..8b641f94d --- /dev/null +++ b/aspectj5rt/aspectj5rt.mf.txt @@ -0,0 +1,20 @@ +Manifest-Version: 1.0 + +Name: org/aspectj/lang/ +Specification-Title: AspectJ Runtime Classes +Specification-Version: @build.version.base@ +Specification-Vendor: @company.name@ +Implementation-Title: org.aspectj.tools +Implementation-Version: @build.version@ +Implementation-Vendor: @company.name@ +Bundle-Name: AspectJ +Bundle-Version: @build.version.base@ +Import-Package: org.aspectj.lang,org.aspectj.lang.reflect,org.aspectj. + runtime +Bundle-Copyright: (C) Copyright 1999-2001 Xerox Corporation, 2002 Palo + Alto Research Center, Incorporated (PARC), 2003-2005 Contributors. + All Rights Reserved. + + + + diff --git a/aspectj5rt/java5-src/org/aspectj/lang/annotation/SuppressAJWarnings.java b/aspectj5rt/java5-src/org/aspectj/lang/annotation/SuppressAJWarnings.java new file mode 100644 index 000000000..615a913a4 --- /dev/null +++ b/aspectj5rt/java5-src/org/aspectj/lang/annotation/SuppressAJWarnings.java @@ -0,0 +1,30 @@ +/* ******************************************************************* + * 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: + * Wes Isberg initial implementation + * ******************************************************************/ + + +package org.aspectj.lang.annotation; + +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + +/** + * Annotate members to avoid AspectJ error messages. + * Currently supported: + * + * + */ +@Retention(RetentionPolicy.RUNTIME) +public @interface SuppressAJWarnings { + +}