Proxy.
| Modifier and Type | Class and Description |
|---|---|
| public static class | JdkProxyHint.
Builder for |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final TypeReference |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public List | Returns: the interfaces that the proxy should implementReturn the interfaces to be proxied. |
| public TypeReference | getReachableType()
Implements org. Return the type that should be reachable for this hint to apply, or
|
| public int | |
| public static JdkProxyHint. | Returns: a builder for the hintthe interfaces the proxy should implement proxiedInterfaces)Initialize a builder with the proxied interfaces to use. |
| public static JdkProxyHint. |
| proxiedInterfaces | back to summary |
|---|---|
| private final List<TypeReference> proxiedInterfaces | |
| reachableType | back to summary |
|---|---|
| private final TypeReference reachableType
| |
| JdkProxyHint | back to summary |
|---|---|
| private JdkProxyHint(JdkProxyHint. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getProxiedInterfaces | back to summary |
|---|---|
| public List Return the interfaces to be proxied.
| |
| getReachableType | back to summary |
|---|---|
| public TypeReference getReachableType() Implements org. Doc from org. Return the type that should be reachable for this hint to apply, or
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| of | back to summary |
|---|---|
| public static JdkProxyHint. Initialize a builder with the proxied interfaces to use.
| |
| of | back to summary |
|---|---|
| public static JdkProxyHint. Initialize a builder with the proxied interfaces to use.
| |
JdkProxyHint.
| Modifier and Type | Field and Description |
|---|---|
| private final LinkedList | |
| private TypeReference |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv JdkProxyHint | |
| public JdkProxyHint. | Returns: this, to facilitate method chainingthe type that should be reachable for this
hint to apply reachableType)Make this hint conditional on the fact that the specified type can be resolved. |
| public JdkProxyHint. | Returns: this, to facilitate method chainingthe interfaces the proxy should implement proxiedInterfaces)Add the specified interfaces that the proxy should implement. |
| public JdkProxyHint. | Returns: this, to facilitate method chainingthe interfaces the proxy should implement proxiedInterfaces)Add the specified interfaces that the proxy should implement. |
| private static List |
| proxiedInterfaces | back to summary |
|---|---|
| private final LinkedList<TypeReference> proxiedInterfaces | |
| reachableType | back to summary |
|---|---|
| private TypeReference reachableType
| |
| Builder | back to summary |
|---|---|
| pack-priv Builder() | |
| build | back to summary |
|---|---|
| pack-priv JdkProxyHint build() Create a
| |
| onReachableType | back to summary |
|---|---|
| public JdkProxyHint. Make this hint conditional on the fact that the specified type can be resolved.
| |
| proxiedInterfaces | back to summary |
|---|---|
| public JdkProxyHint. Add the specified interfaces that the proxy should implement.
| |
| proxiedInterfaces | back to summary |
|---|---|
| public JdkProxyHint. Add the specified interfaces that the proxy should implement.
| |
| toTypeReferences | back to summary |
|---|---|
| private static List | |