public static List <AstValue <MethodDeclaration> > methods(this AstDetails astDetails) { return((astDetails.notNull()) ? astDetails.Methods : new List <AstValue <MethodDeclaration> >()); }