Here are the examples of the java api @org.jspecify.nullness.Nullable taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
318 Examples
19
Source : UninitializedField.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@NullMarked
clreplaced UninitializedField<T extends @Nullable Object> {
// jspecify_nullness_mismatch
Object object;
// jspecify_nullness_not_enough_information
@NullnessUnspecified
Object objectUnspec;
@Nullable
Object objectUnionNull;
// jspecify_nullness_mismatch
T t;
// jspecify_nullness_not_enough_information
@NullnessUnspecified
T tUnspec;
@Nullable
T tUnionNull;
}
19
Source : TypeVariableUnspecToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
UnspecT x8(@NullnessUnspecified UnspecT x) {
return x;
}
19
Source : TypeVariableUnspecToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
UnspecChildOfParametricT x14(@NullnessUnspecified UnspecChildOfParametricT x) {
return x;
}
19
Source : TypeVariableUnspecToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
UnspecChildOfUnspecT x10(@NullnessUnspecified UnspecChildOfUnspecT x) {
return x;
}
19
Source : TypeVariableUnspecToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
ChildOfUnspecT x9(@NullnessUnspecified ChildOfUnspecT x) {
return x;
}
19
Source : TypeVariableUnspecToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
NullChildOfParametricT x15(@NullnessUnspecified NullChildOfParametricT x) {
return x;
}
19
Source : TypeVariableUnspecToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Never1T x0(@NullnessUnspecified Never1T x) {
return x;
}
19
Source : TypeVariableUnspecToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
NullChildOfUnspecT x11(@NullnessUnspecified NullChildOfUnspecT x) {
return x;
}
19
Source : TypeVariableUnspecToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
ChildOfParametricT x13(@NullnessUnspecified ChildOfParametricT x) {
return x;
}
19
Source : TypeVariableUnspecToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
ChildOfNever2T x5(@NullnessUnspecified ChildOfNever2T x) {
return x;
}
19
Source : TypeVariableUnspecToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
NullChildOfNever1T x3(@NullnessUnspecified NullChildOfNever1T x) {
return x;
}
19
Source : TypeVariableUnspecToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
UnspecChildOfNever2T x6(@NullnessUnspecified UnspecChildOfNever2T x) {
return x;
}
19
Source : TypeVariableUnspecToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
UnspecChildOfNever1T x2(@NullnessUnspecified UnspecChildOfNever1T x) {
return x;
}
19
Source : TypeVariableUnspecToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
ChildOfNever1T x1(@NullnessUnspecified ChildOfNever1T x) {
return x;
}
19
Source : TypeVariableUnspecToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
ParametricT x12(@NullnessUnspecified ParametricT x) {
return x;
}
19
Source : TypeVariableUnspecToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Never2T x4(@NullnessUnspecified Never2T x) {
return x;
}
19
Source : TypeVariableUnspecToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
NullChildOfNever2T x7(@NullnessUnspecified NullChildOfNever2T x) {
return x;
}
19
Source : TypeVariableUnspecToParentUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Never1T x2(@NullnessUnspecified NullChildOfNever1T x) {
return x;
}
19
Source : TypeVariableUnspecToParentUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
UnspecT x8(@NullnessUnspecified NullChildOfUnspecT x) {
return x;
}
19
Source : TypeVariableUnspecToParentUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Never2T x4(@NullnessUnspecified UnspecChildOfNever2T x) {
return x;
}
19
Source : TypeVariableUnspecToParentUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Never2T x3(@NullnessUnspecified ChildOfNever2T x) {
return x;
}
19
Source : TypeVariableUnspecToParentUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
ParametricT x11(@NullnessUnspecified NullChildOfParametricT x) {
return x;
}
19
Source : TypeVariableUnspecToParentUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
UnspecT x6(@NullnessUnspecified ChildOfUnspecT x) {
return x;
}
19
Source : TypeVariableUnspecToParentUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
UnspecT x7(@NullnessUnspecified UnspecChildOfUnspecT x) {
return x;
}
19
Source : TypeVariableUnspecToParentUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Never2T x5(@NullnessUnspecified NullChildOfNever2T x) {
return x;
}
19
Source : TypeVariableUnspecToParentUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
ParametricT x10(@NullnessUnspecified UnspecChildOfParametricT x) {
return x;
}
19
Source : TypeVariableUnspecToParentUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
ParametricT x9(@NullnessUnspecified ChildOfParametricT x) {
return x;
}
19
Source : TypeVariableUnspecToParentUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Never1T x1(@NullnessUnspecified UnspecChildOfNever1T x) {
return x;
}
19
Source : TypeVariableUnspecToParentUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Never1T x0(@NullnessUnspecified ChildOfNever1T x) {
return x;
}
19
Source : TypeVariableUnspecToObjectUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Object x15(@NullnessUnspecified NullChildOfParametricT x) {
return x;
}
19
Source : TypeVariableUnspecToObjectUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Object x4(@NullnessUnspecified Never2T x) {
return x;
}
19
Source : TypeVariableUnspecToObjectUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Object x13(@NullnessUnspecified ChildOfParametricT x) {
return x;
}
19
Source : TypeVariableUnspecToObjectUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Object x9(@NullnessUnspecified ChildOfUnspecT x) {
return x;
}
19
Source : TypeVariableUnspecToObjectUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Object x8(@NullnessUnspecified UnspecT x) {
return x;
}
19
Source : TypeVariableUnspecToObjectUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Object x10(@NullnessUnspecified UnspecChildOfUnspecT x) {
return x;
}
19
Source : TypeVariableUnspecToObjectUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Object x3(@NullnessUnspecified NullChildOfNever1T x) {
return x;
}
19
Source : TypeVariableUnspecToObjectUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Object x7(@NullnessUnspecified NullChildOfNever2T x) {
return x;
}
19
Source : TypeVariableUnspecToObjectUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Object x12(@NullnessUnspecified ParametricT x) {
return x;
}
19
Source : TypeVariableUnspecToObjectUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Object x0(@NullnessUnspecified Never1T x) {
return x;
}
19
Source : TypeVariableUnspecToObjectUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Object x6(@NullnessUnspecified UnspecChildOfNever2T x) {
return x;
}
19
Source : TypeVariableUnspecToObjectUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Object x14(@NullnessUnspecified UnspecChildOfParametricT x) {
return x;
}
19
Source : TypeVariableUnspecToObjectUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Object x2(@NullnessUnspecified UnspecChildOfNever1T x) {
return x;
}
19
Source : TypeVariableUnspecToObjectUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Object x5(@NullnessUnspecified ChildOfNever2T x) {
return x;
}
19
Source : TypeVariableUnspecToObjectUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Object x11(@NullnessUnspecified NullChildOfUnspecT x) {
return x;
}
19
Source : TypeVariableUnspecToObjectUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Object x1(@NullnessUnspecified ChildOfNever1T x) {
return x;
}
19
Source : TypeVariableUnionNullToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
UnspecT x8(@Nullable UnspecT x) {
return x;
}
19
Source : TypeVariableUnionNullToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
ChildOfUnspecT x9(@Nullable ChildOfUnspecT x) {
return x;
}
19
Source : TypeVariableUnionNullToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
UnspecChildOfParametricT x14(@Nullable UnspecChildOfParametricT x) {
return x;
}
19
Source : TypeVariableUnionNullToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
UnspecChildOfUnspecT x10(@Nullable UnspecChildOfUnspecT x) {
return x;
}
19
Source : TypeVariableUnionNullToSelfUnionNull.java
with Apache License 2.0
from jspecify
with Apache License 2.0
from jspecify
@Nullable
Never2T x4(@Nullable Never2T x) {
return x;
}
See More Examples