public class JolResult
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JolResult.ClassLayout
Layout information for a class.
|
static class |
JolResult.FieldLayout
Layout information for a field.
|
static class |
JolResult.PackageLayout
A
PackageLayout contains a collection of ClassLayout for the classes in a
package. |
| Constructor and Description |
|---|
JolResult(java.lang.String pVersion,
java.lang.String pDescription)
Create a new
JolResult. |
| Modifier and Type | Method and Description |
|---|---|
void |
add(JolResult.ClassLayout pClassLayout)
Add a
ClassLayout to this result. |
java.lang.String |
getDescription()
Get the description of the analysis parameters used to produce this result.
|
long |
getExternalAlignmentGapSize()
Get the sum of all detected external alignment gap sizes in the analyzed classes.
|
long |
getInternalAlignmentGapSize()
Get the sum of all detected internal alignment gap sizes in the analyzed classes.
|
int |
getNumPackages()
Get the number of packages in this result.
|
java.lang.Iterable<JolResult.PackageLayout> |
getPackages()
Get an
Iterable with the packages for which classes were analyzed. |
java.lang.String |
getVersion()
Get the version of Jol used for the analysis.
|
public JolResult(java.lang.String pVersion,
java.lang.String pDescription)
JolResult.pVersion - The Jol version used for the analysis.pDescription - A string describing the analysis parameters used to produce this result.java.lang.NullPointerException - if any of the parameters is null.public java.lang.String getVersion()
public java.lang.String getDescription()
public int getNumPackages()
public java.lang.Iterable<JolResult.PackageLayout> getPackages()
Iterable with the packages for which classes were analyzed. The packages will
be sorted on package name in ascending alphabetical order.Iterable of PackageLayout instances, possibly empty, never null.public long getInternalAlignmentGapSize()
public long getExternalAlignmentGapSize()
public void add(JolResult.ClassLayout pClassLayout)
ClassLayout to this result.pClassLayout - The ClassLayout to add.java.lang.NullPointerException - if pClassLayout is null.