@Test public void testTopmostArrayString() { JavaClass javaClass = classInspectionService.inspectClass(String.class, CollectionType.ARRAY, null); assertEquals("java.lang.String", javaClass.getClassName()); assertEquals(CollectionType.ARRAY, javaClass.getCollectionType()); assertNull(javaClass.getCollectionClassName()); assertEquals("/[]", javaClass.getPath()); assertEquals(FieldType.STRING, javaClass.getFieldType()); assertEquals(0, javaClass.getJavaFields().getJavaField().size()); assertEquals(0, javaClass.getJavaEnumFields().getJavaEnumField().size()); javaClass = classInspectionService.inspectClass(String[].class, CollectionType.NONE, null); assertEquals("java.lang.String", javaClass.getClassName()); assertEquals(CollectionType.ARRAY, javaClass.getCollectionType()); assertNull(javaClass.getCollectionClassName()); assertEquals("/[]", javaClass.getPath()); assertEquals(FieldType.STRING, javaClass.getFieldType()); assertEquals(0, javaClass.getJavaFields().getJavaField().size()); assertEquals(0, javaClass.getJavaEnumFields().getJavaEnumField().size()); }
public JavaClass inspectClass(String className, CollectionType collectionType, String collectionClassName) { ClassLoader classLoader = getClass().getClassLoader(); return inspectClass(classLoader, className, collectionType, collectionClassName); }
ClassInspectionService { public JavaClass inspectClass(String className, CollectionType collectionType, String collectionClassName) { ClassLoader classLoader = getClass().getClassLoader(); return inspectClass(classLoader, className, collectionType, collectionClassName); } }
ClassInspectionService { public JavaClass inspectClass(String className, CollectionType collectionType, String collectionClassName) { ClassLoader classLoader = getClass().getClassLoader(); return inspectClass(classLoader, className, collectionType, collectionClassName); }  }
ClassInspectionService { public JavaClass inspectClass(String className, CollectionType collectionType, String collectionClassName) { ClassLoader classLoader = getClass().getClassLoader(); return inspectClass(classLoader, className, collectionType, collectionClassName); }  List<String> getMapClasses(); List<String> getListClasses(); List<String> getClassNameBlacklist(); List<String> getFieldBlacklist(); Boolean getDisableProtectedOnlyFields(); void setDisableProtectedOnlyFields(Boolean disableProtectedOnlyFields); Boolean getDisablePackagePrivateOnlyFields(); void setDisablePackagePrivateOnlyFields(Boolean disablePackagePrivateOnlyFields); Boolean getDisablePrivateOnlyFields(); void setDisablePrivateOnlyFields(Boolean disablePrivateOnlyFields); Boolean getDisablePublicOnlyFields(); void setDisablePublicOnlyFields(Boolean disablePublicOnlyFields); Boolean getDisablePublicGetterSetterFields(); void setDisablePublicGetterSetterFields(Boolean disablePublicGetterSetterFields); JavaClass inspectClass(String className, CollectionType collectionType, String collectionClassName); JavaClass inspectClass(ClassLoader classLoader, String className, CollectionType collectionType, String collectionClassName); JavaClass inspectClass(String className, CollectionType collectionType, String collectionClassName, String classpath); JavaClass inspectClass(Class<?> clazz, CollectionType collectionType, String collectionClassName); JavaClass inspectClass(ClassLoader classLoader, Class<?> clazz, CollectionType collectionType, String collectionClassName); void setConversionService(AtlasConversionService atlasConversionService); }
ClassInspectionService { public JavaClass inspectClass(String className, CollectionType collectionType, String collectionClassName) { ClassLoader classLoader = getClass().getClassLoader(); return inspectClass(classLoader, className, collectionType, collectionClassName); }  List<String> getMapClasses(); List<String> getListClasses(); List<String> getClassNameBlacklist(); List<String> getFieldBlacklist(); Boolean getDisableProtectedOnlyFields(); void setDisableProtectedOnlyFields(Boolean disableProtectedOnlyFields); Boolean getDisablePackagePrivateOnlyFields(); void setDisablePackagePrivateOnlyFields(Boolean disablePackagePrivateOnlyFields); Boolean getDisablePrivateOnlyFields(); void setDisablePrivateOnlyFields(Boolean disablePrivateOnlyFields); Boolean getDisablePublicOnlyFields(); void setDisablePublicOnlyFields(Boolean disablePublicOnlyFields); Boolean getDisablePublicGetterSetterFields(); void setDisablePublicGetterSetterFields(Boolean disablePublicGetterSetterFields); JavaClass inspectClass(String className, CollectionType collectionType, String collectionClassName); JavaClass inspectClass(ClassLoader classLoader, String className, CollectionType collectionType, String collectionClassName); JavaClass inspectClass(String className, CollectionType collectionType, String collectionClassName, String classpath); JavaClass inspectClass(Class<?> clazz, CollectionType collectionType, String collectionClassName); JavaClass inspectClass(ClassLoader classLoader, Class<?> clazz, CollectionType collectionType, String collectionClassName); void setConversionService(AtlasConversionService atlasConversionService); static final int MAX_REENTRY_LIMIT; static final int MAX_ARRAY_DIM_LIMIT; }