diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-11 11:11:32 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-07-11 11:11:32 +0200 |
commit | bc44e76b7d45da2301a1bb7d28d4e7e8fec4b94b (patch) | |
tree | 8e6eed1ddcb4234ec83d5a1561e47dae2054940a /src/lombok/core/PrintAST.java | |
parent | 21aa78996ad11ebd945273405d752622ffbd9df0 (diff) | |
download | lombok-bc44e76b7d45da2301a1bb7d28d4e7e8fec4b94b.tar.gz lombok-bc44e76b7d45da2301a1bb7d28d4e7e8fec4b94b.tar.bz2 lombok-bc44e76b7d45da2301a1bb7d28d4e7e8fec4b94b.zip |
Made 'printContent=true' work for types as well as method bodies/initializers.
Diffstat (limited to 'src/lombok/core/PrintAST.java')
-rw-r--r-- | src/lombok/core/PrintAST.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lombok/core/PrintAST.java b/src/lombok/core/PrintAST.java index 943bf298..df1b652c 100644 --- a/src/lombok/core/PrintAST.java +++ b/src/lombok/core/PrintAST.java @@ -42,9 +42,10 @@ public @interface PrintAST { String outfile() default ""; /** - * Normally, the printer will print each node focusing on the node (E.g. classname, and such). - * By setting printContent to true, methods, initializers, and other statement-containing elements - * actually print their java code instead of a tree view of internal AST nodes. + * Sets whether to print node structure (false) or generated java code (true). + * + * By setting printContent to true, the annotated element's java code representation is printed. If false, + * its node structure (e.g. node classname) is printed, and this process is repeated for all children. */ boolean printContent() default false; } |