{"version":"1.0","url":"https://blog1.mammb.com/entry/2015/03/31/001620","height":"190","provider_name":"Hatena Blog","published":"2015-03-31 00:16:20","title":"package \u914d\u4e0b\u306e\u30af\u30e9\u30b9\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3044\u308d\u3044\u308d","author_name":"Naotsugu","blog_url":"https://blog1.mammb.com/","type":"rich","blog_title":"A Memorandum","categories":["Java"],"author_url":"https://blog.hatena.ne.jp/Naotsugu/","image_url":null,"description":"\u7c21\u5358\u306b\u3067\u304d\u305d\u3046\u3067\u610f\u5916\u3068\u9762\u5012\u306a package \u914d\u4e0b\u306e\u30af\u30e9\u30b9\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3002 Guava \u306e ClassPath \u5229\u7528 Reflections \u5229\u7528 Spring \u30e9\u30a4\u30d6\u30e9\u30ea\u5229\u7528\u306a\u3057 ToolProvider \u3067\u53d6\u5f97 Guava \u306e ClassPath \u5229\u7528 ClassPath \u3092\u4f7f\u3048\u3070\u7c21\u5358\u306b\u53d6\u5f97\u3067\u304d\u308b\u3002 ClassLoader loader = Thread.currentThread().getContextClassLoader(); Set<Class<?>> allClasses = ClassPath.from(loader) .getTopLevelClasses(\"m\u2026","width":"100%","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F2015%2F03%2F31%2F001620\" title=\"package \u914d\u4e0b\u306e\u30af\u30e9\u30b9\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3044\u308d\u3044\u308d - A Memorandum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}