title: What would be the return type of this method in groovy?
body: <p>I have a method such as this:</p>
  
  <pre><code>def getInformation ()  {
  
    return [true, "reason why"]
  }
  </code></pre>
  
  <p>which I'm using like this</p>
  
  <pre><code>def (isClear, reason) = getInformation()
  </code></pre>
  
  <p>Is there way to define a return type for this method so its better to read when someone is going through the method?</p>