java lang reflect Member








Interface java.lang.reflect.Member





All Packages Class Hierarchy This Package Previous Next Index


Interface java.lang.reflect.Member


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








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

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






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

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

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






PUBLIC

public static final int PUBLIC


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

See Also:
checkMemberAccess



DECLARED

public static final int DECLARED


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

See Also:
checkMemberAccess







getDeclaringClass

public abstract Class getDeclaringClass()


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



getName

public abstract String getName()


Returns the simple name of the underlying member or constructor
represented by this 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.


See Also:
Modifier




All Packages Class Hierarchy This Package Previous Next Index

Submit a bug or feature - Version 1.1.7 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1995-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.




Wyszukiwarka

Podobne podstrony:
java lang reflect Constructor
java lang reflect Method
java lang reflect Modifier
java lang reflect Modifier
Package java lang reflect
java lang reflect Field
java lang reflect InvocationTargetException
java lang reflect Array
java lang ClassCastException
java lang Integer
java lang Throwable
java lang Float
java lang ClassCircularityError
java lang Long
java lang SecurityException
java lang ArrayIndexOutOfBoundsException
java lang Byte
Package java lang
java lang Runtime

więcej podobnych podstron