All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.java.ctor.st Maven / Gradle / Ivy

There is a newer version: 0.23.1
Show newest version
_structbody(context) ::= <<
<_constructor(context)>

}; separator="\n\n">
>>

_field(field) ::= <<
private  ;

<_fieldAnnotation(field)>
public  () { return ; }

public void (final  ) { this. = ; }
>>

_constructor(element) ::= <<
@ThriftConstructor
public <_params(element.fields)> {
    }; separator="\n">
}

public () {
}
>>

_ctorAssignment(field) ::= <<
this. = ;
>>

_union_setter(field) ::= <<
public void (final  ) {
    this.value = ;
    this.id = ;
    this.name = "";
}
>>

_union_ctor(context, field) ::= <<
@ThriftConstructor
public (final  ) {
    this.value = ;
    this.id = ;
    this.name = "";
}
>>

_union_body(context) ::= <<

private Object value;
private int id = -1;
private String name;

public () {
}

}; separator="\n\n">

}; separator="\n\n">
>>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy