Detecting aspectual behavior in unified modeling language artifacts
AssigneeInternational Business Machines Corporation
InventorAmir Abdollahi Foumani
Life of this patent
Estimating the term…
Abstract
Illustrative embodiments provide a computer implemented method, a data processing system and a computer program product for detecting aspectual behavior in unified modeling language artifacts. In one embodiment, the computer implemented method comprises representing static and dynamic characteristics of the artifacts in a set of production rules and creating a set of bit representations of method invocations found in the set of production rules. The method further comprises determining whether common sub-sequences exist in the set of bit representations and identifying a set of aspects within the production rules responsive to determining the common sub-sequences exist, and modifying the artifacts in accordance with the set of identified aspects.
Claims20
A computer implemented method for detecting aspectual behavior in unified modeling language artifacts, the computer method comprising:
- representing static and dynamic properties of the unified modeling language artifacts in a set of production rules;
- creating a set of bit representations of method invocations found in the set of production rules;
- determining whether common sub-sequences exist in the set of bit representations;
- identifying a set of aspects within the production rules responsive to a determination that the common sub-sequences exist;
- and
- modifying the unified modeling language artifacts.
A data processing system for detecting aspectual behavior in unified modeling language artifacts, the data processing system comprising:
- a bus;
- a memory;
- a communications unit connected to the bus;
- a persistent storage connected to the bus, wherein the persistent storage comprising computer usable instructions tangibly embodied thereon;
- a display connected to the bus;
- a processor unit connected to the bus, wherein the processor unit executes the computer usable instructions to:
- represent static and dynamic characteristics of the unified modeling language artifacts in a set of production rules;
- create a set of bit representations of method invocations found in the set of production rules;
- determine whether common sub-sequences exist in the set of bit representations;
- identify a set of aspects within the production rules responsive a determination that the common sub-sequences exist;
- and
- modify the unified modeling language artifacts in accordance with the set of aspects.
A computer program product for detecting aspectual behavior in unified modeling language artifacts, the computer program product comprising a computer usable recordable medium having computer usable program code tangibly embodied thereon, the computer usable program code comprising:
- computer usable program code for representing static and dynamic characteristics of the unified modeling language artifacts in a set of production rules;
- computer usable program code for creating a set of bit representations of method invocations found in the set of production rules;
- computer usable program code for determining whether common sub-sequences exist in the set of bit representations;
- computer usable program code for identifying a set of aspects within the production rules responsive to a determination that the common sub-sequences exist;
- and
- computer usable program code for modifying the unified modeling language artifacts in accordance with the set of aspects.
Dependencies are inferred from the claim text.