Skip to content

Commit

Permalink
Added some documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
stefankoppier committed Jul 31, 2024
1 parent cf7b01d commit 044b87a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion website/src/posts/object-mapping/posts/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ method.

Mappie uses these getter- and setter methods in implicit mappings. They must follow the convention `getX()` and
`setX(...)` for the property `x` to be inferred. Also note that in Java all types are nullable. Mappie will give a
warning if a Java type is used to assign to a non-nullable target.
warning if a Java type is used to assign to a non-nullable target. The Kotlin compiler uses several nullability
annotations to determine whether the platform type is nullable or not. See for more information
[Nullability annotations](https://kotlinlang.org/docs/java-interop.html#nullability-annotations).

For example, suppose we have the Java class `Person`
```java
Expand Down

0 comments on commit 044b87a

Please sign in to comment.