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

io.yawp.commons.utils.kind.OldKindResolver Maven / Gradle / Ivy

There is a newer version: 2.08alpha
Show newest version
package io.yawp.commons.utils.kind;

import io.yawp.repository.annotations.Endpoint;

public class OldKindResolver extends KindResolver {

	@Override
	public String getKind(Class clazz) {
		Endpoint endpoint = clazz.getAnnotation(Endpoint.class);
		return endpoint.path();
	}

	@Override
	public String getPath(String kind) {
		return kind;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy