com.jrockit.memleak
Interface ITypeSpecifier

All Known Subinterfaces:
IClassInfo, IClassRef, INamedType
All Known Implementing Classes:
ClassInfo, DummyClassInfo, JoinedTypeHeapInfo, NameMappingCacheFactory.ClassInfoR26, TypeName

public interface ITypeSpecifier

Interface for specifying a type or a number of types, in terms of operations on a ITypeResolver.

Author:
mpersson

Method Summary
<T> T
select(ITypeResolver<T> resolver)
          Select the type or types using operations on resolver.
 

Method Detail

select

<T> T select(ITypeResolver<T> resolver)
Select the type or types using operations on resolver.

NOTE: It is strictly forbidden to keep a reference to the given resolver (including weak references etc.) as well as any type of caching based on values returned from the resolver. Only the resolver itself is capable of determining if results may be cached.

Type Parameters:
T -
Parameters:
resolver -
Returns:
a resolved type


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