Revision as of 09:41, 5 November 2009 by Admin (Talk | contribs)

クラスの名前から型を調べるにはどうすれば良いですか? 例: "" の型を知るには?

注意: この FAQ 項目は NetBeans 4.x および 5.x にのみ適用されます。NetBeans 6 では Java 解析の基盤が新しいAPIに置き換えられました。

JavaClass clazz = (JavaClass) JavaModel.getDefaultExtent().getType().resolve("");

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo