com.ibm.wala.j2ee.client.impl
Class ClassImpl

java.lang.Object
  extended by com.ibm.wala.j2ee.client.impl.ClassImpl
All Implemented Interfaces:
IClass

public class ClassImpl
extends java.lang.Object
implements IClass

A representation of a class used to communicate analysis results.


Constructor Summary
ClassImpl(IClass klass)
           
ClassImpl(java.lang.String name, java.lang.String classLoader)
           
 
Method Summary
 boolean equals(java.lang.Object arg0)
           
 java.lang.String getClassLoaderName()
          This method returns something like "Primordial" or "Application"
 java.lang.String getName()
          This method returns something like com.ibm.foo.Foo
 java.lang.String getPackage()
          This method returns something like com.ibm.foo
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassImpl

public ClassImpl(IClass klass)

ClassImpl

public ClassImpl(java.lang.String name,
                 java.lang.String classLoader)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getClassLoaderName

public java.lang.String getClassLoaderName()
Description copied from interface: IClass
This method returns something like "Primordial" or "Application"

Specified by:
getClassLoaderName in interface IClass
Returns:
String representation of the name of the classloader

getName

public java.lang.String getName()
Description copied from interface: IClass
This method returns something like com.ibm.foo.Foo

Specified by:
getName in interface IClass
Returns:
String representation of the name of the method

hashCode

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

equals

public boolean equals(java.lang.Object arg0)
Overrides:
equals in class java.lang.Object

getPackage

public java.lang.String getPackage()
Description copied from interface: IClass
This method returns something like com.ibm.foo

Specified by:
getPackage in interface IClass
Returns:
String representation of the name of the package