我刚刚开始使用 BlueJ 开发,对于我的编程项目,我希望能够像这样记录它们:
/*
My Name
The System Date
Program Name
*/
如您所见,我希望能够提取系统日期(类的创建日期),以便我可以将其包含在注释中。那可能吗?我知道 BlueJ 使用 $
来表示它使用的变量,例如 $PKGNAME
,所以我想知道是否有人知道我可以用来从系统时钟。我在 Windows 上。
最佳答案
看来你运气不好:
The fields you see in the default templates are all there are. There are no more.
And, yes, you are right: they are not documented any further. You cannot define additional fields yourself. (If there was a good use for it, we could define additional fields. So if you got a useful idea, tell us.)
Michael
关于java - 将系统日期添加到 BlueJ 类模板,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25633145/