Skip to content

Commit

Permalink
Fix arg name extraction with _ and $
Browse files Browse the repository at this point in the history
  • Loading branch information
regadas committed Dec 4, 2019
1 parent 3f73209 commit a161263
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import scala.collection.mutable
object AnnotationTypeInjector {
private val Log = Logger.getInstance(classOf[AnnotationTypeInjector])
private val CaseClassArgs = """case\s+class\s+[^(]+\((.*)\).*""".r
private val TypeArg = """[a-zA-Z0-9]+\s*:\s*[a-zA-Z0-9._]+([\[(](.*?)[)\]]+)?""".r
private val TypeArg = """[a-zA-Z0-9_$]+\s*:\s*[a-zA-Z0-9._$]+([\[(](.*?)[)\]]+)?""".r
private val AlertEveryMissedXInvocations = 5

def getApplyPropsSignature(caseClasses: Option[String]): Seq[String] =
Expand Down

0 comments on commit a161263

Please sign in to comment.