]> source.dussan.org Git - javassist.git/log
javassist.git
19 years agoupdate the tutorial
chiba [Mon, 20 Jun 2005 17:08:10 +0000 (17:08 +0000)]
update the tutorial

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@183 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agominor fixes
chiba [Mon, 20 Jun 2005 17:05:57 +0000 (17:05 +0000)]
minor fixes

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@182 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agoTurning the automatic pruning on by default.
chiba [Thu, 16 Jun 2005 17:52:38 +0000 (17:52 +0000)]
Turning the automatic pruning on by default.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@181 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agofixed a bug I enbugged in the previous version
chiba [Sat, 11 Jun 2005 15:46:49 +0000 (15:46 +0000)]
fixed a bug I enbugged in the previous version

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@180 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agoreformatted the files and added javadoc comments.
chiba [Sat, 11 Jun 2005 14:57:05 +0000 (14:57 +0000)]
reformatted the files and added javadoc comments.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@179 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agoFix pruning so that exceptions and annotation attributes are not ditched.
bill [Thu, 9 Jun 2005 04:15:31 +0000 (04:15 +0000)]
Fix pruning so that exceptions and annotation attributes are not ditched.
Add more hooks for jBoss AOP so that it can prune aggressively.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@178 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agobug in writing enumvalue
bill [Wed, 8 Jun 2005 20:25:47 +0000 (20:25 +0000)]
bug in writing enumvalue

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@177 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agofixed a bug so that the compiler distinguishes a length field and the array length...
chiba [Wed, 8 Jun 2005 08:58:33 +0000 (08:58 +0000)]
fixed a bug so that the compiler distinguishes a length field and the array length operator.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@175 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agosupport non us-ascii identifiers (JIRA May20,2005)
chiba [Tue, 7 Jun 2005 18:55:17 +0000 (18:55 +0000)]
support non us-ascii identifiers (JIRA May20,2005)

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@173 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agofixed a bug so that "<array> == null" can be compiled.
chiba [Mon, 16 May 2005 15:59:01 +0000 (15:59 +0000)]
fixed a bug so that "<array> == null" can be compiled.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@171 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agoChanged ClassPool.get() to accept the descriptors of array types.
chiba [Mon, 16 May 2005 14:53:51 +0000 (14:53 +0000)]
Changed ClassPool.get() to accept the descriptors of array types.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@170 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agosome simple style changes
chiba [Mon, 16 May 2005 03:01:34 +0000 (03:01 +0000)]
some simple style changes

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@169 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agocleaned up import declarations
chiba [Sun, 15 May 2005 18:00:02 +0000 (18:00 +0000)]
cleaned  up import declarations

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@168 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agochecked the previous modifications and adjusted the format.
chiba [Sun, 10 Apr 2005 02:18:29 +0000 (02:18 +0000)]
checked the previous modifications and adjusted the format.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@167 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agoAlso previous modification adds the ability to retrieve all classes referenced in...
ejort [Fri, 8 Apr 2005 17:20:58 +0000 (17:20 +0000)]
Also previous modification adds the ability to retrieve all classes referenced in the constant pool

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@166 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agoAdd the ability to retrieve and change the Major/Minor versions of the ClassFile
ejort [Fri, 8 Apr 2005 17:19:58 +0000 (17:19 +0000)]
Add the ability to retrieve and change the Major/Minor versions of the ClassFile

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@165 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agoclarify that $0 means this.
chiba [Thu, 24 Mar 2005 14:59:56 +0000 (14:59 +0000)]
clarify that $0 means this.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@164 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agofixed a bug of CtBehavior.insertAt (and a few other minor fixes)
chiba [Wed, 2 Mar 2005 03:42:10 +0000 (03:42 +0000)]
fixed a bug of CtBehavior.insertAt (and a few other minor fixes)

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@162 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agoadd support for obtaining default annotation member values (the same patch as Bill...
chiba [Sun, 27 Feb 2005 15:01:18 +0000 (15:01 +0000)]
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 agofixed a bug in LocalVariableAttribute
chiba [Wed, 2 Feb 2005 16:14:34 +0000 (16:14 +0000)]
fixed a bug in LocalVariableAttribute

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@158 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agoAdded javadoc comments.
chiba [Mon, 31 Jan 2005 14:09:56 +0000 (14:09 +0000)]
Added javadoc comments.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@157 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agofixed a bug in javadoc comments rel_3_0
chiba [Tue, 18 Jan 2005 14:43:38 +0000 (14:43 +0000)]
fixed a bug in javadoc comments

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@154 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agoChange the year in the copyright notices from 2004 to 2005.
chiba [Tue, 18 Jan 2005 07:08:50 +0000 (07:08 +0000)]
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 agofixed a few bugs.
chiba [Thu, 13 Jan 2005 17:02:22 +0000 (17:02 +0000)]
fixed a few bugs.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@152 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agoimplemented removeMethod() etc.
chiba [Wed, 12 Jan 2005 16:09:47 +0000 (16:09 +0000)]
implemented removeMethod() etc.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@151 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agoReformatted the soruce files modified by Bill.
chiba [Sun, 9 Jan 2005 17:15:25 +0000 (17:15 +0000)]
Reformatted the soruce files modified by Bill.
The "created* field in MethodInfo has been commented out
since (maybe) it is not used at all.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@150 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agomethodinfos are not equal for some reason.
patriot1burke [Thu, 9 Dec 2004 22:37:15 +0000 (22:37 +0000)]
methodinfos are not equal for some reason.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@149 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agofixed a bug in CtConstructor#getName()
chiba [Thu, 4 Nov 2004 16:42:55 +0000 (16:42 +0000)]
fixed a bug in CtConstructor#getName()

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@148 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agosupports finally clauses
chiba [Thu, 4 Nov 2004 16:26:15 +0000 (16:26 +0000)]
supports finally clauses

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@147 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

19 years agosynchronized statement support.
chiba [Tue, 2 Nov 2004 17:03:26 +0000 (17:03 +0000)]
synchronized statement support.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@146 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agominor updates for reflecting forum posts
chiba [Thu, 21 Oct 2004 16:01:16 +0000 (16:01 +0000)]
minor updates for reflecting forum posts

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@145 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoMade the constructors in subclasses of Expr protected.
chiba [Mon, 18 Oct 2004 19:01:45 +0000 (19:01 +0000)]
Made the constructors in subclasses of Expr protected.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@144 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoreformatted.
chiba [Mon, 18 Oct 2004 18:53:57 +0000 (18:53 +0000)]
reformatted.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@143 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agohandle primitives in annotation ClassMembers
patriot1burke [Mon, 18 Oct 2004 16:10:29 +0000 (16:10 +0000)]
handle primitives in annotation ClassMembers

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@142 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoExpr.where() throws an exception if the expression is in a static initializer.
chiba [Sat, 16 Oct 2004 16:59:27 +0000 (16:59 +0000)]
Expr.where() throws an exception if the expression is in a static initializer.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@141 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agorequested by Eric Tanter
chiba [Tue, 28 Sep 2004 17:21:00 +0000 (17:21 +0000)]
requested by Eric Tanter

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@139 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoreformatted the files edited by Bill.
chiba [Tue, 28 Sep 2004 17:06:56 +0000 (17:06 +0000)]
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* additional methods to AnnotationsAttribute to support adding
patriot1burke [Tue, 14 Sep 2004 04:17:29 +0000 (04:17 +0000)]
* 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 agojavadoc comments have been modified.
chiba [Sun, 12 Sep 2004 16:51:58 +0000 (16:51 +0000)]
javadoc comments have been modified.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@135 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoEdited javadoc comments.
chiba [Thu, 9 Sep 2004 14:38:43 +0000 (14:38 +0000)]
Edited javadoc comments.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@134 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoupdated javadoc comments.
chiba [Wed, 8 Sep 2004 13:58:03 +0000 (13:58 +0000)]
updated javadoc comments.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@133 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoedited the tutorial.
chiba [Mon, 6 Sep 2004 14:05:34 +0000 (14:05 +0000)]
edited the tutorial.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@132 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoNow the compiler supports a switch statement.
chiba [Fri, 3 Sep 2004 14:00:20 +0000 (14:00 +0000)]
Now the compiler supports a switch statement.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@131 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agomodified the code generator to compute constant expressions at compile time.
chiba [Wed, 1 Sep 2004 07:45:32 +0000 (07:45 +0000)]
modified the code generator to compute constant expressions at compile time.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@130 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agodiscarded the last changes
chiba [Mon, 30 Aug 2004 17:41:36 +0000 (17:41 +0000)]
discarded the last changes

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@129 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoimplemented CtField#getConstantValue().
chiba [Mon, 30 Aug 2004 17:10:34 +0000 (17:10 +0000)]
implemented CtField#getConstantValue().

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@128 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agotemporary version. You cannot compile them. I'll discard the changes but want to...
chiba [Mon, 30 Aug 2004 17:09:15 +0000 (17:09 +0000)]
temporary version.  You cannot compile them.  I'll discard the changes but want to check in for record.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@127 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agofixed a bug in CtClass.getMethods() and javassist.reflect package
chiba [Sun, 22 Aug 2004 13:04:09 +0000 (13:04 +0000)]
fixed a bug in CtClass.getMethods() and javassist.reflect package

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@126 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoimplemented pruning
chiba [Thu, 19 Aug 2004 14:04:32 +0000 (14:04 +0000)]
implemented pruning

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@125 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years ago.class support
chiba [Mon, 16 Aug 2004 15:31:30 +0000 (15:31 +0000)]
.class support

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@123 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoimplemented getMethodIndex() in javassist.reflect.ClassMetaobject
chiba [Sat, 14 Aug 2004 15:48:30 +0000 (15:48 +0000)]
implemented getMethodIndex() in javassist.reflect.ClassMetaobject

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@122 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agomodified CtClass#toString()
chiba [Tue, 3 Aug 2004 03:02:37 +0000 (03:02 +0000)]
modified CtClass#toString()

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@121 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agojavassist.expr.NewArray has been implemented.
chiba [Mon, 2 Aug 2004 18:50:41 +0000 (18:50 +0000)]
javassist.expr.NewArray has been implemented.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@120 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoupdated some javadoc comments.
chiba [Tue, 27 Jul 2004 14:47:30 +0000 (14:47 +0000)]
updated some javadoc comments.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@119 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agofixed Bugs item #997458: addCatch("return;", ...) on CtConstructor causes VerifyError
chiba [Tue, 27 Jul 2004 09:45:50 +0000 (09:45 +0000)]
fixed Bugs item #997458: addCatch("return;", ...) on CtConstructor causes VerifyError
implemented CtBehavior#addLocalVariable()

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@118 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agofixed Bugs item #993090
chiba [Mon, 26 Jul 2004 16:14:26 +0000 (16:14 +0000)]
fixed Bugs item #993090

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@117 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoChanged the implementation of CtClass#toClass() and fixed [Bugs item #993105] Reflect...
chiba [Mon, 26 Jul 2004 08:55:35 +0000 (08:55 +0000)]
Changed the implementation of CtClass#toClass() and fixed [Bugs item #993105] Reflection#makeReflective could reject some reflections

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@116 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoBugs item #988787 has been fixed.
chiba [Mon, 19 Jul 2004 12:02:27 +0000 (12:02 +0000)]
Bugs item #988787 has been fixed.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@114 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoUpdated the tutorial to be more understandable.
chiba [Thu, 15 Jul 2004 13:49:20 +0000 (13:49 +0000)]
Updated the tutorial to be more understandable.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@113 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoFixed Bugs item #987038 (opened at 2004-07-08 15:06)
chiba [Thu, 8 Jul 2004 12:24:02 +0000 (12:24 +0000)]
Fixed Bugs item #987038 (opened at 2004-07-08 15:06)

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@112 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agorevised javassist.bytecode.annotation package.
chiba [Fri, 25 Jun 2004 18:42:26 +0000 (18:42 +0000)]
revised javassist.bytecode.annotation package.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@111 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoAdded javassist.bytecode.AnnotationsAttribute and support classes.
chiba [Thu, 10 Jun 2004 15:56:45 +0000 (15:56 +0000)]
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 agoChanged subclasses of javassist.expr.Expr so that $_ is always initialized.
chiba [Sat, 5 Jun 2004 16:05:18 +0000 (16:05 +0000)]
Changed subclasses of javassist.expr.Expr so that $_ is always initialized.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@109 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoadded Enum support to AnnotationInfo
patriot1burke [Thu, 3 Jun 2004 04:08:53 +0000 (04:08 +0000)]
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 agominor and final changes for 3.0 beta
chiba [Tue, 18 May 2004 08:43:47 +0000 (08:43 +0000)]
minor and final changes for 3.0 beta

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@106 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoadded computeMaxStack() in CodeAttribute.
chiba [Tue, 18 May 2004 03:00:48 +0000 (03:00 +0000)]
added computeMaxStack() in CodeAttribute.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@105 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agochanged the copyright notice of javassist.bytecode.annotation
chiba [Sat, 15 May 2004 17:59:55 +0000 (17:59 +0000)]
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 agoCtClass.makeNestedClass() has been added.
chiba [Thu, 13 May 2004 18:46:43 +0000 (18:46 +0000)]
CtClass.makeNestedClass() has been added.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@103 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoupdated the tutorial
chiba [Tue, 11 May 2004 02:55:35 +0000 (02:55 +0000)]
updated the tutorial

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@102 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoupdated the tutorial.
chiba [Tue, 11 May 2004 02:54:41 +0000 (02:54 +0000)]
updated the tutorial.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@101 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoUpdated the tutorial
chiba [Tue, 11 May 2004 02:47:05 +0000 (02:47 +0000)]
Updated the tutorial

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@100 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoNow, the compiler accepts a method that calls
chiba [Sat, 8 May 2004 14:49:33 +0000 (14:49 +0000)]
Now, the compiler accepts a method that calls
a private constructor declared in an enclosing class.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@99 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoNow, the compiler accepts a method that accesses
chiba [Wed, 5 May 2004 17:17:45 +0000 (17:17 +0000)]
Now, the compiler accepts a method that accesses
a private field declared in an enclosing class.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@98 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoNow, the compiler accepts a method that calls a private method
chiba [Tue, 4 May 2004 17:22:40 +0000 (17:22 +0000)]
Now, the compiler accepts a method that calls a private method
declared in an enclosing class.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@97 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoadded CtClass#getDeclaringClass()
chiba [Mon, 3 May 2004 17:38:30 +0000 (17:38 +0000)]
added CtClass#getDeclaringClass()

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@96 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoadded detach() in CtClass, which is necessary so that some people who
chiba [Tue, 27 Apr 2004 16:01:40 +0000 (16:01 +0000)]
added detach() in CtClass, which is necessary so that some people who
deal with a large number of classes can get better performance.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@95 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agofixed some annotation bugs and added some integration features
patriot1burke [Sat, 24 Apr 2004 03:16:07 +0000 (03:16 +0000)]
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 agoadded an error check.
chiba [Wed, 21 Apr 2004 17:30:13 +0000 (17:30 +0000)]
added an error check.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@93 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agomodified the API to look good.
chiba [Wed, 21 Apr 2004 17:20:21 +0000 (17:20 +0000)]
modified the API to look good.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@92 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoput back callback to ClassPool.writeAsClass. This callback to ClassPool instance
patriot1burke [Tue, 20 Apr 2004 21:50:37 +0000 (21:50 +0000)]
put back callback to ClassPool.writeAsClass.  This callback to ClassPool instance
is required to be able to override how dynamic class creation works

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@91 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agocommitted with bad \r\n
patriot1burke [Tue, 20 Apr 2004 21:07:10 +0000 (21:07 +0000)]
committed with bad \r\n

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@90 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoperformance tuning.
chiba [Mon, 19 Apr 2004 04:08:36 +0000 (04:08 +0000)]
performance tuning.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@89 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoedited for improving runtime performance.
chiba [Sun, 18 Apr 2004 17:32:28 +0000 (17:32 +0000)]
edited for improving runtime performance.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@88 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agominor changes.
chiba [Sat, 17 Apr 2004 18:06:36 +0000 (18:06 +0000)]
minor changes.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@87 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agofixed bugs so that sample programs can run.
chiba [Fri, 16 Apr 2004 15:12:45 +0000 (15:12 +0000)]
fixed bugs so that sample programs can run.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@86 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoNot needed anymore.
chiba [Wed, 14 Apr 2004 15:52:55 +0000 (15:52 +0000)]
Not needed anymore.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@85 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agomodified the ClassPool framework.
chiba [Wed, 14 Apr 2004 15:49:55 +0000 (15:49 +0000)]
modified the ClassPool framework.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@84 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoget0 should look in cached classes first as code extending ClassPool behavior
patriot1burke [Mon, 12 Apr 2004 20:47:29 +0000 (20:47 +0000)]
get0 should look in cached classes first as code extending ClassPool behavior
may use different mechanism than parent/child.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@83 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agowrite0 should never delegate to parent. The ClassPool that the CtClass is associated
patriot1burke [Mon, 12 Apr 2004 20:10:44 +0000 (20:10 +0000)]
write0 should never delegate to parent.  The ClassPool that the CtClass is associated
with should always be the pool that loaded the class.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@82 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agofixed some things that broke JBoss AOP
patriot1burke [Mon, 12 Apr 2004 19:04:55 +0000 (19:04 +0000)]
fixed some things that broke JBoss AOP

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@81 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoaddTranslator() was still wrong.
chiba [Fri, 9 Apr 2004 15:35:49 +0000 (15:35 +0000)]
addTranslator() was still wrong.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@80 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agorenamed insertTranslator() in ClassPool to addTranslator() since
chiba [Wed, 7 Apr 2004 07:06:28 +0000 (07:06 +0000)]
renamed insertTranslator() in ClassPool to addTranslator() since
it appends a class path to the tail of the chain.
ClassClassPath has been implemented.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@79 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agochanged delimiters, etc.
chiba [Mon, 5 Apr 2004 14:49:14 +0000 (14:49 +0000)]
changed delimiters, etc.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@78 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agochanged line delimiters.
chiba [Mon, 5 Apr 2004 09:57:57 +0000 (09:57 +0000)]
changed line delimiters.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@77 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agochanged the stuff related to ClassPool.
chiba [Mon, 5 Apr 2004 09:24:26 +0000 (09:24 +0000)]
changed the stuff related to ClassPool.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@76 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoadded annotation support. Only Enum types not supported when adding
patriot1burke [Sat, 3 Apr 2004 02:11:24 +0000 (02:11 +0000)]
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 agofixed a typo.
chiba [Sun, 14 Mar 2004 17:15:59 +0000 (17:15 +0000)]
fixed a typo.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@74 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agochanged to throw an exception if a duplicate method/field is added.
chiba [Sun, 14 Mar 2004 17:15:16 +0000 (17:15 +0000)]
changed to throw an exception if a duplicate method/field is added.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@73 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agochanged the compiler so that multiple statements do not need to be
chiba [Fri, 12 Mar 2004 14:14:46 +0000 (14:14 +0000)]
changed the compiler so that multiple statements do not need to be
surrouneded by {}.  The compiler implicitly surround the statemetns
by {}.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@72 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agofixed a bug that happens if null is passed to a method.
chiba [Sat, 28 Feb 2004 15:03:46 +0000 (15:03 +0000)]
fixed a bug that happens if null is passed to a method.
This bug was reported by Bill.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@71 30ef5769-5b8d-40dd-aea6-55b5d6557bb3