@Nullable Long l2(); }
@Nullable Integer i1();
@ExpectWarning(value="NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE", num=1) public Object h(@Nullable Object o) { s = o; return o; }
@ExpectWarning(value="NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE", num=1) public Object k(@Nullable Object o) { s = o; return o; } }
@ExpectWarning("NP_PARAMETER_MUST_BE_NONNULL_BUT_MARKED_AS_NULLABLE") public Object g(@Nullable Object o) { return o; }
/** * Returns the maximum value of an item state. * * @return maximum value of an item state */ @Nullable BigDecimal getMaximum();
/** * Returns the pattern to render the state to a string. * * @return pattern */ @Nullable String getPattern();
/** * Create and return a {@link StateDescription} from this fragment. The resulting {@link StateDescription} should be * null if the fragment does not define any values. * * @return a {@link StateDescription} from this fragment. */ @Nullable StateDescription toStateDescription();
/** * Gets the value mapped to the key specified. * * @param key the key * @return the mapped value, null if no match */ @Nullable T get(String key);
/** * This method retrieves a single element from the registry. * * @param key key of the element * @return element or null if no element was found */ public @Nullable E get(K key);
/** * Decrypt the base64 encoded cipher text. * * @param base64CipherText This should be the result from the {@link #encrypt(String)} * @return plain text * @throws GeneralSecurityException all security-related exception */ @Nullable String decrypt(@Nullable String base64CipherText) throws GeneralSecurityException;
/** * Returns the user configured broadcast address, or the broadcast address of the user configured primary IPv4 if * not provided * * @return IPv4 broadcast address as a String in format xxx.xxx.xxx or * <code>null</code> if no broadcast address is found or an error occurred */ @Nullable String getConfiguredBroadcastAddress();
/** * Creates a new Item instance of type <code>itemTypeName</code> and the name <code>itemName</code> * * @param itemTypeName * @param itemName * @return a new Item of type <code>itemTypeName</code> or <code>null</code> if no matching class is known. */ @Nullable Item createItem(@Nullable String itemTypeName, String itemName);
/** * Get the active invocation if the current thread already is a safe-call thread. * * @return the active invocation or {@code null} */ @Nullable Invocation getActiveInvocation();
/** * When the primary address is changed, listeners will be notified by this method. The primary address * will be in the form of a subnet ("xxx.xxx.xxx.xxx/yyy"). * * @param oldPrimaryAddress The old primary address (may be null if none specified) * @param newPrimaryAddress The new primary address (may be null if none specified) */ default void onPrimaryAddressChanged(@Nullable String oldPrimaryAddress, @Nullable String newPrimaryAddress) { // nothing to do for the default implementation } }
/** * Provides access to the location of the installation * * @return location of the current installation or null if the location is not set */ @Nullable PointType getLocation();
/** * Returns the first provided state description for a given locale. * If options are defined on the channel, they are included in the returned state description. * * @param locale locale (can be null) * @return state description (can be null) */ public @Nullable StateDescription getStateDescription(@Nullable Locale locale);
/** * Gets the oauth service for a given handle * * @param handle the handle to the oauth service * @return the oauth service or null if it doesn't exist */ @Nullable OAuthClientService getOAuthClientService(String handle);
/** * Set the category of the item. * * @param category the category * @return the builder itself */ ItemBuilder withCategory(@Nullable String category);