aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* get0 should look in cached classes first as code extending ClassPool behaviorpatriot1burke2004-04-121-1/+2
| | | | | | | may use different mechanism than parent/child. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@83 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* write0 should never delegate to parent. The ClassPool that the CtClass is ↵patriot1burke2004-04-121-4/+0
| | | | | | | | | 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
* fixed some things that broke JBoss AOPpatriot1burke2004-04-122-2/+1
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@81 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* addTranslator() was still wrong.chiba2004-04-091-2/+6
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@80 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* renamed insertTranslator() in ClassPool to addTranslator() sincechiba2004-04-077-46/+118
| | | | | | | | 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
* changed delimiters, etc.chiba2004-04-051-4/+2
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@78 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* changed the stuff related to ClassPool.chiba2004-04-0512-1472/+1479
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@76 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* added annotation support. Only Enum types not supported when addingpatriot1burke2004-04-0319-1006/+2362
| | | | | | | 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
* fixed a typo.chiba2004-03-141-2/+2
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@74 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* changed to throw an exception if a duplicate method/field is added.chiba2004-03-143-5/+56
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@73 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* changed the compiler so that multiple statements do not need to bechiba2004-03-121-5/+4
| | | | | | | | 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
* fixed a bug that happens if null is passed to a method.chiba2004-02-281-0/+3
| | | | | | | This bug was reported by Bill. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@71 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* update javadoc comments.chiba2004-02-201-1/+20
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@70 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* If a newly created method does not have a throws clause, an emptychiba2004-02-155-3/+19
| | | | | | | Exceptions attribute had been added. This problem has been fixed. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@69 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* local variables were made available in the source text passedchiba2004-01-119-20/+92
| | | | | | | to insertBefore() etc. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@68 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* updated the copyright notices.chiba2004-01-08133-165/+167
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@67 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* added the description of insertAt() in CtBehavior.chiba2003-12-314-456/+70
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@65 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed a number of javadoc warnings.chiba2003-12-3111-21/+28
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@64 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* CtBehavior#insertAt() and support methods have been implemented.chiba2003-12-315-8/+174
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@63 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed a compiler bug.chiba2003-12-261-1/+1
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@62 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* changed the version string.chiba2003-12-251-1/+1
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@60 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* Implemented several methods (e.g. CtClass#getURL) to support securitychiba2003-12-258-17/+181
| | | | | | | policies based on code source. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@59 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* Fixed a bug of the token analyzer (double constant).chiba2003-12-207-36/+119
| | | | | | | Improved compilation speed. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@58 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed a bug on method lookup.chiba2003-12-103-13/+17
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@57 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* made the compiler support inner classes appearing in type names.chiba2003-12-077-46/+90
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@56 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* I implemented a type checker for better code generation.chiba2003-11-2720-518/+1847
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@55 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* changed the behavior of CtClassType.setSuperclass().chiba2003-10-143-7/+32
| | | | | | | See javadoc comments. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@54 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* made javassist.expr.MethodCall#replace correctly workchiba2003-10-107-10/+61
| | | | | | | with super's method calls. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@53 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* enabled the parser to parse switch and synchronized statements.chiba2003-10-073-18/+89
| | | | | | | The code generator has not supported them yet. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@52 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* added CtClass.main().chiba2003-10-062-3/+13
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@50 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* improved the compilation of static method calls.chiba2003-10-062-7/+17
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@49 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* Improved the performance of $proceed when it represents a static method.chiba2003-10-064-29/+75
| | | | | | | This change does not make any difference on WindowsXP but on Solaris/SPARC. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@48 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* updated tutorial so that it says the class names passed to the compilerchiba2003-09-191-0/+3
| | | | | | | must be fully-qualified names. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@47 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed warnings reported by Eclipse.chiba2003-09-0825-29/+167
| | | | | | | added LocalVariableAttribute. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@46 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed a javadoc comment.chiba2003-09-051-2/+2
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@45 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* added javassist.bytecode.DeprecatedAttribute.chiba2003-09-052-0/+58
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@44 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* updated documents.chiba2003-09-042-2/+2
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@43 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* made ClassPool.SimpleLoader public.chiba2003-09-042-3/+21
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@42 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* implemented CtBehavior.setBody with $proceed.chiba2003-09-022-0/+41
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@41 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* implemented toString().chiba2003-09-018-0/+102
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@40 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* changed the version number to 2.7chiba2003-08-312-2/+2
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@39 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* corrected to be able to compile an infinite loop.rel_2_6chiba2003-08-282-10/+28
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@37 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed a bug in CtField.chiba2003-08-231-0/+2
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@36 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* changed the behavior of CtClassType.setSuperclass().chiba2003-08-221-34/+14
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@35 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* made to produce bytecode that HotSpot 1.3 can compile to bechiba2003-08-202-31/+78
| | | | | | | efficient native code. (avoiding a bug of HotSpot?) git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@34 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed a bug in the compiler, which could not compile a try statementchiba2003-08-172-5/+7
| | | | | | | correctly. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@33 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* updated some javadoc comments.chiba2003-08-044-8/+56
| | | | | | | modified Loader so that getPackage() works. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@32 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* added Expr#indexofBytecode.chiba2003-07-312-2/+12
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@31 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed typo in a javadoc comment.chiba2003-07-111-1/+1
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@30 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* added ClassPool#removeCached so that subclasses of ClassPool can dochiba2003-07-111-1/+14
| | | | | | | their own caching. A bug in CtClassType#setName was fixed. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@29 30ef5769-5b8d-40dd-aea6-55b5d6557bb3