Class MultiplePath2GCRootsQuery
- java.lang.Object
-
- org.eclipse.mat.internal.snapshot.inspections.MultiplePath2GCRootsQuery
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultiplePath2GCRootsQuery.Grouping
static class
MultiplePath2GCRootsQuery.Tree
-
Field Summary
Fields Modifier and Type Field Description java.util.List<java.lang.String>
excludes
MultiplePath2GCRootsQuery.Grouping
groupBy
IHeapObjectArgument
objects
ISnapshot
snapshot
-
Constructor Summary
Constructors Constructor Description MultiplePath2GCRootsQuery()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MultiplePath2GCRootsQuery.Tree
create(ISnapshot snapshot, IMultiplePathsFromGCRootsComputer computer, int[] selection)
static MultiplePath2GCRootsQuery.Tree
create(ISnapshot snapshot, IMultiplePathsFromGCRootsComputer computer, int[] selection, boolean mergeFromRoots, IProgressListener listener)
Creates a tree by class.static MultiplePath2GCRootsQuery.Tree
create(ISnapshot snapshot, IMultiplePathsFromGCRootsComputer computer, int[] selection, IProgressListener listener)
IResult
execute(IProgressListener listener)
The execute method is called after all arguments have been injected into the query instance.
-
-
-
Field Detail
-
snapshot
public ISnapshot snapshot
-
objects
public IHeapObjectArgument objects
-
excludes
public java.util.List<java.lang.String> excludes
-
groupBy
public MultiplePath2GCRootsQuery.Grouping groupBy
-
-
Method Detail
-
execute
public IResult execute(IProgressListener listener) throws java.lang.Exception
Description copied from interface:IQuery
The execute method is called after all arguments have been injected into the query instance. Typical results areTextResult
,CompositeResult
,SectionSpec
etc.
-
create
public static MultiplePath2GCRootsQuery.Tree create(ISnapshot snapshot, IMultiplePathsFromGCRootsComputer computer, int[] selection) throws SnapshotException
- Throws:
SnapshotException
-
create
public static MultiplePath2GCRootsQuery.Tree create(ISnapshot snapshot, IMultiplePathsFromGCRootsComputer computer, int[] selection, IProgressListener listener) throws SnapshotException
- Throws:
SnapshotException
-
create
public static MultiplePath2GCRootsQuery.Tree create(ISnapshot snapshot, IMultiplePathsFromGCRootsComputer computer, int[] selection, boolean mergeFromRoots, IProgressListener listener) throws SnapshotException
Creates a tree by class.- Parameters:
snapshot
-computer
-selection
- list of classes, or null, which are the path to be expanded.mergeFromRoots
-listener
-- Returns:
- the tree
- Throws:
SnapshotException
-
-