You can set the default value to null, and then reset its default value in the method:
private Boolean write(long position, Article article=null) { article = article ?? this; }
(Note also that all parameters other than the default parameters should appear before any default ones.)
source share