@Documented
@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public @interface Default
Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<?> |
proxyType
Determines the type that is implemented by the proxy.
|
boolean |
serializableProxy
Determines if the generated proxy should be
Serializable . |
public abstract boolean serializableProxy
Serializable
. If the annotated type
already is serializable, such an explicit specification is not required.true
if the generated proxy should be Serializable
.public abstract java.lang.Class<?> proxyType
void
, the proxy is created as an instance of the parameter's type. It is not possible to
set the value of this property to TargetType
as a interface cannot implement itself.void
.