Class ServiceUtilities
java.lang.Object
org.glassfish.hk2.metadata.generator.ServiceUtilities
- Author:
- jwells
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<DescriptorImpl> getDescriptorsFromClass(TypeElement clazz, ProcessingEnvironment processingEnvironment) Returns one descriptor if this is a normal service class or two if this class is a factory.static StringnameToString(Name name)
-
Constructor Details
-
ServiceUtilities
public ServiceUtilities()
-
-
Method Details
-
getDescriptorsFromClass
public static List<DescriptorImpl> getDescriptorsFromClass(TypeElement clazz, ProcessingEnvironment processingEnvironment) Returns one descriptor if this is a normal service class or two if this class is a factory. It can return an empty list if the class given us is an interface- Parameters:
clazz-- Returns:
-
nameToString
-