Package com.alibaba.fastjson2.util
Class KotlinUtils
java.lang.Object
com.alibaba.fastjson2.util.KotlinUtils
- Since:
- 2.0.39
- Author:
- kraity
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidgetConstructor(Class<?> clazz, BeanInfo beanInfo) Gets the target constructor and its parameter names of the specifiedclazzstatic String[]static ConstructorgetKotlinConstructor(Constructor[] constructors) static ConstructorgetKotlinConstructor(Constructor[] constructors, String[] paramNames) static booleanstatic booleanisKotlinIgnore(Class clazz, String methodName)
-
Field Details
-
STATE
public static final int STATE
-
-
Method Details
-
getConstructor
Gets the target constructor and its parameter names of the specifiedclazz- Parameters:
clazz- the specified class for search
-
isKotlin
-
getKotlinConstructor
-
getKotlinConstructor
-
getKoltinConstructorParameters
-
isKotlinIgnore
-