Skip navigation links
A C D I N O R U V 

A

applyIfNonNull(T, Function<? super T, ? extends U>) - Static method in class org.eclipse.jdt.annotation.Checks
Apply the given function if and only if the given value is not null.
applyIfNonNullElse(T, Function<? super T, ? extends U>, U) - Static method in class org.eclipse.jdt.annotation.Checks
Apply the given function if and only if the given value is not null.
applyIfNonNullElseGet(T, Function<? super T, ? extends U>, Supplier<? extends U>) - Static method in class org.eclipse.jdt.annotation.Checks
Apply the given function if and only if the given value is not null.
asNullable(Optional<T>) - Static method in class org.eclipse.jdt.annotation.Checks
Answer the value of an Optional, or null if it has no value.
assertNonNull(T...) - Static method in class org.eclipse.jdt.annotation.Checks
Checks whether any of the provided values is null.
assertNonNullElements(Iterable<T>) - Static method in class org.eclipse.jdt.annotation.Checks
Checks whether any element in the provided values is null.
assertNonNullElements(Iterable<T>, String) - Static method in class org.eclipse.jdt.annotation.Checks
Checks whether any of the provided values is null.
assertNonNullWithMessage(String, T...) - Static method in class org.eclipse.jdt.annotation.Checks
Checks whether any of the provided values is null.

C

Checks - Class in org.eclipse.jdt.annotation
Utility functions intended for use with the null annotations defined in this package.
Checks() - Constructor for class org.eclipse.jdt.annotation.Checks
 
containsNull(Iterable<?>) - Static method in class org.eclipse.jdt.annotation.Checks
Answer whether an element in the provided values is null.

D

DefaultLocation - Enum in org.eclipse.jdt.annotation
Locations that can be affected by a NonNullByDefault annotation.

I

ifNonNull(T, Consumer<? super T>) - Static method in class org.eclipse.jdt.annotation.Checks
Invoke the given consumer if and only if the given value is not null.
isAnyNull(T...) - Static method in class org.eclipse.jdt.annotation.Checks
Answer whether any of the given values is null.
isNull(Object) - Static method in class org.eclipse.jdt.annotation.Checks
Answer whether the given value is null.

N

NonNull - Annotation Type in org.eclipse.jdt.annotation
Qualifier for a reference type in a TYPE_USE position: The type that has this annotation is intended to not include the value null.
NonNullByDefault - Annotation Type in org.eclipse.jdt.annotation
Applying this annotation to a declaration has the effect that type references, which are contained in the declaration, and for which a null annotation is otherwise lacking, should be considered as @NonNull.
nonNullElse(T, T) - Static method in class org.eclipse.jdt.annotation.Checks
Answer the given value as a non-null value.
nonNullElseGet(T, Supplier<? extends T>) - Static method in class org.eclipse.jdt.annotation.Checks
Answer the given value as a non-null value.
Nullable - Annotation Type in org.eclipse.jdt.annotation
Qualifier for a reference type in a TYPE_USE position: The type that has this annotation explicitly includes the value null.

O

org.eclipse.jdt.annotation - package org.eclipse.jdt.annotation
This package contains annotations that can trigger special behavior when annotated types are compiled by the Eclipse Compiler for Java.

R

requireNonEmpty(String) - Static method in class org.eclipse.jdt.annotation.Checks
Answer the given value, guaranteeing it to be neither null nor an empty string.
requireNonEmpty(String, String) - Static method in class org.eclipse.jdt.annotation.Checks
Answer the given value, guaranteeing it to be neither null nor an empty string.
requireNonEmpty(C) - Static method in class org.eclipse.jdt.annotation.Checks
Answer the given value, guaranteeing it to be neither null nor an empty collection.
requireNonEmpty(C, String) - Static method in class org.eclipse.jdt.annotation.Checks
Answer the given value, guaranteeing it to be neither null nor an empty collection.
requireNonNull(T) - Static method in class org.eclipse.jdt.annotation.Checks
Answer the given value as a non-null value.
requireNonNull(T, String) - Static method in class org.eclipse.jdt.annotation.Checks
Answer the given value as a non-null value.

U

unboxElse(Boolean, boolean) - Static method in class org.eclipse.jdt.annotation.Checks
Unbox the given 'boxedValue' if and only if it is not null.
unboxElse(Byte, byte) - Static method in class org.eclipse.jdt.annotation.Checks
Unbox the given 'boxedValue' if and only if it is not null.
unboxElse(Character, char) - Static method in class org.eclipse.jdt.annotation.Checks
Unbox the given 'boxedValue' if and only if it is not null.
unboxElse(Integer, int) - Static method in class org.eclipse.jdt.annotation.Checks
Unbox the given 'boxedValue' if and only if it is not null.
unboxElse(Long, long) - Static method in class org.eclipse.jdt.annotation.Checks
Unbox the given 'boxedValue' if and only if it is not null.
unboxElse(Short, short) - Static method in class org.eclipse.jdt.annotation.Checks
Unbox the given 'boxedValue' if and only if it is not null.
unboxElse(Float, float) - Static method in class org.eclipse.jdt.annotation.Checks
Unbox the given 'boxedValue' if and only if it is not null.
unboxElse(Double, double) - Static method in class org.eclipse.jdt.annotation.Checks
Unbox the given 'boxedValue' if and only if it is not null.

V

valueOf(String) - Static method in enum org.eclipse.jdt.annotation.DefaultLocation
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.eclipse.jdt.annotation.DefaultLocation
Returns an array containing the constants of this enum type, in the order they are declared.
A C D I N O R U V 
Skip navigation links