I was wondering if there's a way (such as a javadoc annotation) to
tell the GWT Compiler to ignore a method during compilation.  The
example I have is of a class that has a constructor that uses
reflection to do something during creation.  Since GWT can't support
reflection, and the constructor is not the default constructor, nor is
that constructor used by GWT, I'd like to simply have GWT ignore its
existence.  Any ideas?  Thanks!

Here's an example of the constructor I'd like to have GWT skip:

public NumericId(String id) throws IllegalArgumentException,
SecurityException, InstantiationException, IllegalAccessException,
InvocationTargetException, NoSuchMethodException{
        this.id = (T)this.id.getClass().getDeclaredConstructor
(String.class).newInstance(id);
}

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to