javax.enterprise.inject.spi

Interface AnnotatedType<X>

  • Type Parameters:
    X - the type
    All Superinterfaces:
    Annotated

    public interface AnnotatedType<X>
    extends Annotated

    Represents a Java class or interface.

    Author:
    Gavin King, Pete Muir
    See Also:
    Class
    • Method Detail

      • getJavaClass

        Class<X> getJavaClass()

        Get the underlying Class.

        Returns:
        the Class
      • getConstructors

        Set<AnnotatedConstructor<X>> getConstructors()

        Get the constructors of the type. If an empty set is returned, a default constructor with no parameters will be assumed.

        Returns:
        the constructors, or an empty set if none are defined
      • getMethods

        Set<AnnotatedMethod<? super X>> getMethods()

        Get the methods of the type.

        Returns:
        the methods, or an empty set if none are defined
      • getFields

        Set<AnnotatedField<? super X>> getFields()

        Get the fields of the type.

        Returns:
        the fields, or an empty set if none are defined

Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/enterprise/inject/spi/annotatedtype.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.