forked from hub4j/github-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreflection-and-serialization-test-error-message
More file actions
47 lines (33 loc) · 1.23 KB
/
Copy pathreflection-and-serialization-test-error-message
File metadata and controls
47 lines (33 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
The following classes need to be configured or excluded for reflection / serialization:
%1$s
For each class, please do one of the following:
1. add it to serialization.json and / or reflect-config.json
2. add it to no-reflect-and-serialization-list
DO NOT do both.
Option 1:
The class is serialized or reflected over. Includes "GH*" classes that are populated using Jackson.
Does not include Builders and other classes that are only used locally.
src/main/resources/META-INF/reflect-config.json - example:
{
"name": "org.kohsuke.github.GHExample",
"allPublicFields": true,
"allDeclaredFields": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredConstructors": true,
"allPublicConstructors": true,
"allDeclaredConstructors": true,
"queryAllPublicMethods": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredMethods": true,
"allPublicClasses": true,
"allDeclaredClasses": true
}
src/main/resources/META-INF/serialization.json - example:
{
"name": "org.kohsuke.github.GHExample"
}
Option 2:
The class is not serialized or reflected over. This is less common.
src/test/resources/no-reflect-and-serialization-list - example:
org.kohsuke.github.GHExample