jodd-vtor/src/main/java/jodd/vtor/ValidationContext.java
public void addClassChecks(final Class target) {
		final List<Check> list = cache.get(target, () -> {
			final List<Check> newList = new ArrayList<>();
			final ClassDescriptor cd = ClassIntrospector.get().lookup(target);
			final PropertyDescriptor[] allProperties = cd.getAllPropertyDescriptors();
			for (PropertyDescriptor propertyDescriptor : allProperties) {
				collectPropertyAnnotationChecks(newList, propertyDescriptor);
			}
			return newList;
		});
		addAll(list);
	}
public void addClassChecks(final Class target) {
		final List<Check> list = cache.get(target, () -> {
			final List<Check> newList = new ArrayList<>();
			final ClassDescriptor cd = ClassIntrospector.get().lookup(target);
			final PropertyDescriptor[] allProperties = cd.getAllPropertyDescriptors();
			for (PropertyDescriptor propertyDescriptor : allProperties) {
				collectPropertyAnnotationChecks(newList, propertyDescriptor);
			}
			return newList;
		});
		addAll(list);
	}
public void addClassChecks ( final Class target ) { final List < Check > list = cache . get ( target , ( ) -> { final List < Check > newList = new ArrayList <> ( ) ; final ClassDescriptor cd = ClassIntrospector . get ( ) . lookup ( target ) ; final PropertyDescriptor [ ] allProperties = cd . getAllPropertyDescriptors ( ) ; for ( PropertyDescriptor propertyDescriptor : allProperties ) { collectPropertyAnnotationChecks ( newList , propertyDescriptor ) ; } return newList ; } ) ; addAll ( list ) ; }
Parses class annotations and adds all checks.
@see #resolveFor(Class)
Parses class annotations and adds all checks .