public static class InstanceSupport.Instance extends Object implements InstanceCookie.Of
InstanceCookie.Of
Constructor and Description |
---|
Instance(Object obj)
Create a new instance cookie.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
instanceClass() |
Object |
instanceCreate() |
String |
instanceName() |
boolean |
instanceOf(Class<?> type) |
public Instance(Object obj)
obj
- the object to represent in this cookiepublic String instanceName()
instanceName
in interface InstanceCookie
public Class<?> instanceClass()
instanceClass
in interface InstanceCookie
public Object instanceCreate()
instanceCreate
in interface InstanceCookie
public boolean instanceOf(Class<?> type)
instanceOf
in interface InstanceCookie.Of