IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
 
[Sommaire]  [Top 50]  [F.A.Q.]  [ Java SE ]  [ Java EE ]  [Javadoc standard]  [Contact]
[ 1.4.2 ]  [ 5.0 ]  [ 6.0
Rechercher   
Dans
Options   sensible à la casse
étendre la recherche aux descriptions
Préférences
fr en 
 
Moteurs de recherche
JavaTM 2 Platform Std. Ed. v1.4.2

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

Field Summary
static int DECLARED
          Identifies the set of declared members of a class or interface.
static int PUBLIC
          Identifies the set of all public members of a class or interface, including inherited members.
 
Method Summary
 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.
 

Field Detail

PUBLIC

public static final int PUBLIC
Identifies the set of all public members of a class or interface, including inherited members.

See Also:
SecurityManager.checkMemberAccess(java.lang.Class, int), Constant Field Values

DECLARED

public static final int DECLARED
Identifies the set of declared members of a class or interface. Inherited members are not included.

See Also:
SecurityManager.checkMemberAccess(java.lang.Class, int), Constant Field Values
Method Detail

getDeclaringClass

public 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

public 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

public 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

Copyright 2003 Sun Microsystems, Inc. All rights reserved