From 7a6f09ad9c5c75162db6d840d8af8bcb13bf215f Mon Sep 17 00:00:00 2001
From: robeden
Date: Wed, 5 Oct 2011 03:13:19 +0000
Subject: [PATCH] Documentation for replicated blocks
---
generator_src/gnu/trove/generator/Generator.java | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/generator_src/gnu/trove/generator/Generator.java b/generator_src/gnu/trove/generator/Generator.java
index 3db4664..066f103 100644
--- a/generator_src/gnu/trove/generator/Generator.java
+++ b/generator_src/gnu/trove/generator/Generator.java
@@ -54,6 +54,15 @@
*
*
*
+ * Block Replication
+ *
+ * In addition to regular patterns, some classes use block replication. This allows
+ * replicating a block of code for each type. A block starts with
+ * ====START_REPLICATED_CONTENT #<number>====
and ends with
+ * =====END_REPLICATED_CONTENT #<number>=====
(each on a new line) where
+ * "<number>" is an integer. Then, that content is replicated for each type where
+ * the pattern "#REPLICATED#" is found.
+ *
*/
public class Generator {
private static final WrapperInfo[] WRAPPERS = new WrapperInfo[]{