
templates.java.regular.st Maven / Gradle / Ivy
_structbody(context) ::= <<
<_constructor(context)>
}; separator="\n\n">
>>
_field(field) ::= <<
private ;
<_fieldAnnotation(field)>
public () { return ; }
@ThriftField
public void (final ) { this. = ; }
>>
_constructor(element) ::= <<
public () {
}
>>
_union_setter(field) ::= <<
@ThriftField
public void (final ) {
this.value = ;
this.id = ;
this.name = "";
}
>>
_union_body(context) ::= <<
private Object value;
private int id = -1;
private String name;
public () {
}
}; separator="\n\n">
>>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy