jodd-bean/src/main/java/jodd/introspector/PropertyDescriptor.java
protected Setter createSetter(final boolean declared) {
		if (writeMethodDescriptor != null) {
			if (writeMethodDescriptor.matchDeclared(declared)) {
				return Setter.of(writeMethodDescriptor);
			}
		}
		if (fieldDescriptor != null) {
			if (fieldDescriptor.matchDeclared(declared)) {
				return Setter.of(fieldDescriptor);
			}
		}
		return null;
	}
protected Setter createSetter(final boolean declared) {
		if (writeMethodDescriptor != null) {
			if (writeMethodDescriptor.matchDeclared(declared)) {
				return Setter.of(writeMethodDescriptor);
			}
		}
		if (fieldDescriptor != null) {
			if (fieldDescriptor.matchDeclared(declared)) {
				return Setter.of(fieldDescriptor);
			}
		}
		return null;
	}
protected Setter createSetter ( final boolean declared ) { if ( writeMethodDescriptor != null ) { if ( writeMethodDescriptor . matchDeclared ( declared ) ) { return Setter . of ( writeMethodDescriptor ) ; } } if ( fieldDescriptor != null ) { if ( fieldDescriptor . matchDeclared ( declared ) ) { return Setter . of ( fieldDescriptor ) ; } } return null ; }
Creates a {@link Setter}.
Creates a {