| java.lang.Object org.netbeans.modules.junit.TypeNameIdGenerator
TypeNameIdGenerator | final class TypeNameIdGenerator (Code) | | Resolves brief names of types such that each type is assigned a unique string
identifier of that type. The goal is to keep the identifier easy for
understanding, short but still unique.
author: Marian Petras |
createFor | static TypeNameIdGenerator createFor(Collection<TypeMirror> paramTypes, Elements elements, Types types)(Code) | | Generates an instance of this class which will be able to translate
between parameter types and the corresponding unique string identifiers.
Parameters: paramTypes - parameter types that the instance must be ableto translate Parameters: types - an instance of a utility class {code Types} instance of generator that is ready to translate any of thegiven type to a unique string identifier See Also: TypeNameIdGenerator.getParamTypeId |
getParamTypeId | String getParamTypeId(TypeMirror type)(Code) | | Returns a short but unique parameter type identifier for the given type.
Parameters: type - type for which a unique id is requested unique type id for the given type |
|
|