Timothy Hoffman
b4279f6817
Replace StringBuffer with StringBuilder and other minor String optimizations
2 years ago
ximsfei
22075222e7
fixes a bug of ClassFile#renameClass(), some imports could not be successfully renamed
4 years ago
nickl-
e5656fc869
Organize imports to disolve ambiguity.
6 years ago
nickl-
62851d0af3
Source walk/Spring clean/Parameterize/Enhance et.al.
The following were applied during multiple itterations through the source.
* Parameterize raw types.
* Mark unused members.
* Annotate override and deprecated methods.
* Convert loops to enhance for loop.
* Remove redundant else statements.
* Widening collection type references.
* Optimize code for improved readability.
* Squash compiler warnings.
* Identify smells.
6 years ago
nickl-
d1b7b853c3
Implement hashCode for Annotation.
To honour the Object.equals contract.
6 years ago
nickl-
cd3aa32530
Added default serialVersionUID.
6 years ago
chibash
c9c209727d
fixes a bug of getAnnotations(). Some hidden annotations were not ignored.
6 years ago
chibash
6a9079aa44
implements better annotation handling since Javassist may fail to
create a proxy object due to access controls by jigsaw.
7 years ago
chibash
0ebd27d23e
fixes calls to a deprecated method in Java 9.
8 years ago
chibash
1a33243aac
fixes JASSIST-256, adding an annotation to a class doesn't work on reflection
8 years ago
chibash
5a6662f29d
preparation for 3.19 release. fixed bugs in javadoc comments
9 years ago
chibash
ec3afdfb5d
fixed JASSIST-240. support for Runtime[In]VisibleTypeAnnotations
9 years ago
chibash
8c08b63daa
reformatted the code for fixing JASSIST-209.
It has been fixed by the previous commit, though.
9 years ago
chibash
4cdb575d4e
fixed a bug of accesses to annotation arguments.
If foo.Bar.Baz is a nested class in foo.Bar, then the argument of
@MyAnnotation(foo.bar.Baz.class) could not be obtained.
The test code is javassist.JvstTest4#testAnnArg().
9 years ago
chiba
7a49552112
fixed JASSIST-181
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@706 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
11 years ago
chiba
121a67e8df
added the Apache license.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@584 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
13 years ago
chiba
ace1eaed1d
since Javassist doesn't support JDK 1.3, I changed the source code to use LinkedHashMap (since 1.4)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@530 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
14 years ago
chiba
33cc22b0fc
reformatted
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@520 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
14 years ago
kabir.khan@jboss.com
54e8b2adfb
[JASSIST-111] Uncomment the code containing the fix :-)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@519 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
14 years ago
kabir.khan@jboss.com
b4988a237d
[JASSIST-111] Handle class array types as annotation values
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@518 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
14 years ago
chiba
eada5573e0
improved the behavior of CtClass.getAnnotations() etc.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@503 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
14 years ago
chiba
08ac7045ce
for 3.8.0.GA release
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@445 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
16 years ago
chiba
e570927feb
fixed JASSIST-56
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@430 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
16 years ago
chiba
a318d5d7d8
updated the copyright notices.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@382 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
17 years ago
chiba
c04c787ab1
updated javadoc comments.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@345 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
17 years ago
adrian
57dcd65cab
Fix the annotation hashCode and equals implementation.
Use the annotation.toString() for the real annotation
since it is better.
Also some javadoc tidyup.
The default annotation value processing is still ugly.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@343 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
17 years ago
chiba
8a5fe21253
fixed a bug in write() in Annotation and ClassMemberValue
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@309 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
18 years ago
chiba
0acfa5ff72
added a getter.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@308 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
18 years ago
chiba
f19b6003ae
reformatted.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@301 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
18 years ago
chiba
722509666b
reformatted.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@300 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
18 years ago
kkhan
da847bf6bf
Handle Annotation.annotationType() calls
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@297 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
18 years ago
chiba
d5642a3c53
reformatted.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@296 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
18 years ago
kkhan
2433547278
Move handling of primitive class value from MemberValue to ClassMemberValue
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@292 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
18 years ago
kkhan
77aebc2d42
Be able to handle Class annotation attributes like void.class, int.class etc.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@291 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
18 years ago
chiba
72bc07cd53
Adjusting indentation, adding javadoc comments, etc.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@243 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
18 years ago
adrian
0f1701d237
Allow for retrieval of the real type name of the annotation.
We need this to emulate isAnnotationPresent(), etc.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@241 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
18 years ago
adrian
521d2bc977
I need an eclipse option that disallows autoboxing. :-)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@240 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
18 years ago
adrian
3921e76c51
Implement the Object methods for the annotation invocation handler.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@239 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
18 years ago
chiba
774508d17c
updated copyright notices
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@234 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
18 years ago
chiba
52a455616e
restructred sub packages
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@233 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
18 years ago
chiba
5292871f7d
fixed a bug found when an annotation includes an empty array.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@206 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
19 years ago
chiba
9366fe0862
Array initializer supports and better annotation supports.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@196 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
19 years ago
chiba
f6faf5fde7
fixed a compilation problem of static final fields.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@192 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
19 years ago
chiba
5de7634f05
update the tutorial
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@183 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
19 years ago
chiba
1ae8f41102
minor fixes
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@182 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
19 years ago
bill
2f50864a52
bug in writing enumvalue
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@177 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
19 years ago
chiba
bf8c6f9ca9
add support for obtaining default annotation member values (the same patch as Bill's but more javadoc comments)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@161 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
19 years ago
chiba
bd0d1580a7
Added javadoc comments.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@157 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
19 years ago
chiba
4b2de8a77e
Change the year in the copyright notices from 2004 to 2005.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@153 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
19 years ago
chiba
aca939f8d7
reformatted the files edited by Bill.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@138 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
20 years ago