SI-7246: scalac adds protected $outer field for accesing outer
 class's members, skips adding if it is added in a super class. However if
super class is from java, javac doesn't respect our rules, so we have to add
 anyway.