|
W1014 Excluded Method Not Found Injection
[Previous]  [Next] 
|
![]() |
User Manual [Previous]  [Next] W1014 Excluded Method Not Found InjectionUmple semantic warning issued when an excluded method is not found in a code injectionWhen excluding methods in a code injection with pattern matching,
a warning will be raised if a method is not found. The exclusion will be ignored. Example
//The warning is generated as the code
//injection excludes getAttr3, which
//is not a method in class A
//The exclusion is ignored
class A {
attr;
attr2;
before getAttr*, !getAttr3 {
}
}
Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears
//Fixing the name of the
//method removes the warning
class A {
attr;
attr2;
before getAttr*, !getAttr2 {
}
}
Load the above code into UmpleOnline |