jetbrick-commons/src/main/java/jetbrick/reflect/KlassInfo.java
public Object newInstance() throws IllegalStateException {
        ASMAccessor accessor = getASMAccessor();
        if (accessor == null) {
            ConstructorInfo ctor = getDefaultConstructor();
            if (ctor != null) {
                return ctor.newInstance();
            }
            throw new IllegalStateException("No default constructor");
        } else {
            return accessor.newInstance();
        }
    }
public Object newInstance() throws IllegalStateException {
        ASMAccessor accessor = getASMAccessor();
        if (accessor == null) {
            ConstructorInfo ctor = getDefaultConstructor();
            if (ctor != null) {
                return ctor.newInstance();
            }
            throw new IllegalStateException("No default constructor");
        } else {
            return accessor.newInstance();
        }
    }
public Object newInstance ( ) throws IllegalStateException { ASMAccessor accessor = getASMAccessor ( ) ; if ( accessor == null ) { ConstructorInfo ctor = getDefaultConstructor ( ) ; if ( ctor != null ) { return ctor . newInstance ( ) ; } throw new IllegalStateException ( "No default constructor" ) ; } else { return accessor . newInstance ( ) ; } }
调用默认的构造函数生成对象实例.

@return 生成的对象实例.
@throws IllegalStateException - 如果找不到默认的构造函数或者没有访问权限，那么抛出该异常.
调用默认的构造函数生成对象实例 .