Refactoring: create DataClassUtils and move all "component" function utils there
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
package org.jetbrains.jet.lang.resolve.name
|
||||
|
||||
import java.util.regex.Pattern
|
||||
|
||||
public val COMPONENT_FUNCTION_PATTERN: Pattern = Pattern.compile("^component(\\d+)$")
|
||||
|
||||
public fun String.isComponentFunctionName(): Boolean = COMPONENT_FUNCTION_PATTERN.matcher(this).matches()
|
||||
public fun Name.isComponentFunctionName(): Boolean = asString().isComponentFunctionName()
|
||||
Reference in New Issue
Block a user