Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 05 Jan 2015 17:10:02 +0100] rev 3324
Updated copyright notices.
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 05 Jan 2015 11:04:29 +0100] rev 3323
Merged 00320742d075 and 264b56c86880
Jan Vrany <jan.vrany@fit.cvut.cz> [Mon, 05 Jan 2015 11:00:57 +0100] rev 3322
Merged a467328c29fd and cdab5cc716a7
Jan Vrany <jan.vrany@fit.cvut.cz> [Wed, 17 Dec 2014 00:08:13 +0000] rev 3321
Fixed bad bug in URL to to File conversion...
...causing that files identified by URL weren't found. This
broke ReflectiveEnvironment for class path entries with spaces
in patch (and thus not not spotted on UNIX boxes as paths with
spaces are not that common as on Windows)
Tomas Heger <heger.tomas@gmail.com> [Sun, 04 Jan 2015 11:25:59 +0100] rev 3320
Static variable that is no longer needed was removed from ReflectiveField.
the getConstant() method always returns Constant.NotAConstant now, the static variable was an old code's relic.
Tomas Heger <heger.tomas@gmail.com> [Thu, 01 Jan 2015 13:54:21 +0100] rev 3319
Minor refactoring of ReflectiveUtils. No funcionality changes.
getFieldType() method renamed to getFieldDescriptor() and the comments were adjusted.
Tomas Heger <heger.tomas@gmail.com> [Thu, 18 Dec 2014 22:30:54 +0100] rev 3318
Fixed two bugs related to annotations (java.lang.annotation.Target hack improved and the problem with element-value pairs with the default value solved)
1) java.lang.annotation.Target's converting to tag bits requires a hack because the respective bit is set depending on several possible parameters for the annotation. That was already in the code and working. The problem was when the Target annotation was without a parameter (not usable for any kind of member). That is sorted now as well.
2) ClassFileReader ignores such annotations' element-value pairs whose values are the default ones. The Java Reflection API returns such pairs among the others too though. This was causing a difference until now because in such cases the ReflectiveAnnotation simply returned more element-value pairs than the ClassFileReader's AnnotationInfo did. That is now fixed as well.
Tomas Heger <heger.tomas@gmail.com> [Thu, 11 Dec 2014 22:53:18 +0100] rev 3317
BinaryDumper.stringToDump() now returns a String "null" for runtime invisible annotation (if the relevant config option is used).
This seems not to cause any problems now but it's a logical thing to do. If an annotation shouldn't be dumped because it's invisible at runtime, it should also be ignored when it's in a array for example.
Tomas Heger <heger.tomas@gmail.com> [Thu, 11 Dec 2014 22:47:34 +0100] rev 3316
Tests for getConstant() and getModifiers() added.
Tomas Heger <heger.tomas@gmail.com> [Fri, 21 Nov 2014 21:39:26 +0100] rev 3315
ReflectiveElementValuePair class tests added.
The tests are covering both the getName() and getValue() methods.