Skip to content

Commit

Permalink
MERGE
Browse files Browse the repository at this point in the history
  • Loading branch information
KSGRelewise committed Aug 12, 2024
1 parent 4f557bd commit 7205ba7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Generator/JavaTypeWriters/JavaClassWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,20 +125,20 @@ public void Write(IndentedTextWriter writer, Type type, string typeName)

if (IsClass(type))
{
javaWriter.SettablePropertiesWriter.Write(writer, ownedProperties);
javaWriter.SettablePropertiesWriter.Write(writer, type, ownedProperties);
javaWriter.StaticReadonlyPropertiesWriter.Write(writer, type, staticGetterProperties);

javaWriter.CreatorMethodWriter.Write(writer, type, typeName, settableProperties);
javaWriter.PropertyGetterMethodsWriter.Write(writer, ownedProperties);
javaWriter.PropertyGetterMethodsWriter.Write(writer, type, ownedProperties);
javaWriter.PropertySetterMethodsWriter.Write(writer, type, typeName, settableProperties, ownedProperties.Select(p => p.propertyName).ToArray());
}
else if (IsReadonlyStruct(type))
{
javaWriter.SettablePropertiesWriter.Write(writer, gettableProperties);
javaWriter.SettablePropertiesWriter.Write(writer, type, gettableProperties);
javaWriter.StaticReadonlyPropertiesWriter.Write(writer, type, staticGetterProperties);

javaWriter.CreatorMethodWriter.Write(writer, type, typeName, gettableProperties);
javaWriter.PropertyGetterMethodsWriter.Write(writer, gettableProperties);
javaWriter.PropertyGetterMethodsWriter.Write(writer, type, gettableProperties);
javaWriter.PropertySetterMethodsWriter.Write(writer, type, typeName, gettableProperties, gettableProperties.Select(p => p.propertyName).ToArray());
}

Expand Down

0 comments on commit 7205ba7

Please sign in to comment.