public boolean isInstantiable(){
  int modifiers=type.getModifiers();
  if (Modifier.isStatic(modifiers)) {
    return true;
  }
  return !type.isMemberClass();
}

public boolean isInstantiable ( ) { int modifiers = type . getModifiers ( ) ; if ( Modifier . isStatic ( modifiers ) ) { return true ; } return ! type . isMemberClass ( ) ; }
this is used to determine if the class is an inner class . if the class is a inner class and not static then this returns false . only static inner classes can be instantiated using reflection as they do not require a " this " argument .
