public abstract class AbstractArtifactScopedTypeResolver extends AbstractTypeResolver
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractArtifactScopedTypeResolver(JavaArtifactFileDescriptor artifact) |
| 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.
|
protected TypeDescriptor |
findInDependencies(String fullQualifiedName,
com.buschmais.jqassistant.core.scanner.api.ScannerContext context)
Find a type descriptor outside the current scope (e.g.
|
protected JavaArtifactFileDescriptor |
getArtifact() |
protected <T extends TypeDescriptor> |
removeRequiredType(String fqn,
T typeDescriptor)
Mark a type descriptor as no longer required by the current scope.
|
create, getContainedFileName, resolveprotected AbstractArtifactScopedTypeResolver(JavaArtifactFileDescriptor artifact)
protected JavaArtifactFileDescriptor getArtifact()
protected TypeDescriptor findInArtifact(String fullQualifiedName, com.buschmais.jqassistant.core.scanner.api.ScannerContext context)
AbstractTypeResolverFind a type descriptor in the current scope (e.g. the containing artifact).
findInArtifact in class AbstractTypeResolverfullQualifiedName - The name.context - The scanner context.protected TypeDescriptor findInDependencies(String fullQualifiedName, com.buschmais.jqassistant.core.scanner.api.ScannerContext context)
AbstractTypeResolverFind a type descriptor outside the current scope (e.g. the known dependencies).
findInDependencies in class AbstractTypeResolverfullQualifiedName - The name.context - The scanner context.protected void addContainedType(String fqn, TypeDescriptor typeDescriptor)
AbstractTypeResolverMark a type descriptor as contained by the current scope.
addContainedType in class AbstractTypeResolverfqn - The name.typeDescriptor - The descriptor.protected void addRequiredType(String fqn, TypeDescriptor typeDescriptor)
AbstractTypeResolverMark a type descriptor as required by the current scope.
addRequiredType in class AbstractTypeResolverfqn - The name.typeDescriptor - The descriptor.protected <T extends TypeDescriptor> void removeRequiredType(String fqn, T typeDescriptor)
AbstractTypeResolverMark a type descriptor as no longer required by the current scope.
removeRequiredType in class AbstractTypeResolverfqn - The name.typeDescriptor - The descriptor.Copyright © 2016–2017 buschmais GbR. All rights reserved.