polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhuangmz08" <zhuangm...@qq.com>
Subject UseDefaults with custom default value?
Date Fri, 15 Apr 2016 07:11:03 GMT
Hi, 
  Could I define default value where I declare the Property, such as:


public interface ABC {
   @UseDefaults(value="127.0.0.1")
   Property<String> hostname();


   @UseDefaults(value=8080)
   Property<Integer> port();
}


Thanks a lot.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message