if (methodWrapper != null) {
if (methodWrapper != null && methodWrapper.getMethodCall().hasCallLocations()) {
    private void updateLocationsView(MethodWrapper methodWrapper) {        if (methodWrapper != null) {            fLocationViewer.setInput(methodWrapper.getMethodCall().getCallLocations());        } else {            fLocationViewer.setInput(""); //$NON-NLS-1$        }    }