protected <T> JavaClassDef createDefaultJavaClassDef(String className,
Class<T> type,
String extension)
{
if (type.isArray())
return new JavaArrayClassDef(this, className, type, extension);
else
return new JavaClassDef(this, className, type, extension);
}