* Here is an example use of a manual {@link ProviderBundle}: *
* public class MyPresenterBundle extends ProviderBundle {
@@ -36,8 +36,8 @@
*
* @Inject
* MyPresenterBundle(
- * final Provider object1Provider,
- * final Provider object2Provider) {
+ * final Provider<Object1> object1Provider,
+ * final Provider<Object2> object2Provider) {
* super( BUNDLE_SIZE );
* providers[ID_Object1] = object1Provider;
* providers[ID_Object2] = object2Provider;
diff --git a/gwtp-core/gwtp-clients-common/src/main/java/com/gwtplatform/common/client/StandardProvider.java b/gwtp-core/gwtp-clients-common/src/main/java/com/gwtplatform/common/client/StandardProvider.java
index aacca15b8a..b59998b2b2 100644
--- a/gwtp-core/gwtp-clients-common/src/main/java/com/gwtplatform/common/client/StandardProvider.java
+++ b/gwtp-core/gwtp-clients-common/src/main/java/com/gwtplatform/common/client/StandardProvider.java
@@ -16,10 +16,10 @@
package com.gwtplatform.common.client;
-import javax.inject.Provider;
-
import com.google.gwt.user.client.rpc.AsyncCallback;
+import jakarta.inject.Provider;
+
/**
* An {@link IndirectProvider} that immediately gets the object and invokes the callback, without performing code
* splitting. This is essentially the same as a standard {@link Provider}, but shares the interface of other {@link
diff --git a/gwtp-core/gwtp-clients-common/src/main/java/com/gwtplatform/common/processors/bundles/NamedProviderBundleCollectionProcessor.java b/gwtp-core/gwtp-clients-common/src/main/java/com/gwtplatform/common/processors/bundles/NamedProviderBundleCollectionProcessor.java
index 9a56e3155f..067cb6e808 100644
--- a/gwtp-core/gwtp-clients-common/src/main/java/com/gwtplatform/common/processors/bundles/NamedProviderBundleCollectionProcessor.java
+++ b/gwtp-core/gwtp-clients-common/src/main/java/com/gwtplatform/common/processors/bundles/NamedProviderBundleCollectionProcessor.java
@@ -22,7 +22,6 @@
import javax.annotation.processing.Processor;
import javax.annotation.processing.RoundEnvironment;
-import javax.inject.Singleton;
import javax.lang.model.element.Element;
import javax.lang.model.element.TypeElement;
@@ -34,6 +33,8 @@
import com.gwtplatform.processors.tools.bindings.BindingsProcessors;
import com.gwtplatform.processors.tools.domain.Type;
+import jakarta.inject.Singleton;
+
import static com.google.auto.common.MoreElements.asType;
import static com.gwtplatform.common.processors.module.GwtpAppModuleProcessor.MAIN_MODULE_TYPE;
import static com.gwtplatform.processors.tools.bindings.BindingContext.newBinding;
diff --git a/gwtp-core/gwtp-clients-common/src/main/java/com/gwtplatform/common/processors/bundles/ProviderBundleMetaInfReader.java b/gwtp-core/gwtp-clients-common/src/main/java/com/gwtplatform/common/processors/bundles/ProviderBundleMetaInfReader.java
index f1137e965c..25a2484296 100644
--- a/gwtp-core/gwtp-clients-common/src/main/java/com/gwtplatform/common/processors/bundles/ProviderBundleMetaInfReader.java
+++ b/gwtp-core/gwtp-clients-common/src/main/java/com/gwtplatform/common/processors/bundles/ProviderBundleMetaInfReader.java
@@ -41,7 +41,6 @@
import com.gwtplatform.processors.tools.logger.Logger;
import static java.nio.file.Files.newInputStream;
-
import static com.google.common.io.CharStreams.readLines;
import static com.google.common.io.Files.getNameWithoutExtension;
diff --git a/gwtp-core/gwtp-clients-common/src/main/resources/com/gwtplatform/common/ClientsCommon.gwt.xml b/gwtp-core/gwtp-clients-common/src/main/resources/com/gwtplatform/common/ClientsCommon.gwt.xml
index fea77ac7e0..d50f08f44c 100644
--- a/gwtp-core/gwtp-clients-common/src/main/resources/com/gwtplatform/common/ClientsCommon.gwt.xml
+++ b/gwtp-core/gwtp-clients-common/src/main/resources/com/gwtplatform/common/ClientsCommon.gwt.xml
@@ -1,6 +1,6 @@
-
+
@@ -11,9 +11,9 @@
-
+
-
+
diff --git a/gwtp-core/gwtp-clients-common/src/main/resources/com/gwtplatform/common/processors/bundles/NamedProviderBundleAggregate.vm b/gwtp-core/gwtp-clients-common/src/main/resources/com/gwtplatform/common/processors/bundles/NamedProviderBundleAggregate.vm
index 6afc10222a..587f398f7a 100644
--- a/gwtp-core/gwtp-clients-common/src/main/resources/com/gwtplatform/common/processors/bundles/NamedProviderBundleAggregate.vm
+++ b/gwtp-core/gwtp-clients-common/src/main/resources/com/gwtplatform/common/processors/bundles/NamedProviderBundleAggregate.vm
@@ -1,11 +1,12 @@
package $impl.packageName;
+import jakarta.inject.Inject;
+import jakarta.inject.Provider;
+
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
-import javax.inject.Inject;
-import javax.inject.Provider;
import com.gwtplatform.common.client.NamedProviderBundle;
#printImports($imports)
diff --git a/gwtp-core/gwtp-clients-common/src/main/resources/com/gwtplatform/common/processors/bundles/NamedProviderBundleCollection.vm b/gwtp-core/gwtp-clients-common/src/main/resources/com/gwtplatform/common/processors/bundles/NamedProviderBundleCollection.vm
index f0b751b68b..aadf4f9aea 100644
--- a/gwtp-core/gwtp-clients-common/src/main/resources/com/gwtplatform/common/processors/bundles/NamedProviderBundleCollection.vm
+++ b/gwtp-core/gwtp-clients-common/src/main/resources/com/gwtplatform/common/processors/bundles/NamedProviderBundleCollection.vm
@@ -4,7 +4,8 @@ import java.util.Map;
import java.util.HashMap;
import javax.annotation.Generated;
-import javax.inject.Inject;
+
+import jakarta.inject.Inject;
import com.google.gwt.inject.client.AsyncProvider;
import com.gwtplatform.common.client.NamedProviderBundle;
diff --git a/gwtp-core/gwtp-crawler/pom.xml b/gwtp-core/gwtp-crawler/pom.xml
index 14fee2b8cc..cec3dba8ca 100644
--- a/gwtp-core/gwtp-crawler/pom.xml
+++ b/gwtp-core/gwtp-crawler/pom.xml
@@ -32,8 +32,8 @@
- javax.servlet
- javax.servlet-api
+ jakarta.servlet
+ jakarta.servlet-api
diff --git a/gwtp-core/gwtp-crawler/src/main/java/com/gwtplatform/crawler/server/CrawlFilter.java b/gwtp-core/gwtp-crawler/src/main/java/com/gwtplatform/crawler/server/CrawlFilter.java
index 69127c7b43..93069af8ae 100644
--- a/gwtp-core/gwtp-crawler/src/main/java/com/gwtplatform/crawler/server/CrawlFilter.java
+++ b/gwtp-core/gwtp-crawler/src/main/java/com/gwtplatform/crawler/server/CrawlFilter.java
@@ -27,16 +27,16 @@
import java.net.URLEncoder;
import java.util.logging.Logger;
-import javax.inject.Inject;
-import javax.inject.Singleton;
-import javax.servlet.Filter;
-import javax.servlet.FilterChain;
-import javax.servlet.FilterConfig;
-import javax.servlet.ServletException;
-import javax.servlet.ServletRequest;
-import javax.servlet.ServletResponse;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
+import jakarta.inject.Inject;
+import jakarta.inject.Singleton;
+import jakarta.servlet.Filter;
+import jakarta.servlet.FilterChain;
+import jakarta.servlet.FilterConfig;
+import jakarta.servlet.ServletException;
+import jakarta.servlet.ServletRequest;
+import jakarta.servlet.ServletResponse;
+import jakarta.servlet.http.HttpServletRequest;
+import jakarta.servlet.http.HttpServletResponse;
/**
* Servlet that makes this application crawlable.
diff --git a/gwtp-core/gwtp-crawler/src/main/java/com/gwtplatform/crawler/server/ServiceKey.java b/gwtp-core/gwtp-crawler/src/main/java/com/gwtplatform/crawler/server/ServiceKey.java
index 53cdd762a2..f164d76f99 100644
--- a/gwtp-core/gwtp-crawler/src/main/java/com/gwtplatform/crawler/server/ServiceKey.java
+++ b/gwtp-core/gwtp-crawler/src/main/java/com/gwtplatform/crawler/server/ServiceKey.java
@@ -28,7 +28,7 @@
/**
* Use this annotation to bind the key that should be used when invoking
- * {@link CrawlServiceServlet}. For example:
+ * {@code CrawlServiceServlet}. For example:
* bindConstant().annotatedWith(ServiceKey.class).to("123456");
*
*/
diff --git a/gwtp-core/gwtp-dispatch-common-client/pom.xml b/gwtp-core/gwtp-dispatch-common-client/pom.xml
index ccea571abe..9796873bb6 100644
--- a/gwtp-core/gwtp-dispatch-common-client/pom.xml
+++ b/gwtp-core/gwtp-dispatch-common-client/pom.xml
@@ -22,11 +22,11 @@
gwtp-dispatch-common-shared
* To use this class you have to bind a constant string annotated with {@code @}{@link SecurityCookie} to your desired * cookie name. */ diff --git a/gwtp-core/gwtp-dispatch-common-client/src/main/java/com/gwtplatform/dispatch/client/DelegatingDispatchRequest.java b/gwtp-core/gwtp-dispatch-common-client/src/main/java/com/gwtplatform/dispatch/client/DelegatingDispatchRequest.java index 2178a807ae..d837deeba3 100644 --- a/gwtp-core/gwtp-dispatch-common-client/src/main/java/com/gwtplatform/dispatch/client/DelegatingDispatchRequest.java +++ b/gwtp-core/gwtp-dispatch-common-client/src/main/java/com/gwtplatform/dispatch/client/DelegatingDispatchRequest.java @@ -19,9 +19,9 @@ import com.gwtplatform.dispatch.shared.DispatchRequest; /** - * An implementation of {@link DispatchRequest} that is used in conjunction with {@link - * com.gwtplatform.dispatch.client.interceptor.Interceptor Interceptor}s. - *
+ * An implementation of {@link DispatchRequest} that is used in conjunction with {@code + * com.gwtplatform.dispatch.client.interceptor.Interceptor}s. + ** As the interceptor implementation may be provided asynchronously, the {@code DelegatingAsyncCallback} will initially * not contain a {@link DispatchRequest}. Once the interceptor is executed, this will be populated with a {@link * DispatchRequest} by calling {@link #setDelegate(DispatchRequest)}. @@ -35,7 +35,7 @@ public DelegatingDispatchRequest() { /** * Assign the delegated {@link DispatchRequest} for this object. - *
+ *
* If the code that requested the command to be executed has already chosen to cancel the {@link DispatchRequest},
* the {@link DispatchRequest} that has been passed will be immediately cancelled.
*
diff --git a/gwtp-core/gwtp-dispatch-common-client/src/main/java/com/gwtplatform/dispatch/client/ExecuteCommand.java b/gwtp-core/gwtp-dispatch-common-client/src/main/java/com/gwtplatform/dispatch/client/ExecuteCommand.java
index 267174096a..ca97fc8f6e 100644
--- a/gwtp-core/gwtp-dispatch-common-client/src/main/java/com/gwtplatform/dispatch/client/ExecuteCommand.java
+++ b/gwtp-core/gwtp-dispatch-common-client/src/main/java/com/gwtplatform/dispatch/client/ExecuteCommand.java
@@ -19,7 +19,7 @@
import com.gwtplatform.dispatch.shared.DispatchRequest;
/**
- * The interface that {@link com.gwtplatform.dispatch.client.interceptor.Interceptor Interceptor}s use to send the
+ * The interface that {@code com.gwtplatform.dispatch.client.interceptor.Interceptor}s use to send the
* action to execute to the server.
*
* @param The action type.
diff --git a/gwtp-core/gwtp-dispatch-common-client/src/main/java/com/gwtplatform/dispatch/client/GwtHttpDispatchRequest.java b/gwtp-core/gwtp-dispatch-common-client/src/main/java/com/gwtplatform/dispatch/client/GwtHttpDispatchRequest.java
index d44a73be78..3fb7202b44 100644
--- a/gwtp-core/gwtp-dispatch-common-client/src/main/java/com/gwtplatform/dispatch/client/GwtHttpDispatchRequest.java
+++ b/gwtp-core/gwtp-dispatch-common-client/src/main/java/com/gwtplatform/dispatch/client/GwtHttpDispatchRequest.java
@@ -21,7 +21,7 @@
/**
* An implementation of {@link DispatchRequest} that is an adapter for {@link Request}.
- *
+ *
* If the code that requested the command to be executed chooses to cancel the {@link DispatchRequest} and the
* {@link Request} that has been passed is still pending, it will be cancelled.
*/
diff --git a/gwtp-core/gwtp-dispatch-common-client/src/main/java/com/gwtplatform/dispatch/client/gin/AbstractDispatchAsyncModule.java b/gwtp-core/gwtp-dispatch-common-client/src/main/java/com/gwtplatform/dispatch/client/gin/AbstractDispatchAsyncModule.java
index c99e9945cd..bd07175e6d 100644
--- a/gwtp-core/gwtp-dispatch-common-client/src/main/java/com/gwtplatform/dispatch/client/gin/AbstractDispatchAsyncModule.java
+++ b/gwtp-core/gwtp-dispatch-common-client/src/main/java/com/gwtplatform/dispatch/client/gin/AbstractDispatchAsyncModule.java
@@ -28,27 +28,21 @@
* This gin module provides provides access to the dispatcher singleton, which is used to make calls to the server. This
* module requires a {@link SecurityCookieAccessor} which is, by default, bound to
* {@link DefaultSecurityCookieAccessor}.
- *
* Install the module in one of your {@link #configure()} methods:
- *
*
* By default, this builder configures the {@link AbstractDispatchAsyncModule} to use {@link
* DefaultSecurityCookieAccessor}.
- *
- * @see com.gwtplatform.dispatch.rpc.client.gin.RpcDispatchAsyncModule.Builder
- * @see com.gwtplatform.dispatch.rest.client.gin.RestDispatchAsyncModule.Builder
*/
public abstract static class Builder> {
private Class extends SecurityCookieAccessor> sessionAccessorType = DefaultSecurityCookieAccessor.class;
diff --git a/gwtp-core/gwtp-dispatch-common-client/src/main/resources/com/gwtplatform/dispatch/DispatchCommonClient.gwt.xml b/gwtp-core/gwtp-dispatch-common-client/src/main/resources/com/gwtplatform/dispatch/DispatchCommonClient.gwt.xml
index 76eb8a94b7..c199bbd4b2 100644
--- a/gwtp-core/gwtp-dispatch-common-client/src/main/resources/com/gwtplatform/dispatch/DispatchCommonClient.gwt.xml
+++ b/gwtp-core/gwtp-dispatch-common-client/src/main/resources/com/gwtplatform/dispatch/DispatchCommonClient.gwt.xml
@@ -1,6 +1,6 @@
-
+
* Important! Make sure your method returns a value that does not depend on client-side information,
* otherwise it could be tampered with to turn a secure action into an insecure one. An example of a bad practice
* would be to store a {@code boolean secured} member and return that. Since this field is serialized, the user
diff --git a/gwtp-core/gwtp-dispatch-common-shared/src/main/java/com/gwtplatform/dispatch/shared/SecurityCookie.java b/gwtp-core/gwtp-dispatch-common-shared/src/main/java/com/gwtplatform/dispatch/shared/SecurityCookie.java
index c9affb7ea5..549c8d91da 100644
--- a/gwtp-core/gwtp-dispatch-common-shared/src/main/java/com/gwtplatform/dispatch/shared/SecurityCookie.java
+++ b/gwtp-core/gwtp-dispatch-common-shared/src/main/java/com/gwtplatform/dispatch/shared/SecurityCookie.java
@@ -25,12 +25,12 @@
/**
* Bind this annotation on the string you want to use as a security cookie.
- *
*
+ * see com.gwtplatform.dispatch.client.DefaultSecurityCookieAccessor
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.PARAMETER})
diff --git a/gwtp-core/gwtp-dispatch-common-shared/src/main/java/com/gwtplatform/dispatch/shared/SecurityCookieAccessor.java b/gwtp-core/gwtp-dispatch-common-shared/src/main/java/com/gwtplatform/dispatch/shared/SecurityCookieAccessor.java
index d84a3c77a5..934263c06b 100644
--- a/gwtp-core/gwtp-dispatch-common-shared/src/main/java/com/gwtplatform/dispatch/shared/SecurityCookieAccessor.java
+++ b/gwtp-core/gwtp-dispatch-common-shared/src/main/java/com/gwtplatform/dispatch/shared/SecurityCookieAccessor.java
@@ -20,8 +20,8 @@
* Provides access to the security cookie stored on the client. The goal of this security cookie is to prevent XSRF
* attack. For more details see
* this document.
- *
+ * Notice that the default implementation is {@code com.gwtplatform.dispatch.client.DefaultSecurityCookieAccessor} which
* does not prevent XSRF attacks if {@literal @}{@link SecurityCookie} is not bound.
*/
public interface SecurityCookieAccessor {
diff --git a/gwtp-core/gwtp-dispatch-common-shared/src/main/resources/com/gwtplatform/dispatch/DispatchCommonShared.gwt.xml b/gwtp-core/gwtp-dispatch-common-shared/src/main/resources/com/gwtplatform/dispatch/DispatchCommonShared.gwt.xml
index a69eaf1074..9a67c2d6e5 100644
--- a/gwtp-core/gwtp-dispatch-common-shared/src/main/resources/com/gwtplatform/dispatch/DispatchCommonShared.gwt.xml
+++ b/gwtp-core/gwtp-dispatch-common-shared/src/main/resources/com/gwtplatform/dispatch/DispatchCommonShared.gwt.xml
@@ -1,6 +1,6 @@
-
+
* application/json; charset=utf-8; q=0.9
*/
public static ContentType valueOf(String value) {
diff --git a/gwtp-core/gwtp-dispatch-rest-shared/src/main/java/com/gwtplatform/dispatch/rest/shared/DateFormat.java b/gwtp-core/gwtp-dispatch-rest-shared/src/main/java/com/gwtplatform/dispatch/rest/shared/DateFormat.java
index 4e97c057c3..1f95c668ac 100644
--- a/gwtp-core/gwtp-dispatch-rest-shared/src/main/java/com/gwtplatform/dispatch/rest/shared/DateFormat.java
+++ b/gwtp-core/gwtp-dispatch-rest-shared/src/main/java/com/gwtplatform/dispatch/rest/shared/DateFormat.java
@@ -23,7 +23,7 @@
/**
* Annotation used to specify a date format pattern.
- *
* This annotation may be put on {@link java.util.Date Date} parameters annotated with
* {@link javax.ws.rs.FormParam @FormParam}, {@link javax.ws.rs.QueryParam @QueryParam},
* {@link javax.ws.rs.PathParam @PathParam} or {@link javax.ws.rs.HeaderParam @HeaderParam}.
@@ -34,7 +34,7 @@
/**
*
* ISO 8601 date format.
- *
* Example: {@code 2014-02-25T10:59:26.046-05:00}
*/
String DEFAULT = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZ";
@@ -42,7 +42,7 @@
/**
* The formatting pattern to use for parsing the date. The pattern must follow the rules defined by
* {@link com.google.gwt.i18n.shared.DateTimeFormat DateTimeFormat}.
- *
* If not specified, {@link #DEFAULT} will be used.
*/
String value() default DEFAULT;
diff --git a/gwtp-core/gwtp-dispatch-rest-shared/src/main/java/com/gwtplatform/dispatch/rest/shared/HttpMethod.java b/gwtp-core/gwtp-dispatch-rest-shared/src/main/java/com/gwtplatform/dispatch/rest/shared/HttpMethod.java
index d060165c6b..2935a7bc83 100644
--- a/gwtp-core/gwtp-dispatch-rest-shared/src/main/java/com/gwtplatform/dispatch/rest/shared/HttpMethod.java
+++ b/gwtp-core/gwtp-dispatch-rest-shared/src/main/java/com/gwtplatform/dispatch/rest/shared/HttpMethod.java
@@ -17,7 +17,7 @@
package com.gwtplatform.dispatch.rest.shared;
/**
- * Represents the HTTP methods supported by the {@link com.gwtplatform.dispatch.rest.client.RestDispatch RestDispatch}.
+ * Represents the HTTP methods supported by the {@code com.gwtplatform.dispatch.rest.client.RestDispatch}.
*/
public enum HttpMethod {
GET,
diff --git a/gwtp-core/gwtp-dispatch-rest-shared/src/main/java/com/gwtplatform/dispatch/rest/shared/RestAction.java b/gwtp-core/gwtp-dispatch-rest-shared/src/main/java/com/gwtplatform/dispatch/rest/shared/RestAction.java
index 8e45913a04..85364fedd2 100644
--- a/gwtp-core/gwtp-dispatch-rest-shared/src/main/java/com/gwtplatform/dispatch/rest/shared/RestAction.java
+++ b/gwtp-core/gwtp-dispatch-rest-shared/src/main/java/com/gwtplatform/dispatch/rest/shared/RestAction.java
@@ -21,8 +21,8 @@
import com.gwtplatform.dispatch.shared.HasSecured;
/**
- * An action used by {@link com.gwtplatform.dispatch.rest.client.RestDispatch RestDispatch}.
- *
* You will usually want to let GWTP generate your actions by creating services as explained here.
*
@@ -30,8 +30,8 @@
*/
public interface RestAction
* Making it an {@link EntryPoint} makes sure GWT kicks off the generation as early as possible.
*/
public interface DispatchRestEntryPoint extends EntryPoint {
diff --git a/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/context/RestContext.java b/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/context/RestContext.java
index 83f15957c6..4425d4d097 100644
--- a/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/context/RestContext.java
+++ b/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/context/RestContext.java
@@ -17,6 +17,7 @@
package com.gwtplatform.dispatch.rest.client.context;
import java.util.List;
+import java.util.Objects;
import com.gwtplatform.dispatch.rest.shared.HttpMethod;
import com.gwtplatform.dispatch.rest.shared.HttpParameter;
@@ -142,14 +143,25 @@ public RestContext build() {
@Override
public int hashCode() {
- int result = template != null ? template.hashCode() : 0;
- result = 31 * result + (path != null ? path.hashCode() : 0);
- result = 31 * result + (httpMethod != null ? httpMethod.hashCode() : 0);
- result = 31 * result + queryCount;
- result = 31 * result + (transcendent ? 1 : 0);
- result = 31 * result + (anyHttpMethod ? 1 : 0);
- result = 31 * result + (anyQueryCount ? 1 : 0);
- return result;
+ return Objects.hash(anyHttpMethod, anyQueryCount, httpMethod, path, queryCount, template, transcendent);
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj) {
+ return true;
+ }
+ if (obj == null) {
+ return false;
+ }
+ if (getClass() != obj.getClass()) {
+ return false;
+ }
+ Builder other = (Builder) obj;
+ return anyHttpMethod == other.anyHttpMethod && anyQueryCount == other.anyQueryCount
+ && httpMethod == other.httpMethod && Objects.equals(path, other.path)
+ && queryCount == other.queryCount && Objects.equals(template, other.template)
+ && transcendent == other.transcendent;
}
}
diff --git a/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/core/CoreModule.java b/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/core/CoreModule.java
index 9d0fc8ee51..0a80fd7d78 100644
--- a/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/core/CoreModule.java
+++ b/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/core/CoreModule.java
@@ -16,12 +16,12 @@
package com.gwtplatform.dispatch.rest.client.core;
-import javax.inject.Singleton;
-
import com.google.gwt.inject.client.AbstractGinModule;
import com.gwtplatform.dispatch.rest.client.RestDispatch;
import com.gwtplatform.dispatch.rest.client.filter.RestFilterChain;
+import jakarta.inject.Singleton;
+
public class CoreModule extends AbstractGinModule {
private final CoreModuleBuilder builder;
diff --git a/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/core/DefaultBodyFactory.java b/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/core/DefaultBodyFactory.java
index d6a7a964eb..8c8010ba4d 100644
--- a/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/core/DefaultBodyFactory.java
+++ b/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/core/DefaultBodyFactory.java
@@ -19,8 +19,6 @@
import java.util.List;
import java.util.Set;
-import javax.inject.Inject;
-import javax.inject.Provider;
import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.MediaType;
@@ -33,6 +31,9 @@
import com.gwtplatform.dispatch.rest.shared.RestAction;
import com.gwtplatform.dispatch.shared.ActionException;
+import jakarta.inject.Inject;
+import jakarta.inject.Provider;
+
public class DefaultBodyFactory implements BodyFactory {
private final Provider
* Default is {@link com.gwtplatform.dispatch.rest.shared.DateFormat#DEFAULT}.
*
* @param defaultDateFormat The pattern used to format dates.
diff --git a/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/gin/RestDispatchAsyncModule.java b/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/gin/RestDispatchAsyncModule.java
index 1077b21732..5a5292be2d 100644
--- a/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/gin/RestDispatchAsyncModule.java
+++ b/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/gin/RestDispatchAsyncModule.java
@@ -16,8 +16,6 @@
package com.gwtplatform.dispatch.rest.client.gin;
-import javax.inject.Singleton;
-
import com.google.inject.Provides;
import com.gwtplatform.common.client.CommonGinModule;
import com.gwtplatform.dispatch.client.gin.AbstractDispatchAsyncModule;
@@ -31,12 +29,14 @@
import com.gwtplatform.dispatch.rest.client.filter.RestFilterRegistry;
import com.gwtplatform.dispatch.rest.client.serialization.SerializationModule;
+import jakarta.inject.Singleton;
+
/**
* An implementation of {@link AbstractDispatchAsyncModule} that binds classes used by a restful dispatch.
- *
* This gin module provides access to the {@link RestDispatch} singleton, which is used to make calls to the server over
* HTTP.
- *
* You must manually bind {@literal @}{@link com.gwtplatform.dispatch.rest.client.RestApplicationPath
* RestApplicationPath} to point to your server API root path.
*/
diff --git a/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/serialization/AbstractJacksonMapperProvider.java b/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/serialization/AbstractJacksonMapperProvider.java
index 28f48df89f..92a56594ce 100644
--- a/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/serialization/AbstractJacksonMapperProvider.java
+++ b/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/serialization/AbstractJacksonMapperProvider.java
@@ -19,10 +19,10 @@
import java.util.HashMap;
import java.util.Map;
-import javax.inject.Provider;
-
import com.github.nmorel.gwtjackson.client.ObjectMapper;
+import jakarta.inject.Provider;
+
/**
* Abstract class providing utility methods to reduce the code generation complexity of {@link JacksonMapperProvider}.
*/
diff --git a/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/serialization/DispatchingJacksonMapperProvider.java b/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/serialization/DispatchingJacksonMapperProvider.java
index d5bd94209d..46dbd34fde 100644
--- a/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/serialization/DispatchingJacksonMapperProvider.java
+++ b/gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/client/serialization/DispatchingJacksonMapperProvider.java
@@ -18,10 +18,10 @@
import java.util.Set;
-import javax.inject.Inject;
-
import com.github.nmorel.gwtjackson.client.ObjectMapper;
+import jakarta.inject.Inject;
+
public class DispatchingJacksonMapperProvider implements JacksonMapperProvider {
private final Set
* {@link #isPending()} will return true until either {@link #onSuccess(Object)} or {@link #onFailure} is called.
- *
* Calling {@link #cancel()} will prevent the {@link #onSuccess(Object)} and {@link #onFailure(Throwable)} from being
* forwarded to the code that requested the action handler be executed/undone.
*
@@ -40,11 +40,9 @@ public class DefaultCallbackDispatchRequest
* This class also takes a {@link DispatchRequest} and delegate work to this {@link DispatchRequest}.
- *
* This class is used within
* {@link com.gwtplatform.dispatch.rpc.client.interceptor.caching.AbstractCachingRpcInterceptor} to be able to store
* inside an {@link java.util.HashMap HashMap} {@link DefaultCallbackDispatchRequest}
diff --git a/gwtp-core/gwtp-dispatch-rpc-client/src/main/java/com/gwtplatform/dispatch/rpc/client/DispatchCall.java b/gwtp-core/gwtp-dispatch-rpc-client/src/main/java/com/gwtplatform/dispatch/rpc/client/DispatchCall.java
index 944b8460fa..b370daeca8 100644
--- a/gwtp-core/gwtp-dispatch-rpc-client/src/main/java/com/gwtplatform/dispatch/rpc/client/DispatchCall.java
+++ b/gwtp-core/gwtp-dispatch-rpc-client/src/main/java/com/gwtplatform/dispatch/rpc/client/DispatchCall.java
@@ -23,16 +23,16 @@
import com.gwtplatform.dispatch.shared.SecurityCookieAccessor;
/**
- * An class representing a call made to the server through {@link com.gwtplatform.dispatch.rest.client.RestDispatch
- * RestDispatch} or {@link com.gwtplatform.dispatch.rpc.shared.DispatchAsync DispatchAsync}.
- *
* This class will perform the work shared by all dispatch modules. It will delegate exceptions to the bound {@link
* ExceptionHandler}. It will provide access to the security cookie through the bound {@link SecurityCookieAccessor}.
- *
* It also provides a couple extension points for implementations.
*
- * @param The type of the {@link TypedAction} wrapped by this {@link DispatchCall}.
- * @param
* This gin module provides provides access to the {@link DispatchAsync} singleton, which is used to make calls to the
* server over RPC.
- *
* If you want to prevent XSRF attack (you use secured {@link com.gwtplatform.dispatch.rpc.shared.Action}s) the empty
* {@link DefaultSecurityCookieAccessor} could leave your application vulnerable to XSRF attacks.
*
diff --git a/gwtp-core/gwtp-dispatch-rpc-client/src/main/java/com/gwtplatform/dispatch/rpc/client/interceptor/DefaultRpcInterceptorRegistry.java b/gwtp-core/gwtp-dispatch-rpc-client/src/main/java/com/gwtplatform/dispatch/rpc/client/interceptor/DefaultRpcInterceptorRegistry.java
index 5bbd2b0499..a6ab38a914 100644
--- a/gwtp-core/gwtp-dispatch-rpc-client/src/main/java/com/gwtplatform/dispatch/rpc/client/interceptor/DefaultRpcInterceptorRegistry.java
+++ b/gwtp-core/gwtp-dispatch-rpc-client/src/main/java/com/gwtplatform/dispatch/rpc/client/interceptor/DefaultRpcInterceptorRegistry.java
@@ -27,11 +27,11 @@
/**
* The default implementation that {@link RpcInterceptorRegistry} that if bound will not load any client-side
- * interceptors. To register client-side interceptors, extend this class and call {@link #register} in the
* constructor.
- *
+ *
*
* When a call is executed, the {@link RpcInterceptor} that has been registered with the bound {@link
* RpcInterceptorRegistry} is called and {@link com.gwtplatform.dispatch.rpc.shared.DispatchAsync DispatchAsync} does
* not automatically send the command over HTTP to the server.
- *
* Interceptors provide a number of flexible options:
* Important! If your interceptor makes asynchronous calls, be careful with your use of fields as a second call
* your interceptor could be made while it is waiting for the asynchronous call to return.
- *
+ *
*
* If you want to override the defaults ({@link DispatchImpl}, {@link LazyActionHandlerValidatorRegistryImpl} pass
* the override values into the constructor for this module and ensure it is installed before any
* {@link HandlerModule} instances.
diff --git a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/DispatchServiceImpl.java b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/DispatchServiceImpl.java
index 9a139921a6..bc9469112a 100644
--- a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/DispatchServiceImpl.java
+++ b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/DispatchServiceImpl.java
@@ -16,8 +16,6 @@
package com.gwtplatform.dispatch.rpc.server.guice;
-import javax.inject.Singleton;
-
import com.google.inject.Inject;
import com.gwtplatform.dispatch.rpc.server.AbstractDispatchServiceImpl;
import com.gwtplatform.dispatch.rpc.server.Dispatch;
@@ -25,10 +23,12 @@
import com.gwtplatform.dispatch.rpc.server.logger.DispatchServiceLogHandler;
import com.gwtplatform.dispatch.shared.SecurityCookie;
+import jakarta.inject.Singleton;
+
/**
* This is the server-side implementation of the {@link com.gwtplatform.dispatch.rpc.shared.DispatchService},
* for which the client-side async service is {@link com.gwtplatform.dispatch.rpc.shared.DispatchServiceAsync}.
- *
* This class is closely related to {@link DispatchImpl}, in theory the latter wouldn't be needed, but we use it to
* workaround a GWT limitation described in {@link com.gwtplatform.dispatch.rpc.shared.DispatchAsync}.
*
diff --git a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/HandlerModule.java b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/HandlerModule.java
index 74c13a2544..91c90fce77 100644
--- a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/HandlerModule.java
+++ b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/HandlerModule.java
@@ -62,9 +62,9 @@ protected , R extends Result> void bindHandler(
Class actionClass, Class extends ActionHandler> handlerClass) {
bind(ActionHandlerValidatorMap.class).annotatedWith(
UniqueAnnotations.create()).toInstance(
- new ActionHandlerValidatorMapImpl<>(actionClass,
- new ActionHandlerValidatorClass<>(handlerClass,
- DefaultActionValidator.class)));
+ new ActionHandlerValidatorMapImpl<>(actionClass,
+ new ActionHandlerValidatorClass<>(handlerClass,
+ DefaultActionValidator.class)));
}
/**
@@ -79,9 +79,9 @@ protected , R extends Result> void bindHandler(
Class extends ActionValidator> actionValidator) {
bind(ActionHandlerValidatorMap.class).annotatedWith(
UniqueAnnotations.create()).toInstance(
- new ActionHandlerValidatorMapImpl<>(
+ new ActionHandlerValidatorMapImpl<>(
actionClass,
- new ActionHandlerValidatorClass<>(handlerClass, actionValidator)));
+ new ActionHandlerValidatorClass<>(handlerClass, actionValidator)));
}
@Override
diff --git a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/RandomSecurityCookieFilter.java b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/RandomSecurityCookieFilter.java
index 25458abfc9..95068f0de5 100644
--- a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/RandomSecurityCookieFilter.java
+++ b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/RandomSecurityCookieFilter.java
@@ -16,12 +16,12 @@
package com.gwtplatform.dispatch.rpc.server.guice;
-import javax.inject.Inject;
-import javax.inject.Singleton;
-
import com.gwtplatform.dispatch.rpc.server.AbstractRandomSecurityCookieFilter;
import com.gwtplatform.dispatch.shared.SecurityCookie;
+import jakarta.inject.Inject;
+import jakarta.inject.Singleton;
+
@Singleton
public class RandomSecurityCookieFilter extends AbstractRandomSecurityCookieFilter {
diff --git a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/actionhandlervalidator/ActionHandlerValidatorLinker.java b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/actionhandlervalidator/ActionHandlerValidatorLinker.java
index 7f1d8fb429..3aa0bd81dc 100644
--- a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/actionhandlervalidator/ActionHandlerValidatorLinker.java
+++ b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/actionhandlervalidator/ActionHandlerValidatorLinker.java
@@ -16,13 +16,13 @@
package com.gwtplatform.dispatch.rpc.server.guice.actionhandlervalidator;
-import javax.inject.Inject;
-
import com.google.inject.Injector;
import com.gwtplatform.dispatch.rpc.server.actionhandlervalidator.ActionHandlerValidatorLinkerHelper;
import com.gwtplatform.dispatch.rpc.server.actionhandlervalidator.ActionHandlerValidatorRegistry;
import com.gwtplatform.dispatch.rpc.server.guice.GuiceBeanProvider;
+import jakarta.inject.Inject;
+
/**
* This class links any registered {@link com.gwtplatform.dispatch.rpc.server.actionhandler.ActionHandler ActionHandler}
* and {@link com.gwtplatform.dispatch.rpc.server.actionvalidator.ActionValidator ActionValidator}
diff --git a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/actionhandlervalidator/LazyActionHandlerValidatorRegistryImpl.java b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/actionhandlervalidator/LazyActionHandlerValidatorRegistryImpl.java
index e3306027a0..52e5f4a010 100644
--- a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/actionhandlervalidator/LazyActionHandlerValidatorRegistryImpl.java
+++ b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/actionhandlervalidator/LazyActionHandlerValidatorRegistryImpl.java
@@ -18,9 +18,6 @@
import java.util.concurrent.ConcurrentHashMap;
-import javax.inject.Inject;
-import javax.inject.Singleton;
-
import com.google.inject.Injector;
import com.gwtplatform.dispatch.rpc.server.actionhandlervalidator.ActionHandlerValidatorClass;
import com.gwtplatform.dispatch.rpc.server.actionhandlervalidator.ActionHandlerValidatorInstance;
@@ -29,6 +26,9 @@
import com.gwtplatform.dispatch.rpc.shared.Action;
import com.gwtplatform.dispatch.rpc.shared.Result;
+import jakarta.inject.Inject;
+import jakarta.inject.Singleton;
+
/**
* This is a lazy-loading implementation of the registry. It will only create action handlers and validators when they
* are first used. All {@link com.gwtplatform.dispatch.rpc.server.actionhandler.ActionHandler} and
diff --git a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/request/DefaultRequestProvider.java b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/request/DefaultRequestProvider.java
index 2f929f082e..8c960e6c6b 100644
--- a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/request/DefaultRequestProvider.java
+++ b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/main/java/com/gwtplatform/dispatch/rpc/server/guice/request/DefaultRequestProvider.java
@@ -16,13 +16,13 @@
package com.gwtplatform.dispatch.rpc.server.guice.request;
-import javax.inject.Inject;
-import javax.inject.Provider;
-import javax.inject.Singleton;
-import javax.servlet.http.HttpServletRequest;
-
import com.gwtplatform.dispatch.rpc.server.RequestProvider;
+import jakarta.inject.Inject;
+import jakarta.inject.Provider;
+import jakarta.inject.Singleton;
+import jakarta.servlet.http.HttpServletRequest;
+
@Singleton
public class DefaultRequestProvider implements RequestProvider {
diff --git a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/test/java/com/gwtplatform/dispatch/rpc/server/ActionThrownByHandlerTest.java b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/test/java/com/gwtplatform/dispatch/rpc/server/ActionThrownByHandlerTest.java
index 90f43a57d5..2c898a9fcc 100644
--- a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/test/java/com/gwtplatform/dispatch/rpc/server/ActionThrownByHandlerTest.java
+++ b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/test/java/com/gwtplatform/dispatch/rpc/server/ActionThrownByHandlerTest.java
@@ -16,8 +16,6 @@
package com.gwtplatform.dispatch.rpc.server;
-import javax.inject.Inject;
-
import org.jukito.JukitoModule;
import org.jukito.JukitoRunner;
import org.junit.Test;
@@ -28,6 +26,8 @@
import com.gwtplatform.dispatch.rpc.shared.ServiceException;
import com.gwtplatform.dispatch.shared.ActionException;
+import jakarta.inject.Inject;
+
import static org.hamcrest.CoreMatchers.instanceOf;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
diff --git a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/test/java/com/gwtplatform/dispatch/rpc/server/ActionThrownByValidatorTest.java b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/test/java/com/gwtplatform/dispatch/rpc/server/ActionThrownByValidatorTest.java
index b3fa238d8d..b339de6c4c 100644
--- a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/test/java/com/gwtplatform/dispatch/rpc/server/ActionThrownByValidatorTest.java
+++ b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/test/java/com/gwtplatform/dispatch/rpc/server/ActionThrownByValidatorTest.java
@@ -16,8 +16,6 @@
package com.gwtplatform.dispatch.rpc.server;
-import javax.inject.Inject;
-
import org.jukito.JukitoModule;
import org.jukito.JukitoRunner;
import org.junit.Test;
@@ -27,6 +25,8 @@
import com.gwtplatform.dispatch.rpc.shared.ServiceException;
import com.gwtplatform.dispatch.shared.ActionException;
+import jakarta.inject.Inject;
+
import static org.hamcrest.CoreMatchers.instanceOf;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.Assert.assertEquals;
diff --git a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/test/java/com/gwtplatform/dispatch/rpc/server/HandlerThatThrowsActionException.java b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/test/java/com/gwtplatform/dispatch/rpc/server/HandlerThatThrowsActionException.java
index 6be9e95b2b..1445727ee6 100644
--- a/gwtp-core/gwtp-dispatch-rpc-server-guice/src/test/java/com/gwtplatform/dispatch/rpc/server/HandlerThatThrowsActionException.java
+++ b/gwtp-core/gwtp-dispatch-rpc-server-guice/src/test/java/com/gwtplatform/dispatch/rpc/server/HandlerThatThrowsActionException.java
@@ -16,12 +16,12 @@
package com.gwtplatform.dispatch.rpc.server;
-import javax.inject.Inject;
-
import com.gwtplatform.dispatch.rpc.server.actionhandler.AbstractActionHandler;
import com.gwtplatform.dispatch.rpc.shared.NoResult;
import com.gwtplatform.dispatch.shared.ActionException;
+import jakarta.inject.Inject;
+
public class HandlerThatThrowsActionException extends AbstractActionHandler
+ * This class is closely related to {@code com.gwtplatform.dispatch.rpc.server.guice.DispatchServiceImpl}.
* In fact, this class wouldn't be needed, but we use it to workaround a GWT limitation described in
* {@link com.gwtplatform.dispatch.rpc.shared.DispatchAsync}.
*
* @see com.gwtplatform.dispatch.rpc.shared.DispatchAsync
* @see Dispatch
- * @see com.gwtplatform.dispatch.rpc.server.guice.DispatchImpl
* @see com.gwtplatform.dispatch.rpc.shared.DispatchService
* @see com.gwtplatform.dispatch.rpc.shared.DispatchServiceAsync
- * @see com.gwtplatform.dispatch.rpc.server.guice.DispatchServiceImpl
*/
public abstract class AbstractDispatchImpl implements Dispatch {
diff --git a/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/AbstractDispatchServiceImpl.java b/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/AbstractDispatchServiceImpl.java
index ceae49dcf3..1fd86167a4 100644
--- a/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/AbstractDispatchServiceImpl.java
+++ b/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/AbstractDispatchServiceImpl.java
@@ -16,10 +16,7 @@
package com.gwtplatform.dispatch.rpc.server;
-import javax.servlet.http.Cookie;
-import javax.servlet.http.HttpServletRequest;
-
-import com.google.gwt.user.server.rpc.RemoteServiceServlet;
+import com.google.gwt.user.server.rpc.jakarta.RemoteServiceServlet;
import com.gwtplatform.dispatch.rpc.server.logger.DispatchServiceLogHandler;
import com.gwtplatform.dispatch.rpc.shared.Action;
import com.gwtplatform.dispatch.rpc.shared.DispatchService;
@@ -27,19 +24,20 @@
import com.gwtplatform.dispatch.rpc.shared.ServiceException;
import com.gwtplatform.dispatch.shared.ActionException;
+import jakarta.servlet.http.Cookie;
+import jakarta.servlet.http.HttpServletRequest;
+
/**
* This is the server-side implementation of the {@link DispatchService}, for which the client-side async service is
* {@link com.gwtplatform.dispatch.rpc.shared.DispatchServiceAsync}.
- *
* This class is closely related to {@link AbstractDispatchImpl}, in theory the latter wouldn't be needed, but we use it
* to workaround a GWT limitation described in {@link com.gwtplatform.dispatch.rpc.shared.DispatchAsync}.
*
* @see com.gwtplatform.dispatch.rpc.shared.DispatchAsync
* @see Dispatch
- * @see com.gwtplatform.dispatch.rpc.server.guice.DispatchImpl
* @see com.gwtplatform.dispatch.rpc.shared.DispatchService
* @see com.gwtplatform.dispatch.rpc.shared.DispatchServiceAsync
- * @see com.gwtplatform.dispatch.rpc.server.guice.DispatchServiceImpl
*/
public abstract class AbstractDispatchServiceImpl extends RemoteServiceServlet implements DispatchService {
diff --git a/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/AbstractRandomSecurityCookieFilter.java b/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/AbstractRandomSecurityCookieFilter.java
index 1b6d60af90..0bbfca0b10 100644
--- a/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/AbstractRandomSecurityCookieFilter.java
+++ b/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/AbstractRandomSecurityCookieFilter.java
@@ -20,25 +20,25 @@
import java.math.BigInteger;
import java.security.SecureRandom;
-import javax.servlet.Filter;
-import javax.servlet.FilterChain;
-import javax.servlet.FilterConfig;
-import javax.servlet.ServletException;
-import javax.servlet.ServletRequest;
-import javax.servlet.ServletResponse;
-import javax.servlet.http.Cookie;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
+import jakarta.servlet.Filter;
+import jakarta.servlet.FilterChain;
+import jakarta.servlet.FilterConfig;
+import jakarta.servlet.ServletException;
+import jakarta.servlet.ServletRequest;
+import jakarta.servlet.ServletResponse;
+import jakarta.servlet.http.Cookie;
+import jakarta.servlet.http.HttpServletRequest;
+import jakarta.servlet.http.HttpServletResponse;
/**
* This filter will automatically inject a security cookie inside the request the first time the page is loaded. This
* security cookie is a simple randomly generated number. To setup this filter, add the following line
- * before any other {@code serve} call in your own {@link com.google.inject.servlet.ServletModule#configureServlets}:
- *
*
* You also have to use a {@code .jsp} file instead of a {@code .html} as your main GWT file.
*/
public abstract class AbstractRandomSecurityCookieFilter implements Filter {
diff --git a/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/Dispatch.java b/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/Dispatch.java
index 739278e806..a36211e8d6 100644
--- a/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/Dispatch.java
+++ b/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/Dispatch.java
@@ -23,9 +23,9 @@
/**
* The base class of the synchronous dispatcher service with an arbitrary action type. The server-side implementation is
- * {@link com.gwtplatform.dispatch.rpc.server.guice.DispatchImpl} and the async client-side version is
+ * {@code com.gwtplatform.dispatch.rpc.server.guice.DispatchImpl} and the async client-side version is
* {@link com.gwtplatform.dispatch.rpc.shared.DispatchAsync}.
- *
* This class is closely related to {@link com.gwtplatform.dispatch.rpc.shared.DispatchService}. In fact, this class
* wouldn't be needed, but we use it to workaround a GWT limitation described in
* {@link com.gwtplatform.dispatch.rpc.shared.DispatchAsync}.
diff --git a/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/RequestProvider.java b/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/RequestProvider.java
index 94a39e43c0..e01c5c9f7f 100644
--- a/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/RequestProvider.java
+++ b/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/RequestProvider.java
@@ -16,7 +16,7 @@
package com.gwtplatform.dispatch.rpc.server;
-import javax.servlet.http.HttpServletRequest;
+import jakarta.servlet.http.HttpServletRequest;
public interface RequestProvider {
HttpServletRequest getServletRequest();
diff --git a/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/Utils.java b/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/Utils.java
index f2a5dcab03..7991817baf 100644
--- a/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/Utils.java
+++ b/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/Utils.java
@@ -29,7 +29,7 @@ public class Utils {
/**
* Logs an entire stack trace to the logger, so that it can easily be viewed in the App Engine log. The exception
* will be logged as a severe error.
- *
* See also {@link #logStackTrace(Logger, Level, Throwable)}.
*
* @param log The {@link Logger} to use.
diff --git a/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/actionhandler/ActionHandler.java b/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/actionhandler/ActionHandler.java
index d2644c10b8..6f5d9e48ec 100644
--- a/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/actionhandler/ActionHandler.java
+++ b/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/actionhandler/ActionHandler.java
@@ -23,7 +23,7 @@
/**
* Instances of this interface will handle specific types of {@link Action} classes.
- *
* Important! Your action handlers must be thread safe since they will be bound as singletons. For details,
* see
* http://code.google.com/p/google-guice/wiki/Scopes#Scopes_and_Concurrency.
diff --git a/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/actionvalidator/ActionValidator.java b/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/actionvalidator/ActionValidator.java
index e26cbd706c..17ffb0d1cf 100644
--- a/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/actionvalidator/ActionValidator.java
+++ b/gwtp-core/gwtp-dispatch-rpc-server/src/main/java/com/gwtplatform/dispatch/rpc/server/actionvalidator/ActionValidator.java
@@ -26,7 +26,7 @@
* whether or not the action can be executed. Doing so will often require session information, which can be done by
* injecting a {@code Provider
* You should think of annotating your validators with {@code @RequestScoped} or {@code @Singleton}.
*/
public interface ActionValidator {
diff --git a/gwtp-core/gwtp-dispatch-rpc-shared/pom.xml b/gwtp-core/gwtp-dispatch-rpc-shared/pom.xml
index bc82329c6b..54bf6f857f 100644
--- a/gwtp-core/gwtp-dispatch-rpc-shared/pom.xml
+++ b/gwtp-core/gwtp-dispatch-rpc-shared/pom.xml
@@ -46,7 +46,7 @@
* Note: Subclasses should provide both an empty constructor for serialization and a constructor with a single
* value for normal use. It is recommended that the empty constructor is private or package-private.
*
diff --git a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/Action.java b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/Action.java
index 59f0e2f8eb..f527af2d79 100644
--- a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/Action.java
+++ b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/Action.java
@@ -20,13 +20,13 @@
import com.gwtplatform.dispatch.shared.HasSecured;
/**
- * An action represents a command sent to the {@link com.gwtplatform.dispatch.rpc.server.Dispatch}. It has a specific
+ * An action represents a command sent to the {@code com.gwtplatform.dispatch.rpc.server.Dispatch}. It has a specific
* result type which is returned if the action is successful. Your implementation should override
* {@link #getServiceName} to return a default service url. If you use a
* {@link com.gwtplatform.dispatch.shared.SecurityCookie} to prevent XSRF attacks and you want this action to be secured
* against such attacks (i.e. it's not meant to be an anonymous action) then you should override {@link #isSecured()} to
* return {@code true}.
- *
* You can usually inherit from {@link ActionImpl} or {@link UnsecuredActionImpl} instead.
*
* @param
* An {@link Action} that uses the standard service name {@code "dispatch"}. Actions inheriting from this are secured
* against XSRF attacks, but you need to configure a {@link com.gwtplatform.dispatch.shared.SecurityCookie}.
- *
* Use {@link UnsecuredActionImpl} for secured set to off by default.
- *
* Visit this page for more documentation.
*
* @param
* If the {@link BatchAction} was specified to have an {@link BatchAction.OnException} value
* of {@link BatchAction.OnException#CONTINUE}, failed actions will have a
* This class is closely related to {@link DispatchServiceAsync}. In theory this class wouldn't be needed, but we use it
* to workaround a GWT limitation. In fact, GWT currently can't correctly handle having generic method templates in
- * method signatures (eg.
+ * This class is closely related to {@code com.gwtplatform.dispatch.rpc.server.Dispatch}, in theory the latter wouldn't
* be needed, but we use it to workaround a GWT limitation described in
- * {@link com.gwtplatform.dispatch.rpc.client.DispatchAsync}.
+ * {@code com.gwtplatform.dispatch.rpc.client.DispatchAsync}.
*
- * @see com.gwtplatform.dispatch.rpc.client.DispatchAsync
- * @see com.gwtplatform.dispatch.rpc.server.Dispatch
- * @see com.gwtplatform.dispatch.rpc.server.guice.DispatchImpl
* @see DispatchService
* @see DispatchServiceAsync
- * @see com.gwtplatform.dispatch.rpc.server.guice.DispatchServiceImpl
*/
public interface DispatchService extends RemoteService {
/**
diff --git a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/DispatchServiceAsync.java b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/DispatchServiceAsync.java
index 97b810a0f0..b4c1848fa7 100644
--- a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/DispatchServiceAsync.java
+++ b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/DispatchServiceAsync.java
@@ -21,18 +21,14 @@
/**
* The asynchronous client-side dispatcher service. The server-side implementation is
- * {@link com.gwtplatform.dispatch.rpc.server.guice.DispatchServiceImpl}.
- *
* This class is closely related to {@link com.gwtplatform.dispatch.rpc.shared.DispatchAsync}, in theory the latter
* wouldn't be needed, but we use it to workaround a GWT limitation described in
- * {@link com.gwtplatform.dispatch.rpc.client.DispatchAsync}.
+ * {@code com.gwtplatform.dispatch.rpc.client.DispatchAsync}.
*
- * @see com.gwtplatform.dispatch.client.DispatchAsync
- * @see com.gwtplatform.dispatch.rpc.server.Dispatch
- * @see com.gwtplatform.dispatch.rpc.server.guice.DispatchImpl
* @see com.gwtplatform.dispatch.rpc.shared.DispatchService
* @see DispatchServiceAsync
- * @see com.gwtplatform.dispatch.rpc.server.guice.DispatchServiceImpl
*/
public interface DispatchServiceAsync {
/**
diff --git a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/MultipleResult.java b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/MultipleResult.java
index d288780154..8485200c43 100644
--- a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/MultipleResult.java
+++ b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/MultipleResult.java
@@ -21,7 +21,7 @@
/**
* A common use-case is returning a list value from an action. This provides a simple, type-safe class for such results.
- *
* Note: Subclasses should provide both an empty constructor for serialization and a constructor with a single
* value for normal use. It is recommended that the empty constructor is private or package-private.
*
diff --git a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/NoResult.java b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/NoResult.java
index e9c3e9ac7c..ce8dd7f847 100644
--- a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/NoResult.java
+++ b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/NoResult.java
@@ -18,8 +18,8 @@
/**
* A common use-case is returning nothing from an action. This provides a simple, type-safe class for such results.
- *
+ *
* Note: Subclasses should provide both an empty constructor for serialization and a constructor with a single
* value for normal use. It is recommended that the empty constructor is private or package-private.
*/
diff --git a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/Result.java b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/Result.java
index 18e1d51576..cd92d9698c 100644
--- a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/Result.java
+++ b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/Result.java
@@ -27,10 +27,9 @@
* the RPC mechanism from generating a serializer for all classes
* that implement Serializable.
*
- * @see
- * {@link SimpleResult}
* Note: Subclasses should provide both an empty constructor for serialization and a constructor with a single
* value for normal use. It is recommended that the empty constructor is private or package-private.
*
diff --git a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/UnsecuredActionImpl.java b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/UnsecuredActionImpl.java
index cacd4835a5..827995a2ce 100644
--- a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/UnsecuredActionImpl.java
+++ b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/UnsecuredActionImpl.java
@@ -18,11 +18,11 @@
/**
* Default Action using the base path as dispatch/className. The base abstract implementation is {@link Action}.
- *
* An {@link Action} that uses the standard service name {@code "dispatch"}. Actions inheriting from this are not
* secured against XSRF attacks, and they will work even if you do not configure a
* {@link com.gwtplatform.dispatch.shared.SecurityCookie}.
- *
* Use {@link ActionImpl} for secured set to on by default.
*
* @param
* Disabling automatic binding can be useful in unit tests, for example.
*/
@Singleton
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/Bootstrapper.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/Bootstrapper.java
index 8b93ed7885..7fa6dad890 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/Bootstrapper.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/Bootstrapper.java
@@ -18,7 +18,7 @@
/**
* Defines a class that will be executed after injection happens. Your bootstrapper must contain a default, empty
- * constructor or an {@linkplain javax.inject.Inject @Inject}ed constructor.
+ * constructor or an {@linkplain jakarta.inject.Inject @Inject}ed constructor.
*
* This class is responsible for calling {@link com.gwtplatform.mvp.client.proxy.PlaceManager#revealCurrentPlace
* PlaceManager#revealCurrentPlace}. This is particularly useful when you need to do initialisation steps before the
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/DefaultBootstrapper.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/DefaultBootstrapper.java
index cf567fc00b..648301e719 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/DefaultBootstrapper.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/DefaultBootstrapper.java
@@ -16,10 +16,10 @@
package com.gwtplatform.mvp.client;
-import javax.inject.Inject;
-
import com.gwtplatform.mvp.client.proxy.PlaceManager;
+import jakarta.inject.Inject;
+
/**
* The default Bootstrapper that is used if none is specified in {@link
* com.gwtplatform.mvp.client.annotations.UseBootstrapper @UseBootstrapper}.
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/HandlerContainer.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/HandlerContainer.java
index 3aa24c8ac2..a5c234e6c1 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/HandlerContainer.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/HandlerContainer.java
@@ -20,7 +20,7 @@
* A class that can contain handlers. Handlers can be registered when
* the object is being bound, or at any time while it is bound. They
* will be automatically unregistered when the class is unbound.
- *
* For details on the autobinding mechanism, see {@link HandlerContainerImpl}.
*/
public interface HandlerContainer {
@@ -30,15 +30,15 @@ public interface HandlerContainer {
* handlers. You should never call {@link #bind()} from the constructor
* of a non-leaf class since it is meant to be called after the object has
* been entirely constructed.
- *
* When automatic binding is used (see {@link HandlerContainerImpl}), this will
* be called immediately after the object is constructed through Guice/GIN dependency
* injection mechanism.
- *
* If you are not using automatic binding, or if you later call
* {@link #unbind()} on this object, you will have to call {@link #bind()}
* manually.
- *
* Multiple call to bind will not fail, the class will be bound once.
*/
void bind();
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/HandlerContainerImpl.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/HandlerContainerImpl.java
index 940d084643..8ba864fa6d 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/HandlerContainerImpl.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/HandlerContainerImpl.java
@@ -18,14 +18,14 @@
import java.util.List;
-import javax.inject.Inject;
-
import com.google.web.bindery.event.shared.HandlerRegistration;
+import jakarta.inject.Inject;
+
/**
* The implementation of {@link HandlerContainer}. Inherit from this class if
* you want subclasses that can contain handlers.
- *
* Classes inheriting from {@link HandlerContainerImpl} and that participate in dependency
* injection with Guice/GIN can use the automatic binding mechanism. See
* {@link HandlerContainerImpl#HandlerContainerImpl()} and {@link #HandlerContainerImpl(boolean)}
@@ -52,7 +52,7 @@ private static class BindMonitor {
* Creates a handler container class with automatic binding, unless
* {@link AutobindDisable} is used to globally disable automatic
* binding.
- *
* Autobinding requires the class to be instantiated by Guice/GIN.
* If you are instantiating {@link HandlerContainerImpl} with {@code new},
* autobinding will not work. It is recommended you document it by
@@ -70,7 +70,7 @@ public HandlerContainerImpl() {
* injection mechanism, unless {@link AutobindDisable} is used to globally
* disable automatic binding. Otherwise, the user is responsible for calling
* {@link #bind()}.
- *
* Autobinding requires the class to be instantiated by Guice/GIN.
* If you are instantiating {@link HandlerContainerImpl} with {@code new},
* autobinding will not work. It is recommended you document it by
@@ -113,19 +113,19 @@ public void unbind() {
/**
* Lifecycle method called when binding the object.
- *
* Important : Make sure you call your parent class {@link #onBind()}. Also, do
* not call directly, call {@link #bind()} instead.
- *
* Any event handler should be
* initialised here rather than in the constructor. Also, it is good practice to
* perform any costly initialisation here.
- *
* Handlers registered by calling
* {@link #registerHandler(HandlerRegistration)} will be removed
* when unbinding. Any other initialisation that takes place here (or as a
* side-effect of what is done here) should be taken down in {@link #onUnbind()}.
- *
* This method will never be invoked more then once, or if it is, the second
* time will necessarily be preceded by an invocation of {@link #onUnbind()}.
*/
@@ -134,15 +134,15 @@ protected void onBind() {
/**
* Lifecycle method called when unbinding the object.
- *
* Important : Make sure you call your parent class {@link #onUnbind()}.
* Also, do not call directly, call {@link #unbind()} instead.
- *
* Any handler registration recorded with {@link #registerHandler (HandlerRegistration)}
* will have
* already been removed at this point. You should override this method to
* take down any other initialisation that took place in {@link #onBind()}.
- *
* This method will never be invoked more then once, or if it is, the second
* time will necessarily be preceded by an invocation of {@link #onBind()}.
*/
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/HasPopupSlot.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/HasPopupSlot.java
index fd11adbdfd..42189e0a0e 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/HasPopupSlot.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/HasPopupSlot.java
@@ -21,14 +21,14 @@ public interface HasPopupSlot {
* This method sets some popup content within the {@link Presenter} and centers it. The view associated with the
* {@code content}'s presenter must inherit from {@link PopupView}. The popup will be visible and the corresponding
* presenter will receive the lifecycle events as needed.
- *
* No {@link com.gwtplatform.mvp.client.proxy.ResetPresentersEvent ResetPresentersEvent} is fired, so {@link
* PresenterWidget#onReset()} is not invoked.
- *
*
* @param child The popup child, a {@link PresenterWidget}.
*/
- void addToPopupSlot(final PresenterWidget extends PopupView> child);
+ void addToPopupSlot(PresenterWidget extends PopupView> child);
/**
* This method removes popup content within the {@link Presenter}. The view associated with the {@code content}'s
@@ -37,5 +37,5 @@ public interface HasPopupSlot {
* @param child The popup child, a {@link PresenterWidget}, which has previously been added using {@link
* #addToPopupSlot(PresenterWidget)}.
*/
- void removeFromPopupSlot(final PresenterWidget extends PopupView> child);
+ void removeFromPopupSlot(PresenterWidget extends PopupView> child);
}
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/HasSlots.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/HasSlots.java
index 50afc7d1f7..dbdc95acdf 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/HasSlots.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/HasSlots.java
@@ -29,7 +29,7 @@
/**
* Interface of objects containing slots in which {@link PresenterWidget} can be inserted.
- *
* Slots are opaque objects and can be of any type. For slots meant to hold only {@link PresenterWidget}s, you will
* usually declare a {@link IsSlot} constant within your presenter class:
*
* Contrary to the {@link #setInSlot} method, no {@link com.gwtplatform.mvp.client.proxy.ResetPresentersEvent
* ResetPresentersEvent} is fired, so {@link PresenterWidget#onReset()} is not invoked.
- *
* For more details on slots, see {@link HasSlots}.
*
* @param slot The slot into which the content is being added.
@@ -62,7 +62,7 @@ public interface HasSlots {
* {@link View} should manage this slot when its {@link View#setInSlot(Object, IsWidget)} is called. It should also
* clear the slot when the {@link View#setInSlot(Object, IsWidget)} method is called with {@code null} as a
* parameter.
- *
* For more details on slots, see {@link HasSlots}.
*
* @param slot The slot to clear.
@@ -73,7 +73,7 @@ public interface HasSlots {
* This method removes some content in a specific slot of the {@link Presenter}. No {@link
* com.gwtplatform.mvp.client.proxy.ResetPresentersEvent ResetPresentersEvent} is fired. The attached {@link View}
* should manage this slot when its {@link View#removeFromSlot(Object, IsWidget)} is called.
- *
* For more details on slots, see {@link HasSlots}.
*
* @param slot The slot for which the content is being removed.
@@ -85,7 +85,7 @@ public interface HasSlots {
* This method sets some content in a specific slot of the {@link Presenter}. A {@link
* com.gwtplatform.mvp.client.proxy.ResetPresentersEvent ResetPresentersEvent} will be fired after the top-most
* visible presenter is revealed, resulting in a call to {@link PresenterWidget#onReset()}.
- *
* For more details on slots, see {@link HasSlots}.
*
* @param slot The slot for which the content is being set. The attached view should know what to do with this
@@ -98,7 +98,7 @@ public interface HasSlots {
* This method sets some content in a specific slot of the {@link Presenter}. The attached {@link View} should
* manage this slot when its {@link View#setInSlot(Object, IsWidget)} is called. It should also clear the slot when
* the {@code setInSlot} method is called with {@code null} as a parameter.
- *
* For more details on slots, see {@link HasSlots}.
*
* @param slot The slot for which the content is being set.
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/PopupView.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/PopupView.java
index cfec80bc95..c88031ce37 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/PopupView.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/PopupView.java
@@ -49,7 +49,7 @@ public interface PopupView extends View {
/**
* Important! Do not call this directly. Instead use {@link PresenterWidget#addToPopupSlot(PresenterWidget)},
* passing this view's {@link PresenterWidget}.
- *
* Make sure the {@link PopupView} is visible. Will not reposition the popup before showing it.
*/
void show();
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/PopupViewImpl.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/PopupViewImpl.java
index 69908e42ab..eae0992f0c 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/PopupViewImpl.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/PopupViewImpl.java
@@ -29,7 +29,7 @@
/**
* A simple implementation of {@link PopupView} that can be used when the widget returned by {@link #asWidget()}
* inherits from {@link PopupPanel}.
- *
* Also, this implementation simply disregards every call to {@link #setInSlot(Object, IsWidget)}, {@link
* #addToSlot(Object, IsWidget)}, and {@link #removeFromSlot(Object, IsWidget)}.
*/
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/PopupViewWithUiHandlers.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/PopupViewWithUiHandlers.java
index 27a0f57f07..c31c70cc75 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/PopupViewWithUiHandlers.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/PopupViewWithUiHandlers.java
@@ -23,7 +23,7 @@
* Base class for a {@link PopupView} that implements the {@link HasUiHandlers}
* interface. You should always call {@link #setUiHandlers(UiHandlers)} from your
* presenter 's constructor.
- *
* Important! Never call {@link #getUiHandlers()} inside your constructor
* since the {@link UiHandlers} are not yet set.
*
@@ -59,7 +59,7 @@ protected PopupViewWithUiHandlers(EventBus eventBus, PopupPositioner positioner)
/**
* Access the {@link UiHandlers} associated with this {@link View}.
- *
* Important! Never call {@link #getUiHandlers()} inside your constructor
* since the {@link UiHandlers} are not yet set.
*
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/Presenter.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/Presenter.java
index 17a6181ab4..0eb945b55a 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/Presenter.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/Presenter.java
@@ -33,9 +33,9 @@
* model-view-presenter
* For more details on the hierarchical organization of presenters, see {@link PresenterWidget}.
- *
* Each presenter is associated to a {@link Proxy} which is responsible for listening to the
* various events of interest for this presenter. This makes it possible to lazily instantiate
* the presenter and use GWT code splitting. Proxies are automatically generated for you
@@ -65,7 +65,7 @@
* {@link com.gwtplatform.mvp.client.annotations.ProxyCodeSplit ProxyCodeSplit} or
* {@link com.gwtplatform.mvp.client.annotations.ProxyCodeSplitBundle ProxyCodeSplitBundle}
* must always annotate the {@link Proxy} interface.
- *
* To reveal a presenter associated to a {@link com.gwtplatform.mvp.client.proxy.ProxyPlace ProxyPlace}
* you can simply navigate to an hyperlink corresponding to this place's name token. The
* {@link com.gwtplatform.mvp.client.proxy.PlaceManager PlaceManager} offers a number of method for building
@@ -86,13 +86,13 @@
* order to enforce loose coupling. This event is then handled by the presenter
* using the {@link com.gwtplatform.mvp.client.annotations.ProxyEvent ProxyEvent}
* mechanism.
- *
* If the presenter is revealed and is not currently visible, then its {@link #revealInParent()} method
* will be called.
- *
* To hide a presenter, you can reveal another one in the same slot or you can use
* one of the methods described in {@link PresenterWidget}.
- *
* A presenter has a number of lifecycle methods that you can hook on to:
*
* In order to use manual reveal, override this method to return {@code true}.
* Then, in your {@link #prepareFromRequest}, you can either:
*
* If your presenter needs to fetch some information from the server while
* preparing itself, consider using manual reveal. See {@link #useManualReveal()}.
- *
* If your presenter does not handle any parameter and does not want to fetch
* extra information, then there is no need to override this method.
*
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/PresenterWidget.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/PresenterWidget.java
index f9bb4746e4..6c49138c37 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/PresenterWidget.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/PresenterWidget.java
@@ -44,7 +44,7 @@
/**
* A presenter that does not have to be a singleton. Pages from your
* application will usually be singletons and extend the {@link Presenter} class.
- *
* Choosing between a {@link Presenter} and {@link PresenterWidget} is a design decision that
* requires some thought. For example, a {@link PresenterWidget} is useful when
* you need a custom widget with extensive logic. For example, a chat box that can be instantiated
@@ -53,12 +53,12 @@
* parent presenter, which increases coupling. Therefore, you should use a {@link Presenter} when
* the parent is not expected to know its child. Moreover, only {@link Presenter} can be attached
* to name tokens in order to support browser history.
- *
* {@link PresenterWidget}s and {@link Presenter}s are organized in a hierarchy.
* Internally, parent presenters have links to their currently attached children presenters. A
* parent {@link Presenter} can contain either {@link Presenter}s or {@link PresenterWidget}s,
* but a {@link PresenterWidget} can only contain {@link PresenterWidget}s.
- *
* To reveal a {@link PresenterWidget} you should insert it within a {@link HasSlots slot} of its
* containing presenter using one of the following methods:
*
* To hide a {@link PresenterWidget} or a {@link Presenter} you can use {@link #setInSlot} to place
* another presenter in the same slot, or you can call one of the following methods:
*
* A presenter has a number of lifecycle methods that you can hook on to:
*
* Contrary to the {@link #setInSlot(IsSlot, PresenterWidget)} method, no {@link ResetPresentersEvent} is fired, so
* {@link PresenterWidget#onReset()} is not invoked.
- *
* For more details on slots, see {@link HasSlots}.
*
* @param slot The slot into which the content is being added.
@@ -214,7 +214,7 @@ public Widget asWidget() {
* This method clears the content in a specific slot. No {@link ResetPresentersEvent} is fired. The attached {@link
* View} should manage this slot when its {@link View#setInSlot(Object, IsWidget)} is called. It should also clear
* the slot when called with {@code null} as a parameter.
- *
* For more details on slots, see {@link HasSlots}.
*
* @param slot Specific slot to clear.
@@ -309,7 +309,7 @@ public void removeFromPopupSlot(PresenterWidget extends PopupView> child) {
* This method removes some content in a specific slot of the {@link Presenter}. No {@link ResetPresentersEvent} is
* fired. The attached {@link View} should manage this slot when its {@link View#removeFromSlot(Object, IsWidget)}
* is called.
- *
* For more details on slots, see {@link HasSlots}.
*
* @param slot The slot for which the content is being removed.
@@ -336,7 +336,7 @@ private void rawRemoveFromSlot(IsSlot> slot, PresenterWidget> child) {
* This method sets some content in a specific slot of the {@link Presenter}. The attached {@link View} should
* manage this slot when its {@link View#setInSlot(Object, IsWidget)} is called. It should also clear the slot when
* the called with {@code null} as a parameter.
- *
* For more details on slots, see {@link HasSlots}.
*
* @param slot The slot for which the content is being set.
@@ -351,7 +351,7 @@ public
* For more details on slots, see {@link HasSlots}.
*
* @param slot The slot for which the content is being set.
@@ -458,17 +458,17 @@ protected final EventBus getEventBus() {
/**
* Lifecycle method called whenever this presenter is about to be
* hidden.
- *
* Important: Make sure you call your superclass {@code #onHide()} if
* you override. Also, do not call directly, see {@link PresenterWidget}
* for more details on lifecycle methods.
- *
* You should override this method to dispose of any object
* created directly or indirectly during the call to {@link #onReveal()}.
- *
* This method will not be invoked a multiple times without {@link #onReveal()}
* being called.
- *
* In a presenter hierarchy, this method is called bottom-up: first on the
* child presenters, then on the parent.
*/
@@ -478,20 +478,20 @@ protected void onHide() {
/**
* Lifecycle method called on all visible presenters whenever a
* presenter is revealed anywhere in the presenter hierarchy.
- *
* Important: Make sure you call your superclass {@code #onReset()} if
* you override. Also, do not call directly, fire a {@link ResetPresentersEvent}
* to perform a reset manually. See {@link PresenterWidget} for more details on
* lifecycle methods.
- *
* This is one of the most frequently used lifecycle method. This is usually a good
* place to refresh any information displayed by your presenter.
- *
* Note that {@code #onReset()} is not called only when using
* {@link #addToSlot(MultiSlot, PresenterWidget)}, {@link #addToPopupSlot(PresenterWidget)}
* or #setInSlot(Object, PresenterWidget, boolean)} with {@code false} as the third
* parameter.
- *
* In a presenter hierarchy, this method is called top-down: first on the
* parent presenters, then on the children.
*/
@@ -501,18 +501,18 @@ protected void onReset() {
/**
* Lifecycle method called whenever this presenter is about to be
* revealed.
- *
* Important: Make sure you call your superclass {@code #onReveal()} if
* you override. Also, do not call directly, see {@link PresenterWidget}
* for more details on lifecycle methods.
- *
* You should override this method to perform any action or initialisation
* that needs to be done when the presenter is revealed. Any initialisation
* you perform here should be taken down in {@link #onHide()}.
- *
* Information that needs to be updated whenever the user navigates should
* be refreshed in {@link #onReset()}.
- *
* In a presenter hierarchy, this method is called top-down: first on the
* parent presenters, then on the children.
*/
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/RootPresenter.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/RootPresenter.java
index fc3c38baee..1da1ae0077 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/RootPresenter.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/RootPresenter.java
@@ -16,8 +16,6 @@
package com.gwtplatform.mvp.client;
-import javax.inject.Inject;
-
import com.google.gwt.dom.client.Document;
import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.Style;
@@ -40,12 +38,14 @@
import com.gwtplatform.mvp.client.proxy.RevealRootPopupContentEvent;
import com.gwtplatform.mvp.client.proxy.RevealRootPopupContentHandler;
+import jakarta.inject.Inject;
+
/**
* This is the presenter for the top-level of the application. It is derived
* from presenter widget, but it's just because it doesn't need a proxy has it
* will be bound as an eager singleton. It sets content within GWT's
* {@link RootPanel} and {@link RootLayoutPanel}.
- *
* Fire a {@link RevealRootContentEvent} or {@link RevealRootLayoutContentEvent}
* to set your presenter at the top level. The choice depends on whether your
* presenter works as a {@link com.google.gwt.user.client.ui.Panel} or as a
@@ -132,7 +132,7 @@ public void unlockScreen() {
/**
* Return the RootPanel on which to add the content.
- *
* It returns the default RootPanel.
* It can be overriden to return another RootPanel to allow embeding the application.
* @return the RootPanel on which to add the content
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/View.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/View.java
index a3a2eb4ba3..f515405c8a 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/View.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/View.java
@@ -17,6 +17,7 @@
package com.gwtplatform.mvp.client;
import com.google.gwt.user.client.ui.IsWidget;
+import com.gwtplatform.mvp.client.presenter.slots.RemovableSlot;
/**
* The interface for view classes that handles all the UI-related code for a
@@ -26,13 +27,13 @@ public interface View extends IsWidget {
/**
* Requests the view to add content within a specific slot.
- *
* Override the default implementation and manage all the slots of your view
* into which content can be added. You should also consider overriding
* {@link #removeFromSlot(Object, IsWidget)}.
* If the view doesn't know about this slot, it can silently ignore the request.
- *
+ * Used by {@link PresenterWidget#addToSlot(com.gwtplatform.mvp.client.presenter.slots.MultiSlot, PresenterWidget)}.
*
* @param slot An opaque object indicating the slot to add into.
* @param content The content to add, a {@link IsWidget}.
@@ -41,13 +42,13 @@ public interface View extends IsWidget {
/**
* Requests the view to remove content from a specific slot.
- *
* Override the default implementation and manage all the slots of your view
* into which content can be added and removed. You should also override
* {@link #addToSlot(Object, IsWidget)}.
* If the view doesn't know about this slot, it can silently ignore the request.
- *
+ * Used by {@link PresenterWidget#removeFromSlot(RemovableSlot, PresenterWidget)}.
*
* @param slot An opaque object indicating the slot to remove from.
* @param content The content to remove, a {@link IsWidget}.
@@ -57,14 +58,14 @@ public interface View extends IsWidget {
/**
* Requests the view to set content within a specific slot, clearing anything
* that was already contained there.
- *
* Override the default implementation and manage all the slots of your view
* into which content can be placed. If the view doesn't know about this slot,
* it can silently ignore the request. When {@code null} is passed, your
* implementation should clear the slot.
- *
+ * Used by {@link PresenterWidget#setInSlot(com.gwtplatform.mvp.client.presenter.slots.IsSlot, PresenterWidget)}
+ * and {@link PresenterWidget#clearSlot(RemovableSlot)}.
*
* @param slot An opaque object indicating the slot to add into.
* @param content The content to add, a {@link IsWidget}. Pass {@code null} to
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/ViewImpl.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/ViewImpl.java
index cb6e3dc244..572732df09 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/ViewImpl.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/ViewImpl.java
@@ -27,7 +27,6 @@
import com.google.gwt.user.client.ui.InsertPanel;
import com.google.gwt.user.client.ui.IsWidget;
import com.google.gwt.user.client.ui.Widget;
-
import com.gwtplatform.mvp.client.presenter.slots.IsSingleSlot;
import com.gwtplatform.mvp.client.presenter.slots.OrderedSlot;
import com.gwtplatform.mvp.client.presenter.slots.Slot;
@@ -35,10 +34,10 @@
/**
* A simple implementation of {@link View} that simply disregard every call to {@link #setInSlot(Object, IsWidget)},
* {@link #addToSlot(Object, IsWidget)}, and {@link #removeFromSlot(Object, IsWidget)}.
- *
* Feel free not to inherit from this if you need another base class (such as {@link
* com.google.gwt.user.client.ui.Composite Composite}), but you will have to define the above methods.
- *
* * Important call {@link #initWidget(IsWidget)} in your {@link View}'s constructor.
*/
public abstract class ViewImpl implements View {
@@ -128,7 +127,7 @@ public Widget asWidget() {
* Link a {@link IsSingleSlot} sub-type to a container. The container must implement either {@link HasOneWidget} or
* {@link HasWidgets}. Here we accept {@code Object} to prevent the hassle of of casting {@code container} if it
* implements both interfaces.
- *
* {@link HasOneWidget} has checked first.
*
* @param slot the slot
@@ -181,7 +180,7 @@ protected void initWidget(IsWidget widget) {
/**
* Method called after the view is attached to the DOM.
- *
* You should override this method to perform any ui related initialization that needs to be done after that the
* view is attached and that the presenter doesn't have to be aware of (attach event handlers for instance)
*/
@@ -190,7 +189,7 @@ protected void onAttach() {
/**
* Method called after the view is detached to the DOM.
- *
* You should override this method to release any resources created directly or indirectly during the call to {@link
* #onAttach()}
*/
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/ViewWithUiHandlers.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/ViewWithUiHandlers.java
index c26285b533..884d8b6b13 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/ViewWithUiHandlers.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/ViewWithUiHandlers.java
@@ -22,7 +22,7 @@
* Base class for a {@link View} that implements the {@link HasUiHandlers}
* interface. You should always call {@link #setUiHandlers(UiHandlers)} from your
* presenter's constructor.
- *
* Important! Never call {@link #getUiHandlers()} inside your constructor
* since the {@link UiHandlers} are not yet set.
*
@@ -36,7 +36,7 @@ public abstract class ViewWithUiHandlers
* Important! Never call {@link #getUiHandlers()} inside your constructor
* since the {@link UiHandlers} are not yet set.
*
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/CustomProvider.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/CustomProvider.java
index 926eb56da4..a07e4a0b0d 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/CustomProvider.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/CustomProvider.java
@@ -28,14 +28,14 @@
* com.gwtplatform.common.client.IndirectProvider provider} which is used to load the presenter behind the proxy. Using
* a custom provider enables you to add steps which should happen before the presenter is loaded, instantiated
* and processed by GIN.
- *
* The class implementing {@code IndirectProvider} must provide a constructor which takes the original provider as the
- * single argument. For presenters which use {@link ProxyStandard @ProxyStandard} this is {@link javax.inject.Provider
- * Provider<T>}; for presenters which use {@link ProxyCodeSplit @ProxyCodeSplit} or {@link ProxyCodeSplitBundle
- * @ProxyCodeSplitBundle } this is {@link com.google.gwt.inject.client.AsyncProvider AsyncProvider<T>}
- *
* Here is an example use of {@code @CustomProvider}:
- *
*
* Here is an example use of {@link ProxyCodeSplit}:
- *
*
* Use this annotation if you already have too much code splitting using {@link ProxyCodeSplit} and it is more efficient
* to group {@link com.gwtplatform.mvp.client.Presenter Presenter}s because they share a bulk of their code. You will
* also have to set up your own implementation of a {@link ProviderBundle}.
- *
* ProviderBundles can be created manually or be generated by GWTP. For the manual approach the {@link
* ProxyCodeSplitBundle#bundleClass()} and {@link ProxyCodeSplitBundle#id()} need to be defined.
- *
* Here is an example use of {@link ProxyCodeSplitBundle} using manual declaration:
*
*
* @see ProviderBundle
* @see Code Splitting
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/ProxyEvent.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/ProxyEvent.java
index 2bd0843779..9b192fa08f 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/ProxyEvent.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/ProxyEvent.java
@@ -23,10 +23,10 @@
* Use this to annotate an event-handling method that should be registered in
* the proxy rather than being registered in the presenter. Handlers annotated
* in this way should not be registered in the Presenter.
- *
* The presenter will be instantiated as soon as the proxy intercepts the event, so
* the presenter will handle the event even if it was not yet initialized.
- *
* Methods annotated by {@code @ProxyEvent} must return {@code void} and accept
* a single parameter derived from {@link com.google.web.bindery.event.shared.Event Event}.
* This event class must have a static {@code getType} method returning a type
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/ProxyStandard.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/ProxyStandard.java
index 34a4ee8dfd..ea1c61083e 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/ProxyStandard.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/ProxyStandard.java
@@ -23,9 +23,9 @@
* Use this annotation with a {@link com.gwtplatform.mvp.client.proxy.Proxy} if
* you don't want the associated {@link com.gwtplatform.mvp.client.Presenter} to
* sit behind a split point.
- *
* Here is an example use of {@link ProxyStandard}:
- *
*
* Important! This is only be meant to be used by presenters associated
* with non-singleton views, for example when the same view class is reused
* with many presenters. As such, you will need to also use the
@@ -80,7 +80,7 @@ public AbstractPresenterModule() {
/**
* Convenience method for binding a singleton presenter with its proxy, when
* using automatically generated proxy classes and non-singleton views.
- *
* Important! This is only be meant to be used by presenters associated
* with non-singleton views, for example when the same view class is reused
* with many presenters. As such, you will need to also use the
@@ -125,7 +125,7 @@ public AbstractPresenterModule() {
/**
* Convenience method for binding a singleton presenter with its proxy, when
* using custom-made proxy classes and non-singleton views.
- *
* Important! This is only be meant to be used by presenters associated
* with non-singleton views, for example when the same view class is reused
* with many presenters. As such, you will need to also use the
@@ -179,7 +179,7 @@ public AbstractPresenterModule() {
/**
* Convenience method for binding a singleton presenter with its proxy, when
* using custom-made proxy classes and non-singleton views.
- *
* Important! This is only be meant to be used by presenters associated
* with non-singleton views, for example when the same view class is reused
* with many presenters. As such, you will need to also use the
@@ -284,7 +284,7 @@ protected void bindPresenterWidgetFactory(Class presenterFactory,
/**
* Bind a view interface to its implementation in a non-singleton manner.
- *
* Important! This is only be meant to be used for presenter associated
* with non-singleton views, for example when the same view class is reused
* with many presenters. As such, you will use this method with
@@ -307,7 +307,7 @@ protected
* Important! If you want to use the same {@link PresenterWidget} in
* many different places, you should consider making it non-singleton with
* {@link #bindPresenterWidget}. It is possible to use the same singleton
@@ -335,7 +335,7 @@ protected , V extends View> void bindSingletonPrese
/**
* Convenience method for binding a singleton {@link PresenterWidget} with its
* {@link View}.
- *
* Important! If you want to use the same {@link PresenterWidget} in
* many different places, you should consider making it non-singleton with
* {@link #bindPresenterWidget}. It is possible to use the same singleton
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/gin/DefaultModule.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/gin/DefaultModule.java
index 0f8ea4f04b..2189147377 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/gin/DefaultModule.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/gin/DefaultModule.java
@@ -18,8 +18,6 @@
import java.lang.annotation.Annotation;
-import javax.inject.Singleton;
-
import com.google.gwt.inject.client.AbstractGinModule;
import com.google.web.bindery.event.shared.EventBus;
import com.google.web.bindery.event.shared.SimpleEventBus;
@@ -33,6 +31,8 @@
import com.gwtplatform.mvp.shared.proxy.ParameterTokenFormatter;
import com.gwtplatform.mvp.shared.proxy.TokenFormatter;
+import jakarta.inject.Singleton;
+
/**
* Module with default GWTP bindings. You can use {@link DefaultModule.Builder} to configure each required bindings.
*/
@@ -131,7 +131,7 @@ String getDefaultPlace() {
* When instantiating the module this way be sure to read {@link DefaultPlaceManager} and manually bind the required
* constants. Consider using {@link DefaultModule.Builder} if you need to use a different implementation than the
* default one for a binding.
- *
* Important! If you use this class, don't forget to bind {@link DefaultPlace}, {@link ErrorPlace} and {@link
* UnauthorizedPlace} to name tokens associated to a presenter.
* Important! If you use this class, don't forget to bind {@link DefaultPlace DefaultPlace},
* {@link ErrorPlace ErrorPlace} and {@link UnauthorizedPlace UnauthorizedPlace} to valid name tokens.
- *
* Note: The default, error and unauthorized places are revealed without updating the browser's URL (hence
* the false value passed in {@link #revealPlace(PlaceRequest, boolean) revealPlace}).
* This will avoid stepping into an infinite navigation loop if the user navigates back (using the browser's back
* button).
- *
* Here's an example of infinite navigation loop that we want to avoid:
*
* You should usually bind your {@link Gatekeeper} as a singleton.
*/
public interface Gatekeeper {
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/GatekeeperWithParams.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/GatekeeperWithParams.java
index 0beb67a617..860c342f6f 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/GatekeeperWithParams.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/GatekeeperWithParams.java
@@ -19,7 +19,7 @@
/**
* Specialized {@link Gatekeeper} which needs additional parameters
* in order to find out if the protected {@link Place} can be revealed.
- *
* Example of use:
*
* You must also make sure that your custom Ginjector provides a {@code get}
* method returning this {@link GatekeeperWithParams} if you want to use it
* with the {@link com.gwtplatform.mvp.client.annotations.GatekeeperParams}
* annotation.
- *
* You should usually bind your {@link GatekeeperWithParams} as a singleton.
*/
public interface GatekeeperWithParams extends Gatekeeper {
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/LockInteractionEvent.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/LockInteractionEvent.java
index ce404477bb..b3005041bd 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/LockInteractionEvent.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/LockInteractionEvent.java
@@ -23,10 +23,11 @@
* This event is fired whenever interaction should be locked throughout the application,
* usually because a navigation operation is taking place and interacting could cause
* unexpected state switches.
- *
* This event is typically fired by the {@link PlaceManager} whenever a navigation operation
* starts or stops. It is handled by the default {@link com.gwtplatform.mvp.client.RootPresenter} implementation.
- * Override {@link com.gwtplatform.mvp.client.RootPresenter#lockInteraction(boolean)} to customize the behaviour.
+ * Override {@link com.gwtplatform.mvp.client.RootPresenter#onLockInteraction(LockInteractionEvent)} to customize
+ * the behaviour.
*/
public class LockInteractionEvent extends GwtEvent
* Use {@link #create(Presenter, AsyncCallback)} to attach that callback to your own.
- *
* For more complex scenarios you can use {@link ProxyPlace#manualReveal(Presenter)}.
*
* @param
* Instead of registering your presenter towards this event, consider overriding
* {@link com.gwtplatform.mvp.client.PresenterWidget#onReset()}. From there
* you can call {@link PlaceManager#getCurrentPlaceRequest()} to get the
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/NavigationHandler.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/NavigationHandler.java
index 3982878dd6..05284de38a 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/NavigationHandler.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/NavigationHandler.java
@@ -22,5 +22,5 @@
* Handler for {@link NavigationEvent}.
*/
public interface NavigationHandler extends EventHandler {
- void onNavigation(final NavigationEvent navigationEvent);
+ void onNavigation(NavigationEvent navigationEvent);
}
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/NavigationRefusedHandler.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/NavigationRefusedHandler.java
index ce6e41cb2c..c42c3122af 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/NavigationRefusedHandler.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/NavigationRefusedHandler.java
@@ -22,6 +22,5 @@
* Handler for {@link NavigationRefusedEvent}.
*/
public interface NavigationRefusedHandler extends EventHandler {
- void onNavigationRefused(
- final NavigationRefusedEvent navigationRefusedEvent);
+ void onNavigationRefused(NavigationRefusedEvent navigationRefusedEvent);
}
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/NotifyingAsyncCallback.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/NotifyingAsyncCallback.java
index dba3a4444e..5644365489 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/NotifyingAsyncCallback.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/NotifyingAsyncCallback.java
@@ -23,7 +23,7 @@
* An implementation of {@link AsyncCallback} that sends events on the {@link EventBus} whenever
* an async call starts, succeeds, or fails. The events fired are {@link AsyncCallStartEvent},
* {@link AsyncCallSucceedEvent}, {@link AsyncCallFailEvent}.
- *
* So the way to use {@link NotifyingAsyncCallback} is the following:
*
* A place represents a particular 'bookmark' or location inside the
* application. A place is stateful - it may represent a location with it's
* current settings, such as a particular ID value, or other unique indicators
@@ -32,7 +32,7 @@ public interface Place {
/**
* Checks if the associated presenter can be revealed.
- *
* The default implementation of this method always return
* Invoking this history token will discard all the place hierarchy, effectively revealing the
* request as a top-level place. To keep the place hierarchy, see
* {@link #buildRelativeHistoryToken(com.gwtplatform.mvp.shared.proxy.PlaceRequest)},
@@ -49,7 +49,7 @@ public interface PlaceManager extends HasHandlers {
/**
* Builds a string corresponding to the history token to reveal the specified place from the
* current place hierarchy.
- *
* Examples, suppose the current hierarchy is {@code requestA > requestB > requestC}
*
* To get the history token for revealing as a top-level place, see {@link #buildHistoryToken}. To
* navigate back to a specific place in the hierarchy, see
* {@link #buildRelativeHistoryToken(int)}.
@@ -88,11 +88,11 @@ public interface PlaceManager extends HasHandlers {
/**
* Builds a string corresponding to the history token to reveal the specified {@link PlaceRequest}
* relative to the other places in the current place hierarchy.
- *
* To get the history token for revealing as a top-level place, see {@link #buildHistoryToken}. To
* navigate back to a specific place in the hierarchy, see
* {@link #buildRelativeHistoryToken(int)}.
- *
* Examples, suppose the current hierarchy is {@code requestA > requestB > requestC}
*
* This method will only work if the passed {@link PlaceRequest} has the same name token as the
* current place request (see {@link #getCurrentPlaceRequest()}.
- *
* If {@code true} is passed as a second parameter, then this method causes a new token to be
* added to the browser history, affecting the behavior of the browser's back button.
*
@@ -185,7 +185,7 @@ public interface PlaceManager extends HasHandlers {
* with it. Consider passing {@code false} as the second parameter of {@code revealPlace},
* otherwise a new token will be inserted in the browser's history and hitting the browser's
* back button will not take the user out of the application.
- *
* Important! Make sure you build a valid {@link PlaceRequest} and that the user has access
* to it, otherwise you might create an infinite loop.
*/
@@ -199,9 +199,9 @@ public interface PlaceManager extends HasHandlers {
* second parameter of {@code revealPlace}, otherwise a new token will be inserted in the
* browser's history and hitting the browser's back button will take the user back to the
* invalid page he initially tried to access.
- *
* The default implementation is simply to call {@link #revealDefaultPlace()}.
- *
* Important! Make sure you build a valid {@link PlaceRequest} and that the user has access
* to it, otherwise you might create an infinite loop.
*
@@ -221,9 +221,9 @@ public interface PlaceManager extends HasHandlers {
* be inserted in the browser's history and hitting the browser's back button will take
* the user
* back to the unauthorized page he initially tried to access.
- *
* The default implementation is simply to call {@link #revealErrorPlace(String)}.
- *
* Important! Make sure you build a valid {@link PlaceRequest} and that the user has access
* to it, otherwise you might create an infinite loop.
*
@@ -236,10 +236,10 @@ public interface PlaceManager extends HasHandlers {
* current page. Navigating away can happen either occur by changing the program state (the
* history token), by entering an external URL or by closing the window. All cases will be
* handled.
- *
* If the user indicates that he doesn't accept the navigation, then the navigation will be
* cancelled, {@link NavigationRefusedEvent} will be triggered and the current page will remain.
- *
*
* @param question The question to display. Pass {@code null} to accept navigation directly,
* without asking a question.
@@ -249,7 +249,7 @@ public interface PlaceManager extends HasHandlers {
/**
* Programmatically reveals the specified place, updating the browser URL in the process. If you
* don't want the browser's URL to be updated see {@link #revealPlace(PlaceRequest, boolean)}.
- *
* This discards the current place hierarchy, effectively revealing the request as a top-level
* place. To keep the current place hierarchy, see {@link #revealRelativePlace(PlaceRequest)},
* {@link #revealRelativePlace(PlaceRequest, int)} or {@link #revealRelativePlace(int)}. To reveal
@@ -262,7 +262,7 @@ public interface PlaceManager extends HasHandlers {
/**
* Programmatically reveals the specified place.
- *
* This discards the current place hierarchy, effectively revealing the request as a top-level
* place. To keep the current place hierarchy, see {@link #revealRelativePlace(PlaceRequest)},
* {@link #revealRelativePlace(PlaceRequest, int)} or {@link #revealRelativePlace(int)}. To reveal
@@ -278,7 +278,7 @@ public interface PlaceManager extends HasHandlers {
/**
* Programmatically reveals the specified hierarchy of places place, updating the browser URL in
* the process.
- *
* This discards the current place hierarchy, replacing it with the specified place hierarchy. To
* keep the current place hierarchy, see {@link #revealRelativePlace(PlaceRequest)},
* {@link #revealRelativePlace(PlaceRequest, int)} or {@link #revealRelativePlace(int)}. To reveal
@@ -288,7 +288,7 @@ public interface PlaceManager extends HasHandlers {
/**
* Programmatically reveals the specified place from the current place hierarchy.
- *
* Examples. Suppose the current hierarchy is {@code requestA > requestB > requestC}:
*
* To reveal as a top-level place, see {@link #revealPlace}. To navigate back to a specific place
* in the hierarchy, see {@link #revealRelativePlace(int)}.
*
@@ -322,10 +322,10 @@ public interface PlaceManager extends HasHandlers {
/**
* Programmatically reveals the specified place relative to the other places in the current place
* hierarchy. This will result in a {@link PlaceRequestInternalEvent} being fired.
- *
* To reveal as a top-level place, see {@link #revealPlace}. To navigate back to a specific place
* in the hierarchy, see {@link #revealRelativePlace(int)}.
- *
* Examples. Suppose the current hierarchy is {@code requestA > requestB > requestC}:
*
* Important! You should never fire that event directly. Instead, build a
* {@link com.gwtplatform.mvp.shared.proxy.PlaceRequest} and pass it to one of the following methods:
*
* Important! You should not fire that event directly, see
* {@link PlaceRequestInternalEvent} for more details.
*
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/Proxy.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/Proxy.java
index 48b356ad9b..0a86923901 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/Proxy.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/Proxy.java
@@ -24,9 +24,9 @@
* before the full {@link Presenter} is instantiated. This include, among
* others, the presenter's specific {@link RevealContentEvent} that needs the
* presenter to reveal itself.
- *
* The relationship between a presenter and its proxy is two-way.
- *
* {@link Presenter} subclasses will usually define their own interface called
* MyProxy and be derived from this one.
*
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ProxyImpl.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ProxyImpl.java
index d19be164ab..3ff441a47d 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ProxyImpl.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ProxyImpl.java
@@ -16,14 +16,14 @@
package com.gwtplatform.mvp.client.proxy;
-import javax.inject.Inject;
-
import com.google.gwt.event.shared.GwtEvent;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.web.bindery.event.shared.EventBus;
import com.gwtplatform.common.client.IndirectProvider;
import com.gwtplatform.mvp.client.Presenter;
+import jakarta.inject.Inject;
+
/**
* @param The presenter's type.
*/
@@ -55,7 +55,7 @@ public void getRawPresenter(NotifyingAsyncCallback
* Never call directly, it should only be called by GIN. Method injection is
* used instead of constructor injection, because the latter doesn't work well
* with GWT generators.
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ProxyPlace.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ProxyPlace.java
index 4a0a1fd02d..1492413964 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ProxyPlace.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ProxyPlace.java
@@ -31,11 +31,11 @@ public interface ProxyPlace > extends Proxy , Place {
* called following one or more asynchronous server calls in
* {@link Presenter#prepareFromRequest(com.gwtplatform.mvp.shared.proxy.PlaceRequest)}.
* You should manually reveal your presenter exactly once, when all the data needed to use it is available.
- *
* If you failed to fetch the data or cannot reveal the presenter you must call
* {@link #manualRevealFailed()} otherwise navigation will be blocked and your application
* will appear to be frozen.
- *
* Also consider using {@link ManualRevealCallback}, which will automatically call
* {@link #manualReveal(Presenter)} upon success and {@link #manualRevealFailed()} upon
* failure.
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ProxyPlaceAbstract.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ProxyPlaceAbstract.java
index c630057680..6c42a57674 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ProxyPlaceAbstract.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ProxyPlaceAbstract.java
@@ -16,8 +16,6 @@
package com.gwtplatform.mvp.client.proxy;
-import javax.inject.Inject;
-
import com.google.gwt.core.client.Scheduler;
import com.google.gwt.event.shared.GwtEvent;
import com.google.gwt.user.client.Command;
@@ -29,10 +27,12 @@
import com.gwtplatform.mvp.client.Presenter;
import com.gwtplatform.mvp.shared.proxy.PlaceRequest;
+import jakarta.inject.Inject;
+
/**
* A useful mixing class to define a {@link Proxy} that is also a {@link Place}.
* You can usually inherit from the simpler form {@link ProxyPlace}.
- *
*
* @param The Presenter's type.
* @param
* Never call directly, it should only be called by GIN. Method injection is
* used instead of constructor injection, because the latter doesn't work well
* with GWT generators.
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ProxyRaw.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ProxyRaw.java
index eb28426606..2a9aea1fed 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ProxyRaw.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ProxyRaw.java
@@ -30,7 +30,7 @@ public interface ProxyRaw extends HasHandlers {
* Get the associated {@link Presenter}. The presenter can only be obtained in
* an asynchronous manner to support code splitting when needed. To access the
* presenter, pass a callback.
- *
* The difference between this method and
* {@link Proxy#getPresenter}
* is that the latter one gets the specific parameterised {@link Presenter}
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ResetPresentersEvent.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ResetPresentersEvent.java
index 9fdad96340..16cc181d5e 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ResetPresentersEvent.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ResetPresentersEvent.java
@@ -23,7 +23,7 @@
* This event is fired whenever all visible presenters should
* be reset. This is fired automatically right after navigating to a
* new place.
- *
* The default implementation or {@link com.gwtplatform.mvp.client.RootPresenter} causes
* {@link com.gwtplatform.mvp.client.PresenterWidget#onReset()}
* to be called, starting from the top level presenter and going down.
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ResetPresentersHandler.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ResetPresentersHandler.java
index 697957de32..420ccc600b 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ResetPresentersHandler.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/ResetPresentersHandler.java
@@ -20,6 +20,6 @@
public interface ResetPresentersHandler extends EventHandler {
- void onResetPresenters(final ResetPresentersEvent resetPresentersEvent);
+ void onResetPresenters(ResetPresentersEvent resetPresentersEvent);
}
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/RevealContentEvent.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/RevealContentEvent.java
index 1fe9166531..763f9a5e36 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/RevealContentEvent.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/RevealContentEvent.java
@@ -25,7 +25,7 @@
* This event is fired by a {@link Presenter} that desires to reveal itself within its parent. It is typically fired in
* the {@link Presenter#revealInParent()} method. To reveal a presenter at the root of the application, fire either
* {@link RevealRootContentEvent}, {@link RevealRootLayoutContentEvent} or {@link RevealRootPopupContentEvent} instead.
- *
* This event is handled by {@link Proxy} classes. Upon handling this event, the proxy first sets the content
* appropriately in the presenter, and then reveals the presenter.
*
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/RevealRootContentEvent.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/RevealRootContentEvent.java
index 98b6b5fc50..5621c418e3 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/RevealRootContentEvent.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/RevealRootContentEvent.java
@@ -24,7 +24,7 @@
* This event is fired by a {@link Presenter} that desires to reveal itself
* at the root of the application. It is typically fired in the {@link Presenter#revealInParent()}
* method.
- *
* This type of content is usually meant to use the browser like a regular webpage, adding a vertical
* scrollbar as the content overflow.
*
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/RevealRootLayoutContentEvent.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/RevealRootLayoutContentEvent.java
index c3a7a5f5a1..ec31be1949 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/RevealRootLayoutContentEvent.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/RevealRootLayoutContentEvent.java
@@ -24,7 +24,7 @@
* This event is fired by a {@link Presenter} that desires to reveal itself
* at the root of the application. It is typically fired in the {@link Presenter#revealInParent()}
* method.
- *
* This type of content
* is constrained to lie within the browser window, and to resize with it. You
* will be responsible for adding your own scrollbars as content overflow,
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/processors/DefaultGatekeeperProcessor.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/processors/DefaultGatekeeperProcessor.java
index bfb2274761..dd69718c43 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/processors/DefaultGatekeeperProcessor.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/processors/DefaultGatekeeperProcessor.java
@@ -23,7 +23,6 @@
import javax.annotation.processing.Processor;
import javax.annotation.processing.RoundEnvironment;
-import javax.inject.Singleton;
import javax.lang.model.element.Element;
import javax.lang.model.element.ElementKind;
import javax.lang.model.element.Modifier;
@@ -42,6 +41,8 @@
import com.gwtplatform.processors.tools.exceptions.UnableToProcessException;
import com.gwtplatform.processors.tools.utils.MetaInfResource;
+import jakarta.inject.Singleton;
+
import static com.google.auto.common.MoreElements.hasModifiers;
import static com.gwtplatform.common.processors.module.GwtpAppModuleProcessor.MAIN_MODULE_TYPE;
import static com.gwtplatform.processors.tools.bindings.BindingContext.newAnnotatedBinding;
@@ -111,8 +112,8 @@ private Set
* Before decoding a {@link String} URL fragment into a {@link PlaceRequest} or a
* {@link PlaceRequest} hierarchy, {@link ParameterTokenFormatter} will first pass the
- * {@link String} through {@link URL#decodeQueryString(String)} so that if the URL was URL-encoded
+ * {@link String} through {@link UrlUtils#decodeQueryString(String)} so that if the URL was URL-encoded
* by some user agent, like a mail user agent, it is still parsed correctly.
- *
* For example, {@link ParameterTokenFormatter} would parse any of the following:
- *
*
* Into the following hierarchy of {@link PlaceRequest}:
- *
*
* If you want to use different symbols as separator, use the
- * {@link #ParameterTokenFormatter(String, String, String)} constructor.
+ * {@link #ParameterTokenFormatter(UrlUtils, String, String, String)} constructor.
*/
public class ParameterTokenFormatter implements TokenFormatter {
@@ -94,7 +94,7 @@ public ParameterTokenFormatter(UrlUtils urlUtils) {
/**
* This constructor makes it possible to use custom separators in your token formatter. The
* separators must be 1-letter strings, they must all be different from one another, and they
- * must be encoded when ran through {@link URL#encodeQueryString(String)}).
+ * must be encoded when ran through {@link UrlUtils#encodeQueryString(String)}).
*
* @param hierarchySeparator The symbol used to separate {@link PlaceRequest} in a hierarchy.
* Must be a 1-character string and can't be {@code %}.
@@ -148,7 +148,7 @@ public PlaceRequest toPlaceRequest(String placeToken) throws TokenFormatExceptio
/**
* Converts an unescaped string to a place request. To unescape the hash fragment you must run it
- * through {@link URL#decodeQueryString(String)}.
+ * through {@link UrlUtils#decodeQueryString(String)}.
*
* @param unescapedPlaceToken The unescaped string to convert to a place request.
* @return The place request.
@@ -251,7 +251,7 @@ private String placeTokenToUnescapedString(PlaceRequest placeRequest)
/**
* Use our custom escaping mechanism to escape the provided string. This should be used on the
* name token, and the parameter keys and values, before they are attached with the various
- * separators. The string will also be passed through {@link URL#encodeQueryString}.
+ * separators. The string will also be passed through {@link UrlUtils#encodeQueryString}.
* Visible for testing.
*
* @param string The string to escape.
@@ -287,9 +287,9 @@ String customEscape(String string) {
* Use our custom escaping mechanism to unescape the provided string. This should be used on the
* name token, and the parameter keys and values, after they have been split using the various
* separators. The input string is expected to already be sent through
- * {@link URL#decodeQueryString}.
+ * {@link UrlUtils#decodeQueryString}.
*
- * @param string The string to unescape, must have passed through {@link URL#decodeQueryString}.
+ * @param string The string to unescape, must have passed through {@link UrlUtils#decodeQueryString}.
* @return The unescaped string.
* @throws TokenFormatException if there is an error converting.
*/
diff --git a/gwtp-core/gwtp-mvp-shared/src/main/java/com/gwtplatform/mvp/shared/proxy/PlaceRequest.java b/gwtp-core/gwtp-mvp-shared/src/main/java/com/gwtplatform/mvp/shared/proxy/PlaceRequest.java
index 3b408defc8..2db3864ae8 100644
--- a/gwtp-core/gwtp-mvp-shared/src/main/java/com/gwtplatform/mvp/shared/proxy/PlaceRequest.java
+++ b/gwtp-core/gwtp-mvp-shared/src/main/java/com/gwtplatform/mvp/shared/proxy/PlaceRequest.java
@@ -25,16 +25,16 @@
* This class represents a 'request' for a place location. It includes the 'id'
* of the place as well as any parameter values. It can convert from and to
* String tokens for use with the GWT History.
- *
+ *
* Place request tokens are formatted like this:
- *
*
+ *
* There is a mandatory 'nameToken' value, followed by 0 or more key/value
* pairs, separated by semi-colons (';'). A few examples follow:
- *
*
@@ -38,7 +38,7 @@
*
* Replace the default binding to {@link ParameterTokenFormatter} with {@link RouteTokenFormatter}. In case you use
- * GWTPs {@link com.gwtplatform.mvp.client.gin.DefaultModule DefaultModule}:
+ * GWTPs {@code com.gwtplatform.mvp.client.gin.DefaultModule}:
*
* Sorted in ascending order by the number of static matches.
*/
final TreeSet
+ *
* If you type:
- *
*
*
*
* RetrieveFooAction will have fields, getters, and a constructor for fooKey,
* plus equals, hashCode, toString etc, for it to function correctly as an
* Action.
- *
* RetrieveFooResult will have fields, getters, and a constructor that accepts
* food and good, for bar, plus equals, hashCode, toString etc, for it to
* function correctly as an Result.
- *
* Complex example:
- *
*
* Notes:
- *
* There is no naming requirement for your class name. It will be appended with
* Action and Result
- *
+ *
+ *
* {@code isSecured} Specifies the value that the generated isSecured() method
* should return. Defaults to true if not specified. See
* {@link com.gwtplatform.dispatch.rpc.shared.Action} for more details.
- *
* {@code serviceName} Specifies the value that the generated getServiceName()
* method should return. Defaults to Action.DEFAULT_SERVICE_NAME +
* "YourClassName" if not specified. See
* {@link com.gwtplatform.dispatch.rpc.shared.Action} for more details.
- *
* {@code extraActionInterfaces} A comma separated list of fully qualified
* interfaces that the Action class will implement. Each of the
* functions defined in the interface must match an function
* autogenerated using the field domain.
- *
* {@code extraResultInterfaces} A comma separated list of fully qualified
* interfaces that the Result class will implement. Each of the
* functions defined in the interface must match an function
diff --git a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/GenDto.java b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/GenDto.java
index 9a2d273a83..eeafe6e4fd 100644
--- a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/GenDto.java
+++ b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/GenDto.java
@@ -25,9 +25,9 @@
/**
* Annotation to generate simple Data Transfer Object (DTO) classes solely for
* transferring data between the client and the server.
- *
* If you type:
- *
*
* gwt-platform will generate a {@code LineItemDto} class.
- *
* {@code LineItemDto} will have fields, getters, and a constructor that takes
* {@code productKey} and quantity plus equals, hashCode, toString etc,
- *
* {@code LineItemDto} could be used when creating an invoice.
- *
*
* The alternative to using Dto classes would be to construct persistable
* {@code LineItem} objects on the client and send them as part of the gwt-rpc call.
* Using Dto classes is a better choice because:
@@ -65,14 +65,14 @@
* probably have a price field. The server should ignore the price as it may
* have been tampered with.
+ *
* Notes:
- *
* There is no naming requirement for your class name. It will be appended with
* Dto
- *
+ *
*/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
diff --git a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/GenEvent.java b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/GenEvent.java
index b4c0778656..213e697391 100644
--- a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/GenEvent.java
+++ b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/GenEvent.java
@@ -24,9 +24,9 @@
/**
* Annotation to generate Event and Handler classes.
- *
* If you type:
- *
*
* gwt-platform will generate two classes, {@code FooChangedEvent} and {@code FooChangedHandler}.
- *
* {@code FooChangedEvent} will have fields, getters, and a constructor for foo and
* originator, plus static {@code getType()}, instance dispatch, etc., for it to
* function correctly as a {@link com.google.gwt.event.shared.GwtEvent}.
- *
* {@code FooChangedHandler} will be an interface with a {@code onFooChanged} method that takes
* a {@code FooChangedEvent} parameter.
- *
* Notes:
- *
* There is no naming requirement for your class name. It will be appended with
* Event and Handler.
- *
* Using @{@link Order}:
- *
* The order the the fields can be optionally specified using the @{@link Order}
* annotation. If @{@link Order} is not used, then the order of the parameters to the
* constructor and to fire() is undefined.
- *
* If you type:
- *
*
*
*
+ *
* Using @{@link Optional}:
- *
* If @{@link Optional} is used together with @{@link GenEvent}, an additional fire method is generated.
* If you type:
- *
*
*
*
* By default the output is generated to the same source folder.
*
*
* If you are not using a custom target package, the processor will
* automatically replace ".server" in your package name with ".shared".
*
*
*
* See {@link GenDispatch} for an example.
- *
* {@code value} Defines the order that fields should be specified in the
* constructor of the generated action class.
*/
diff --git a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/Optional.java b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/Optional.java
index 8b0b0511d5..bc2cfd6cb3 100644
--- a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/Optional.java
+++ b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/Optional.java
@@ -24,7 +24,7 @@
/**
* Use the @{@link Optional} annotation to specify optional fields.
- *
*
* If one or more fields are declared optional, the system generates an
* additional pair of constructor and {@code fire} method that can be called
@@ -34,7 +34,7 @@
* The omitted fields are not initialized and will contain
* their default value (i.e. objects will be initialized to {@code null}).
*
*
* You can use this annotation with:
*
*
* See the above annotations for specific behaviors with optional fields.
*
* Fields with an @Order will be first, sorted numerically, and then fields
* without an @Order will be afterwards in an undefined order.
- *
* See {@link GenEvent} or {@link GenDto} for an example.
*/
@Target({ElementType.FIELD})
diff --git a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/Out.java b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/Out.java
index 1862265ada..ea422ba75d 100644
--- a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/Out.java
+++ b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/Out.java
@@ -24,9 +24,9 @@
/**
* Use the @Out(value) annotation on fields in an @GenDispatch class.
- *
* See {@link GenDispatch} for an example.
- *
* {@code value} Defines the order that fields should be specified in the
* constructor of the generated result class.
*/
diff --git a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/helper/BuilderGenerationHelper.java b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/helper/BuilderGenerationHelper.java
index 92d40f6a87..9565845998 100644
--- a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/helper/BuilderGenerationHelper.java
+++ b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/helper/BuilderGenerationHelper.java
@@ -28,7 +28,7 @@
* You should consider to use a builder when you are faced with many constructor
* parameters. Specially mandatory and optional parameters. Here comes the
* {@link BuilderGenerationHelper} into play.
* Instead of making the desired object directly, the client calls a constructor
* (or static factory) with all of the required parameters and gets a builder
* object. Then the client calls setter-like methods on the builder object to
@@ -36,7 +36,7 @@
* parameterless build method to generate the object, which is immutable. The
* builder is a static member class of the class it builds. This class offers a
* method to generate a builder like this.
- *
* Rules:
* No optional fields - no Builder.
* Has required fields and optional fields - Constructor for required fields + Builder.
diff --git a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/helper/ClassGenerationHelper.java b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/helper/ClassGenerationHelper.java
index 39b2f95bc1..7f17b48ab0 100644
--- a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/helper/ClassGenerationHelper.java
+++ b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/helper/ClassGenerationHelper.java
@@ -37,11 +37,11 @@ public ClassGenerationHelper(Writer sourceWriter) {
/**
* Generates a class header. Pass null to skip the parent class.
- *
*
* Usage:
*
*
* Generated example:
*
*
*
*
* Generates:
- *
*
* Placeholder format: {int}
* Usage:
*
* Usage:
*
*
*
* Usage:
*
*
*
* Generated example:
*
* If you type:
- *
*
* The following method body will be generated:
- *
*
* {@link GenDispatchProcessor} should only ever be called by tool infrastructure. See
* {@link javax.annotation.processing.Processor} for more details.
*/
diff --git a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenDtoProcessor.java b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenDtoProcessor.java
index ba96194ce3..73e4ce2844 100644
--- a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenDtoProcessor.java
+++ b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenDtoProcessor.java
@@ -31,7 +31,7 @@
/**
* Processes {@link GenDto} annotations.
- *
* {@link GenDtoProcessor} should only ever be called by tool infrastructure.
* See {@link javax.annotation.processing.Processor} for more details.
*/
diff --git a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenEventProcessor.java b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenEventProcessor.java
index fa5ea18e6b..3f78ef0559 100644
--- a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenEventProcessor.java
+++ b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenEventProcessor.java
@@ -32,7 +32,7 @@
/**
* Processes {@link GenEvent} annotations.
- *
* {@link GenEventProcessor} should only ever be called by tool infrastructure.
* See {@link javax.annotation.processing.Processor} for more details.
*/
diff --git a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenProcessor.java b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenProcessor.java
index 78c5c3b86c..fd388b37eb 100644
--- a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenProcessor.java
+++ b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenProcessor.java
@@ -31,7 +31,7 @@
*
* Abstract processor class for all {@code @GenX} annotations.
*
* Annotate your processor with @{@link SupportedAnnotationTypes} or override
* {@link #getSupportedAnnotationTypes()} to receive elements, that are
* annotated in the current environment with one of the given annotations. You
diff --git a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenProxyProcessor.java b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenProxyProcessor.java
index 978d989c13..a698e5396f 100644
--- a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenProxyProcessor.java
+++ b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenProxyProcessor.java
@@ -38,7 +38,7 @@
/**
* Processes {@link GenProxy} annotations.
- *
* {@link GenProxyProcessor} should only ever be called by tool infrastructure.
* See {@link javax.annotation.processing.Processor} for more details.
*/
diff --git a/gwtp-core/gwtp-processors/src/test/java/com/gwtplatform/dispatch/annotation/DispatchAnnotationProcessingTest.java b/gwtp-core/gwtp-processors/src/test/java/com/gwtplatform/dispatch/annotation/DispatchAnnotationProcessingTest.java
index a831c90998..b6f7cbbfcc 100644
--- a/gwtp-core/gwtp-processors/src/test/java/com/gwtplatform/dispatch/annotation/DispatchAnnotationProcessingTest.java
+++ b/gwtp-core/gwtp-processors/src/test/java/com/gwtplatform/dispatch/annotation/DispatchAnnotationProcessingTest.java
@@ -24,7 +24,7 @@
/**
* This test is being run by ant, but is not run in eclipse.
- *
* TODO: Make a test suite with a couple of permutations (with/without Order, Optional, both...).
*/
public class DispatchAnnotationProcessingTest {
diff --git a/gwtp-core/gwtp-processors/src/test/java/com/gwtplatform/dispatch/annotation/DtoAnnotationProcessingTest.java b/gwtp-core/gwtp-processors/src/test/java/com/gwtplatform/dispatch/annotation/DtoAnnotationProcessingTest.java
index 0e5c488e76..2967476812 100644
--- a/gwtp-core/gwtp-processors/src/test/java/com/gwtplatform/dispatch/annotation/DtoAnnotationProcessingTest.java
+++ b/gwtp-core/gwtp-processors/src/test/java/com/gwtplatform/dispatch/annotation/DtoAnnotationProcessingTest.java
@@ -23,7 +23,7 @@
/**
* This test is being run by ant, but is not run in eclipse.
- *
* TODO: Make a test suite with a couple of permutations (with/without Order, Optional, both...).
*/
public class DtoAnnotationProcessingTest {
diff --git a/gwtp-core/gwtp-processors/src/test/java/com/gwtplatform/dispatch/annotation/EventAnnotationProcessingTest.java b/gwtp-core/gwtp-processors/src/test/java/com/gwtplatform/dispatch/annotation/EventAnnotationProcessingTest.java
index 384f70b2bf..1061168bf8 100644
--- a/gwtp-core/gwtp-processors/src/test/java/com/gwtplatform/dispatch/annotation/EventAnnotationProcessingTest.java
+++ b/gwtp-core/gwtp-processors/src/test/java/com/gwtplatform/dispatch/annotation/EventAnnotationProcessingTest.java
@@ -26,7 +26,7 @@
/**
* This test is being run by ant, but is not run in eclipse.
- *
* TODO: Make a test suite with a couple of permutations (with/without Order, Optional, both...).
*/
public class EventAnnotationProcessingTest {
diff --git a/gwtp-core/gwtp-processors/src/test/java/com/gwtplatform/dispatch/annotation/ProxyAnnotationProcessingTest.java b/gwtp-core/gwtp-processors/src/test/java/com/gwtplatform/dispatch/annotation/ProxyAnnotationProcessingTest.java
index 7e2db877ca..f815e28a45 100644
--- a/gwtp-core/gwtp-processors/src/test/java/com/gwtplatform/dispatch/annotation/ProxyAnnotationProcessingTest.java
+++ b/gwtp-core/gwtp-processors/src/test/java/com/gwtplatform/dispatch/annotation/ProxyAnnotationProcessingTest.java
@@ -36,7 +36,7 @@
/**
* This test is being run by ant, but is not run in eclipse.
- *
*/
public class ProxyAnnotationProcessingTest {
diff --git a/gwtp-core/gwtp-tester/pom.xml b/gwtp-core/gwtp-tester/pom.xml
index 3d7bc757e4..690be633cc 100644
--- a/gwtp-core/gwtp-tester/pom.xml
+++ b/gwtp-core/gwtp-tester/pom.xml
@@ -30,21 +30,17 @@
* Note that the same mock will be returned for every invocation of of {@link #get(AsyncCallback)} (it behaves as a
* singleton) which may impact your tests, for example if you rely on {@code ==}.
*
diff --git a/gwtp-core/gwtp-tester/src/main/java/com/gwtplatform/tester/DeferredCommandManager.java b/gwtp-core/gwtp-tester/src/main/java/com/gwtplatform/tester/DeferredCommandManager.java
index 13aab0023d..92705fca1d 100644
--- a/gwtp-core/gwtp-tester/src/main/java/com/gwtplatform/tester/DeferredCommandManager.java
+++ b/gwtp-core/gwtp-tester/src/main/java/com/gwtplatform/tester/DeferredCommandManager.java
@@ -24,7 +24,7 @@
/**
* This class mimics GWT's {@link com.google.gwt.user.client.DeferredCommand DeferredCommand} but it can be used in test
* cases without having to rely on a {@link com.google.gwt.junit.client.GWTTestCase GWTTestCase}.
- *
* Use {@link #addCommand(Command)} to add deferred commands, then call {@link #pump()} to process all the deferred
* commands.
*/
diff --git a/gwtp-core/gwtp-tester/src/main/java/com/gwtplatform/tester/MockFactory.java b/gwtp-core/gwtp-tester/src/main/java/com/gwtplatform/tester/MockFactory.java
index 92ec197aae..4cd38ef6e4 100644
--- a/gwtp-core/gwtp-tester/src/main/java/com/gwtplatform/tester/MockFactory.java
+++ b/gwtp-core/gwtp-tester/src/main/java/com/gwtplatform/tester/MockFactory.java
@@ -19,10 +19,10 @@
/**
* Mocking factory that transfers the work of creating a mock object to any Mocking framework. User should create an
* implementation to inject in their {@link MockingBinder} implementation.
- *
*
* Note that the same mock will be returned for every invocation of {{@link #get()} (it behaves as a singleton) which
* may impact your tests, for example if you rely on {@code ==}.
*
diff --git a/gwtp-core/gwtp-tester/src/main/java/com/gwtplatform/tester/MockingBinder.java b/gwtp-core/gwtp-tester/src/main/java/com/gwtplatform/tester/MockingBinder.java
index 32b67abc81..d6c211475d 100644
--- a/gwtp-core/gwtp-tester/src/main/java/com/gwtplatform/tester/MockingBinder.java
+++ b/gwtp-core/gwtp-tester/src/main/java/com/gwtplatform/tester/MockingBinder.java
@@ -24,10 +24,10 @@
/**
* {@link MockingBinder} makes testing view even easier by mocking every {@link UiField} and returning a mocked object
* upon creation.
- *
* To use it, you should build a small class that extends MockingBinder and bind that class inside your Guice test
* module. You will have to provide a {@link MockFactory} to let MockingBinder mock everything.
- *
* Ex:
*
* Disarming GWT is important to unit test views.
*
* @param Mock type returned by {@link UiBinder#createAndBindUi(Object)}.
diff --git a/gwtp-core/pom.xml b/gwtp-core/pom.xml
index c96b1d65a0..6d6e02b804 100644
--- a/gwtp-core/pom.xml
+++ b/gwtp-core/pom.xml
@@ -44,9 +44,11 @@
* install(new RestDispatchAsyncModule.Builder()
* .sessionAccessor(MySessionAccessor.class)
* .build());
*
- *
- * @see com.gwtplatform.dispatch.rpc.client.gin.RpcDispatchAsyncModule
- * @see com.gwtplatform.dispatch.rest.client.gin.RestDispatchAsyncModule
*/
public abstract class AbstractDispatchAsyncModule extends AbstractGinModule {
/**
* A {@link AbstractDispatchAsyncModule} builder.
- *
+ *
* bindConstant().annotatedWith(SecurityCookie.class).to("MYCOOKIE");
*
- *
- * @see com.gwtplatform.dispatch.client.DefaultSecurityCookieAccessor
+ * Example
- *
+ * Example
+ *
*
* public class MyRpcInterceptorRegistry extends DefaultClientInterceptorRegistry {
@@ -85,7 +85,7 @@ protected void register(final RpcInterceptor, ?> handler) {
}
/**
- * Register a {@link javax.inject.Provider} of a client-side interceptor.
+ * Register a {@link jakarta.inject.Provider} of a client-side interceptor.
*
* @param actionType The type of action that the client-side interceptor supports.
* @param handlerProvider The {@link com.google.inject.Provider} of the handler.
@@ -111,7 +111,7 @@ protected void register(Class> actionType,
* Register a client-side interceptor that is part of a {@link com.gwtplatform.common.client.ProviderBundle}.
*
* @param actionType The type of that the client-side interceptor supports.
- * @param bundleProvider The {@link javax.inject.Provider} of the {@link com.gwtplatform.common.client
+ * @param bundleProvider The {@link jakarta.inject.Provider} of the {@link com.gwtplatform.common.client
* .ProviderBundle}.
* @param providerId The id of the client-side interceptor provider.
*/
diff --git a/gwtp-core/gwtp-dispatch-rpc-client/src/main/java/com/gwtplatform/dispatch/rpc/client/interceptor/InterceptorMismatchException.java b/gwtp-core/gwtp-dispatch-rpc-client/src/main/java/com/gwtplatform/dispatch/rpc/client/interceptor/InterceptorMismatchException.java
index 09007123e2..dbe18d53e9 100644
--- a/gwtp-core/gwtp-dispatch-rpc-client/src/main/java/com/gwtplatform/dispatch/rpc/client/interceptor/InterceptorMismatchException.java
+++ b/gwtp-core/gwtp-dispatch-rpc-client/src/main/java/com/gwtplatform/dispatch/rpc/client/interceptor/InterceptorMismatchException.java
@@ -19,7 +19,7 @@
/**
* This exception is thrown as a side-effect of an error when registering a delegating callback. A provider was
* registered to provide a client-side interceptor for an action, but this action was not the same action as specified
- * by {@link Interceptor#getActionType()}.
+ * by {@code Interceptor#getActionType()}.
*/
public class InterceptorMismatchException extends RuntimeException {
private static final long serialVersionUID = 1L;
diff --git a/gwtp-core/gwtp-dispatch-rpc-client/src/main/java/com/gwtplatform/dispatch/rpc/client/interceptor/RpcInterceptedAsyncCallback.java b/gwtp-core/gwtp-dispatch-rpc-client/src/main/java/com/gwtplatform/dispatch/rpc/client/interceptor/RpcInterceptedAsyncCallback.java
index b16295e853..97bd494425 100644
--- a/gwtp-core/gwtp-dispatch-rpc-client/src/main/java/com/gwtplatform/dispatch/rpc/client/interceptor/RpcInterceptedAsyncCallback.java
+++ b/gwtp-core/gwtp-dispatch-rpc-client/src/main/java/com/gwtplatform/dispatch/rpc/client/interceptor/RpcInterceptedAsyncCallback.java
@@ -27,11 +27,11 @@
import com.gwtplatform.dispatch.shared.DispatchRequest;
/**
- * {@code AsyncCallback} implementation wrapping another {@link AsyncCallback} object used by a {@link
- * com.gwtplatform.dispatch.client.interceptor.Interceptor Interceptor} implementations to delegate the execution
+ * {@code AsyncCallback} implementation wrapping another {@link AsyncCallback} object used by a {@code
+ * com.gwtplatform.dispatch.client.interceptor.Interceptor} implementations to delegate the execution
* result.
*
- * @param the {@link TypedAction} type.
+ * @param the {@code TypedAction} type.
* @param
- *
+ * Caching Interceptor Example
- *
+ * Caching Interceptor Example
+ *
*
* // Interface of cache singleton
@@ -116,7 +116,7 @@ public interface RpcInterceptor {
/**
* Handles the specified action.
- *
+ *
* filter("*.jsp").through(HttpSessionSecurityCookieFilter.class);
*
- *
+ * null value.
*/
diff --git a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/DispatchAsync.java b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/DispatchAsync.java
index dffd5af6a1..744ce00dc2 100644
--- a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/DispatchAsync.java
+++ b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/DispatchAsync.java
@@ -21,18 +21,15 @@
/**
* The asynchronous client-side dispatcher service with an arbitrary action type. The server-side implementation is
- * {@link com.gwtplatform.dispatch.rpc.server.guice.DispatchImpl}.
- * <A> A create( Class type ))
+ * method signatures (eg. <A> A create( Class<A> type ))
*
* @see DispatchAsync
- * @see com.gwtplatform.dispatch.rpc.server.Dispatch
- * @see com.gwtplatform.dispatch.rpc.server.guice.DispatchImpl
* @see DispatchService
* @see DispatchServiceAsync
- * @see com.gwtplatform.dispatch.rpc.server.guice.DispatchServiceImpl
*/
public interface DispatchAsync {
/**
diff --git a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/DispatchService.java b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/DispatchService.java
index afcbe56346..39b80969ed 100644
--- a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/DispatchService.java
+++ b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/DispatchService.java
@@ -21,19 +21,15 @@
/**
* The base class of the synchronous dispatcher service. The server-side implementation is
- * {@link com.gwtplatform.dispatch.rpc.server.guice.DispatchServiceImpl} and the async client-side version is
+ * {@code com.gwtplatform.dispatch.rpc.server.guice.DispatchServiceImpl} and the async client-side version is
* {@link DispatchServiceAsync}.
- *
- * {@link MultipleResult}
- * {@link NoResult}
+ * @see SimpleResult
+ * @see MultipleResult
+ * @see NoResult
*
*/
public interface Result extends IsSerializable, Serializable {
diff --git a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/SimpleResult.java b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/SimpleResult.java
index 17ffab000c..4732763de1 100644
--- a/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/SimpleResult.java
+++ b/gwtp-core/gwtp-dispatch-rpc-shared/src/main/java/com/gwtplatform/dispatch/rpc/shared/SimpleResult.java
@@ -19,7 +19,7 @@
/**
* A common use-case is returning a single value from an action. This provides a simple, type-safe class for such
* results.
- *
@@ -45,10 +45,10 @@ public interface HasSlots {
/**
* This method adds some content in a specific slot of the {@link Presenter}. The attached {@link View} should
* manage this slot when its {@link View#addToSlot(Object, IsWidget)} is called.
- *
+ *
*
+ *
*
@@ -330,10 +330,10 @@ public boolean useManualReveal() {
* to this {@link Presenter}. You should override the method to extract any
* parameters you need from the request. Make sure you call your parent's
* {@code #prepareFromRequest} method.
- *
+ *
@@ -68,7 +68,7 @@
*
* Revealing a {@link Presenter} is done differently, refer to the class documentation for more details.
- *
+ *
@@ -77,7 +77,7 @@
*
* Hide a {@link Presenter} using these methods, but
- *
+ *
*
- *
+ *
* @ProxyCodeSplit
* @CustomProvider(SecurityContextProvider.class)
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/GatekeeperParams.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/GatekeeperParams.java
index c2944335d5..0cc1589f51 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/GatekeeperParams.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/GatekeeperParams.java
@@ -21,10 +21,10 @@
/**
* This annotation lets you define the parameters for a
- * {@link GatekeeperWithParams} to use for the
+ * {@code GatekeeperWithParams} to use for the
* {@link com.gwtplatform.mvp.client.proxy.Place} associated
* with your proxy. Your custom {@code Ginjector} must have a
- * method returning the {@link GatekeeperWithParams} specified
+ * method returning the {@code GatekeeperWithParams} specified
* in this annotation.
*/
@Target(ElementType.TYPE)
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/ProxyCodeSplit.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/ProxyCodeSplit.java
index aa6938a57b..ff297ea071 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/ProxyCodeSplit.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/ProxyCodeSplit.java
@@ -24,9 +24,9 @@
* you want the associated {@link com.gwtplatform.mvp.client.Presenter} to sit
* behind a split point. Thus the javascript code will be compiled into a new
* javascript file and only be loaded from the webapplication server if needed.
- *
+ *
* @ProxyCodeSplit
* public interface MyProxy extends ProxyPlace<MyPresenter> {
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/ProxyCodeSplitBundle.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/ProxyCodeSplitBundle.java
index 257018ef00..30add63d94 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/ProxyCodeSplitBundle.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/annotations/ProxyCodeSplitBundle.java
@@ -25,21 +25,21 @@
* Use this annotation if you want to have certain {@link com.gwtplatform.mvp.client.proxy.Proxy Proxy}s and their
* associated {@link com.gwtplatform.mvp.client.Presenter Presenter}s to sit behind one split point and to be compiled
* into one javascript file separately from others.
- *
+ *
* @ProxyCodeSplitBundle(bundleClass = MyPresenterBundle.class, id = MyPresenterBundle.ID_Object1)
* public interface MyProxy extends ProxyPlace<Object1> {
* }
*
- * If you use GWTP's generation of {@link com.gwtplatform.mvp.client.ApplicationController ApplicationController} all
+ * If you use GWTP's generation of {@code com.gwtplatform.mvp.client.ApplicationController} all
* bundles will be automatically generated for you, all that you need are string identifiers for each unique bundle. The
* best way to keep your bundles in order is to create an interface that identifies your bundles.
*
- *
+ *
@@ -54,7 +54,7 @@
* public interface MyProxy extends ProxyPlace<Object1> {
* }
*
* @ProxyStandard
* public interface MyProxy extends ProxyPlace<MyPresenter> {
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/gin/AbstractPresenterModule.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/gin/AbstractPresenterModule.java
index c145085145..b5a62e6901 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/gin/AbstractPresenterModule.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/gin/AbstractPresenterModule.java
@@ -32,7 +32,7 @@ public AbstractPresenterModule() {
/**
* Convenience method for binding a singleton presenter with its proxy, when
* using automatically generated proxy classes and non-singleton views.
- *
+ *
+ *
*/
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/presenter/slots/NestedSlot.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/presenter/slots/NestedSlot.java
index 30e96b9256..a20b89a6b3 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/presenter/slots/NestedSlot.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/presenter/slots/NestedSlot.java
@@ -23,7 +23,7 @@
* Use NestedSlot in classes extending {@link com.gwtplatform.mvp.client.Presenter}
* to automatically display child presenters.
*
- * @see: https://github.com/ArcBees/GWTP/wiki/Presenter-%22Slots%22
+ * see: https://github.com/ArcBees/GWTP/wiki/Presenter-%22Slots%22
*/
public class NestedSlot extends GwtEvent.Type
*
* public class HasAllRolesGatekeeper implements GatekeeperWithParams {
@@ -44,12 +44,12 @@
* }
* }
*
- *
+ *
* NotifyingAsyncCallback callback = new NotifyingAsyncCallback(eventBus) { ... };
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/Place.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/Place.java
index 77b0fd6537..cb9094b8f4 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/Place.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/Place.java
@@ -21,7 +21,7 @@
/**
* Important: For simplicity, places do not participate in dependency
* injection and can be created with new.
- *
+ * true,
* but subclasses should override this and check to make sure the current user
* has the privileges to see the place. Make sure the places you request in
diff --git a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/PlaceManager.java b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/PlaceManager.java
index bb9b64ef42..87c9ffcfb4 100644
--- a/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/PlaceManager.java
+++ b/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/PlaceManager.java
@@ -32,7 +32,7 @@ public interface PlaceManager extends HasHandlers {
* Builds a string corresponding to the history token to reveal the specified
* {@link com.gwtplatform.mvp.shared.proxy.PlaceRequest}. This can be used with a
* {@link com.google.gwt.user.client.ui.Hyperlink}.
- *
*
*
- *
+ *
*
*
- *
- *
+ *
@@ -57,7 +57,7 @@ class PlaceRequestInternalEvent extends GwtEvent
* nameToken1%3Bparam1.1%3Dvalue1.1%3Bparam1.2%3Dvalue1.2%2FnameToken2%2FnameToken3%3Bparam3.1%3Dvalue%03%11
* nameToken1;param1.1=value1.1;param1.2=value1.2/nameToken2/nameToken3;param3.1=value\03\21
*
- *
+ *
* {
* { "nameToken1", { {"param1.1", "value1.1"}, {"parame1.2","value1.2"} },
@@ -61,9 +61,9 @@
* "nameToken3", { {"param3.1", "value/3=1"} } }
* }
*
- *
+ * #nameToken(;key=value)*
- *
*
#users#user;name=j.blogs
* install(new DefaultModule(DefaultPlaceManager.class, RouteTokenFormatter.class));
@@ -114,7 +114,7 @@ public int compareTo(RouteMatch other) {
private class RouteMatcher {
/**
* All matching routes of the place-token.
- *
+ *
*
* gwt-platform will generate two classes, RetrieveFooAction and
* RetrieveFooResult.
- *
+ *
* {@literal @}GenDispatch
@@ -40,24 +40,24 @@
* @In specifies that fooKey will only be used in the action. The
* number passed to @In specifies the order of the arguments to the constructor.
- * @Out specifies that foo and bar will only be used in the result.
* The number passed to @Out specifies the order of the arguments to the
* constructor.
- *
*
public interface HasThing<T> {
* T getThing();
@@ -82,28 +82,28 @@
* And the UpdateBarResult object will be able to be passed to something that
* knows how about the HasThing
*
- *
+ *
* {@literal}@GenDto
@@ -37,14 +37,14 @@
* }
*
*
*
- *
+ *
* {@literal}@GenDispatch
@@ -55,7 +55,7 @@
* }
*
*
*
- *
+ *
* {@literal @}GenEvent
@@ -36,29 +36,29 @@
* }
*
*
*
* The following constructor and {@code fire} methods will be generated:
- *
+ *
* {@literal @}GenEvent
@@ -70,7 +70,7 @@
*
*
*
* Omitting the @{@link Order} annotations would yield:
- *
+ *
* ...
@@ -81,7 +81,7 @@
*
*
*
- *
- *
+ *
* ...
@@ -91,13 +91,13 @@
* ...
*
*
*
* The following constructors and {@code fire} methods will be generated:
- *
+ *
* {@literal @}GenEvent
@@ -109,7 +109,7 @@
*
*
*
* ...
diff --git a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/GenProxy.java b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/GenProxy.java
index 58b017feae..a2b25cddd8 100644
--- a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/GenProxy.java
+++ b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/GenProxy.java
@@ -90,16 +90,16 @@
public @interface GenProxy {
/**
* Defines the output package.
- *
+ *
* {@code @GenProxy}(targetPackage = "com.example.package.server")
diff --git a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/In.java b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/In.java
index 012b3a9311..6c3fdf717b 100644
--- a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/In.java
+++ b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/In.java
@@ -24,9 +24,9 @@
/**
* Use the @In(value) annotation on fields in an @GenDispatch class.
- *
+ * @GenEvent or @GenDto to specify the order
* of the fields in the constructor parameter list.
- *
+ *
*
* generateClassHeader(Foo.class.getSimpleName(),
@@ -53,7 +53,7 @@ public ClassGenerationHelper(Writer sourceWriter) {
*
*
*
@@ -157,13 +157,13 @@ public void generateFieldAccessors(Collectionpublic class MyFoo extends Foo implements HasName, MyGenericInterface{@literal generateFieldAssignment(myNameIsTest, null)
* this.test = null;
*
*
@@ -166,11 +166,11 @@ public void generateFieldDeclarations(CollectionreplaceParameters("{0} int myField = {1};", "private", 20);
*
*
@@ -204,11 +204,11 @@ public void generateFooter() {
/**
* Use null as import to separate import groups.
- *
+ * generateFieldList(myList, true, false)
*
@@ -262,7 +262,7 @@ public String generateModifierList(Modifier... modifiers) {
/**
* Generates a package declaration.
- *
+ * generateImports({@link EventHandler}.class, {@link GwtEvent}.class, null,
* {@link GenEventProcessor}.class)
*
- *
+ *
* writer.generateEmptyMethodBody("MyEntity", "stableId");
*
*
*
* MyEntity stableId();
diff --git a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenDispatchProcessor.java b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenDispatchProcessor.java
index 2f28d279c9..2719cdff67 100644
--- a/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenDispatchProcessor.java
+++ b/gwtp-core/gwtp-processors/src/main/java/com/gwtplatform/dispatch/annotation/processor/GenDispatchProcessor.java
@@ -36,7 +36,7 @@
/**
* Processes {@link GenDispatch} annotations.
- *
+ *
* public class MockitoMockFactory implements MockFactory {
- * public
* public static class Module extends JukitoModule {
@@ -45,7 +45,7 @@
* }
* }
*
- *
+ *