]> source.dussan.org Git - aspectj.git/commitdiff
added unchecked match warning
authoracolyer <acolyer>
Tue, 9 Aug 2005 12:57:09 +0000 (12:57 +0000)
committeracolyer <acolyer>
Tue, 9 Aug 2005 12:57:09 +0000 (12:57 +0000)
weaver/src/org/aspectj/weaver/Lint.java
weaver/src/org/aspectj/weaver/XlintDefault.properties

index 5e8f0d0e59de7d8aff66f15a3d078f04a9a1e250..e92593fce84c4d1a9e2fdcc54bc514463472893e 100644 (file)
@@ -86,6 +86,9 @@ public class Lint {
        public final Kind runtimeExceptionNotSoftened = 
                new Kind("runtimeExceptionNotSoftened","{0} will not be softened as it is already a RuntimeException");
        
+       public final Kind uncheckedArgument =
+               new Kind("uncheckedArgument","unchecked match of {0} with {1} when argument is an instance of {2} at join point {3}");
+       
     public Lint(World world) {
                this.world = world;
        }
index dc651aa8df28bd156525c6d437ffea69c8c95a6c..826ee911a8860b83a746a6611bc415e766c87791 100644 (file)
@@ -23,4 +23,5 @@ annotationAsTargetForDecpIgnored = warning
 adviceDidNotMatch = warning
 invalidTargetForAnnotation = warning
 elementAlreadyAnnotated = warning
-runtimeExceptionNotSoftened = warning
\ No newline at end of file
+runtimeExceptionNotSoftened = warning
+uncheckedArgument = warning
\ No newline at end of file