All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.nill14.utils.init.api.IPropertyResolver Maven / Gradle / Ivy

package com.github.nill14.utils.init.api;

import java.io.Serializable;

import com.github.nill14.utils.init.impl.EmptyPropertyResolver;

public interface IPropertyResolver extends Serializable {

	/**
	 * 
	 * @param pojo The instance holding the property
	 * @param type The property type descriptor.
	 * @return The resolved property or null if property could not be resolved.
	 */
	Object resolve(Object pojo, IParameterType type);
	
	
	static IPropertyResolver empty() {
		return EmptyPropertyResolver.empty();
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy