| Modifier and Type | Field and Description |
|---|---|
| public static final AccessPattern | ALWAYS_NULL
Value that indicates that provider never returns anything other than Java `null`. |
| public static final AccessPattern | CONSTANT
Value that indicates that provider will always return a constant value, regardless of when it is called; and also that it never uses `context` argument (which may then be passed as `null`) |
| public static final AccessPattern | DYNAMIC
Value that indicates that provider may return different values at different times (often a freshly constructed empty container), and thus must be called every time "null replacement" value is needed. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static AccessPattern | |
| public static AccessPattern[] |
| ALWAYS_NULL | back to summary |
|---|---|
| public static final AccessPattern ALWAYS_NULL Value that indicates that provider never returns anything other than Java `null`. | |
| CONSTANT | back to summary |
|---|---|
| public static final AccessPattern CONSTANT Value that indicates that provider will always return a constant value, regardless of when it is called; and also that it never uses `context` argument (which may then be passed as `null`) | |
| DYNAMIC | back to summary |
|---|---|
| public static final AccessPattern DYNAMIC Value that indicates that provider may return different values at different times (often a freshly constructed empty container), and thus must be called every time "null replacement" value is needed. | |
| AccessPattern | back to summary |
|---|---|
| private AccessPattern() | |
| valueOf | back to summary |
|---|---|
| public static AccessPattern valueOf(String name) | |
| values | back to summary |
|---|---|
| public static AccessPattern[] values() | |