if (needs.framing() == Framing.Full) {
Set<String> frameAwareMethods = new HashSet<String>();
AnnotationHelper.addMethodNamesToSet(frameAwareMethods, jrubyMethod, simpleName);
MethodIndex.FRAME_AWARE_METHODS.addAll(frameAwareMethods);
}
if (needs.scoping() == Scoping.Full) {
Set<String> scopeAwareMethods = new HashSet<String>();
AnnotationHelper.addMethodNamesToSet(scopeAwareMethods, jrubyMethod, simpleName);
MethodIndex.SCOPE_AWARE_METHODS.addAll(scopeAwareMethods);
}