spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/main/java/org/springframework/boot/configurationprocessor/PropertyDescriptorResolver.java
/**
	 * Return the {@link PropertyDescriptor} instances that are valid candidates for the
	 * specified {@link TypeElement type} based on the specified {@link ExecutableElement
	 * factory method}, if any.
	 * @param type the target type
	 * @param factoryMethod the method that triggered the metadata for that {@code type}
	 * or {@code null}
	 * @return the candidate properties for metadata generation
	 */
Return the  PropertyDescriptor instances that are valid candidates for the
specified  TypeElement type based on the specified {@link ExecutableElement
factory method}, if any.
@param type the target type
@param factoryMethod the method that triggered the metadata for that  type
or  null
@return the candidate properties for metadata generation
Return the PropertyDescriptor instances that are valid candidates for the specified TypeElement type based on the specified { @link ExecutableElement factory method } if any . @param type the target type @param factoryMethod the method that triggered the metadata for that type or null @return the candidate properties for metadata generation
public Stream<PropertyDescriptor<?>> resolve(TypeElement type,
			ExecutableElement factoryMethod) {
		TypeElementMembers members = new TypeElementMembers(this.environment, type);
		ExecutableElement constructor = resolveConstructor(type);
		if (constructor != null) {
			return resolveConstructorProperties(type, factoryMethod, members,
					constructor);
		}
		else {
			return resolveJavaBeanProperties(type, factoryMethod, members);
		}
	}
public Stream < PropertyDescriptor < ? > > resolve ( TypeElement type , ExecutableElement factoryMethod ) { TypeElementMembers members = new TypeElementMembers ( this . environment , type ) ; ExecutableElement constructor = resolveConstructor ( type ) ; if ( constructor != null ) { return resolveConstructorProperties ( type , factoryMethod , members , constructor ) ; } else { return resolveJavaBeanProperties ( type , factoryMethod , members ) ; } }
Return the {@link PropertyDescriptor} instances that are valid candidates for the
 specified {@link TypeElement type} based on the specified {@link ExecutableElement
 factory method}, if any.
Return the { @link PropertyDescriptor } instances that are valid candidates for the specified { @link TypeElement type } based on the specified { @link ExecutableElement factory method } if any .