final DefParameters parameters,
final DefModifiers modifiers,
final ThrowsDeclaration throwsDeclaration,
final List<Annotation> annotations,
final String comment) {
BuildMetaMethod buildMetaMethod = new BuildMetaMethod(classDefinition, statement, scope, modifiers, name,
returnType, null, defParameters, throwsDeclaration);
if (annotations != null) {
buildMetaMethod.addAnnotations(annotations);
}
buildMetaMethod.setMethodComment(comment);
classDefinition.addMethod(buildMetaMethod);
return ClassBuilderAbstractMethodOption.this;
}
});