java - Annotation for GWT compiler to ignore method -
Is it possible to create an annotation (or some other way) to force the GWT compiler to not compile a method? is? I have a class that I also use on an app engine (in the shared folder) and only one server side is needed for a method that causes the GWT not to be compiled. I should ignore GWT method now (not appending).
I either put an annotation, or pre-compilation script which erases the method before compiling. Both methods will work for me, it would be best if I still compile via Eclipse IDE.
Anyone else thought or tried about it?
Not yet. Very recently this kind of annotation was added to But the patch code was not released yet! The official status is See: Note, there is already the same annotation @ com.google.gwt.core.shared.GwtIncompatible ("Why Details ...") . It applies to classes or methods.
Fixed Not Related . And I personally can confirm that this is not in the current GWT version 2.5.1. I hope for the upcoming 2.5.2.
com In the .google.gwt.thirdparty.guava.common.annotations.GwtIncompatible
Comments
Post a Comment