But you have to ask yourself: what is the threshold number of properties that justifies using reflection to solve this problem?
但是您必须要问问自己:当属性数量达到多少时,您必须使用反射来解决此问题?
Using reflection then, you have an ActionListener implementation, but don't have an added .class file in the file system.
然后使用反射,您有一个ActionListener实现,但是没有在文件系统中增加一个 .class 文件。
Using reflection then, you have an ActionListener implementation, but don't have an added .class file in the file system.
然后使用反射,您有一个ActionListener实现,但是没有在文件系统中增加一个 .class 文件。
应用推荐