From 2b6c9c654affc6a41e17d9815ea09ca0ccf1e890 Mon Sep 17 00:00:00 2001 From: Oliver Burn Date: Wed, 23 Jan 2002 12:42:01 +0000 Subject: [PATCH] Added warning not to use this class outside of this package. --- .../com/puppycrawl/tools/checkstyle/MyCommonAST.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/checkstyle/com/puppycrawl/tools/checkstyle/MyCommonAST.java b/src/checkstyle/com/puppycrawl/tools/checkstyle/MyCommonAST.java index 77ffc732a..328ab88b8 100644 --- a/src/checkstyle/com/puppycrawl/tools/checkstyle/MyCommonAST.java +++ b/src/checkstyle/com/puppycrawl/tools/checkstyle/MyCommonAST.java @@ -22,8 +22,12 @@ import antlr.CommonAST; import antlr.Token; /** - * An extension of the CommonAST that records the line number. The idea was - * taken from http://www.jguru.com/jguru/faq/view.jsp?EID=62654. + * WARNING: This class is not part of the official Checkstyle API and should + * not be used! It is declared public because it must be created by + * the ANTLR classes. + *

+ * An extension of the CommonAST that records the line and column number. + * The idea was taken from http://www.jguru.com/jguru/faq/view.jsp?EID=62654. * @author Oliver Burn **/ public class MyCommonAST