public interface TypeResolver
| Modifier and Type | Method and Description |
|---|---|
<T extends TypeDescriptor> |
create(String fullQualifiedName,
Class<T> descriptorType,
com.buschmais.jqassistant.core.scanner.api.ScannerContext scannerContext)
Resolve or create the descriptor for a Java type name.
|
TypeCache.CachedType<TypeDescriptor> |
resolve(String fullQualifiedName,
com.buschmais.jqassistant.core.scanner.api.ScannerContext context)
Resolve or create the descriptor for Java type name to be used as
dependency.
|
<T extends TypeDescriptor> TypeCache.CachedType<T> create(String fullQualifiedName, Class<T> descriptorType, com.buschmais.jqassistant.core.scanner.api.ScannerContext scannerContext)
If a the descriptor already exists it will be used and migrated to the given type.
T - The expected type of the descriptor.fullQualifiedName - The fully qualified type name, e.g. "java.lang.Object".descriptorType - The expected type of the descriptor.scannerContext - The scanner context.TypeCache.CachedType<TypeDescriptor> resolve(String fullQualifiedName, com.buschmais.jqassistant.core.scanner.api.ScannerContext context)
fullQualifiedName - The fully qualified type name, e.g. "java.lang.Object".context - The scanner context.Copyright © 2015 buschmais GbR. All rights reserved.