The formatting applied is different depending on whether a type annotation is applied to an array type or a varargs type. See the following examples:
- With an Array type there is a space between the type annotation (
@Nullable) and the type ([])
privatestaticbooleanisEmptyVarargs(@NullableObject@Nullable [] args) {- With Varargs there is no space between the type annotation (
@Nullable) and the type (...)
publicKeyValuesand(String@Nullable... keyValues) {
The formatting applied is different depending on whether a type annotation is applied to an array type or a varargs type. See the following examples:
@Nullable) and the type ([])@Nullable) and the type (...)