Class Utilities
java.lang.Object
org.jvnet.hk2.generator.internal.Utilities
- Author:
- jwells
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()createDescriptorIfService(InputStream is, List<File> searchHeres) findAllServicesFromDirectory(File directory, List<File> parent) getAssociatedContracts(List<File> searchHeres, String dotDelimitedName) Gets the contracts associated with the name passed ingetMetadataKey(String scopeOrQualifier, String methodName) isClassAGenerator(List<File> searchHeres, String dotDelimitedName) Returns true if it can be determined that this class is a generatorbooleanisClassAQualifier(List<File> searchHeres, String dotDelimitedName) Returns true if it can be determined that this class is a qualifierbooleanisClassAScope(List<File> searchHeres, String dotDelimitedName) Returns true if it can be determined that this class is a scope
-
Method Details
-
isClassAScope
-
isClassAQualifier
-
isClassAGenerator
public GenerateMethodAnnotationData isClassAGenerator(List<File> searchHeres, String dotDelimitedName) Returns true if it can be determined that this class is a generator- Parameters:
dotDelimitedName-searchHere-- Returns:
- true if this class is a qualifier
-
getAssociatedContracts
-
getMetadataKey
-
createDescriptorIfService
public List<DescriptorImpl> createDescriptorIfService(InputStream is, List<File> searchHeres) throws IOException - Throws:
IOException
-
findAllServicesFromDirectory
public List<DescriptorImpl> findAllServicesFromDirectory(File directory, List<File> parent) throws IOException - Throws:
IOException
-
close
public void close()
-