Android
java.lang.reflect
public interface

java.lang.reflect.Member

java.lang.reflect.Member

Implementors of this interface model a class member.

Known Indirect Subclasses

Summary

Constants

      Value  
int  DECLARED    0x00000001 
int  PUBLIC    0x00000000 

Public Methods

          Class  getDeclaringClass()
Return the Class associated with the class that defined this member.
          int  getModifiers()
Return the modifiers for the member.
          String  getName()
Return the name of the member.
          boolean  isSynthetic()
Indicates whether or not this member is synthetic (artificially introduced by the compiler).

Details

Constants

public static final int DECLARED

Constant Value: 1 (0x00000001)

public static final int PUBLIC

Constant Value: 0 (0x00000000)

Public Methods

public Class getDeclaringClass()

Return the Class associated with the class that defined this member.

Returns

  • the declaring class

public int getModifiers()

Return the modifiers for the member. The Modifier class should be used to decode the result.

Returns

  • the modifiers

See Also

public String getName()

Return the name of the member.

Returns

  • the name

public boolean isSynthetic()

Indicates whether or not this member is synthetic (artificially introduced by the compiler).

Returns

  • A value of true if synthetic, otherwise false.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48