Class ServiceUtilities
- java.lang.Object
-
- org.glassfish.hk2.metadata.generator.ServiceUtilities
-
public class ServiceUtilities extends Object
- Author:
- jwells
-
-
Constructor Summary
Constructors Constructor Description ServiceUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.static String
nameToString(Name name)
-
-
-
Method Detail
-
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:
-
-