Patent ID: 8726378

Claim:
A computer-implemented method for validating input parameters provided to an application, the computer-implemented method being performed using one or more processors and comprising: generating computer program code using aspect-oriented programming based on annotations provided in source code of the application; executing, by the one or more processors, the application, the application comprising one or more validation points that define points within the application where assignments exist for one or more input parameters, the one or more processors executing instructions to prevent the one or more input parameters from being received at the one or more validation points; collecting, by the one or more processors, one or more validation aspects associated with the application to provide a set of validation aspects, at least one validation aspect comprising an input received by the application; receiving, by the one or more processors, a first input parameter of the one or more input parameters that is associated with a first validation point of the one or more validation points; and executing the computer program code to intercept execution flow of the application and to perform: extracting, by the one or more processors, a first data type of the first input parameter; and determining, by the one or more processors, that a validation aspect corresponding to the first data type is available in the set of validation aspects and, in response, applying a corresponding validation function to the first input parameter.