public interface TypeResolver
Modifier and Type | Method and Description |
---|---|
<T extends ClassFileDescriptor> |
create(String fullQualifiedName,
com.buschmais.jqassistant.plugin.common.api.model.FileDescriptor fileDescriptor,
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 ClassFileDescriptor> TypeCache.CachedType<T> create(String fullQualifiedName, com.buschmais.jqassistant.plugin.common.api.model.FileDescriptor fileDescriptor, 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".fileDescriptor
- The file descriptor.descriptorType
- The expected type of the descriptor.scannerContext
- The scanner context. @return The type descriptor.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 © 2016 buschmais GbR. All rights reserved.