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

com.kero.security.lang.provider.resource.KsdlTextResourceWrap Maven / Gradle / Ivy

package com.kero.security.lang.provider.resource;

public interface KsdlTextResourceWrap extends KsdlTextResource {

	public default boolean hasWrap(Class wrapClass) {
		
		if(wrapClass.isAssignableFrom(this.getClass())) return true;

		KsdlTextResource original = this.getOriginal();
		
		if(original instanceof KsdlTextResourceWrap) {
			
			return ((KsdlTextResourceWrap) original).hasWrap(wrapClass);
		}
		
		return false;
	}
	
	public KsdlTextResource getOriginal();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy