summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2005-10-17 15:16:54 +0000
committeraclement <aclement>2005-10-17 15:16:54 +0000
commit04fdd0097b8a915fe072aaa1fdae96cb186dd070 (patch)
tree4e2402e42b8dc8b9096586ba96907608d9b75a09
parent891821ce61818e6aebd82ab3cc59f6ee094e3b2a (diff)
downloadaspectj-04fdd0097b8a915fe072aaa1fdae96cb186dd070.tar.gz
aspectj-04fdd0097b8a915fe072aaa1fdae96cb186dd070.zip
how many spelling mistakes could I make in one comment?
-rw-r--r--weaver/src/org/aspectj/weaver/ConcreteTypeMunger.java12
1 files 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<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>
* 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>
* List<String> foo() { return null; }
+ * </code>
*/
public boolean isTargetTypeParameterized() {
if (munger==null) return false;