correction static main + generation javadoc