com.jrockit.memleak
Interface ITypeResolver<T>

Type Parameters:
T - The type which this resolver resolves to.
All Known Implementing Classes:
TypeResolverAdapter

public interface ITypeResolver<T>

Interface for resolvers capable of resolving type specifications into a type representation T.

Author:
mpersson

Method Summary
 T withClassID(int id)
          Get a type representation of all types with the given class ID.
 T withClassName(java.lang.String className)
          Get a type representation of all types with the given class name.
 T withClassNameAndID(java.lang.String className, int id)
          Get a type representation of all types with the given name and class ID.
 T withClassNameAndIDs(java.lang.String className, int... ids)
          Get a type representation of all types with the given name and class IDs.
 

Method Detail

withClassName

T withClassName(java.lang.String className)
Get a type representation of all types with the given class name.

Parameters:
className - a class name in VM format
Returns:
the resolved type representation

withClassID

T withClassID(int id)
Get a type representation of all types with the given class ID.

Parameters:
id - a class ID
Returns:
the resolved type representation

withClassNameAndID

T withClassNameAndID(java.lang.String className,
                     int id)
Get a type representation of all types with the given name and class ID.

Parameters:
className - a class name in VM format
id - class ID
Returns:
the resolved type representation

withClassNameAndIDs

T withClassNameAndIDs(java.lang.String className,
                      int... ids)
Get a type representation of all types with the given name and class IDs.

Parameters:
className - a class name in VM format
ids - class IDs
Returns:
the resolved type representation


Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.