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.
我想要IType例如int[],我怎样才能通过它:
IType
int[]
org.eclipse.jdt.internal.core.JavaProject.findType(String)
如果我通过int[]或[I- 这总是给我空值。 可以获取IType数组吗?
[I
引用:“不可能获得数组的 IType,因为数组没有在 Java 模型中表示。”
http://www.eclipse.org/forums/index.php/t/74495/