@ tefigel ### # Generate declaration for the given attribute, when applicable. ### interface(ATTRIBUTE) set attr_name=~attribute_info(ATTRIBUTE,name) set attr_type=~attribute_info(ATTRIBUTE,type) case attr_type when=class @ text private attr_name ~to_lower(attr_name); @ endtext when=method # nothing to declare otherwise @ text private ~java_type(attr_type) attr_name; @ endtext endcase