Skip to main content
0 votes
1 answer
53 views

I have a number of Immutables classes, like: @Value.Immutable interface Foo { String bar(); } To make these compatible with Jackson, I need to label these with @JsonDeserialize and @JsonSerialize,...
Mark Elliot's user avatar
  • 77.5k
0 votes
1 answer
85 views

@Value.Immutable public interface Foobar { List<Integer> getStuff(); // additional getter methods for custom objects } I am surprised to find the above code snippet when the file/package ...
user1821961's user avatar
0 votes
1 answer
121 views

There is a nice option of automatically, typesafe map jooq result to Java POJO e.g. using Java 16 records described here I want to use objects created with Immutables library. I can create factory ...
Loginus's user avatar
  • 469
2 votes
0 answers
168 views

I'd like to use the Immutables java library to generate my pojo. The desire I have though is to use a different collection other that ArrayList or LinkedHashMap in the generated builder. Say for ...
theINtoy's user avatar
  • 3,778
0 votes
2 answers
551 views

I'm trying to deserialize a Json object that contains the following structure but am getting an error from Jackson during deserialization due to null values appearing in the the map containing the ...
prestigem's user avatar
-2 votes
2 answers
909 views

Using https://immutables.github.io/ I wonder if it is possible to have something like custom immutable abstract class inheriting from a class without a default constructor. In this example a sub of ...
Pwnstar's user avatar
  • 2,017
1 vote
1 answer
567 views

@Immutable @Modifiable public interface Record { String id(); String fName(); String lName(); String mName(); } All the fields in Record can be Nullable. One way for me to make ...
Adi's user avatar
  • 507
1 vote
0 answers
200 views

I recently started using the Immutables library, and I'm puzzled by the following behavior: Given the following abstract value type @Value.Immutable public abstract class Foo { public abstract ...
Isaac Kleinman's user avatar
1 vote
1 answer
474 views

I am changing a library that uses Immutables. In the class that I change I just added a new variable and in the generated classes I see different signatures in the create and of methods. ...
mcvkr's user avatar
  • 4,070
0 votes
0 answers
94 views

I've been playing with the Immutables Java library for a while and I was wondering if there's any way of making defensive copying. Please consider the following code: @Value.Immutable public interface ...
akatsuki's user avatar
0 votes
2 answers
579 views

boolean canScrollMore = (Boolean) ((JavascriptExecutor) driver).executeScript("mobile: scrollGesture", ImmutableMap.of( "left", 100, "top", 100, "width&...
parveen banu's user avatar
1 vote
0 answers
163 views

I've started using Thymeleaf recently, and generally been getting on pretty well. However I'm trying to use a multiple select to populate a list of Enums that are wrapped up in an immutable. I ...
trickster's user avatar
0 votes
1 answer
1k views

I have a CSV that I'm parsing through Jackson to create list of immutable type for each row. The CSV has some columns to represent a collection like: Name,Age,Height,Item1,Item2,Item3,Item4,Item5 AB,1,...
trickster's user avatar
1 vote
1 answer
193 views

Problem Description. So I have an item that I want to use with MongoDB @Value.Immutable @Gson.TypeAdapters @Criteria.Repository interface Person { @Criteria.Id String id(); String ...
Shahar Azar's user avatar
1 vote
0 answers
430 views

I have problems getting my code to compile with maven. I'm using these dependencies: <dependencies> <dependency> <groupId>org.immutables</groupId> <...
Jaroslaw Pasiak's user avatar

15 30 50 per page
1
2 3 4 5
7