aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
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 /org.aspectj.matcher
parentf8f117808bef16efd520803636c6841332e83c49 (diff)
downloadaspectj-de14ca22d72be35e59ce370ef0edf8626db6cd82.tar.gz
aspectj-de14ca22d72be35e59ce370ef0edf8626db6cd82.zip
Fix misplaced or incorrect javadoc tags
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r--org.aspectj.matcher/src/main/java/org/aspectj/weaver/AjAttribute.java4
-rw-r--r--org.aspectj.matcher/src/main/java/org/aspectj/weaver/IWeavingSupport.java4
-rw-r--r--org.aspectj.matcher/src/main/java/org/aspectj/weaver/ResolvedType.java14
-rw-r--r--org.aspectj.matcher/src/main/java/org/aspectj/weaver/TypeFactory.java2
-rw-r--r--org.aspectj.matcher/src/main/java/org/aspectj/weaver/UnresolvedType.java2
-rw-r--r--org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/AnyTypePattern.java4
-rw-r--r--org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/EllipsisTypePattern.java2
-rw-r--r--org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PatternParser.java1
-rw-r--r--org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PointcutEvaluationExpenseComparator.java10
-rw-r--r--org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/AbstractTrace.java1
-rw-r--r--org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/PointcutExpression.java1
-rw-r--r--org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/StandardPointcutExpression.java2
12 files changed, 21 insertions, 26 deletions
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/AjAttribute.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/AjAttribute.java
index e76c88f88..fd65867ae 100644
--- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/AjAttribute.java
+++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/AjAttribute.java
@@ -68,7 +68,7 @@ public abstract class AjAttribute {
/**
* Writes the full attribute, i.e. name_index, length, and contents
*
- * @param constantPool
+ * @param dataCompressor
*/
public byte[] getAllBytes(short nameIndex, ConstantPoolWriter dataCompressor) {
try {
@@ -525,7 +525,7 @@ public abstract class AjAttribute {
private UnresolvedType[] declaredExceptions;
/**
- * @param lexicalPosition must be greater than the lexicalPosition of any advice declared before this one in an aspect,
+ * @param start must be greater than the start of any advice declared before this one in an aspect,
* otherwise, it can be any value.
*/
public AdviceAttribute(AdviceKind kind, Pointcut pointcut, int extraArgumentFlags, int start, int end,
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 5fe48a520..70bb1d67a 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
@@ -17,7 +17,7 @@ import org.aspectj.weaver.patterns.Pointcut;
/**
* Encapsulates operations that a world will need to support if it is actually going to modify bytecode rather than just match
- * against it. {@see BcelWeavingSupport}
+ * against it. @see BcelWeavingSupport
*
* @author Andy Clement
*/
@@ -31,7 +31,7 @@ public interface IWeavingSupport {
ConcreteTypeMunger makeCflowCounterFieldAdder(ResolvedMember cflowField);
/**
- * Register a munger for perclause @AJ aspect so that we add aspectOf(..) to them as needed
+ * 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)
*/
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/ResolvedType.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/ResolvedType.java
index 59f767148..736564867 100644
--- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/ResolvedType.java
+++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/ResolvedType.java
@@ -313,15 +313,20 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl
/**
* Return an iterator over the types in this types hierarchy - starting with this type first, then all superclasses up to Object
* and then all interfaces (starting with those 'nearest' this type).
- *
- * @param wantGenerics true if the caller wants full generic information
- * @param wantDeclaredParents true if the caller even wants those parents introduced via declare parents
* @return an iterator over all types in the hierarchy of this type
*/
public Iterator<ResolvedType> getHierarchy() {
return getHierarchy(false, false);
}
+ /**
+ * Return an iterator over the types in this types hierarchy - starting with this type first, then all superclasses up to Object
+ * and then all interfaces (starting with those 'nearest' this type).
+ *
+ * @param wantGenerics true if the caller wants full generic information
+ * @param wantDeclaredParents true if the caller even wants those parents introduced via declare parents
+ * @return an iterator over all types in the hierarchy of this type
+ */
public Iterator<ResolvedType> getHierarchy(final boolean wantGenerics, final boolean wantDeclaredParents) {
final Iterators.Getter<ResolvedType, ResolvedType> interfaceGetter = new Iterators.Getter<ResolvedType, ResolvedType>() {
@@ -2622,7 +2627,6 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl
* assignable to a variable of type X without loss of precision.
*
* @param other the other type
- * @param world the {@link World} in which the possible assignment should be checked.
* @return true iff variables of this type could be assigned values of other with possible conversion
*/
public final boolean isConvertableFrom(ResolvedType other) {
@@ -2660,7 +2664,6 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl
* assignment conversion as per JLS 2ed 5.2. For object types, this means supertypeOrEqual(THIS, OTHER).
*
* @param other the other type
- * @param world the {@link World} in which the possible assignment should be checked.
* @return true iff variables of this type could be assigned values of other without casting
* @throws NullPointerException if other is null
*/
@@ -2683,7 +2686,6 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl
* </blockquote>
*
* @param other the other type
- * @param world the {@link World} in which the possible coersion should be checked.
* @return true iff values of other could possibly be cast to this type.
* @throws NullPointerException if other is null.
*/
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/TypeFactory.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/TypeFactory.java
index 74afc6cae..c747ffe53 100644
--- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/TypeFactory.java
+++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/TypeFactory.java
@@ -20,7 +20,7 @@ public class TypeFactory {
/**
* Create a parameterized version of a generic type.
*
- * @param aGenericType
+ * @param aBaseType
* @param someTypeParameters note, in the case of an inner type of a parameterized type, this parameter may legitimately be null
* @param inAWorld
* @return
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/UnresolvedType.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/UnresolvedType.java
index 19f1ca5ce..237cb05f8 100644
--- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/UnresolvedType.java
+++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/UnresolvedType.java
@@ -422,7 +422,7 @@ public class UnresolvedType implements Traceable, TypeVariableDeclaringElement {
/**
* Constructs a UnresolvedType for each JVM bytecode type signature in an incoming array.
*
- * @param names an array of JVM bytecode type signatures
+ * @param sigs an array of JVM bytecode type signatures
* @return an array of UnresolvedType objects.
* @see #forSignature(String)
*/
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 db9ba5130..b72a9561d 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
@@ -23,9 +23,7 @@ import org.aspectj.weaver.World;
public class AnyTypePattern extends TypePattern {
/**
- * Constructor for EllipsisTypePattern.
- *
- * @param includeSubtypes
+ * Constructor for AnyTypePattern.
*/
public AnyTypePattern() {
super(false, false, new TypePatternList());
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 2abc51327..ab3541799 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
@@ -23,8 +23,6 @@ public class EllipsisTypePattern extends TypePattern {
/**
* Constructor for EllipsisTypePattern.
- *
- * @param includeSubtypes
*/
public EllipsisTypePattern() {
super(false, false, new TypePatternList());
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PatternParser.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PatternParser.java
index f7ffafdf4..7bb806b39 100644
--- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PatternParser.java
+++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PatternParser.java
@@ -1687,7 +1687,6 @@ public class PatternParser {
* Parse type variable declarations for a generic method or at the start of a signature pointcut to identify type variable names
* in a generic type.
*
- * @param includeParameterizedTypes
* @return
*/
public TypeVariablePatternList maybeParseTypeVariableList() {
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PointcutEvaluationExpenseComparator.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PointcutEvaluationExpenseComparator.java
index 5f3a3291f..60f3989ea 100644
--- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PointcutEvaluationExpenseComparator.java
+++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PointcutEvaluationExpenseComparator.java
@@ -41,11 +41,11 @@ public class PointcutEvaluationExpenseComparator implements Comparator<Pointcut>
*
* within
*
- * @within staticinitialization [make sure this has a fast match method] adviceexecution handler get, set withincode
- * @withincode execution, initialization, preinitialization call
- * @annotation this, target
- * @this, @target args
- * @args cflow, cflowbelow if
+ * {@literal @}within staticinitialization [make sure this has a fast match method] adviceexecution handler get, set withincode
+ * {@literal @}withincode execution, initialization, preinitialization call
+ * {@literal @}annotation this, target
+ * {@literal @}this, {@literal @}target args
+ * {@literal @}args cflow, cflowbelow if
*/
public int compare(Pointcut p1, Pointcut p2) {
// important property for a well-defined comparator
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/AbstractTrace.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/AbstractTrace.java
index 252a164fe..fe2f86f54 100644
--- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/AbstractTrace.java
+++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/AbstractTrace.java
@@ -189,7 +189,6 @@ public abstract class AbstractTrace implements Trace {
/**
* Format arguments into a comma separated list
*
- * @param names array of argument names
* @param args array of arguments
* @return the formated list
*/
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/PointcutExpression.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/PointcutExpression.java
index 6b598a50c..a2016980d 100644
--- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/PointcutExpression.java
+++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/PointcutExpression.java
@@ -109,7 +109,6 @@ public interface PointcutExpression {
* static initialization of the type).
* @param aMethod the method being called
* @param callerType the declared type of the caller
- * @param receiverType the declared type of the recipient of the call
* @return a ShadowMatch indicating whether the pointcut always, sometimes, or never
* matches join points representing a call to this method during the execution of the given member.
*/
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/StandardPointcutExpression.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/StandardPointcutExpression.java
index 63d908bd2..6ea1eefd1 100644
--- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/StandardPointcutExpression.java
+++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/StandardPointcutExpression.java
@@ -60,7 +60,7 @@ public interface StandardPointcutExpression {
/**
* Determine whether or not this pointcut matches the static initialization of the given class.
*
- * @param aClass the class being statically initialized
+ * @param aType the class being statically initialized
* @return a ShadowMatch indicating whether the pointcut always, sometimes, or never matchs join points representing the static
* initialization of the given type
*/