| MethodScope methodScope = (MethodScope) currentScope;
staticsOnly |= methodScope.isStatic | methodScope.isConstructorCall;
break;
case Scope.CLASS_SCOPE :
ClassScope classScope = (ClassScope) currentScope;
SourceTypeBinding enclosingType = classScope.referenceContext.binding;
searchVisibleFields(
enclosingType,
classScope,
invocationSite,
scope,
staticsOnly,
notInJavadoc,
localsFound,
fieldsFound);
searchVisibleMethods(
enclosingType,
classScope,
invocationSite,
scope,
staticsOnly,
notInJavadoc,
methodsFound);
staticsOnly |= enclosingType.isStatic();
break;
case Scope.COMPILATION_UNIT_SCOPE :
break done2;
}
|