tweak comments
git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@3676 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
parent
6d0669318c
commit
162a2b05b6
|
@ -14,15 +14,11 @@ import com.ibm.wala.util.warnings.WalaException;
|
|||
|
||||
/**
|
||||
* An exception that means something went wrong when constructing a {@link ClassHierarchy}.
|
||||
*
|
||||
*/
|
||||
public class ClassHierarchyException extends WalaException {
|
||||
public static final long serialVersionUID = 381093189198391L;
|
||||
|
||||
/**
|
||||
* Constructor ClassHierarchyException.
|
||||
* @param string
|
||||
*/
|
||||
|
||||
public ClassHierarchyException(String string) {
|
||||
super(string);
|
||||
}
|
||||
|
|
|
@ -13,16 +13,12 @@ package com.ibm.wala.ipa.cha;
|
|||
import com.ibm.wala.classLoader.IClassLoader;
|
||||
|
||||
/**
|
||||
*
|
||||
* Statistics about a class hierarchy.
|
||||
*
|
||||
* @author sfink
|
||||
*/
|
||||
public class ClassHierarchyStats {
|
||||
|
||||
/**
|
||||
* Dump stats about the class hierarchy to stdout.
|
||||
* @param cha
|
||||
*/
|
||||
public static void printStats(IClassHierarchy cha) throws IllegalArgumentException {
|
||||
if (cha == null) {
|
||||
|
@ -32,7 +28,7 @@ public class ClassHierarchyStats {
|
|||
for (int i = 0; i < loaders.length; i++) {
|
||||
System.out.println("loader: " + loaders[i]);
|
||||
System.out.println(" classes: " + loaders[i].getNumberOfClasses());
|
||||
System.out.println(" methods: " + loaders[i].getNumberOfMethods());
|
||||
System.out.println(" methods: " + loaders[i].getNumberOfMethods());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,10 +13,7 @@ package com.ibm.wala.ipa.cha;
|
|||
import com.ibm.wala.util.warnings.Warning;
|
||||
|
||||
/**
|
||||
*
|
||||
* A warning for when we get a class not found exception
|
||||
*
|
||||
* @author sfink
|
||||
*/
|
||||
public class ClassHierarchyWarning extends Warning {
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ import com.ibm.wala.types.TypeReference;
|
|||
|
||||
/**
|
||||
* General interface for a type hierarchy
|
||||
*
|
||||
*/
|
||||
public interface IClassHierarchy extends Iterable<IClass> {
|
||||
|
||||
|
|
Loading…
Reference in New Issue