Notice

The English translation of this page has not been completed, you are welcome to contribute translations to us.

You can use the Chrome Translation Plugin to translate entire pages for reference.

NameRules - class

class NameRules private constructor()

Change Records

v1.0.88 added

v1.1.0 modified

NameConditions 更名为 NameRules

作为 lambda 整体判断条件使用

移动到 base 包名

私有化构造方法

Function Illustrate

这是一个模糊 ClassMember 名称条件实现类。

可对 R8 混淆后的 ClassMember 进行更加详细的定位。

String.isSynthetic - i-ext-method

fun String.isSynthetic(index: Int): Boolean

Change Records

v1.0.88 added

v1.1.0 modified

统一合并到扩展方法并改名

Function Illustrate

是否为匿名类的主类调用对象。

String.isOnlySymbols - i-ext-method

fun String.isOnlySymbols(): Boolean

Change Records

v1.0.88 added

v1.1.0 modified

统一合并到扩展方法并改名

Function Illustrate

是否只有符号。

String.isOnlyLetters - i-ext-method

fun String.isOnlyLetters(): Boolean

Change Records

v1.0.88 added

v1.1.0 modified

统一合并到扩展方法并改名

Function Illustrate

是否只有字母。

String.isOnlyNumbers - i-ext-method

fun String.isOnlyNumbers(): Boolean

Change Records

v1.0.88 added

v1.1.0 modified

统一合并到扩展方法并改名

Function Illustrate

是否只有数字。

String.isOnlyLettersNumbers - i-ext-method

fun String.isOnlyLettersNumbers(): Boolean

Change Records

v1.0.88 added

v1.1.0 modified

统一合并到扩展方法并改名

Function Illustrate

是否只有字母或数字。

String.isOnlyLowercase - i-ext-method

fun String.isOnlyLowercase(): Boolean

Change Records

v1.0.88 added

v1.1.0 modified

统一合并到扩展方法并改名

Function Illustrate

是否只有小写字母。

在没有其它条件的情况下设置此条件允许判断对象存在字母以外的字符。

String.isOnlyUppercase - i-ext-method

fun String.isOnlyUppercase(): Boolean

Change Records

v1.0.88 added

v1.1.0 modified

统一合并到扩展方法并改名

Function Illustrate

是否只有大写字母。

在没有其它条件的情况下设置此条件允许判断对象存在字母以外的字符。