java.lang.reflect

Interface Member

  • All Known Implementing Classes:
    Constructor, Field, Method

    public interface Member
    Member is an interface that reflects identifying information about a single member (a field or a method) or a constructor.
    See Also:
    Class, Field, Method, Constructor
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      Class<?> getDeclaringClass()
      Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.
      int getModifiers()
      Returns the Java language modifiers for the member or constructor represented by this Member, as an integer.
      String getName()
      Returns the simple name of the underlying member or constructor represented by this Member.
      boolean isSynthetic()
      Returns true if this member was introduced by the compiler; returns false otherwise.

      Member (Java Platform SE 7 ) Home of API Java Contents Haut

    • Method Detail

      • getDeclaringClass

        Class<?> getDeclaringClass()
        Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.
        Returns:
        an object representing the declaring class of the underlying member
      • getName

        String getName()
        Returns the simple name of the underlying member or constructor represented by this Member.
        Returns:
        the simple name of the underlying member
      • getModifiers

        int getModifiers()
        Returns the Java language modifiers for the member or constructor represented by this Member, as an integer. The Modifier class should be used to decode the modifiers in the integer.
        Returns:
        the Java language modifiers for the underlying member
        See Also:
        Modifier
      • isSynthetic

        boolean isSynthetic()
        Returns true if this member was introduced by the compiler; returns false otherwise.
        Returns:
        true if and only if this member was introduced by the compiler.
        Since:
        1.5

Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-java/lang/reflect/Member.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 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.

Contents Haut