@Beta @PublicAPI public interface Guarded extends Serializable
Descriptor
are only comparable when their parameterization is the same.
Please note that this interface is marked with Beta
annotation, so it can be subject of incompatible
changes or removal in later releases.
Modifier and Type | Interface and Description |
---|---|
static class |
Guarded.EnsureThat
Guarded checking utility.
|
static class |
Guarded.New
Create new guard object.
|
Modifier and Type | Method and Description |
---|---|
Object |
getGuardObject()
Gets the guard object associated to the generated descriptors/utilities.
|
Object getGuardObject()
This method is intended to use only for ensuring the compatibility of manipulated objects.
Implementations might use the associated DescriptorGenerator
or DescriptorParameters
reference as
the guard object, however it is a non recommended practice to use this method to access the associated generator
to perform further operations on it.
null
.