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