T
- The type of the definable object.public static interface ByteBuddy.Definable<T>
ByteBuddy.Definable.Defined
when a value is provided
or ByteBuddy.Definable.Undefined
if a value is not provided. A defined definable will
return its defined value on request while an undefined definable will return the provided default.Modifier and Type | Interface and Description |
---|---|
static class |
ByteBuddy.Definable.Defined<T>
A representation of a defined
ByteBuddy.Definable for a given value. |
static class |
ByteBuddy.Definable.Undefined<T>
A representation of an undefined
ByteBuddy.Definable . |
Modifier and Type | Method and Description |
---|---|
T |
resolve(T defaultValue)
Returns the value of this instance or the provided default value for an undefined definable.
|
T resolve(T defaultValue)
defaultValue
- The default value that is returned for an ByteBuddy.Definable.Undefined
definable.Copyright © 2014. All rights reserved.