ja:tutorial:reflection
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
ja:tutorial:reflection [2022/08/13 09:54] – created skytomo | ja:tutorial:reflection [2022/08/13 09:55] – [再マッピング] スペースの削除 skytomo | ||
---|---|---|---|
Line 18: | Line 18: | ||
cls = Identifier.class; | cls = Identifier.class; | ||
- | // 次に、Identifier.getNamespace へのメソッド ハンドルを作成します: | + | // 次に、Identifier.getNamespace へのメソッドハンドルを作成します: |
MethodHandles.Lookup lookup = MethodHandles.publicLookup(); | MethodHandles.Lookup lookup = MethodHandles.publicLookup(); | ||
MethodHandle namespaceGetter = lookup.findVirtual(cls, | MethodHandle namespaceGetter = lookup.findVirtual(cls, |
ja/tutorial/reflection.txt · Last modified: 2022/08/13 09:57 by skytomo