Commit Graph

5986 Commits

Author SHA1 Message Date
sjfink 24d290beb8 make ClassHierarchy implement Iterable<IClass>
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@785 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-23 17:21:07 +00:00
sjfink 7938061118 make ClassHierarchy implement Iterable<IClass>
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@784 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-23 17:20:59 +00:00
sjfink d60734d54b refactoring of relations
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@783 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-23 17:07:21 +00:00
sjfink 4755779801 small cleanups and refactoring
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@782 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-23 14:54:49 +00:00
dolby-oss 30a7cc3fef adapt to class hierarchy changes in CVS polyglot
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@781 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-21 13:03:54 +00:00
dolby-oss e1bd02cb7c move to incubator branch
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@779 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-19 17:09:13 +00:00
sjfink 905249286c move to incubator branch
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@772 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-16 17:16:36 +00:00
sjfink 37b07532a1 move to incubator branch
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@771 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-16 17:16:18 +00:00
sjfink c6dd90d79f move to incubator branch
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@770 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-16 17:15:36 +00:00
sjfink e0db2777ff move to incubator branch
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@769 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-16 17:15:09 +00:00
sjfink 2211ad8bb2 move to incubator branch
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@768 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-16 17:14:50 +00:00
sjfink a2fca6bf4d move to incubator branch
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@767 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-16 17:13:50 +00:00
sjfink c5685d6346 bug fix in file utils from Nick Kidd
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@765 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-15 21:11:38 +00:00
sjfink 79c4328282 suppress some Eclipse warnings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@764 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-15 15:55:46 +00:00
sjfink 4d1e9ec640 disable nonstandard builder
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@763 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-15 15:09:39 +00:00
sjfink 28b243929b minor cleanups to squash Eclipse warnings
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@762 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 22:41:44 +00:00
sjfink 34fa813b47 fix broken build
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@761 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 22:36:05 +00:00
dolby-oss d93196166d avoid some more polyglot assertion failures
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@760 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 17:22:20 +00:00
rmfuhrer 2b7cd06bb4 Now provides an EntrypointBuilder interface so that clients
(not just sub-classes) can supply the means for computing the
Entrypoints.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@759 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:45:24 +00:00
rmfuhrer 87b64d56a7 Removed polyglot-related libs from the classpath (no longer
necessary).

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@758 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:34:53 +00:00
rmfuhrer 1ad96deff3 Added JavaDoc comment to BLOCK_EXPR.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@757 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:33:35 +00:00
rmfuhrer 2af4e3b189 Made getTranslatorExtension() public so clients can see it and
get at the IdentityMapper.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@756 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:33:05 +00:00
rmfuhrer 275f9ab4c8 Collected various bits of code from PolyglotJava2CAstTranslator
that map Polyglot AST entities for types, methods, and fields
to the names of their WALA counterparts.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@755 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:31:46 +00:00
rmfuhrer 87d5abe577 Many changes to use the new PolyglotIdentityMapper to map
Polyglot AST entities for types, methods and fields to the
names of their WALA counterparts, in lieu of many redundant
bits of code strewn through this class.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@754 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:29:47 +00:00
rmfuhrer 9ab81816b6 Now maintains a PolyglotIdentityMapper to centralize the
mapping of Polyglot AST entities (types, fields, methods) to
their WALA counterparts.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@753 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:28:02 +00:00
rmfuhrer 7c8d738737 Added accessor method for the PolyglotIdentityMapper associated
with the translator.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@752 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:26:37 +00:00
rmfuhrer 678c795b80 Minor improvement to error message on unhandled node type.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@751 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:25:29 +00:00
rmfuhrer d2b7dfd95d createPass() now needs to pass a PolyglotIdentityMapper to
create a PolyglotJava2CAstTranslator. Accommodate promotion
of CAst from DOMO to WALA.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@750 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:24:50 +00:00
rmfuhrer 63064373c8 Changed range of fTypeMap to be IClass rather than JavaClass
(a) since that's all that was needed, and (b) so that derived
languages can store their IClass implementations there (e.g.
X10's X10AsyncObject).

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@749 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:23:13 +00:00
rmfuhrer 5679b67ed3 Abstracted predicate to determine whether a class has a
lexically enclosing scope into isPossiblyLexicalClass() so that, e.g., X10AsyncObject can
be marked as such.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@748 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:20:33 +00:00
rmfuhrer bcce58c4ed A little more use of generics.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@747 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 16:16:23 +00:00
rmfuhrer b5d07d2443 Changed ref in bundle name: DOMO -> WALA.
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@746 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 15:05:14 +00:00
rmfuhrer f0050ef3f3 Changed plugin ID to match project name (for happiness in
Eclipse). Re-added polyglot to plugin dependencies and
removed polyglot packages from the exports list. Changed
bundle name from DOMO to WALA.

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@745 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 15:00:12 +00:00
mkogane 1770c6de72 fix Bundle-SymbolicName and Require-Bundle in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@744 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:55:49 +00:00
mkogane 35edd3384b fix Bundle-SymbolicName and Require-Bundle in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@743 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:55:15 +00:00
mkogane f6e29880a5 fix Bundle-SymbolicName and Require-Bundle in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@742 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:54:12 +00:00
mkogane 09ffdcd5e9 fix Bundle-SymbolicName and Require-Bundle in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@741 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:53:16 +00:00
mkogane 61ca366856 fix Require-Bundle in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@740 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:16:07 +00:00
mkogane 6d2bcbc92b fix id and import plugin in plugin.xml
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@739 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:14:45 +00:00
mkogane cee44da525 fix id in plugin.xml
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@738 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:13:26 +00:00
mkogane a529f33798 fix Bundle-SymbolicName and Require-Bundle in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@737 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:12:18 +00:00
mkogane af9c7715f5 fix Bundle-SymbolicName in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@736 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:11:35 +00:00
mkogane 6ce16b1d24 fix Bundle-SymbolicName and Require-Bundle in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@735 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:09:22 +00:00
mkogane ad5ea6f037 fix Bundle-SymbolicName in MANIFEST.MF
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@734 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 06:07:55 +00:00
dolby-oss 8c0f9991eb some minimal javadoc comments for new instruction classes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@733 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 03:13:46 +00:00
dolby-oss 9e79e45c93 some minimal javadoc comments for new instruction classes
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@732 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-14 03:07:33 +00:00
sjfink 5048151403 small dead code elimination
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@731 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-13 19:02:22 +00:00
sjfink 52c518e4fa small dead code elimination
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@730 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-13 19:02:15 +00:00
sjfink 2affbe8215 small dead code elimination
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@729 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-13 19:02:06 +00:00
sjfink 9e6751583c patch from Manu to allow navigation from call site to source
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@728 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2007-02-13 18:53:57 +00:00