com.ibm.sigtest
Class ClassDesc

java.lang.Object
  extended bycom.ibm.sigtest.MemberDesc
      extended bycom.ibm.sigtest.ClassDesc

public class ClassDesc
extends MemberDesc

This class stores all the information needed to compare the signature of one class to another.

Author:
Matthew J. Duftler (duftler@us.ibm.com)

Field Summary
 
Fields inherited from class com.ibm.sigtest.MemberDesc
modifiers, name
 
Constructor Summary
ClassDesc(java.lang.String name, int modifiers)
           
 
Method Summary
 void addConstructorDesc(MethodDesc constructorDesc)
           
 void addMethodDesc(MethodDesc methodDesc)
           
 java.lang.String compare(ClassDesc that)
           
 boolean equals(java.lang.Object obj)
           
 java.util.List getConstructorDescs()
           
 java.util.List getInterfaceNames()
           
 java.util.List getMethodDescs()
           
 java.lang.String getSuperClassName()
           
 int hashCode()
           
static ClassDesc parseClassDesc(java.io.BufferedReader classDescReader)
           
 void setConstructorDescs(java.util.List constructorDescs)
           
 void setInterfaceNames(java.util.List interfaceNames)
           
 void setMethodDescs(java.util.List methodDescs)
           
 void setSuperClassName(java.lang.String superClassName)
           
 java.lang.String toString()
           
 
Methods inherited from class com.ibm.sigtest.MemberDesc
getModifiers, getName, setModifiers, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassDesc

public ClassDesc(java.lang.String name,
                 int modifiers)
Method Detail

setSuperClassName

public void setSuperClassName(java.lang.String superClassName)

getSuperClassName

public java.lang.String getSuperClassName()

setInterfaceNames

public void setInterfaceNames(java.util.List interfaceNames)

getInterfaceNames

public java.util.List getInterfaceNames()

addConstructorDesc

public void addConstructorDesc(MethodDesc constructorDesc)

setConstructorDescs

public void setConstructorDescs(java.util.List constructorDescs)

getConstructorDescs

public java.util.List getConstructorDescs()

addMethodDesc

public void addMethodDesc(MethodDesc methodDesc)

setMethodDescs

public void setMethodDescs(java.util.List methodDescs)

getMethodDescs

public java.util.List getMethodDescs()

parseClassDesc

public static ClassDesc parseClassDesc(java.io.BufferedReader classDescReader)
                                throws java.io.IOException
Throws:
java.io.IOException

equals

public boolean equals(java.lang.Object obj)

compare

public java.lang.String compare(ClassDesc that)

toString

public java.lang.String toString()

hashCode

public int hashCode()


Copyright © 2003 IBM. All Rights Reserved.