diff options
author | Andy Clement <aclement@pivotal.io> | 2018-02-05 11:00:34 -0800 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2018-02-05 11:00:34 -0800 |
commit | 68ed282a061b875e0a5be4e88d10f76d7d9a0bbf (patch) | |
tree | ff63e46e2fd86a4cb274214c9d0a3d2a83b90aed /org.aspectj.matcher | |
parent | d6378eeec8c1928462f8561d23fafda5012b790c (diff) | |
download | aspectj-68ed282a061b875e0a5be4e88d10f76d7d9a0bbf.tar.gz aspectj-68ed282a061b875e0a5be4e88d10f76d7d9a0bbf.zip |
JDT Upgrade for 1.9.0.rc3
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r-- | org.aspectj.matcher/src/org/aspectj/weaver/NewConstructorTypeMunger.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/NewConstructorTypeMunger.java b/org.aspectj.matcher/src/org/aspectj/weaver/NewConstructorTypeMunger.java index 47cfdf505..d7d1ba18d 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/NewConstructorTypeMunger.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/NewConstructorTypeMunger.java @@ -33,6 +33,7 @@ public class NewConstructorTypeMunger extends ResolvedTypeMunger { } + @Override public boolean equals(Object other) { if (!(other instanceof NewConstructorTypeMunger)) { return false; @@ -56,6 +57,7 @@ public class NewConstructorTypeMunger extends ResolvedTypeMunger { private volatile int hashCode = 0; + @Override public int hashCode() { if (hashCode == 0) { int result = 17; @@ -71,6 +73,7 @@ public class NewConstructorTypeMunger extends ResolvedTypeMunger { // return AjcMemberMaker.interMethodBody(signature, aspectType); // } + @Override public void write(CompressingDataOutputStream s) throws IOException { kind.write(s); signature.write(s); @@ -111,6 +114,7 @@ public class NewConstructorTypeMunger extends ResolvedTypeMunger { hashCode = 0; } + @Override public ResolvedMember getMatchingSyntheticMember(Member member, ResolvedType aspectType) { ResolvedMember ret = getSyntheticConstructor(); if (ResolvedType.matches(ret, member)) { @@ -129,6 +133,7 @@ public class NewConstructorTypeMunger extends ResolvedTypeMunger { /** * see ResolvedTypeMunger.parameterizedFor(ResolvedType) */ + @Override public ResolvedTypeMunger parameterizedFor(ResolvedType target) { ResolvedType genericType = target; if (target.isRawType() || target.isParameterizedType()) { |