diff options
author | Jerry James <loganjerry@gmail.com> | 2020-09-14 08:25:20 -0600 |
---|---|---|
committer | Jerry James <loganjerry@gmail.com> | 2020-09-14 08:25:20 -0600 |
commit | f8f117808bef16efd520803636c6841332e83c49 (patch) | |
tree | 189a20fe29beae3e6aa0d25261853cdc5230d05e /org.aspectj.matcher | |
parent | f7f7656f81f9a84f92920492ab619accfaeb1ccf (diff) | |
download | aspectj-f8f117808bef16efd520803636c6841332e83c49.tar.gz aspectj-f8f117808bef16efd520803636c6841332e83c49.zip |
Fix misplaced or incorrectly nested HTML tags
Diffstat (limited to 'org.aspectj.matcher')
8 files changed, 24 insertions, 25 deletions
diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/ConcreteTypeMunger.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/ConcreteTypeMunger.java index b8f344f2e..153e73d06 100644 --- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/ConcreteTypeMunger.java +++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/ConcreteTypeMunger.java @@ -109,13 +109,13 @@ public abstract class ConcreteTypeMunger implements PartialOrder.PartialComparab /** * returns true if the ITD target type used type variables, for example I<T>. When they are specified like this, the ITDs * 'share' type variables with the generic type. Usually this method is called because we need to know whether to tailor the - * munger for addition to a particular type. For example: <code> + * munger for addition to a particular type. For example: <pre><code> * interface I<T> {} * * aspect X implements I<String> { * List<T> I<T>.foo { return null; } * } - * </code> In this case the munger matches X but it matches with the form <code> + * </code></pre> In this case the munger matches X but it matches with the form <code> * List<String> foo() { return null; } * </code> */ 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 b78f855a5..59f767148 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 @@ -202,14 +202,14 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl /** * returns an iterator through all of the fields of this type, in order for checking from JVM spec 2ed 5.4.3.2. This means that * the order is - * <p/> * <ul> * <li>fields from current class</li> * <li>recur into direct superinterfaces</li> * <li>recur into superclass</li> * </ul> - * <p/> + * <p> * We keep a hashSet of interfaces that we've visited so we don't spiral out into 2^n land. + * </p> */ public Iterator<ResolvedMember> getFields() { final Iterators.Filter<ResolvedType> dupFilter = Iterators.dupFilter(); @@ -225,13 +225,11 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl /** * returns an iterator through all of the methods of this type, in order for checking from JVM spec 2ed 5.4.3.3. This means that * the order is - * <p/> * <ul> * <li>methods from current class</li> * <li>recur into superclass, all the way up, not touching interfaces</li> * <li>recur into all superinterfaces, in some unspecified order (but those 'closest' to this type are first)</li> * </ul> - * <p/> * * @param wantGenerics is true if the caller would like all generics information, otherwise those methods are collapsed to their * erasure @@ -739,14 +737,14 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl /** * returns an iterator through all of the pointcuts of this type, in order for checking from JVM spec 2ed 5.4.3.2 (as for * fields). This means that the order is - * <p/> * <ul> * <li>pointcuts from current class</li> * <li>recur into direct superinterfaces</li> * <li>recur into superclass</li> * </ul> - * <p/> + * <p> * We keep a hashSet of interfaces that we've visited so we don't spiral out into 2^n land. + * </p> */ public Iterator<ResolvedMember> getPointcuts() { final Iterators.Filter<ResolvedType> dupFilter = Iterators.dupFilter(); @@ -1557,10 +1555,11 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl /** * Returns a ResolvedType object representing the declaring type of this type, or null if this type does not represent a * non-package-level-type. - * <p/> + * <p> * <strong>Warning</strong>: This is guaranteed to work for all member types. For anonymous/local types, the only guarantee is * given in JLS 13.1, where it guarantees that if you call getDeclaringType() repeatedly, you will eventually get the top-level * class, but it does not say anything about classes in between. + * </p> * * @return the declaring type, or null if it is not an nested type. */ @@ -2672,10 +2671,9 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl /** * Determines if values of another type could possibly be cast to this type. The rules followed are from JLS 2ed 5.5, * "Casting Conversion". - * <p/> * <p> * This method should be commutative, i.e., for all UnresolvedType a, b and all World w: - * <p/> + * </p> * <blockquote> * * <pre> diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/BindingAnnotationFieldTypePattern.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/BindingAnnotationFieldTypePattern.java index 707f1e79e..0cbd65a2d 100644 --- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/BindingAnnotationFieldTypePattern.java +++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/BindingAnnotationFieldTypePattern.java @@ -31,11 +31,11 @@ import org.aspectj.weaver.WeaverMessages; import org.aspectj.weaver.World; /** - * Represents an attempt to bind the field of an annotation within a pointcut. For example:<br> - * <code><pre> + * Represents an attempt to bind the field of an annotation within a pointcut. For example: + * <pre><code> * before(Level lev): execution(* *(..)) && @annotation(TraceAnnotation(lev)) - * </pre></code><br> - * This binding annotation type pattern will be for 'lev'. + * </code></pre> + * <p>This binding annotation type pattern will be for 'lev'.</p> */ public class BindingAnnotationFieldTypePattern extends ExactAnnotationTypePattern implements BindingPattern { diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/ExactAnnotationFieldTypePattern.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/ExactAnnotationFieldTypePattern.java index bef0d145c..9d5fd8bd3 100644 --- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/ExactAnnotationFieldTypePattern.java +++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/ExactAnnotationFieldTypePattern.java @@ -28,11 +28,11 @@ import org.aspectj.weaver.VersionedDataInputStream; import org.aspectj.weaver.World; /** - * Represents an attempt to bind the field of an annotation within a pointcut. For example:<br> - * <code><pre> + * Represents an attempt to bind the field of an annotation within a pointcut. For example: + * <pre><code> * before(Level lev): execution(* *(..)) && @annotation(TraceAnnotation(lev)) - * </pre></code><br> - * This binding annotation type pattern will be for 'lev'. + * </code></pre> + * <p>This binding annotation type pattern will be for 'lev'.</p> */ public class ExactAnnotationFieldTypePattern extends ExactAnnotationTypePattern { diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/FormalBinding.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/FormalBinding.java index 73693f07c..36ff22198 100644 --- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/FormalBinding.java +++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/FormalBinding.java @@ -71,7 +71,7 @@ public class FormalBinding implements IHasPosition { * A marker class for bindings for which we want to ignore unbound issue and consider them as implicit binding - f.e. to handle * JoinPoint in @AJ advices * - * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> + * @author Alexandre Vasseur (alex AT gnilux DOT com) */ public static class ImplicitFormalBinding extends FormalBinding { public ImplicitFormalBinding(UnresolvedType type, String name, int index) { diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/HasMemberTypePatternForPerThisMatching.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/HasMemberTypePatternForPerThisMatching.java index 128338f8e..66c395dd7 100644 --- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/HasMemberTypePatternForPerThisMatching.java +++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/HasMemberTypePatternForPerThisMatching.java @@ -19,11 +19,11 @@ import org.aspectj.weaver.ConcreteTypeMunger; import org.aspectj.weaver.ResolvedType; /** - * pr354470. This is a special subtype of HasMemberTypePattern. In order to optimize this situation: <br> - * <code><pre> + * pr354470. This is a special subtype of HasMemberTypePattern. In order to optimize this situation: + * <pre><code> * aspect X perthis(transactional()) {<br> * pointcut transactional: execution(@Foo * *(..));<br> - * </pre></code> + * </code></pre> * <p> * When this occurs we obviously only want an aspect instance when there is a method annotated with @Foo. For a regular execution * pointcut we couldn't really do this due to the multiple joinpoint signatures for each joinpoint (and so lots of types get the @@ -36,6 +36,7 @@ import org.aspectj.weaver.ResolvedType; * subclass is created to say 'if the supertype thinks it is a match, great, but if it doesnt then if there are ITDs on the target, * they might match so just say 'true''. Note that returning true is just confirming whether the 'mightHaveAspect' interface (and * friends) are getting added. + * </p> * * @author Andy Clement */ diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PatternNodeVisitor.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PatternNodeVisitor.java index 336a33e51..98abec146 100644 --- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PatternNodeVisitor.java +++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PatternNodeVisitor.java @@ -16,7 +16,7 @@ package org.aspectj.weaver.patterns; /** * A Pointcut or TypePattern visitor * - * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> + * @author Alexandre Vasseur (alex AT gnilux DOT com) */ public interface PatternNodeVisitor { diff --git a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PerThisOrTargetPointcutVisitor.java b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PerThisOrTargetPointcutVisitor.java index b5d4e967d..100754a77 100644 --- a/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PerThisOrTargetPointcutVisitor.java +++ b/org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PerThisOrTargetPointcutVisitor.java @@ -21,7 +21,7 @@ import org.aspectj.weaver.Shadow; * Foo+ (this one is a special case..) - pertarget(execution(* Foo.do()) → Foo - perthis(call(* Foo.do()) → * - perthis(!call(* * Foo.do()) → * (see how the ! has been absorbed here..) * - * @author <a href="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a> + * @author Alexandre Vasseur (alex AT gnilux DOT com) */ public class PerThisOrTargetPointcutVisitor extends AbstractPatternNodeVisitor { |