# Print output for @column tags ?> Member - Android SDK | Android Developers

Most visited


Recently visited


Member

public interface Member

java.lang.reflect.Member


Member is an interface that reflects identifying information about a single member (a field or a method) or a constructor.

See also:

Summary


Constants

int DECLARED

Identifies the set of declared members of a class or interface.

int PUBLIC

Identifies the set of all public members of a class or interface, including inherited members.

Public methods

abstract Class<?> getDeclaringClass()

Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.

abstract int getModifiers()

Returns the Java language modifiers for the member or constructor represented by this Member, as an integer.

abstract String getName()

Returns the simple name of the underlying member or constructor represented by this Member.

abstract boolean isSynthetic()

Returns true if this member was introduced by the compiler; returns false otherwise.

Constants


DECLARED

public static final int DECLARED

Identifies the set of declared members of a class or interface. Inherited members are not included.

Constant Value: 1 (0x00000001)

PUBLIC

public static final int PUBLIC

Identifies the set of all public members of a class or interface, including inherited members.

Constant Value: 0 (0x00000000)

Public methods


getDeclaringClass

public abstract Class<?> getDeclaringClass ()

Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.

Returns
Class<?> an object representing the declaring class of the underlying member

getModifiers

public abstract 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
int the Java language modifiers for the underlying member

See also:

getName

public abstract String getName ()

Returns the simple name of the underlying member or constructor represented by this Member.

Returns
String the simple name of the underlying member

isSynthetic

public abstract boolean isSynthetic ()

Returns true if this member was introduced by the compiler; returns false otherwise.

Returns
boolean true if and only if this member was introduced by the compiler.

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.