} else if (decl instanceof ValDeclaration) {
TLFromAST gen = TLFromASTApply(((ValDeclaration) decl).getDefinition());
if (gen != null) {
initializer.addAll(gen.getStatements());
}
Expression expr = null;
if (gen != null)
expr = gen.getExpr();
ValDef e = new ValDef(decl.getName(), expr, decl.getType());
initializer.add(new Defn(e));
if (((ValDeclaration) decl).isClassMember())
classDefs.add(e);
else
definitions.add(e);
} else if (decl instanceof VarDeclaration) {
TLFromAST gen = TLFromASTApply(((VarDeclaration) decl).getDefinition());
if (gen != null) {
initializer.addAll(gen.getStatements());
}
Expression expr = null;
if (gen != null)
expr = gen.getExpr();
VarDef e = new VarDef(decl.getName(), expr, decl.getType());
initializer.add(new Defn(e));
if (((VarDeclaration) decl).isClassMember())