Prints a newline to the current 'out' variable which should be a PrintWriter or at least have a println() method defined on it. If there is no 'out' property then print to standard out.
()
| 153 | * If there is no 'out' property then print to standard out. |
| 154 | */ |
| 155 | public void println() { |
| 156 | Object object; |
| 157 | |
| 158 | try { |
| 159 | object = getProperty("out"); |
| 160 | } catch (MissingPropertyException e) { |
| 161 | System.out.println(); |
| 162 | return; |
| 163 | } |
| 164 | |
| 165 | InvokerHelper.invokeMethod(object, "println", ArgumentListExpression.EMPTY_ARRAY); |
| 166 | } |
| 167 | |
| 168 | /** |
| 169 | * Prints the value to the current 'out' variable which should be a PrintWriter |