@Override public void visitMethodDef(JCMethodDecl node) {
String name = node.getName() == null ? null : node.getName().toString();
if ("<init>".equals(name)) {
ConstructorDeclaration cd = new ConstructorDeclaration();
cd.astModifiers((Modifiers) toTree(node.getModifiers()));
cd.rawBody(toTree(node.getBody()));
fillList(node.getThrows(), cd.rawThrownTypeReferences(), FlagKey.TYPE_REFERENCE);
fillList(node.getTypeParameters(), cd.rawTypeVariables());
fillList(node.getParameters(), cd.rawParameters(), FlagKey.NO_VARDECL_FOLDING, FlagKey.VARDEF_IS_DEFINITION);
String typeName = (String) getFlag(FlagKey.CONTAINING_TYPE_NAME);
cd.astTypeName(setPos(node, new Identifier().astValue(typeName)));