Ben Liblit
ebfd885d22
Use modern for-each loops where possible
...
Java sources used as test data have been excluded from this mass
clean-up.
2017-11-28 14:44:53 -06:00
Raffi Khatchadourian
72053efd26
Return Java 8 default methods from getAllMethods()
...
Fixes #219
Fixes #220
2017-08-17 14:45:49 -07:00
Martin Hecker
de0f9c2a1f
WALA: Provide acces to JSR 308 Annotations via new Class TypeAnnotation.
...
Access is provided via corresponding methods in FieldImpl, ShrikeCTMethod and ShrikeClass.
Since we do not currently have implementation of these methods for front-ends other than Shrike, these new methods are not yet made available in the corresponding interfaces.
2016-12-05 18:52:38 +01:00
Julian Dolby
13de4a3bd1
add support for generic signatures
2015-09-16 13:23:21 -04:00
Julian Dolby
8470091225
Java 8 default methods
2015-08-09 13:46:03 -04:00
Julian Dolby
de26484098
java annotations support for dalvik
2015-03-04 13:49:58 -05:00
Julian Dolby
096e2f796f
1) new support for function.prototype.apply in field-based CGs
...
2) fixes to Dalvik bytecode reader
3) fixes to Shrike writing Java 7 byte code
2014-12-11 21:48:23 -05:00
Julian Dolby
92bec0cc0b
move to Reader API to help with annoying /r/n issues is source mapping
2014-04-29 11:21:01 -04:00
Julian Dolby
55b64712fc
merge conflict
2013-06-25 12:02:12 -04:00
Julian Dolby
080325b5f6
merge
2013-06-25 11:57:37 -04:00
Manu Sridharan
05a9961108
add missing @Override annotations; no semantic change
2013-06-10 14:37:19 -07:00
Andreas Sewe
dc03348bce
Fix thread-safety bug in BytecodeClass.computeMethodMap
...
The map must not be modified after BytecodeClass.methodMap
has become non-null.
2013-05-24 10:25:01 +02:00
Manu Sridharan
89e90cd44e
rename computeMethodMap() to computeMethodMapIfNeeded()
2013-05-07 14:59:12 -07:00
Andreas Sewe
bc2594237b
Made BytecodeClass.computeMethodMap thread-safe
2013-05-07 14:56:06 -07:00
Manu Sridharan
77b81b4181
Handle duplicate field names between subclass and superclass.
...
Patch from Christophe Foket on the mailing list.
2012-11-30 09:18:00 -05:00
Manu Sridharan
256cd06460
Convert all Java source files to use Unix line endings; no semantic change
2012-09-04 15:56:05 -07:00
msridhar1
1d28b2dc26
fix for bug reported by Juergen Graf: handle multiple fields with the same name in a JVM class
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4552 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2012-04-03 22:26:12 +00:00
msridhar1
59e46916ce
Generalize certain IR data structures to be less Java-specific. Generalize annotations code to allow for reading annotation parameters. Various other fixes
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@4290 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2011-12-28 17:03:27 +00:00
omertripp
14e22b2985
FIX: - field resolution bug. the superclass is null for some subclasses of BytecodeClass, and so wrong results are returned. fixed by calling getSuperclass().
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3642 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-06-08 08:39:28 +00:00
sjfink
f39b9cf43a
revert previous checkin (a major API change to IClass.getSourceFile())
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3584 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 14:38:07 +00:00
omertripp
2ca8a07943
REFACTOR: - code changes to accommodate .NET into WALA. A .NET class maps onto multiple source files, and thus these changes.
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3582 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-07 14:14:18 +00:00
sjfink
17c2aa7588
remove unnecessary ClassHierarchyExceptions
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3558 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-01 13:04:33 +00:00
sjfink
948dab4d0d
remove ClassHierarchyException from IClass.getAllMethods
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3557 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-05-01 12:50:17 +00:00
sjfink
829145e97b
Nuke ClassHierarchyException from IClass.getSuperclass()
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3539 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-28 19:52:34 +00:00
yinnon_haviv
1d751fc92f
Changes from Omer Tripp:
...
- Null check for fields (allows tolerance of bytecode parser problems)
- Support for determining if a class loader is an application class loader. (needed for cross languages support)
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3482 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-19 14:34:13 +00:00
sjfink
da16b5fcc4
bug fix in getAllMethods(): behave as expected for interfaces
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3447 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-04-13 19:15:09 +00:00
sjfink
9293a5fdeb
more support for linking bytecode to Java source
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3308 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-13 18:51:06 +00:00
yinnon_haviv
8a6803567b
More informative exception
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3269 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-03-10 09:12:50 +00:00
sjfink
90040fb56c
bug fix for computing interfaces
...
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3202 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-03 13:02:11 +00:00
dolby-oss
2649737e84
refactoring of ShrikeMethod code to allow reuse
...
tentative beginnings of refactoring to separate Java-specifics: so far IClass.getModifiers() and IMethod.getDeclaredExceptions() are declared to throw UnsupportedOperationException
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3200 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
2009-02-02 19:57:22 +00:00