Package org.eclipse.mat.snapshot
Class ExcludedReferencesDescriptor
- java.lang.Object
-
- org.eclipse.mat.snapshot.ExcludedReferencesDescriptor
-
public final class ExcludedReferencesDescriptor extends Object
A way of describing which references should not be followed when calculating retained sets and other queries involving paths.
-
-
Constructor Summary
Constructors Constructor Description ExcludedReferencesDescriptor(int[] objectIds, String... fields)
ExcludedReferencesDescriptor(int[] objectIds, Set<String> fields)
Constructor based on objects and fields.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(int objectId)
See if this object is excluded.Set<String>
getFields()
The excluded fieldsint[]
getObjectIds()
All the excluded object ids.
-
-
-
Constructor Detail
-
ExcludedReferencesDescriptor
public ExcludedReferencesDescriptor(int[] objectIds, Set<String> fields)
Constructor based on objects and fields. Excluded reference if the reference is from one of these objects going through the named fields.- Parameters:
objectIds
- don't go through these objectsfields
- then though these fields. null means all fields.
-
ExcludedReferencesDescriptor
public ExcludedReferencesDescriptor(int[] objectIds, String... fields)
-
-