|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mat.snapshot.registry.ClassSpecificNameResolverRegistry
public final class ClassSpecificNameResolverRegistry
Registry for name resolvers which resolve the names for objects of specific classes (found in an snapshot), e.g. String (where the char[] is evaluated) or a specific class loader (where the appropriate field holding its name and thereby deployment unit is evaluated).
| Method Summary | |
|---|---|
static ClassSpecificNameResolverRegistry |
instance()
|
static void |
registerResolver(String className,
IClassSpecificNameResolver resolver)
Deprecated. Use default extension mechanism: just implement interface and register location via UI |
static String |
resolve(IObject object)
Resolve name of the given snapshot object or return null if it can't be resolved. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ClassSpecificNameResolverRegistry instance()
@Deprecated
public static void registerResolver(String className,
IClassSpecificNameResolver resolver)
className - class name for which the class specific name resolver should
be usedresolver - class specific name resolverpublic static String resolve(IObject object)
object - snapshot object for which the name should be resolved
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||