public class DefaultTypeResolver extends AbstractTypeResolver
Constructor and Description |
---|
DefaultTypeResolver() |
Modifier and Type | Method and Description |
---|---|
protected void |
addContainedType(String fqn,
TypeDescriptor typeDescriptor)
Mark a type descriptor as contained by the current scope.
|
protected void |
addRequiredType(String fqn,
TypeDescriptor typeDescriptor)
Mark a type descriptor as required by the current scope.
|
protected TypeDescriptor |
findInArtifact(String fullQualifiedName,
com.buschmais.jqassistant.core.scanner.api.ScannerContext context)
Find a type descriptor in the current scope (e.g. the containing
artifact).
|
protected TypeDescriptor |
findInDependencies(String fullQualifiedName,
com.buschmais.jqassistant.core.scanner.api.ScannerContext context)
Find a type descriptor outside the current scope (e.g. the known
dependencies).
|
protected <T extends TypeDescriptor> |
removeRequiredType(String fqn,
T typeDescriptor)
Mark a type descriptor as no longer required by the current scope.
|
create, resolve
protected TypeDescriptor findInArtifact(String fullQualifiedName, com.buschmais.jqassistant.core.scanner.api.ScannerContext context)
AbstractTypeResolver
findInArtifact
in class AbstractTypeResolver
fullQualifiedName
- The name.context
- The scanner context.protected TypeDescriptor findInDependencies(String fullQualifiedName, com.buschmais.jqassistant.core.scanner.api.ScannerContext context)
AbstractTypeResolver
findInDependencies
in class AbstractTypeResolver
fullQualifiedName
- The name.context
- The scanner context.protected <T extends TypeDescriptor> void removeRequiredType(String fqn, T typeDescriptor)
AbstractTypeResolver
removeRequiredType
in class AbstractTypeResolver
fqn
- The name.typeDescriptor
- The descriptor.protected void addRequiredType(String fqn, TypeDescriptor typeDescriptor)
AbstractTypeResolver
addRequiredType
in class AbstractTypeResolver
fqn
- The name.typeDescriptor
- The descriptor.protected void addContainedType(String fqn, TypeDescriptor typeDescriptor)
AbstractTypeResolver
addContainedType
in class AbstractTypeResolver
fqn
- The name.typeDescriptor
- The descriptor.Copyright © 2015 buschmais GbR. All rights reserved.