Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
p x
earlywarning
Commits
20b7afe5
Commit
20b7afe5
authored
Dec 12, 2025
by
p x
Browse files
混淆
parent
82280e1c
Changes
2
Show whitespace changes
Inline
Side-by-side
src/main/java/com/cusc/adas/v2x/utils/Parse.java
View file @
20b7afe5
...
...
@@ -13,8 +13,6 @@ import java.util.Arrays;
import
java.util.Collections
;
import
java.util.Comparator
;
import
java.util.List
;
import
java.util.SortedMap
;
import
java.util.TreeMap
;
import
java.util.UUID
;
import
io.netty.buffer.ByteBuf
;
...
...
@@ -197,6 +195,8 @@ public class Parse {
* @param fList 按Order 从小到大排序好的属性
*/
public
static
<
T
>
T
parse
(
ByteBuf
data
,
T
t
,
List
<
Field
>
fList
)
{
if
(
t
==
null
)
return
null
;
try
{
for
(
Field
field
:
fList
)
{
field
.
setAccessible
(
true
);
...
...
@@ -510,6 +510,8 @@ public class Parse {
// public static void convoterBean( Object source , Object target) throws IllegalArgumentException, IllegalAccessException, ClassNotFoundException, InstantiationException, NoSuchFieldException, SecurityException {
public
static
void
convoterBean
(
Object
source
,
Object
target
)
{
if
(
source
==
null
)
return
;
Field
tField
=
null
;
try
{
Field
[]
fields
=
source
.
getClass
().
getDeclaredFields
();
...
...
@@ -691,7 +693,7 @@ public class Parse {
}
}
}
catch
(
Exception
e
)
{
System
.
out
.
println
(
"----convoterBean Exception "
+
e
+
" tField "
+
tField
);
System
.
out
.
println
(
"----convoterBean Exception "
+
e
+
" tField "
+
tField
+
" object "
+
source
.
getClass
().
getName
()
);
}
}
...
...
src/main/java/com/cusc/adas/v2x/vo/AutomaticDriveInfo.java
View file @
20b7afe5
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment