org.aopalliance.reflect

Interface Member

All Superinterfaces:
ProgramUnit
Known Subinterfaces:
Field, Method

public interface Member
extends ProgramUnit

This interface represents a class member.

A member can be a field, a method, or a constructor.

Field Summary

static int
PROVIDER_SIDE
A constant to denote the program side that provides this member.
static int
USER_SIDE
A constant to denote the program side that uses this member.

Method Summary

Class
getDeclaringClass()
Gets the class that declares this member.
int
getModifiers()
The modifiers value.
String
getName()
The member's name.

Methods inherited from interface org.aopalliance.reflect.ProgramUnit

addMetadata, getLocator, getMetadata, getMetadatas, removeMetadata

Field Details

PROVIDER_SIDE

public static final int PROVIDER_SIDE
A constant to denote the program side that provides this member.
Field Value:
1

USER_SIDE

public static final int USER_SIDE
A constant to denote the program side that uses this member.
Field Value:
0

Method Details

getDeclaringClass

public Class getDeclaringClass()
Gets the class that declares this member.

getModifiers

public int getModifiers()
The modifiers value.

getName

public String getName()
The member's name.