com.google.gwt.user.client
Annotation Type AsyncProxy.DefaultValue
@Documented
@Target(value={METHOD,TYPE})
public static @interface AsyncProxy.DefaultValue
This annotation specifies the return value for primitive methods when the
AsyncProxy.AllowNonVoid
annotation has been applied to an AsyncProxy.
The annotation may be applied to the definition of the AsyncProxy type or
individual methods defined on the target interface. If the annotation is
applied to the AsyncProxy type, then it will apply to all methods
implemented by the proxy.
The correct default value will be chosen from the value methods defined in
this type based on the return type of the method.
booleanValue
public abstract boolean booleanValue
- Default:
- false
byteValue
public abstract byte byteValue
- Default:
- 0
charValue
public abstract char charValue
- Default:
- 0
doubleValue
public abstract double doubleValue
- Default:
- 0.0
floatValue
public abstract float floatValue
- Default:
- 0.0f
intValue
public abstract int intValue
- Default:
- 0
longValue
public abstract long longValue
- Default:
- 0L
shortValue
public abstract short shortValue
- Default:
- 0