ãã㯠Java Advent Calendar 2015 ã® 15 æ¥ç®ã®è¨äºã§ãã æ¨æ¥ã¯ @opengl_8080 ããã® Byteman 使ãæ¹ã¡ã¢ï¼Î± ã§ãããææ¥ã¯ @irof ããã§ãã åç½®ã ã¤ãããªãã ãã¼ã ã§ã¡ãã£ã¨ã ã話é¡ã«ä¸ã£ã¦ãã¿ããªããç¨åº¦æéã¯æã£ã¦ãããã®ã®ãå²ã¨æ©ã¿ã¤ã¤æ確ã«çããåºããªãã£ãã®ã§ããã£ã¨è¯ãæè¦ãããã°ã¨æã£ã¦æãã¦ã¿ã¾ããã¾ããããã話ã ããJava 8 㧠Optional ã使ããããã«ãªã£ã¦ null ã«ã¤ãã¦èªãããã±ã¼ã¹ãå¢ããã¨æãã®ã§ãåèããã¡ããã©ããæ©ä¼ã«ãªãã°ãããªã¼ã¨æãã¾ããåå¿è åãã§ãã ã©ãå¦ãï¼å¦ãï¼ ãããªç¶æ³ã®æã«ããªããªãã©ããã¾ããï¼ // Generics ãªã®ã¯ä¾ã§ããString ã§ããªãã§ãããã§ã public T doSomething(T input) { // input ã
{{#tags}}- {{label}}
{{/tags}}