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
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
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
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
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
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
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
patriot1burke
02c99beb98
* additional methods to AnnotationsAttribute to support adding
* turn off pruning.
* move toClass back to ClassPool
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@137 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
20 years ago
chiba
d51257fc94
revised javassist.bytecode.annotation package.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@111 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
20 years ago
chiba
6f0d550f39
Added javassist.bytecode.AnnotationsAttribute and support classes.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@110 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
20 years ago
patriot1burke
fa03e04037
added Enum support to AnnotationInfo
Updated for JDK 1.5 Beta2 changes
type_index for Annotation is now UTF8 descriptor, same for all other class types
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@108 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
20 years ago
chiba
b431110d11
changed the copyright notice of javassist.bytecode.annotation
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@104 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
20 years ago
patriot1burke
652e4675e7
fixed some annotation bugs and added some integration features
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@94 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
20 years ago
patriot1burke
ed96cc4101
added annotation support. Only Enum types not supported when adding
annotations. This will also work on JDK 1.4. Well, it should.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@75 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
20 years ago