avoid NPE when looking for this$0 fields
GROOVY-6918: GroovyDoc index-all page seems to list methods from private classes which are broken links
GROOVY-6921: Closure shared variables loose inferred parameter type value