All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface harpoon.ClassFile.HMember

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

Version:
$Id: HMember.java,v 1.5 1998/10/11 03:01:01 cananian Exp $
Author:
C. Scott Ananian <cananian@alumni.princeton.edu>
See Also:
HClass, HField, HMethod, HConstructor

Method Index

 o getDeclaringClass()
Returns the HClass object representing the class or interface that declares the member or constructor represented by this HMember.
 o getModifiers()
Returns the Java language modifiers for the member of constructor represented by this HMember, as an integer.
 o getName()
Returns the simple name of the underlying member or constructor represented by this HMember.
 o isSynthetic()
Indicates whether this field or method is 'real' or if it has been synthesized by the compiler in order to implement scoping of inner classes.

Methods

 o getDeclaringClass
 public abstract HClass getDeclaringClass()
Returns the HClass object representing the class or interface that declares the member or constructor represented by this HMember.

 o getName
 public abstract String getName()
Returns the simple name of the underlying member or constructor represented by this HMember.

 o getModifiers
 public abstract int getModifiers()
Returns the Java language modifiers for the member of constructor represented by this HMember, as an integer. The Modifier class should be used to decode the modifiers in the integer.

See Also:
Modifier
 o isSynthetic
 public abstract boolean isSynthetic()
Indicates whether this field or method is 'real' or if it has been synthesized by the compiler in order to implement scoping of inner classes.


All Packages  Class Hierarchy  This Package  Previous  Next  Index