jde.debugger.spec
Class SourceNameReferenceTypeSpec

java.lang.Object
  |
  +--jde.debugger.spec.SourceNameReferenceTypeSpec
All Implemented Interfaces:
ReferenceTypeSpec

public class SourceNameReferenceTypeSpec
extends java.lang.Object
implements ReferenceTypeSpec

SourceNameReferenceTypeSpec.java Created: Mon Jul 19 13:52:21 1999

Since:
0.1
Author:
Amit Kumar

Field Summary
(package private)  int lineNumber
           
(package private)  java.lang.String sourceName
           
 
Constructor Summary
SourceNameReferenceTypeSpec(java.lang.String src, int line)
           
 
Method Summary
 java.lang.String getSourceName()
           
 boolean matches(com.sun.jdi.ReferenceType refType)
          Does the specified ReferenceType match this spec.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

sourceName

final java.lang.String sourceName

lineNumber

final int lineNumber
Constructor Detail

SourceNameReferenceTypeSpec

public SourceNameReferenceTypeSpec(java.lang.String src,
                                   int line)
Method Detail

getSourceName

public java.lang.String getSourceName()

matches

public boolean matches(com.sun.jdi.ReferenceType refType)
Does the specified ReferenceType match this spec.
Specified by:
matches in interface ReferenceTypeSpec
Following copied from interface: jde.debugger.spec.ReferenceTypeSpec
Returns:
true if the ref type matches this spec

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Returns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.

The toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:

 getClass().getName() + '@' + Integer.toHexString(hashCode())
 
Overrides:
toString in class java.lang.Object
Following copied from class: java.lang.Object
Returns:
a string representation of the object.