Allow final classes to be streamed too
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6616 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -47,7 +47,7 @@ public class GenUtil extends com.samskivert.util.GenUtil
|
|||||||
|
|
||||||
/** A regular expression for matching the class or interface declaration. */
|
/** A regular expression for matching the class or interface declaration. */
|
||||||
public static final Pattern NAME_PATTERN =
|
public static final Pattern NAME_PATTERN =
|
||||||
Pattern.compile("^\\s*public\\s+(?:abstract\\s+)?(@?interface|class|enum)\\s+([\\w$]+)");
|
Pattern.compile("^\\s*public\\s+(?:(?:abstract|final)\\s+)*(@?interface|class|enum)\\s+([\\w$]+)");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the name of the supplied class as it would appear in ActionScript code using the
|
* Returns the name of the supplied class as it would appear in ActionScript code using the
|
||||||
|
|||||||
Reference in New Issue
Block a user