com.diboot.devtools.v2.O0OOOO00OO0O00OO Maven / Gradle / Ivy
The newest version!
/**
* Copyright (c) dibo.ltd, https://www.dibo.ltd, https://www.diboot.com
*
* ---- 版权声明 ----
* Diboot相关商标、软件著作权、专利等全部知识产权隶属于苏州帝博信息技术有限公司。
* Diboot devtools 非开源项目,如您有devtools相关定制化需求,请至官网(https://www.dibo.ltd)联系帝博信息商务。
*
* 《中华人民共和国刑法》规定:破坏计算机信息系统罪,处五年以下有期徒刑或者拘役;后果特别严重的,处五年以上有期徒刑。
* 侵犯知识产权罪:处三年以下有期徒刑、拘役或管制,并处罚金;情节特别严重的,处三年以上七年以下有期徒刑,并处罚金。
*
* 任何尝试破解、破坏devtools、侵犯diboot知识产权的行为,我们将不惜一切代价追究到底!
*
*/
package com.diboot.devtools.v2;
import com.baomidou.mybatisplus.annotation.TableField;
import com.diboot.core.util.S;
import com.diboot.core.util.V;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
@Deprecated()
public class O0OOOO00OO0O00OO {
private static List l11111l1l11l1 = null;
@Deprecated()
public synchronized static List l1ll11111l1l111() {
if (l11111l1l11l1 != null) {
return l11111l1l11l1;
}
try {
l11111l1l11l1 = new ArrayList<>();
String ll11l11l1l11 = OO0O0OOOOO0O0O00.ll1ll11111l1ll.get(O0OO00OOOOO0OO0O.l11l1l11l11l11);
String ll111l1ll1ll = S.substringAfterLast(ll11l11l1l11, OOO0OO00O00O00OO.l11llll1ll11ll1("L3NyYy9tYWluL2phdmEv")).replace("/", ".") + OOO0OO00O00O00OO.l11llll1ll11ll1("QmFzZUN1c3RvbUVudGl0eQ==");
Class ll1ll11ll11l = Class.forName(ll111l1ll1ll);
if (ll1ll11ll11l != null) {
Field[] l1lllll11111 = ll1ll11ll11l.getDeclaredFields();
if (l1lllll11111 != null) {
for (Field ll11ll1111l1 : l1lllll11111) {
if (ll11ll1111l1.getName().equals(OOO0OO00O00O00OO.l11llll1ll11ll1("c2VyaWFsVmVyc2lvblVJRA=="))) {
continue;
}
O00OOO0O00OOO00O l111l1l1llll = new O00OOO0O00OOO00O();
l111l1l1llll.setFieldName(ll11ll1111l1.getName());
String l1111lllll1l = S.toSnakeCase(ll11ll1111l1.getName());
l111l1l1llll.setColName(l1111lllll1l);
String l1111ll11l11 = ll11ll1111l1.getGenericType().getTypeName();
if (l1111ll11l11.contains(".")) {
l1111ll11l11 = S.substringAfterLast(l1111ll11l11, ".");
}
l111l1l1llll.setFieldPackagingType(l1111ll11l11);
TableField ll1111l11l11 = ll11ll1111l1.getAnnotation(TableField.class);
if (ll1111l11l11 != null) {
if (V.notEmpty(ll1111l11l11.value())) {
l1111lllll1l = ll1111l11l11.value();
l111l1l1llll.setColName(l1111lllll1l);
}
l111l1l1llll.setNotExists(ll1111l11l11.exist() == false);
}
l11111l1l11l1.add(l111l1l1llll);
}
}
}
if (l11111l1l11l1 == null) {
l11111l1l11l1 = Collections.emptyList();
}
} catch (Exception e) {
}
return l11111l1l11l1;
}
}