fspore
V2EX  ›  问与答

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

  •  
  •   fspore · Sep 3, 2014 · 2473 views
    This topic created in 4274 days ago, the information mentioned may be changed or developed.
    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 replies    2014-09-03 23:31:54 +08:00
    fspore
        1
    fspore  
    OP
       Sep 3, 2014
    呃,解决了,怎么删掉。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3041 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 15:10 · PVG 23:10 · LAX 08:10 · JFK 11:10
    ♥ Do have faith in what you're doing.