Method and apparatus for software component analysis
First Claim
1. A method of analyzing a software component that can be visually moved within an application builder tool running on a computer, the software component being a part of a first class, the method comprising:
- obtaining the software component to be analyzed;
determining if the software component has an associated information class;
querying the information class about information stored within the information class when it is determined that the software component has the associated information class, the information stored within the information class being related to at least one of methods, properties, and events;
identifying a set of methods associated with the first class when it is determined that the software component does not have the associated information class;
applying at least one design pattern to identify a first property associated with the software component when it is determined that the software component does not have the associated information class, the first property being a part of a set of properties associated with said first class, wherein applying the at least one design pattern includes searching for at least one method which defines the first property, and searching for the at least one method which defines the first property includes determining whether the first property meets the design pattern and adding the first property to a list of properties associated with the software component when it is determined that the first property the design pattern; and
identifying the first property associated with the software component when it is determined that the software component does not have the associated information class.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, software, and apparatus for analyzing a software component within an application builder tool are disclosed. The present invention relates, in one aspect, to a method for analyzing a software component that can be visually moved within an application builder tool running on a computer. The method involves obtaining the software component to be analyzed and determining if the software component has an associated information class. When it is determined that the software component has an associated information class, the information class is queried about information stored within the information class, otherwise automatic analysis using design patterns is applied to analyze the class. In one embodiment, the information stored within the information class relates to methods, properties, and/or events.
48 Citations
12 Claims
-
1. A method of analyzing a software component that can be visually moved within an application builder tool running on a computer, the software component being a part of a first class, the method comprising:
-
obtaining the software component to be analyzed;
determining if the software component has an associated information class;
querying the information class about information stored within the information class when it is determined that the software component has the associated information class, the information stored within the information class being related to at least one of methods, properties, and events;
identifying a set of methods associated with the first class when it is determined that the software component does not have the associated information class;
applying at least one design pattern to identify a first property associated with the software component when it is determined that the software component does not have the associated information class, the first property being a part of a set of properties associated with said first class, wherein applying the at least one design pattern includes searching for at least one method which defines the first property, and searching for the at least one method which defines the first property includes determining whether the first property meets the design pattern and adding the first property to a list of properties associated with the software component when it is determined that the first property the design pattern; and
identifying the first property associated with the software component when it is determined that the software component does not have the associated information class. - View Dependent Claims (2, 3)
-
-
4. A method of analyzing a software component that can be visually moved within an application builder tool running on a computer, said software component being a part of a first class, the method comprising:
-
obtaining said software component to be analyzed;
determining if said software component has an associated information class;
querying said information class, about information stored within said information class when it is determined that said software component has said associated information class, wherein said information class is arranged to include details associated with visually displaying the software component; and
when is is determined that said software component does not have an associated information class, identifying a set of methods associated with the first class, applying at least one design pattern to identify a first event associated with said software component, said first event being a part of said set of events associated with said first class, and identifying said first event associated with said software component, wherein applying at least one design pattern to identify said first event associated with said software component includes searching for at least one method which defines said first event, and wherein searching for said at least one method which defines said first event includes searching for an add method and searching for a remove method which define said first event, determining whether said first event meets said design pattern, and adding said first event to a list of events associated with said software component when it is determined that said first event meets said design pattern.
-
-
5. A method of analyzing a software component that can be visually moved within an application builder tool running on a computer, the software component being a part of a first class, the method comprising:
-
obtaining the software component to be analyzed;
identifying a set of methods associated with the first class;
applying at least one design pattern to identify a first property associated with the software component, wherein applying the at least one design pattern to identify the first property includes searching for at least one method which defines the first property, and searching for the at least one method which defines the first property includes determining whether the first property meets the design pattern and adding the first property to a list of properties associated with the software component when it is determined that the first property meets the design pattern, the first property being a part of a set of properties associated with the first class; and
identifying the first property associated with the software component. - View Dependent Claims (6, 7)
-
-
8. A method of analyzing a software component that can be visually moved within an application builder tool running on a computer, said software component being a part of a first class, the method comprising:
-
obtaining said software component to be analyzed;
identifying a set of methods associated with said first class;
applying at least one design pattern to identify a first property associated with said software component, said first property being a part of a set of properties associated with said first class;
identifying said first property associated with said software component;
applying at least one design pattern to identify a first event associated with said software component, said first event being a part of a set of events associated with said first class, wherein applying at least one design pattern to identify said first event associated with the software component includes searching for at least one method which defines said first event, wherein searching for said at least one method which defines said first event includes searching for an add method and searching for a remove method which define said first event, determining whether said first event meets said design pattern, and adding said first event to a list of events associated with said software component when it is determined that said first event meets said design pattern; and
identifying said first event associated with said software component.
-
-
9. A computer system for collecting information associated with a software component comprising:
-
a computer coupled with at least one memory device which holds therein a builder tool, said builder tool running on said computer, said builder tool being arranged to analyze said software component, said computer being arranged to;
obtain said software component to be analyzed by said builder tool, said software component being a part of a first class, said software component being visually manipulatable within said builder tool;
determine if said software component has an associated information class, said information class including at least one of methods, properties, and events;
query said information class about information stored within said information class when it is determined that said associated information class is in existence, the information stored within said information class being arranged to include details associated with visually displaying said software component identify a set of properties associated with said first class when it is determined that said associated information class is not in existence;
apply at least one design pattern to identify a first property associated with said software component, said first property being a part of said set of properties associated with said first class;
identify said first property associated with said software component; and
search for at least one method which defines said first property, wherein said computer is further arranged to search for at least one method which defines said first property by determining whether said first property meets said design pattern, and adding said first property to a list of properties associated with said software component when it is determined that said first property meets said design pattern.
-
-
10. A computer system for collecting information associated with a software component comprising:
-
a computer coupled with at least one memory device which holds therein a builder tool, said builder tool running on said computer, said builder tool being arranged to analyze said software component, said computer being arranged to;
obtain said software component to be analyzed by said builder tool, said software component being a part of a first class, said software component being visually manipulatable within said builder tool;
determine if said software component has an associated information class, said information class including at least one of methods, properties, and events;
query said information class about information stored within said information class when it is determined that said associated information class is in existence, the information stored within said information class being arranged to include details associated with visually displaying said software component;
identify a set of methods associated with said first class when it is determined that said associated information class is not in existence;
apply at least one design pattern to identify a first event associated with said software component, said first event being a part of said set of events associated with said first class;
identify said first event associated with said software component; and
search for at least one method which defines said first event, wherein said search for at least one method which defines said first event includes determining whether said first event meets said design pattern, and adding said first property to a list of events associated with said software component when it is determined that said first event meets said design pattern.
-
-
11. A computer-readable medium comprising computer-readable program code devices configured to cause a computer to:
-
run a software program on said computer, said software program being an application builder tool;
obtain a software component to be analyzed by said software program, said software component being a part of a first class, said software component being visually manipulatable within said software program;
determine if said software component has an associated information class, said information class including at least one of methods, properties, and events;
query said information class about information stored within said information class when it is determined that said associated information class is in existence, wherein said information class is arranged to include details associated within visually displaying said software component;
identify a set of properties associated with said first class when it is determined that said associated information class is not in existence;
apply at least one design pattern to identify a first property associated with said software component, said first property being a part of said set of properties associated with said first class;
identify said first property associated with said software component; and
search for at least one method which defines said first property, wherein the program code devices arranged to search for at least one method which defines said first property are further arranged to determine whether said first property meets said design pattern and to add said first property to a list of properties associated with said software component when it is determined that said first property meets said design pattern.
-
-
12. A computer-readable medium comprising computer-readable program code devices configured to cause a computer to:
-
run a software program on said computer, said software program being an application builder tool;
obtain a software component to be analyzed by said software program, said software component being a part of a first class, said software component being visually manipulatable within said software program;
determine if said software component has an associated information class, said information class including at least one of methods, properties, and events;
query said information class about information stored within said information class when it is determined that said associated information class is in existence, wherein said information class is arranged to include details associated within visually displaying said software component;
identify a set of methods associated with said first class when it is determined that said associated information class is not in existence;
apply at least one design pattern to identify a first event associated with said software component, said first event being a part of said set of events associated with said first class;
identify said first event associated with said software component; and
search for at least one method which defines said first event, wherein the program code devices arranged to search for at least one method which defines said first event are further arranged to determine whether said first event meets said design pattern, and to add said first event to a list of events associated with said software component when it is determined that said first event meets said design pattern.
-
Specification