Guava EventBus: will it / should it be GWT-compliant?

since version 10 guava offers com.google.common.eventbus.EventBus - a general pub object. It is not marked as GWT-compatible in the source. I wonder if it is possible to include some code preprocessing in the gwt compiler to map this (partially annotated / reflected) API in javascript.

AFAIK added some additional custom extensions added to the GWT java-to-js compiler, for example com.google.gwt.i18n.client.ConstantsWithLookup and most likely some others. I saw some experimental compiler extensions to add partial support for reflection / annotations, but I'm not sure if they are needed if we are processing a specific set of annotations and a simple enumeration of class annotations-> methods-> (not a complete reflection of the API).

Perhaps someone knows if the GWT inclusion of this component will be planned with the guava dev command?

Thanks Anton

+3
source share

All Articles