Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Class属性を適切なField クラスに変換できますか?
Class
Field
たとえば、次のコードについて考えてみます。
class Test { Integer A; void init() { Field fA = ???; } }
fA説明したいTest.A。
fA
Test.A
Field fA = Test.class.getDeclaredField("A");