From 04fdd0097b8a915fe072aaa1fdae96cb186dd070 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 17 Oct 2005 15:16:54 +0000 Subject: how many spelling mistakes could I make in one comment? --- weaver/src/org/aspectj/weaver/ConcreteTypeMunger.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/weaver/src/org/aspectj/weaver/ConcreteTypeMunger.java b/weaver/src/org/aspectj/weaver/ConcreteTypeMunger.java index 75faa5194..cacaa37d4 100644 --- a/weaver/src/org/aspectj/weaver/ConcreteTypeMunger.java +++ b/weaver/src/org/aspectj/weaver/ConcreteTypeMunger.java @@ -83,17 +83,21 @@ public abstract class ConcreteTypeMunger implements PartialOrder.PartialComparab } /** - * ITDs can be made on generic types and 'share' type variables with - * the generic type. In this case we may need to 'tailor' the munger - * for addition to a particulra type. For eaxmple: + * returns true if the ITD target type used type variables, for example I. + * 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: + * * interface I {} * * aspect X implements I { * List I.foo { return null; } * } - * + * * In this case the munger matches X but it matches with the form + * * List foo() { return null; } + * */ public boolean isTargetTypeParameterized() { if (munger==null) return false; -- cgit v1.2.3