org.fulib.templates.removeYou.stg Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fulib Show documentation
Show all versions of fulib Show documentation
Fulib is a Java-code generating library.
import "java.dicts.stg"
removeYouSignatures(clazz, roles, superCall) ::= <<
removeYou: class//method/removeYou()
>>
removeYou(clazz, roles, superCall) ::= <<
@Override
public void removeYou()
{
super.removeYou();
}
>>
removeRole(role) ::= <%
this.get().removeYou();
this.set(null);
new import(java.util.ArrayList)\<>(this.get()).forEach(::removeYou);
this.get().clear();
this.without(new import(java.util.ArrayList)\<>(this.get()));
%>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy