@Retention(value=RUNTIME) @Target(value=TYPE) @Documented public @interface Type
@Type("Starship") @Description("A starship in Star Wars") public class Starship { private String id; private String name; private float length; // getters/setters... }Schema generation of this would result in a stanza such as:
"A starship in Star Wars" type Starship { id: String name: String length: Float }
public abstract String value
Copyright © 2019 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.