]> source.dussan.org Git - aspectj.git/commitdiff
Fix javadoc references to nonexistent fields, classes, or packages
authorJerry James <loganjerry@gmail.com>
Mon, 14 Sep 2020 14:28:28 +0000 (08:28 -0600)
committerJerry James <loganjerry@gmail.com>
Mon, 14 Sep 2020 14:28:28 +0000 (08:28 -0600)
20 files changed:
ajde/src/main/java/org/aspectj/ajde/ui/StructureViewManager.java
bridge/src/main/java/org/aspectj/bridge/CountingMessageHandler.java
bridge/src/main/java/org/aspectj/bridge/IMessage.java
bridge/src/main/java/org/aspectj/bridge/ISourceLocation.java
bridge/src/main/java/org/aspectj/bridge/MessageUtil.java
bridge/src/main/java/org/aspectj/bridge/SourceLocation.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/ajc/BuildArgParser.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/lookup/PointcutBinding.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/org/eclipse/jdt/core/dom/AjASTMatcher.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/tools/ajc/Main.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/IWeavingSupport.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/AnyTypePattern.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/EllipsisTypePattern.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/NoTypePattern.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WildTypePattern.java
taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/Ajc2.java
taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/AjcTask.java
taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/compilers/Ajc.java
util/src/main/java/org/aspectj/util/LangUtil.java
weaver/src/main/java/org/aspectj/weaver/tools/cache/AsynchronousFileCacheBacking.java

index 8fa1c7539dac96f628c1df7736b50ce346de06a8..2ca5386d1a1c42b564cba02c65d0ba7b96cd6ecc 100644 (file)
@@ -93,9 +93,6 @@ public class StructureViewManager {
                }
        }
 
-       /**
-        * History is recorded for {@link LinkNode} navigations.
-        */
        public void fireNavigationAction(IProgramElement pe, boolean isLink) {
                navigationAction(pe, isLink);
        }
index 1a1e8f0147f344f112f7bc2309d08eee3e2e9ca2..f1ea8f2fbe89ecde33701f4d8d36606e466f6b0b 100644 (file)
@@ -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) {
index 256db87ac24e95b38b46c68ad170e677e6620c2e..b53a8c727ada76eed8bc1d87fc38ea0e21e33a69 100644 (file)
@@ -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<Kind> KINDS = Collections.unmodifiableList(Arrays.asList(new Kind[] { WEAVEINFO, INFO, DEBUG, TASKTAG,
                        WARNING, ERROR, FAIL, ABORT }));
index 80ed94e334452d2583f4cd4324e82267c1058d5b..5045d0f47a7e8a9869db5373ffc07a461c645e91 100644 (file)
@@ -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;
index 3d9d8c69d8cebda7f7aa3555520dff6ac72503ec..1b822395de5a775cc34d6276bd9b10a91d5c1681 100644 (file)
@@ -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<IMessage> getMessages(List<IMessage> messages, IMessage.Kind kind) {
                if (null == messages) {
index c883669f6318180855b3f7c1e51352a20ab2c186..d3d8f128c285f147e2e57e2d463809cc23e1f865 100644 (file)
@@ -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 {
 
index 177f53145adc75faaf738dc7ea5635b7a3e7e9c9..7717355bf20c621f16316968f1925d776684a08c 100644 (file)
@@ -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) {
index f8cda6ff5fab59eaada6756a822d160b6c72756f..02225618ad2cf63687370beb0a7d75743140b8be 100644 (file)
@@ -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() {
index cfa0783885788c65ab8b14f6e2734fffc4909a8b..ca571c6a883e1edf24839a9ba2537b16c980621f 100644 (file)
@@ -16,8 +16,8 @@ public class AjASTMatcher extends ASTMatcher {
        /**
         * Creates a new AST matcher instance.
         * <p>
-        * 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.
         * </p>
         */
        public AjASTMatcher() {
index 7cbc3e341122ffabd2af6c0f9ffe7d60d23d2a41..4b15f0333da0c7c2fd7c7bf7b112e09ec61bf7e2 100644 (file)
@@ -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) {
index 70bb1d67aa28db6fc7a7a778269c8735b8236317..8f614addc00992066be0fe7e7e8226a7c8626630 100644 (file)
@@ -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);
 
index b72a9561d58301831a20434c228f6cac44c06e26..372891cf7482a3674da8be1fa6d3a3bbf101c247 100644 (file)
@@ -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) {
index ab35417991d514f3ff5513198f7f9cc7c340f1a0..67c704dae677d36192adfc5ca4cf9edb0b84ca68 100644 (file)
@@ -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) {
index e5be0a9694a7b7e4a2d214b03991ce7525a62046..da34bdf0df48d8ed8992a76e3079ec414b4be5fd 100644 (file)
@@ -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) {
index 64bda3f540a1b34d9ebf07c55f502f76dee77844..e6ab455d279cc8efa8e21ac7220a01c230f223fe 100644 (file)
@@ -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) {
index 624410298f67f621e55119577eb2d85250d48ff8..90f5707ea02cbdd359a33436499bc109495b3340 100644 (file)
@@ -29,7 +29,7 @@ import java.util.StringTokenizer;
  * This task was developed by the <a href="http://aspectj.org">AspectJ Project</a>
  *
  * @author <a href="mailto:palm@parc.xerox.com">Jeffrey Palm</a>
- * @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 <code>true</code>.
      *
      * @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 <code>true</code>.
      *
      * @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 <code>true</code>.
      *
      * @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 <code>true</code>.
      *
      * @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;
index f2c17081b4da435c7e2d8b8c0eedc362be6a8446..ac91f498e588d22db582b5b1c9f9091c24a6ce09 100644 (file)
@@ -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) {
index 7d6b2ab8dab1a71a7dab94beab2bd2846762897e..a3bcbd91abae5527f8196b57a08082a8653f8449 100644 (file)
@@ -32,7 +32,7 @@ import org.apache.tools.ant.types.Commandline;
  * This task was developed by the <a href="http://aspectj.org">AspectJ Project</a>
  *
  * @author <a href="mailto:palm@parc.xerox.com">Jeffrey Palm</a>
- * @see    org.aspectj.tools.ant.taskdefs.Ajc
+ * @see    org.aspectj.tools.ant.taskdefs.Ajc2
  */
 public class Ajc extends DefaultCompilerAdapter {
 
index edfc48f70d4ad7ef87e75cf9bc860ee1d26e8f7d..fecf38e475b2ac64d6352706e3d8aa86a1e52c72 100644 (file)
@@ -865,7 +865,7 @@ public class LangUtil {
         * Renders exception <code>t</code> after unwrapping and eliding any test packages.
         *
         * @param t <code>Throwable</code> to print.
-        * @see #maxStackTrace
+        * @see StringChecker#TEST_PACKAGES
         */
        public static String renderException(Throwable t) {
                return renderException(t, true);
index bb1b8880731c7ea0ccb778925218ef280ecdb667..2ddd3a15ea069647f180709843d7f789ccf3ffb2 100644 (file)
@@ -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 &quot;synchronize&quot;
  * 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:
  * <UL>
  *             <LI>
- *             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.
  *             </LI>
  *