*/
package org.opendaylight.yangtools.concepts;
+import org.eclipse.jdt.annotation.NonNull;
+
/**
- * Implementation of this interface delegates all it's calls
- * to the delegator if not specified otherwise.
- *
+ * Implementation of this interface delegates all its calls to the delegate if not specified otherwise.
*
* @param <T> Type of delegate
*/
public interface Delegator<T> {
-
- T getDelegate();
-
+ /**
+ * Return underlying delegate.
+ *
+ * @return underlying delegate.
+ */
+ @NonNull T getDelegate();
}