]> source.dussan.org Git - aspectj.git/commitdiff
167197: some methods made non final for subclassing
authoraclement <aclement>
Mon, 17 Mar 2008 15:56:58 +0000 (15:56 +0000)
committeraclement <aclement>
Mon, 17 Mar 2008 15:56:58 +0000 (15:56 +0000)
weaver/src/org/aspectj/weaver/ReferenceType.java

index 8ffac153b567ff53ccc70f5843d08ff1a08e1bb9..9f00c2f274f62c35bc312334215a3cfad7e285da 100644 (file)
@@ -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;