@Test public void testComputeFunctionDoc() { final FunctionAsDocNode emptyDoc = AsDocUtils.computeFunctionDoc( "" ); assertEquals( "", emptyDoc.getDescription() ); final FunctionAsDocNode functionDoc = AsDocUtils.computeFunctionDoc( "" ); final ParameterAsDocNode parameter = AsDocUtils.computeParameterDoc( "name", "description" ); functionDoc.addParameter( parameter ); assertEquals( parameter, functionDoc.getParameter( 0 ) ); assertEquals( "name", parameter.getName() ); assertEquals( "description", parameter.getDescription() ); }
public static FunctionAsDocNode computeFunctionDoc( final String doc ) { return new FunctionAsDocNode( doc ); }
AsDocUtils { public static FunctionAsDocNode computeFunctionDoc( final String doc ) { return new FunctionAsDocNode( doc ); } }
AsDocUtils { public static FunctionAsDocNode computeFunctionDoc( final String doc ) { return new FunctionAsDocNode( doc ); } private  AsDocUtils(); }
AsDocUtils { public static FunctionAsDocNode computeFunctionDoc( final String doc ) { return new FunctionAsDocNode( doc ); } private  AsDocUtils(); static ClassAsDocNode computeClassDoc( final String doc ); static FunctionAsDocNode computeFunctionDoc( final String doc ); static ParameterAsDocNode computeParameterDoc( final String nameToBeSet,
                                                         final String descriptionToBeSet ); }
AsDocUtils { public static FunctionAsDocNode computeFunctionDoc( final String doc ) { return new FunctionAsDocNode( doc ); } private  AsDocUtils(); static ClassAsDocNode computeClassDoc( final String doc ); static FunctionAsDocNode computeFunctionDoc( final String doc ); static ParameterAsDocNode computeParameterDoc( final String nameToBeSet,
                                                         final String descriptionToBeSet );  }