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.
如何确定com.sun.jdi.ObjectReference实例是否为枚举?我可以获得返回的实例的类型(如果它是一个类)ObjectReference.type()。ClassType
com.sun.jdi.ObjectReference
ObjectReference.type()
ClassType
使用isEnum()方法com.sun.jdi.ClassType
isEnum()
com.sun.jdi.ClassType