Class AbstractArtifactScopedTypeResolver
java.lang.Object
com.buschmais.jqassistant.plugin.java.api.scanner.AbstractTypeResolver
com.buschmais.jqassistant.plugin.java.api.scanner.AbstractArtifactScopedTypeResolver
- All Implemented Interfaces:
TypeResolver
- Direct Known Subclasses:
ArtifactScopedTypeResolver
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddContainedType(String fqn, TypeDescriptor typeDescriptor) Mark a type descriptor as contained by the current scope.protected voidaddRequiredType(String fqn, TypeDescriptor typeDescriptor) Mark a type descriptor as required by the current scope.protected TypeDescriptorfindInArtifact(String fullQualifiedName, com.buschmais.jqassistant.core.scanner.api.ScannerContext context) Find a type descriptor in the current scope (e.g. the containing artifact).protected TypeDescriptorfindInDependencies(String fullQualifiedName, com.buschmais.jqassistant.core.scanner.api.ScannerContext context) Find a type descriptor outside the current scope (e.g. the known dependencies).protected JavaArtifactFileDescriptorprotected <T extends TypeDescriptor>
voidremoveRequiredType(String fqn, T typeDescriptor) Mark a type descriptor as no longer required by the current scope.Methods inherited from class com.buschmais.jqassistant.plugin.java.api.scanner.AbstractTypeResolver
create, getContainedFileName, resolve
-
Constructor Details
-
AbstractArtifactScopedTypeResolver
-
-
Method Details
-
getArtifact
-
findInArtifact
protected TypeDescriptor findInArtifact(String fullQualifiedName, com.buschmais.jqassistant.core.scanner.api.ScannerContext context) Description copied from class:AbstractTypeResolverFind a type descriptor in the current scope (e.g. the containing artifact).- Specified by:
findInArtifactin classAbstractTypeResolver- Parameters:
fullQualifiedName- The name.context- The scanner context.- Returns:
- The type descriptor.
-
findInDependencies
protected TypeDescriptor findInDependencies(String fullQualifiedName, com.buschmais.jqassistant.core.scanner.api.ScannerContext context) Description copied from class:AbstractTypeResolverFind a type descriptor outside the current scope (e.g. the known dependencies).- Specified by:
findInDependenciesin classAbstractTypeResolver- Parameters:
fullQualifiedName- The name.context- The scanner context.- Returns:
- The type descriptor.
-
addContainedType
Description copied from class:AbstractTypeResolverMark a type descriptor as contained by the current scope.- Specified by:
addContainedTypein classAbstractTypeResolver- Parameters:
fqn- The name.typeDescriptor- The descriptor.
-
addRequiredType
Description copied from class:AbstractTypeResolverMark a type descriptor as required by the current scope.- Specified by:
addRequiredTypein classAbstractTypeResolver- Parameters:
fqn- The name.typeDescriptor- The descriptor.
-
removeRequiredType
Description copied from class:AbstractTypeResolverMark a type descriptor as no longer required by the current scope.- Specified by:
removeRequiredTypein classAbstractTypeResolver- Parameters:
fqn- The name.typeDescriptor- The descriptor.
-