ModelStatement.argument()'s return is causing quite a bit of grief
with static analysis. Remove the annotation, as its currently unused
anyway. In future we will make sure concretizations end up
constraining <A> to @NonNull type.
JIRA: YANGTOOLS-908
Change-Id: Id1771de902866b5925d9b7e9ea0177ac676d14c1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
package org.opendaylight.yangtools.yang.model.api.meta;
import org.eclipse.jdt.annotation.NonNull;
-import org.eclipse.jdt.annotation.Nullable;
/**
* Model statement. There are two base types of model statements:
*
* @return statement argument or null if statement does not have argument.
*/
- // FIXME: figure out @NonNull argument override in subclasses and switch to JDT @Nullable
- @Nullable A argument();
+ A argument();
/**
* Returns statement source, which denotes if statement was