VariableElement e = (VariableElement) TreeUtil.getElement(vt);
if(e!=null) {
switch (e.getKind()) {
case ENUM_CONSTANT:
case FIELD:
gen.add(new FieldDecl(cu,srcPos,vt));
break;
case EXCEPTION_PARAMETER:
case LOCAL_VARIABLE:
case PARAMETER:
gen.add(new LocalVarDecl(cu,srcPos,vt,e));