diff options
author | aclement <aclement> | 2008-03-17 15:56:58 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-03-17 15:56:58 +0000 |
commit | 8f4fc1f22258305e9b67c08f34254a028f1982fd (patch) | |
tree | afa051d4f7b6b6b0389bd546bd80528f3bad9969 | |
parent | 0650df611a0c3f295689636b8eb0eff0fb68fdae (diff) | |
download | aspectj-8f4fc1f22258305e9b67c08f34254a028f1982fd.tar.gz aspectj-8f4fc1f22258305e9b67c08f34254a028f1982fd.zip |
167197: some methods made non final for subclassing
-rw-r--r-- | weaver/src/org/aspectj/weaver/ReferenceType.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/weaver/src/org/aspectj/weaver/ReferenceType.java b/weaver/src/org/aspectj/weaver/ReferenceType.java index 8ffac153b..9f00c2f27 100644 --- a/weaver/src/org/aspectj/weaver/ReferenceType.java +++ b/weaver/src/org/aspectj/weaver/ReferenceType.java @@ -128,11 +128,11 @@ public class ReferenceType extends ResolvedType { typeKind=TypeKind.GENERIC; } - public final boolean isClass() { + public boolean isClass() { return delegate.isClass(); } - public final boolean isGenericType() { + public boolean isGenericType() { return !isParameterizedType() && !isRawType() && delegate.isGeneric(); } @@ -201,7 +201,7 @@ public class ReferenceType extends ResolvedType { } // true iff the statement "this = (ThisType) other" would compile - public final boolean isCoerceableFrom(ResolvedType o) { + public boolean isCoerceableFrom(ResolvedType o) { ResolvedType other = o.resolve(world); if (this.isAssignableFrom(other) || other.isAssignableFrom(this)) { @@ -273,12 +273,12 @@ public class ReferenceType extends ResolvedType { return false; } - public final boolean isAssignableFrom(ResolvedType other) { + public boolean isAssignableFrom(ResolvedType other) { return isAssignableFrom(other,false); } // true iff the statement "this = other" would compile. - public final boolean isAssignableFrom(ResolvedType other,boolean allowMissing) { + public boolean isAssignableFrom(ResolvedType other,boolean allowMissing) { if (other.isPrimitiveType()) { if (!world.isInJava5Mode()) return false; if (ResolvedType.validBoxing.contains(this.getSignature()+other.getSignature())) return true; |