You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,11 @@ For instance I have been very actively using the framework in [the ZX-Poly emula
16
16
17
17
# Change log
18
18
-**2.0.0-SNAPSHOT**
19
+
-__removed DslBinCustom annotation, use @Bin annotation instead__
20
+
-__renamed attributes of @Bin annotation to their correct form__
19
21
-__reworked object mapping system, removed hacks to instantiate classes, now only mapping to objects allowed, support of private fields mapping is removed__
20
22
-__minimal JDK version now 1.8+__
21
23
-__minimal Android API now 3.0+__
22
-
-__renamed attributes of @Bin annotation, removed `out` prefix__
23
24
- added support of getters and setters into mapping
24
25
- added `Object newInstance(Class)` method support of mapped classes to generate instances for local classes
25
26
- added generating of `makeFIELD()` method for structure types in Java class converter
Copy file name to clipboardExpand all lines: changelog.txt
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,9 @@
1
1
2.0.0-SNAPSHOT
2
+
- __removed DslBinCustom annotation, use @Bin annotation instead__
3
+
- __renamed attributes of @Bin annotation to their correct form__
2
4
- __reworked object mapping system, removed hacks to instantiate classes, now only mapping to objects allowed, support of private fields mapping is removed__
3
5
- __minimal JDK version now 1.8+__
4
6
- __minimal Android API now 3.0+__
5
-
- __renamed attributes of @Bin annotation, removed `out` prefix__
6
7
- added support of getters and setters into mapping
7
8
- added `Object newInstance(Class)` method support of mapped classes to generate instances for local classes
8
9
- added generating of `makeFIELD()` method for structure types in Java class converter
* Process an object. It works only with classes and fields marked by Bin annotations. <b>It doesn't process classes and fields marked by DslBinCustom annotations.</b>
76
75
*
77
76
* @param obj an object which is an instance of a mapped class, must not be null
78
77
* @param field a field where the object has been found, it can be null for first call
79
78
* @param customFieldProcessor a processor for custom fields, it can be null
if (binAnno.custom() && customFieldProcessor == null) {
98
-
thrownewJBBPIllegalArgumentException("The Class '" + obj.getClass().getName() + "' contains the field '" + rec.mappingField.getName() + "\' which is a custom one, you must provide a JBBPCustomFieldWriter instance to save the field.");
95
+
thrownewJBBPIllegalArgumentException("Class '" + obj.getClass().getName() + "' contains field '" + rec.mappingField.getName() + "\' which is custom one, you must provide JBBPCustomFieldWriter instance to save it.");
0 commit comments