Object[] argumentValues) {
// Panel.add(Widget) throws exception, so make it fatal
if (ReflectionUtils.getMethodSignature(method).equals(
"add(com.google.gwt.user.client.ui.Widget)")) {
if (method.getDeclaringClass().getName().equals("com.google.gwt.user.client.ui.Panel")) {
FatalDesignerException e =
new FatalDesignerException(IExceptionConstants.PANEL_ADD_INVOCATION,
invocation.toString());
e.setSourcePosition(invocation.getStartPosition());
throw e;
}
}
return AstEvaluationEngine.UNKNOWN;
}