V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
fspore
V2EX  ›  问与答

eclipse 的这个 template variable 是什么意思? Java

  •  
  •   fspore · 2014 年 9 月 3 日 · 2365 次点击
    这是一个创建于 4167 天前的主题,其中的信息可能已经有所发展或是发生改变。
    The Java context additionally defines the following variables. Note: In the table below, id is a user-chosen name of a new variable.

    ${id:field(type[,type]*)}
    Evaluates to a field in the current scope that is a subtype of any of the given types. If no type is specified, any non-primitive field matches.


    Example:
    ${count:field(int)}


    比如这个example的template到底有什么用?
    1 条回复    2014-09-03 23:31:54 +08:00
    fspore
        1
    fspore  
    OP
       2014 年 9 月 3 日
    呃,解决了,怎么删掉。
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2366 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 08:56 · PVG 16:56 · LAX 00:56 · JFK 03:56
    ♥ Do have faith in what you're doing.