Handle annotations without docu generator on call method

This commit is contained in:
Marcus Holl
2018-11-20 16:53:00 +01:00
parent 6333530c9d
commit ddbdc034fc
+2 -2
View File
@@ -264,8 +264,8 @@ class Helper {
}
private static isHeader(line) {
Matcher headerMatcher = (line =~ /(def|void)\s*call\s*\(/ )
return headerMatcher.size() == 1 && headerMatcher[0].size() == 2
Matcher headerMatcher = (line =~ /(?:(?:def|void)\s*call\s*\()|(?:@.*)/ )
return headerMatcher.size() == 1
}
private static retrieveParameterName(line) {