com.ibm.dtfj.java

Interface JavaMember

All known subinterfaces:
JavaField, JavaMethod

  1. public interface JavaMember

Base interface inherited by JavaField and JavaMethod.

This interface is modelled on java.lang.reflect.Member.


Method Summary

Modifier and Type Method and Description
  1. boolean
equals(java.lang.Object obj)
  1. JavaClass
getDeclaringClass()
Get the class which declares this field or method
  1. int
getModifiers()
Get the set of modifiers for this field or method - a set of bits
  1. java.lang.String
getName()
Get the name of the field or method
  1. java.lang.String
getSignature()
Get the signature of the field or method
  1. int
hashCode()

Method Detail

getModifiers

  1. int getModifiers()
  2. throws CorruptDataException
Get the set of modifiers for this field or method - a set of bits
Returns:
the modifiers for this field or method. The values for the constants representing the modifiers can be obtained from java.lang.reflect.Modifier.
Throws:

getDeclaringClass

  1. JavaClass getDeclaringClass()
  2. throws CorruptDataException
  3. DataUnavailable
Get the class which declares this field or method
Returns:
the JavaClass which declared this field or method
Throws:

getName

  1. java.lang.String getName()
  2. throws CorruptDataException
Get the name of the field or method
Returns:
the name of the field or method
Throws:

getSignature

  1. java.lang.String getSignature()
  2. throws CorruptDataException
Get the signature of the field or method
Returns:
the signature of the field or method. e.g. "(Ljava/lang/String;)V"
Throws:

equals

  1. boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
Parameters:
obj -
Returns:
True if the given object refers to the same Java Member in the image

hashCode

  1. int hashCode()
Overrides:
hashCode in class java.lang.Object