trip.spi.helpers.EmptyProviderContext Maven / Gradle / Ivy
package trip.spi.helpers;
import java.lang.annotation.Annotation;
import java.util.Collection;
import java.util.Collections;
import trip.spi.ProviderContext;
public class EmptyProviderContext implements ProviderContext {
public final static ProviderContext INSTANCE = new EmptyProviderContext();
@Override
public A getAnnotation( Class anntationClass ) {
return null;
}
@Override
public Class> targetType() {
return null;
}
@Override
public Object attribute( String key ) {
return null;
}
@Override
public T attribute( Class key ) {
return null;
}
@Override
public Collection> qualifierAnnotations() {
return Collections.emptyList();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy