Adding Snippets has errors
-
Method signature with @nullable does not work.
Fix:
At this line in add_snippets_to_file.py#L99, replace the existing:
',\s+'.join(['(final\s+)?{}\s+{}'.format(
with this:
',\s+'.join(['(@nullable\s+)?(final\s+)?{}\s+{}'.format( -
for all single line comments, the script either fails (when its the last method in the file) or appends javadocs to the successive method.
example:
/** some javadoc */
public String method ( String args );