未验证 提交 30dddddb 编写于 作者: 梦境迷离's avatar 梦境迷离 提交者: GitHub

Delete intellij-plugin/src/main/scala/io/github/dreamylost/plugin/utils directory

上级 7a0fd152
package io.github.dreamylost.plugin.utils
/**
*
* @author 梦境迷离
* @since 2021/7/5
* @version 1.0
*/
object Utils {
def convert2ScalaPrimitive(tp: String): String = {
val types = Map(
"int" -> "Int",
"long" -> "Long",
"double" -> "Double",
"float" -> "Float",
"short" -> "Short",
"byte" -> "Byte",
"boolean" -> "Boolean",
"char" -> "Char",
)
types.getOrElse(tp, tp)
}
def convert2ScalaType(tp: String): String = {
convert2ScalaPrimitive(tp.replace("<", "[").replace(">", "]"))
}
}
class Utils
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册