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/bcbc06e787c5be2f7abfcecb1b53909959a0edb1

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

SharedType/sharedtype

Repository files navigation

sharedtype-logo

Gitter CI Maven Central

SharedType - Sharing Java Types made easy

From Java:

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

To Typescript:

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

Go (Planed):

type User struct {
    Name string
    Age int
    Email string
}

Rust:

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

Features

  • Java8 support.
  • Generics support.
  • Constant support.
  • Client source dependency is only @SharedType retained at source code level.
  • SharedType AP has only 2 small dependencies: jsr305 annotations and mustache.
  • Parsing takes milliseconds with -proc:only.
  • Intuitive defaults, put @SharedType and there you go. Global + class level options.

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