public ExceptionAnalyzerImpl(PropertyAccess propertyAccess) { this.propertyAccess = propertyAccess; throwableProperties = CollectionFactory.newSet(this.propertyAccess.getAdapter(Throwable.class) .getPropertyNames()); }
public ExceptionAnalyzerImpl(PropertyAccess propertyAccess) { this.propertyAccess = propertyAccess; throwableProperties = CollectionFactory.newSet(this.propertyAccess.getAdapter(Throwable.class) .getPropertyNames()); }
for (String name : adapter.getPropertyNames())
public PropertyAdapter findPropertyAdapter(Type activeType, String propertyName) { Class activeClass = GenericsUtils.asClass(activeType); ClassPropertyAdapter classAdapter = access.getAdapter(activeClass); PropertyAdapter adapter = classAdapter.getPropertyAdapter(propertyName); if (adapter == null) { final List<String> names = classAdapter.getPropertyNames(); final String className = activeClass.getName(); throw new UnknownValueException(String.format( "Class %s does not contain a property (or public field) named '%s'.", className, propertyName), new AvailableValues("Properties (and public fields)", names)); } return adapter; }
for (String name : adapter.getPropertyNames())
for (String name : adapter.getPropertyNames())
for (final String propertyName : adapter.getPropertyNames())