summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2005-07-27 11:49:03 +0000
committeraclement <aclement>2005-07-27 11:49:03 +0000
commit5cc6458f94ee0ac32210b3779ec8c46319d45005 (patch)
tree1458058b196293cc7294b8682502d3a07b8ed90d /weaver
parentc91b611395368c71ca3bac6b8014a49e917099a7 (diff)
downloadaspectj-5cc6458f94ee0ac32210b3779ec8c46319d45005.tar.gz
aspectj-5cc6458f94ee0ac32210b3779ec8c46319d45005.zip
genericmethoditd: record a rank/declaringelement, like their Eclipse counterparts.
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/TypeVariable.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/TypeVariable.java b/weaver/src/org/aspectj/weaver/TypeVariable.java
index 9f04f55f9..046d22ba9 100644
--- a/weaver/src/org/aspectj/weaver/TypeVariable.java
+++ b/weaver/src/org/aspectj/weaver/TypeVariable.java
@@ -30,6 +30,10 @@ public class TypeVariable {
*/
private String name;
+ private int rank;
+
+ private TypeVariableDeclaringElement declaringElement;
+
/**
* the upper bound of the type variable (default to Object).
* From the extends clause, eg. T extends Number.
@@ -222,5 +226,21 @@ public class TypeVariable {
}
return sb.toString();
}
+
+ public void setRank(int rank) {
+ this.rank=rank;
+ }
+
+ public int getRank() {
+ return rank;
+ }
+
+ public void setDeclaringElement(TypeVariableDeclaringElement element) {
+ this.declaringElement = element;
+ }
+
+ public TypeVariableDeclaringElement getDeclaringElement() {
+ return declaringElement;
+ }
}