import java.io.IOException;
import java.io.Reader;
+import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
/**
* Interface for parsers that can create {@link Part}s from a text source
* The text source
* @return The parsed parts
*/
- public Iterable<Part> parse(C context, String source);
+ @Nonnull
+ Iterable<Part> parse(@Nullable C context, @Nonnull String source);
}