diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-19 03:24:17 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-06-19 03:24:17 +0200 |
commit | 7bbf7789f8db8573dc76f215f092ddd2d8a8cbfd (patch) | |
tree | 2c5a9c9a29580d24b7407f0f9e5e45c2e948a897 /doc | |
parent | 0bb66dd93d591b5e3f05a24aaa751600207541d1 (diff) | |
download | lombok-7bbf7789f8db8573dc76f215f092ddd2d8a8cbfd.tar.gz lombok-7bbf7789f8db8573dc76f215f092ddd2d8a8cbfd.tar.bz2 lombok-7bbf7789f8db8573dc76f215f092ddd2d8a8cbfd.zip |
List of stuff we still need to do as well as research notes on how to get there.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/TODO.txt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/doc/TODO.txt b/doc/TODO.txt new file mode 100644 index 00000000..53fdb177 --- /dev/null +++ b/doc/TODO.txt @@ -0,0 +1,38 @@ +## javadoc + +Either just let people run lombokc and javadoc that, -or-, use a doclet and presumptively cast our way into javadoc's AST. + +## lombokc + +To keep comments, try: + +com.sun.tools.javac.main.JavaCompiler.instance(context).keepComments = true; + +## netbeans agent plugin + +module: java.source +class: org.netbeans.modules.java.source.parsing.JavacParser + +to instrument: + +class: JavacTaskImpl + +method1: public JCBlock reparseMethodBody(CompilationUnitTree topLevel, MethodTree methodBody, String newText, int annonIndex) {} +method2: public Iterable<? extends CompilationUnitTree> parse(); + +in either case, returned value could be null/empty. CompilationUnitTree are MethodTree are superinterfaces of JCCU and JCMD. + + +## website + +## javadoc + +## screencasts + +## installers + +## hook into class file writing + +on javac: com.sun.tools.javac.jvm.ClassWriter.writeClassFile(OutputStream out, ClassSymbol c) - hack the one line where out.write() is called. + + |