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

org.jboss.weld.annotated.slim.unbacked.UnbackedAnnotatedMember Maven / Gradle / Ivy

Go to download

This jar bundles all the bits of Weld and CDI required for running in a Servlet container.

There is a newer version: 6.0.0.Beta4
Show newest version
package org.jboss.weld.annotated.slim.unbacked;

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

import javax.enterprise.inject.spi.AnnotatedMember;

import org.jboss.weld.util.reflection.Reflections;

public abstract class UnbackedAnnotatedMember extends UnbackedAnnotated implements AnnotatedMember {

    public UnbackedAnnotatedMember(Type baseType, Set typeClosure, Set annotations, UnbackedAnnotatedType declaringType) {
        super(baseType, typeClosure, annotations);
        this.declaringType = declaringType;
    }

    private UnbackedAnnotatedType declaringType;

    public boolean isStatic() {
        return Reflections.isStatic(getJavaMember());
    }

    public UnbackedAnnotatedType getDeclaringType() {
        return declaringType;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy