public static RoboconfCompletionProposal basicProposal ( String s , String lastWord , boolean trim ) { return new RoboconfCompletionProposal ( s , trim ? s . trim ( ) : s , null , lastWord . length ( ) ) ; }
A convenience method to shorten the creation of a basic proposal .