src/share/classes/com/sun/codemodel/internal/JMethod.java

changeset 78
860b95cc8d1d
parent 50
42dfec6871f6
equal deleted inserted replaced
75:845fa487f0f7 78:860b95cc8d1d
386 if (annotations != null){ 386 if (annotations != null){
387 for (JAnnotationUse a : annotations) 387 for (JAnnotationUse a : annotations)
388 f.g(a).nl(); 388 f.g(a).nl();
389 } 389 }
390 390
391 // declare the generics parameters 391 f.g(mods);
392
393 // declare the generics parameters
392 super.declare(f); 394 super.declare(f);
393 395
394 f.g(mods);
395 if (!isConstructor()) 396 if (!isConstructor())
396 f.g(type); 397 f.g(type);
397 f.id(name).p('(').i(); 398 f.id(name).p('(').i();
398 // when parameters are printed in new lines, we want them to be indented. 399 // when parameters are printed in new lines, we want them to be indented.
399 // there's a good chance no newlines happen, too, but just in case it does. 400 // there's a good chance no newlines happen, too, but just in case it does.

mercurial