文章列表
// There are five kinds of classes (or interfaces):
// a) Top level classes 指的是一般的类
// b) Nested classes (static member classes) 内部静态类
// c) Inner classes (non-static member classes) 内部非静态类
// d) Local classes (named classes declared within a method) 方法内部类(有类名)
...
public native boolean isPrimitive();
该方法只有八种基本类型的wrapper 类以及void 的wrapper类会返回true.
/**
* Gets the signers of this class.
*
* @return the signers of this class, or null if there are no signers. In
* particular, this method returns null if this object rep ...
首先看看Class 的声明:
public final
class Class implements java.io.Serializable,
java.lang.reflect.GenericDeclaration,
java.lang.reflect.Type,
java.lang.reflect.AnnotatedElement
Final 的,而且支持泛型,实现了 ...