From: Jerry James Date: Mon, 14 Sep 2020 14:28:28 +0000 (-0600) Subject: Fix javadoc references to nonexistent fields, classes, or packages X-Git-Tag: java16-add-opens~42^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3255a3c562ce8dccd4abaf2f30bc04d4d7085fe2;p=aspectj.git Fix javadoc references to nonexistent fields, classes, or packages --- diff --git a/ajde/src/main/java/org/aspectj/ajde/ui/StructureViewManager.java b/ajde/src/main/java/org/aspectj/ajde/ui/StructureViewManager.java index 8fa1c7539..2ca5386d1 100644 --- a/ajde/src/main/java/org/aspectj/ajde/ui/StructureViewManager.java +++ b/ajde/src/main/java/org/aspectj/ajde/ui/StructureViewManager.java @@ -93,9 +93,6 @@ public class StructureViewManager { } } - /** - * History is recorded for {@link LinkNode} navigations. - */ public void fireNavigationAction(IProgramElement pe, boolean isLink) { navigationAction(pe, isLink); } diff --git a/bridge/src/main/java/org/aspectj/bridge/CountingMessageHandler.java b/bridge/src/main/java/org/aspectj/bridge/CountingMessageHandler.java index 1a1e8f014..f1ea8f2fb 100644 --- a/bridge/src/main/java/org/aspectj/bridge/CountingMessageHandler.java +++ b/bridge/src/main/java/org/aspectj/bridge/CountingMessageHandler.java @@ -90,9 +90,9 @@ public class CountingMessageHandler implements IMessageHandler { * Return count of messages seen through this interface. * * @param kind the IMessage.Kind of the messages to count (if null, count all) - * @param orGreater if true, then count this kind and any considered greater by the ordering of IMessage.Kind.COMPARATOR + * @param orGreater if true, then count this kind and any considered greater by the ordering of IMessage.Kind#COMPARATOR * @return number of messages of this kind (optionally or greater) - * @see IMessage.Kind.COMPARATOR + * @see IMessage.Kind#COMPARATOR */ public int numMessages(IMessage.Kind kind, boolean orGreater) { if (null != proxy) { diff --git a/bridge/src/main/java/org/aspectj/bridge/IMessage.java b/bridge/src/main/java/org/aspectj/bridge/IMessage.java index 256db87ac..b53a8c727 100644 --- a/bridge/src/main/java/org/aspectj/bridge/IMessage.java +++ b/bridge/src/main/java/org/aspectj/bridge/IMessage.java @@ -40,7 +40,7 @@ public interface IMessage { // public static final Kind ANY = new Kind("any-selector", 0); /** - * list of Kind in precedence order. 0 is less than IMessage.Kind.COMPARATOR.compareTo(KINDS.get(i), KINDS.get(i + 1)) + * list of Kind in precedence order. 0 is less than IMessage.Kind#COMPARATOR.compareTo(KINDS.get(i), KINDS.get(i + 1)) */ List KINDS = Collections.unmodifiableList(Arrays.asList(new Kind[] { WEAVEINFO, INFO, DEBUG, TASKTAG, WARNING, ERROR, FAIL, ABORT })); diff --git a/bridge/src/main/java/org/aspectj/bridge/ISourceLocation.java b/bridge/src/main/java/org/aspectj/bridge/ISourceLocation.java index 80ed94e33..5045d0f47 100644 --- a/bridge/src/main/java/org/aspectj/bridge/ISourceLocation.java +++ b/bridge/src/main/java/org/aspectj/bridge/ISourceLocation.java @@ -20,9 +20,6 @@ import java.io.File; * why? * * @see org.aspectj.lang.reflect.SourceLocation - * @see org.aspectj.compiler.base.parser.SourceInfo - * @see org.aspectj.tools.ide.SourceLine - * @see org.aspectj.testing.harness.ErrorLine */ public interface ISourceLocation extends java.io.Serializable { int MAX_LINE = Integer.MAX_VALUE / 2; diff --git a/bridge/src/main/java/org/aspectj/bridge/MessageUtil.java b/bridge/src/main/java/org/aspectj/bridge/MessageUtil.java index 3d9d8c69d..1b822395d 100644 --- a/bridge/src/main/java/org/aspectj/bridge/MessageUtil.java +++ b/bridge/src/main/java/org/aspectj/bridge/MessageUtil.java @@ -251,7 +251,7 @@ public class MessageUtil { * * @param messageHolder * @param out - * @see #print(PrintStream, String, IMessageHolder, IMessageRenderer, IMessageHandler) + * @see #print(PrintStream, IMessageHolder, String, IMessageRenderer, IMessageHandler) */ public static void print(PrintStream out, IMessageHolder messageHolder) { print(out, messageHolder, (String) null, (IMessageRenderer) null, (IMessageHandler) null); @@ -262,7 +262,7 @@ public class MessageUtil { * * @param holder * @param out - * @see #print(PrintStream, String, IMessageHolder, IMessageRenderer, IMessageHandler) + * @see #print(PrintStream, IMessageHolder, String, IMessageRenderer, IMessageHandler) */ public static void print(PrintStream out, IMessageHolder holder, String prefix) { print(out, holder, prefix, (IMessageRenderer) null, (IMessageHandler) null); @@ -274,7 +274,7 @@ public class MessageUtil { * @param holder * @param out * @param renderer IMessageRender to render result - use MESSAGE_LINE if null - * @see #print(PrintStream, String, IMessageHolder, IMessageRenderer, IMessageHandler) + * @see #print(PrintStream, IMessageHolder, String, IMessageRenderer, IMessageHandler) */ public static void print(PrintStream out, IMessageHolder holder, String prefix, IMessageRenderer renderer) { print(out, holder, prefix, renderer, (IMessageHandler) null); @@ -401,7 +401,7 @@ public class MessageUtil { * * @param messages if null, return EMPTY_LIST * @param kind if null, return messages - * @see MessageHandler#getMessages(Kind) + * @see MessageHandler#getMessages(Kind, boolean) */ public static List getMessages(List messages, IMessage.Kind kind) { if (null == messages) { diff --git a/bridge/src/main/java/org/aspectj/bridge/SourceLocation.java b/bridge/src/main/java/org/aspectj/bridge/SourceLocation.java index c883669f6..d3d8f128c 100644 --- a/bridge/src/main/java/org/aspectj/bridge/SourceLocation.java +++ b/bridge/src/main/java/org/aspectj/bridge/SourceLocation.java @@ -22,9 +22,6 @@ import org.aspectj.util.LangUtil; * endLine. * * @see org.aspectj.lang.reflect.SourceLocation - * @see org.aspectj.compiler.base.parser.SourceInfo - * @see org.aspectj.tools.ide.SourceLine - * @see org.aspectj.testing.harness.ErrorLine */ public class SourceLocation implements ISourceLocation { diff --git a/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/ajc/BuildArgParser.java b/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/ajc/BuildArgParser.java index 177f53145..7717355bf 100644 --- a/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/ajc/BuildArgParser.java +++ b/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/ajc/BuildArgParser.java @@ -333,7 +333,7 @@ public class BuildArgParser extends Main { * * @param flush if true, empty errors * @return null if none, String otherwise - * @see BuildArgParser() + * @see #BuildArgParser(IMessageHandler) */ public String getOtherMessages(boolean flush) { if (null == errorSink) { diff --git a/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/lookup/PointcutBinding.java b/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/lookup/PointcutBinding.java index f8cda6ff5..02225618a 100644 --- a/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/lookup/PointcutBinding.java +++ b/org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/lookup/PointcutBinding.java @@ -20,14 +20,14 @@ import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding; */ public class PointcutBinding extends Binding { - /** + /* (non-Javadoc) * @see org.eclipse.jdt.internal.compiler.lookup.BindingPattern#bindingType() */ public int bindingType() { return 0; } - /** + /* (non-Javadoc) * @see org.eclipse.jdt.internal.compiler.lookup.BindingPattern#readableName() */ public char[] readableName() { diff --git a/org.aspectj.ajdt.core/src/main/java/org/aspectj/org/eclipse/jdt/core/dom/AjASTMatcher.java b/org.aspectj.ajdt.core/src/main/java/org/aspectj/org/eclipse/jdt/core/dom/AjASTMatcher.java index cfa078388..ca571c6a8 100644 --- a/org.aspectj.ajdt.core/src/main/java/org/aspectj/org/eclipse/jdt/core/dom/AjASTMatcher.java +++ b/org.aspectj.ajdt.core/src/main/java/org/aspectj/org/eclipse/jdt/core/dom/AjASTMatcher.java @@ -16,8 +16,8 @@ public class AjASTMatcher extends ASTMatcher { /** * Creates a new AST matcher instance. *

- * For backwards compatibility, the matcher ignores tag elements below doc comments by default. Use {@link #ASTMatcher(boolean) - * ASTMatcher(true)} for a matcher that compares doc tags by default. + * For backwards compatibility, the matcher ignores tag elements below doc comments by default. Use {@link #AjASTMatcher(boolean) + * AjASTMatcher(true)} for a matcher that compares doc tags by default. *

*/ public AjASTMatcher() { diff --git a/org.aspectj.ajdt.core/src/main/java/org/aspectj/tools/ajc/Main.java b/org.aspectj.ajdt.core/src/main/java/org/aspectj/tools/ajc/Main.java index 7cbc3e341..4b15f0333 100644 --- a/org.aspectj.ajdt.core/src/main/java/org/aspectj/tools/ajc/Main.java +++ b/org.aspectj.ajdt.core/src/main/java/org/aspectj/tools/ajc/Main.java @@ -483,7 +483,6 @@ public class Main { * * @param pass true result of the command * @param holder IMessageHolder with messages from the command - * @see reportCommandResults(IMessageHolder) * @return false if the process should abort */ protected boolean report(boolean pass, IMessageHolder holder) { diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/IWeavingSupport.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/IWeavingSupport.java index 70bb1d67a..8f614addc 100644 --- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/IWeavingSupport.java +++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/IWeavingSupport.java @@ -33,7 +33,7 @@ public interface IWeavingSupport { /** * Register a munger for perclause {@literal @}AJ aspect so that we add aspectOf(..) to them as needed * - * @see org.aspectj.weaver.bcel.BcelWorld#makePerClauseAspect(ResolvedType, org.aspectj.weaver.patterns.PerClause.Kind) + * @see org.aspectj.weaver.bcel.BcelWeavingSupport#makePerClauseAspect(ResolvedType, org.aspectj.weaver.patterns.PerClause.Kind) */ ConcreteTypeMunger makePerClauseAspect(ResolvedType aspect, PerClause.Kind kind); diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/AnyTypePattern.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/AnyTypePattern.java index b72a9561d..372891cf7 100644 --- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/AnyTypePattern.java +++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/AnyTypePattern.java @@ -40,7 +40,7 @@ public class AnyTypePattern extends TypePattern { } /** - * @see org.aspectj.weaver.patterns.TypePattern#matchesExactly(IType) + * @see org.aspectj.weaver.patterns.TypePattern#matchesExactly(ResolvedType) */ @Override protected boolean matchesExactly(ResolvedType type) { @@ -53,7 +53,7 @@ public class AnyTypePattern extends TypePattern { } /** - * @see org.aspectj.weaver.patterns.TypePattern#matchesInstanceof(IType) + * @see org.aspectj.weaver.patterns.TypePattern#matchesInstanceof(ResolvedType) */ @Override public FuzzyBoolean matchesInstanceof(ResolvedType type) { @@ -72,7 +72,7 @@ public class AnyTypePattern extends TypePattern { // return FuzzyBoolean.YES; // } /** - * @see org.aspectj.weaver.patterns.TypePattern#matchesSubtypes(IType) + * @see org.aspectj.weaver.patterns.TypePattern#matchesSubtypes(ResolvedType) */ @Override protected boolean matchesSubtypes(ResolvedType type) { diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/EllipsisTypePattern.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/EllipsisTypePattern.java index ab3541799..67c704dae 100644 --- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/EllipsisTypePattern.java +++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/EllipsisTypePattern.java @@ -39,7 +39,7 @@ public class EllipsisTypePattern extends TypePattern { } /** - * @see org.aspectj.weaver.patterns.TypePattern#matchesExactly(IType) + * @see org.aspectj.weaver.patterns.TypePattern#matchesExactly(ResolvedType) */ @Override protected boolean matchesExactly(ResolvedType type) { @@ -52,7 +52,7 @@ public class EllipsisTypePattern extends TypePattern { } /** - * @see org.aspectj.weaver.patterns.TypePattern#matchesInstanceof(IType) + * @see org.aspectj.weaver.patterns.TypePattern#matchesInstanceof(ResolvedType) */ @Override public FuzzyBoolean matchesInstanceof(ResolvedType type) { diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/NoTypePattern.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/NoTypePattern.java index e5be0a969..da34bdf0d 100644 --- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/NoTypePattern.java +++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/NoTypePattern.java @@ -37,7 +37,7 @@ public class NoTypePattern extends TypePattern { } /** - * @see org.aspectj.weaver.patterns.TypePattern#matchesExactly(IType) + * @see org.aspectj.weaver.patterns.TypePattern#matchesExactly(ResolvedType) */ @Override protected boolean matchesExactly(ResolvedType type) { @@ -50,7 +50,7 @@ public class NoTypePattern extends TypePattern { } /** - * @see org.aspectj.weaver.patterns.TypePattern#matchesInstanceof(IType) + * @see org.aspectj.weaver.patterns.TypePattern#matchesInstanceof(ResolvedType) */ @Override public FuzzyBoolean matchesInstanceof(ResolvedType type) { @@ -69,7 +69,7 @@ public class NoTypePattern extends TypePattern { // return FuzzyBoolean.YES; // } /** - * @see org.aspectj.weaver.patterns.TypePattern#matchesSubtypes(IType) + * @see org.aspectj.weaver.patterns.TypePattern#matchesSubtypes(ResolvedType) */ @Override protected boolean matchesSubtypes(ResolvedType type) { diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WildTypePattern.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WildTypePattern.java index 64bda3f54..e6ab455d2 100644 --- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WildTypePattern.java +++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WildTypePattern.java @@ -218,7 +218,7 @@ public class WildTypePattern extends TypePattern { } /** - * @see org.aspectj.weaver.TypePattern#matchesExactly(IType) + * @see org.aspectj.weaver.patterns.TypePattern#matchesExactly(ResolvedType) */ @Override protected boolean matchesExactly(ResolvedType type) { @@ -499,7 +499,7 @@ public class WildTypePattern extends TypePattern { } /** - * @see org.aspectj.weaver.TypePattern#matchesInstanceof(IType) + * @see org.aspectj.weaver.patterns.TypePattern#matchesInstanceof(ResolvedType) */ @Override public FuzzyBoolean matchesInstanceof(ResolvedType type) { diff --git a/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/Ajc2.java b/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/Ajc2.java index 624410298..90f5707ea 100644 --- a/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/Ajc2.java +++ b/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/Ajc2.java @@ -29,7 +29,7 @@ import java.util.StringTokenizer; * This task was developed by the AspectJ Project * * @author Jeffrey Palm - * @see org.aspectj.tools.ant.taskdefs.compilers.AjcCompiler + * @see org.aspectj.tools.ant.taskdefs.compilers.Ajc */ public class Ajc2 extends Javac { @@ -288,7 +288,7 @@ public class Ajc2 extends Javac { * to true. * * @return new PatternSet.NameEntry to be added to the include list. - * @see org.apache.tools.taskdefs.Javac#createInclude() + * @see org.apache.tools.ant.taskdefs.Javac#createInclude() */ public PatternSet.NameEntry createInclude() { haveIncludes = true; @@ -300,7 +300,7 @@ public class Ajc2 extends Javac { * to true. * * @return new PatternSet.NameEntry to be added to the exclude list. - * @see org.apache.tools.taskdefs.Javac#createExclude() + * @see org.apache.tools.ant.taskdefs.Javac#createExclude() */ public PatternSet.NameEntry createExclude() { haveExcludes = true; @@ -312,7 +312,7 @@ public class Ajc2 extends Javac { * to true. * * @param includes Comma-separated list of includes. - * @see org.apache.tools.taskdefs.Javac#setIncludes(java.lang.String) + * @see org.apache.tools.ant.taskdefs.Javac#setIncludes(java.lang.String) */ public void setIncludes(String includes) { haveIncludes = true; @@ -324,7 +324,7 @@ public class Ajc2 extends Javac { * to true. * * @param excludes Comma-separated list of excludes. - * @see org.apache.tools.taskdefs.Javac#setExcludes(java.lang.String) + * @see org.apache.tools.ant.taskdefs.Javac#setExcludes(java.lang.String) */ public void setExcludes(String excludes) { haveExcludes = true; diff --git a/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/AjcTask.java b/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/AjcTask.java index f2c17081b..ac91f498e 100644 --- a/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/AjcTask.java +++ b/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/AjcTask.java @@ -1374,7 +1374,6 @@ public class AjcTask extends MatchingTask { * * @param args String[] of the complete compiler command to execute * - * @see DefaultCompilerAdapter#executeExternalCompile(String[], int) * @throws BuildException if ajc aborts (negative value) or if failonerror and there were compile errors. */ protected void executeInOtherVM(String[] args) { diff --git a/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/compilers/Ajc.java b/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/compilers/Ajc.java index 7d6b2ab8d..a3bcbd91a 100644 --- a/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/compilers/Ajc.java +++ b/taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/compilers/Ajc.java @@ -32,7 +32,7 @@ import org.apache.tools.ant.types.Commandline; * This task was developed by the AspectJ Project * * @author Jeffrey Palm - * @see org.aspectj.tools.ant.taskdefs.Ajc + * @see org.aspectj.tools.ant.taskdefs.Ajc2 */ public class Ajc extends DefaultCompilerAdapter { diff --git a/util/src/main/java/org/aspectj/util/LangUtil.java b/util/src/main/java/org/aspectj/util/LangUtil.java index edfc48f70..fecf38e47 100644 --- a/util/src/main/java/org/aspectj/util/LangUtil.java +++ b/util/src/main/java/org/aspectj/util/LangUtil.java @@ -865,7 +865,7 @@ public class LangUtil { * Renders exception t after unwrapping and eliding any test packages. * * @param t Throwable to print. - * @see #maxStackTrace + * @see StringChecker#TEST_PACKAGES */ public static String renderException(Throwable t) { return renderException(t, true); diff --git a/weaver/src/main/java/org/aspectj/weaver/tools/cache/AsynchronousFileCacheBacking.java b/weaver/src/main/java/org/aspectj/weaver/tools/cache/AsynchronousFileCacheBacking.java index bb1b88807..2ddd3a15e 100644 --- a/weaver/src/main/java/org/aspectj/weaver/tools/cache/AsynchronousFileCacheBacking.java +++ b/weaver/src/main/java/org/aspectj/weaver/tools/cache/AsynchronousFileCacheBacking.java @@ -34,11 +34,11 @@ import org.aspectj.weaver.tools.TraceFactory; * The class maintains an in-memory cache, and uses a queue of {@link AsyncCommand}s * to signal to a background thread various actions required to "synchronize" * the in-memory cache with the persisted copy. Whenever there is a cache miss - * from the {@link #get(CachedClassReference)} call, the weaver issues a - * {@link #put(CachedClassEntry)} call. This call has 2 side-effects: + * from the {@link #get(CachedClassReference, byte[])} call, the weaver issues a + * {@link #put(CachedClassEntry, byte[])} call. This call has 2 side-effects: *
    *
  • - * The in-memory cache is updated so that subsequent calls to {@link #get(CachedClassReference)} + * The in-memory cache is updated so that subsequent calls to {@link #get(CachedClassReference, byte[])} * will not return the mapped value. *
  • *