containsStringInClass

open fun containsStringInClass(@NonNull className: String, @NonNull userType: String): Boolean

Check if input string(userType) is defined in this class.

Return

true if userType is defined in this class. false if not.

Parameters

className

class name to find strings.

userType

input string


open fun containsStringInClass(@NonNull className: String, @NonNull userType: String, isStatic: Boolean): Boolean

Check if input string(userType) is defined in this class.

Return

true if userType is defined in this class. false if not.

Parameters

className

class name to find strings.

userType

input string

isStatic

true if string is static filed. false if not.