jodd-bean/src/main/java/jodd/introspector/ClassDescriptor.java
public PropertyDescriptor getPropertyDescriptor(final String name, final boolean declared) {
		PropertyDescriptor propertyDescriptor = getProperties().getPropertyDescriptor(name);

		if ((propertyDescriptor != null) && propertyDescriptor.matchDeclared(declared)) {
			return propertyDescriptor;
		}

		return null;
	}
public PropertyDescriptor getPropertyDescriptor(final String name, final boolean declared) {
		PropertyDescriptor propertyDescriptor = getProperties().getPropertyDescriptor(name);

		if ((propertyDescriptor != null) && propertyDescriptor.matchDeclared(declared)) {
			return propertyDescriptor;
		}

		return null;
	}
Returns property descriptor. Declared flag is matched on both read and write
methods.