aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authorJerry James <loganjerry@gmail.com>2020-09-14 08:27:01 -0600
committerJerry James <loganjerry@gmail.com>2020-09-14 08:27:01 -0600
commitde14ca22d72be35e59ce370ef0edf8626db6cd82 (patch)
tree746054ba7809fd6c7990a364dff0050a3fc7012e /weaver
parentf8f117808bef16efd520803636c6841332e83c49 (diff)
downloadaspectj-de14ca22d72be35e59ce370ef0edf8626db6cd82.tar.gz
aspectj-de14ca22d72be35e59ce370ef0edf8626db6cd82.zip
Fix misplaced or incorrect javadoc tags
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/main/java/org/aspectj/weaver/bcel/AnnotationAccessVar.java2
-rw-r--r--weaver/src/main/java/org/aspectj/weaver/bcel/AtAjAttributes.java2
-rw-r--r--weaver/src/main/java/org/aspectj/weaver/bcel/Utility.java2
-rw-r--r--weaver/src/main/java/org/aspectj/weaver/ltw/LTWWorld.java2
-rw-r--r--weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java1
-rw-r--r--weaver/src/main/java/org/aspectj/weaver/tools/cache/AbstractCacheBacking.java2
6 files changed, 5 insertions, 6 deletions
diff --git a/weaver/src/main/java/org/aspectj/weaver/bcel/AnnotationAccessVar.java b/weaver/src/main/java/org/aspectj/weaver/bcel/AnnotationAccessVar.java
index a6ed94b79..f84d5e05e 100644
--- a/weaver/src/main/java/org/aspectj/weaver/bcel/AnnotationAccessVar.java
+++ b/weaver/src/main/java/org/aspectj/weaver/bcel/AnnotationAccessVar.java
@@ -262,7 +262,7 @@ public class AnnotationAccessVar extends BcelVar {
* Return an object that can access a particular value of this annotation.
*
* @param valueType The type from the annotation that is of interest
- * @param the formal name expressed in the pointcut, can be used to disambiguate
+ * @param formalName the formal name expressed in the pointcut, can be used to disambiguate
* @return a variable that represents access to that annotation value
*/
@Override
diff --git a/weaver/src/main/java/org/aspectj/weaver/bcel/AtAjAttributes.java b/weaver/src/main/java/org/aspectj/weaver/bcel/AtAjAttributes.java
index 7ad6b6f13..ea907f749 100644
--- a/weaver/src/main/java/org/aspectj/weaver/bcel/AtAjAttributes.java
+++ b/weaver/src/main/java/org/aspectj/weaver/bcel/AtAjAttributes.java
@@ -854,7 +854,7 @@ public class AtAjAttributes {
}
/**
- * Return a nicely formatted method string, for example: int X.foo(java.lang.String)
+ * @return a nicely formatted method string, for example: int X.foo(java.lang.String)
*/
public static String getMethodForMessage(AjAttributeMethodStruct methodstructure) {
StringBuffer sb = new StringBuffer();
diff --git a/weaver/src/main/java/org/aspectj/weaver/bcel/Utility.java b/weaver/src/main/java/org/aspectj/weaver/bcel/Utility.java
index e1e297ad1..368c6b34c 100644
--- a/weaver/src/main/java/org/aspectj/weaver/bcel/Utility.java
+++ b/weaver/src/main/java/org/aspectj/weaver/bcel/Utility.java
@@ -480,7 +480,7 @@ public class Utility {
* replace an instruction handle with another instruction, in this case, a branch instruction.
*
* @param ih the instruction handle to replace.
- * @param branchInstruction the branch instruction to replace ih with
+ * @param replacementInstructions the branch instruction to replace ih with
* @param enclosingMethod where to find ih's instruction list.
*/
public static void replaceInstruction(InstructionHandle ih, InstructionList replacementInstructions,
diff --git a/weaver/src/main/java/org/aspectj/weaver/ltw/LTWWorld.java b/weaver/src/main/java/org/aspectj/weaver/ltw/LTWWorld.java
index e7d6ff63e..077a91943 100644
--- a/weaver/src/main/java/org/aspectj/weaver/ltw/LTWWorld.java
+++ b/weaver/src/main/java/org/aspectj/weaver/ltw/LTWWorld.java
@@ -97,7 +97,7 @@ public class LTWWorld extends BcelWorld implements IReflectionWorld {
// }
/**
- * @Override
+ * Override
*/
@Override
protected ReferenceTypeDelegate resolveDelegate(ReferenceType ty) {
diff --git a/weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java b/weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java
index 5571ad51f..f191da13b 100644
--- a/weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java
+++ b/weaver/src/main/java/org/aspectj/weaver/tools/WeavingAdaptor.java
@@ -644,7 +644,6 @@ public class WeavingAdaptor implements IMessageContext {
* @param name
* @param b
* @param before whether we are dumping before weaving
- * @throws Throwable
*/
protected void dump(String name, byte[] b, boolean before) {
String dirName = getDumpDir();
diff --git a/weaver/src/main/java/org/aspectj/weaver/tools/cache/AbstractCacheBacking.java b/weaver/src/main/java/org/aspectj/weaver/tools/cache/AbstractCacheBacking.java
index 649e21d05..1fc3d4e61 100644
--- a/weaver/src/main/java/org/aspectj/weaver/tools/cache/AbstractCacheBacking.java
+++ b/weaver/src/main/java/org/aspectj/weaver/tools/cache/AbstractCacheBacking.java
@@ -31,7 +31,7 @@ public abstract class AbstractCacheBacking implements CacheBacking {
* Calculates CRC32 on the provided bytes
* @param bytes The bytes array - ignored if <code>null</code>/empty
* @return Calculated CRC
- * @see {@link CRC32}
+ * @see CRC32
*/
public static final long crc (byte[] bytes) {
if ((bytes == null) || (bytes.length <= 0)) {