public class Utilities extends Object
Modifier and Type | Method and Description |
---|---|
void |
close() |
List<DescriptorImpl> |
createDescriptorIfService(InputStream is,
List<File> searchHeres) |
List<DescriptorImpl> |
findAllServicesFromDirectory(File directory,
List<File> parent) |
Set<String> |
getAssociatedContracts(List<File> searchHeres,
String dotDelimitedName)
Gets the contracts associated with the name passed in
|
String |
getMetadataKey(String scopeOrQualifier,
String methodName) |
GenerateMethodAnnotationData |
isClassAGenerator(List<File> searchHeres,
String dotDelimitedName)
Returns true if it can be determined that this class is a generator
|
boolean |
isClassAQualifier(List<File> searchHeres,
String dotDelimitedName)
Returns true if it can be determined that this class is a qualifier
|
boolean |
isClassAScope(List<File> searchHeres,
String dotDelimitedName)
Returns true if it can be determined that this class is a scope
|
public boolean isClassAScope(List<File> searchHeres, String dotDelimitedName)
searchHere
- dotDelimitedName
- public boolean isClassAQualifier(List<File> searchHeres, String dotDelimitedName)
searchHere
- dotDelimitedName
- public GenerateMethodAnnotationData isClassAGenerator(List<File> searchHeres, String dotDelimitedName)
searchHere
- dotDelimitedName
- public Set<String> getAssociatedContracts(List<File> searchHeres, String dotDelimitedName)
searchHere
- dotDelimitedName
- public List<DescriptorImpl> createDescriptorIfService(InputStream is, List<File> searchHeres) throws IOException
IOException
public List<DescriptorImpl> findAllServicesFromDirectory(File directory, List<File> parent) throws IOException
IOException
public void close()
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.