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

io.smallrye.config.inject.MetadataInjectionPoint Maven / Gradle / Ivy

The newest version!
package io.smallrye.config.inject;

import java.lang.annotation.Annotation;
import java.lang.reflect.Member;
import java.lang.reflect.Type;
import java.util.Collections;
import java.util.Set;

import jakarta.enterprise.inject.Default;
import jakarta.enterprise.inject.spi.Annotated;
import jakarta.enterprise.inject.spi.Bean;
import jakarta.enterprise.inject.spi.InjectionPoint;
import jakarta.enterprise.util.AnnotationLiteral;

class MetadataInjectionPoint implements InjectionPoint {
    @Override
    public Type getType() {
        return InjectionPoint.class;
    }

    @SuppressWarnings("serial")
    @Override
    public Set getQualifiers() {
        return Collections.singleton(new AnnotationLiteral() {
        });
    }

    @Override
    public Bean getBean() {
        return null;
    }

    @Override
    public Member getMember() {
        return null;
    }

    @Override
    public Annotated getAnnotated() {
        return null;
    }

    @Override
    public boolean isDelegate() {
        return false;
    }

    @Override
    public boolean isTransient() {
        return false;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy