tweak comments

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3676 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
sjfink 2009-06-12 15:31:18 +00:00
parent 6d0669318c
commit 162a2b05b6
4 changed files with 2 additions and 14 deletions

View File

@ -14,15 +14,11 @@ import com.ibm.wala.util.warnings.WalaException;
/** /**
* An exception that means something went wrong when constructing a {@link ClassHierarchy}. * An exception that means something went wrong when constructing a {@link ClassHierarchy}.
*
*/ */
public class ClassHierarchyException extends WalaException { public class ClassHierarchyException extends WalaException {
public static final long serialVersionUID = 381093189198391L; public static final long serialVersionUID = 381093189198391L;
/**
* Constructor ClassHierarchyException.
* @param string
*/
public ClassHierarchyException(String string) { public ClassHierarchyException(String string) {
super(string); super(string);
} }

View File

@ -13,16 +13,12 @@ package com.ibm.wala.ipa.cha;
import com.ibm.wala.classLoader.IClassLoader; import com.ibm.wala.classLoader.IClassLoader;
/** /**
*
* Statistics about a class hierarchy. * Statistics about a class hierarchy.
*
* @author sfink
*/ */
public class ClassHierarchyStats { public class ClassHierarchyStats {
/** /**
* Dump stats about the class hierarchy to stdout. * Dump stats about the class hierarchy to stdout.
* @param cha
*/ */
public static void printStats(IClassHierarchy cha) throws IllegalArgumentException { public static void printStats(IClassHierarchy cha) throws IllegalArgumentException {
if (cha == null) { if (cha == null) {
@ -32,7 +28,7 @@ public class ClassHierarchyStats {
for (int i = 0; i < loaders.length; i++) { for (int i = 0; i < loaders.length; i++) {
System.out.println("loader: " + loaders[i]); System.out.println("loader: " + loaders[i]);
System.out.println(" classes: " + loaders[i].getNumberOfClasses()); System.out.println(" classes: " + loaders[i].getNumberOfClasses());
System.out.println(" methods: " + loaders[i].getNumberOfMethods()); System.out.println(" methods: " + loaders[i].getNumberOfMethods());
} }
} }
} }

View File

@ -13,10 +13,7 @@ package com.ibm.wala.ipa.cha;
import com.ibm.wala.util.warnings.Warning; import com.ibm.wala.util.warnings.Warning;
/** /**
*
* A warning for when we get a class not found exception * A warning for when we get a class not found exception
*
* @author sfink
*/ */
public class ClassHierarchyWarning extends Warning { public class ClassHierarchyWarning extends Warning {

View File

@ -17,7 +17,6 @@ import com.ibm.wala.types.TypeReference;
/** /**
* General interface for a type hierarchy * General interface for a type hierarchy
*
*/ */
public interface IClassHierarchy extends Iterable<IClass> { public interface IClassHierarchy extends Iterable<IClass> {