Class ProxySpecification
java.lang.Object
org.microbean.proxy.ProxySpecification
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal List
<Attributes> boolean
int
hashCode()
final List
<TypeMirror> Returns the interfaces the proxy should implement.final String
name()
Returns the name the proxy class should have.final DeclaredType
Returns the superclass the proxy should specialize.
-
Constructor Details
-
ProxySpecification
Creates a newProxySpecification
.- Parameters:
domain
- aDomain
; must not benull
id
- anId
; must not benull
- Throws:
NullPointerException
- if any argument isnull
IllegalArgumentException
- iftypes
does not represent a type that can be proxied- See Also:
-
-
Method Details
-
equals
-
hashCode
-
attributes
- Returns:
- a non-
null
, immutableList
ofAttributes
instances
-
interfaces
Returns the interfaces the proxy should implement.- Returns:
- a non-
null
, immutableList
ofTypeMirror
s
-
name
-
superclass
Returns the superclass the proxy should specialize.- Returns:
- a non-
null
DeclaredType
-