pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/SharedType/sharedtype/tree/b303b48ffa43d3e1b2d8a6231698ff8366220f5d

"stylesheet" href="https://github.githubassets.com/assets/primer-b69241e157469407.css" /> GitHub - SharedType/sharedtype at b303b48ffa43d3e1b2d8a6231698ff8366220f5d · GitHub
Skip to content

SharedType/sharedtype

Repository files navigation

sharedtype-logo

Gitter CI Maven Central

SharedType - Lightweight Java Type Sharing

From Java:

@SharedType
record User(String name, int age, String email) {}

To Typescript:

export interface User {
    name: string;
    age: number;
    email: string;
}

Go:

type User struct {
    Name string
    Age int
    Email string
}

Rust:

pub struct User {
    name: String,
    age: i32,
    email: String,
}

Features

  • Java8+ compatible.
  • Generics support.
  • Compile-time constant support.
  • Fast. (Execution takes milliseconds with -proc:only.)
  • Simple global + type level configurations.

Documentation

Similar Projects

Authors

Cause Chung (cuzfrog@gmail.com), Jeremy Zhou (hb.zhou.jeremy@gmail.com)

License

CC BY 4.0 CC BY 4.0

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy