Stop if we get to a generic type declaration.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2060 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2007-02-20 19:09:13 +00:00
parent 140fe70475
commit 47d6917c0f
@@ -363,5 +363,5 @@ public class GenRecordTask extends Task
/** A regular expression for matching the class or interface declaration. */
protected static final Pattern NAME_PATTERN = Pattern.compile(
"^\\s*public\\s+(?:abstract\\s+)?(interface|class)\\s+(\\S+)(\\W|$)");
"^\\s*public\\s+(?:abstract\\s+)?(interface|class)\\s+(\\S+)(\\W|$)(<)?");
}