IT. Expert System.

Android Reference

AnnotatedElement


java.lang.reflect

Interface AnnotatedElement

    • Method Summary

      Methods
      Modifier and Type Method and Description
      <T extends Annotation>
      T
      getAnnotation(Class<T> annotationType)
      Returns, for this element, the annotation with the specified type, or null if no annotation with the specified type is present (including inherited annotations).
      Annotation[] getAnnotations()
      Returns, for this element, an array containing all annotations (including inherited annotations).
      Annotation[] getDeclaredAnnotations()
      Returns, for this element, all annotations that are explicitly declared (not inherited).
      boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
      Indicates whether or not this element has an annotation with the specified annotation type (including inherited annotations).
    • Method Detail

      • getAnnotation

        <T extends Annotation> T getAnnotation(Class<T> annotationType)
        Returns, for this element, the annotation with the specified type, or null if no annotation with the specified type is present (including inherited annotations).
        Parameters:
        annotationType - the type of the annotation to search for
        Returns:
        the annotation with the specified type or null
        Throws:
        NullPointerException - if annotationType is null
      • getAnnotations

        Annotation[] getAnnotations()
        Returns, for this element, an array containing all annotations (including inherited annotations). If there are no annotations present, this method returns a zero length array.
        Returns:
        an array of all annotations for this element
      • getDeclaredAnnotations

        Annotation[] getDeclaredAnnotations()
        Returns, for this element, all annotations that are explicitly declared (not inherited). If there are no declared annotations present, this method returns a zero length array.
        Returns:
        an array of annotations declared for this element
      • isAnnotationPresent

        boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
        Indicates whether or not this element has an annotation with the specified annotation type (including inherited annotations).
        Parameters:
        annotationType - the type of the annotation to search for
        Returns:
        true if the annotation exists, false otherwise
        Throws:
        NullPointerException - if annotationType is null


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1904 / . Delta: 0.02167 с