list of dots Digital Research Alliance of Canada logo  NSERC logo  University of Ottawa logo / UniversitĂ© d'Ottawa

User Manual    [Previous]   [Next]   

W1013 Parameter Specification Does Not Apply

Umple semantic warning issued when parameters are specified on a code injection that does not permit it

Parameter specification on code injection does not apply to certain generated methods.
The code injection will be applied to all generated methods.

Example

//The before statement refers to
//the getAttr method specifying no
//parameters, causing the warning
class A {
  attr;
  
  before getAttr() {
  }
}
      

Load the above code into UmpleOnline

 

Solution to The Above So the Message No Longer Appears

//The method is referred to without
//parameters in the following, avoiding
//the warning
class A {
  attr;
  
  before getAttr {
  }
}
      

Load the above code into UmpleOnline