public class CService extends PService implements CAnnotatedDescriptor
| Constructor and Description |
|---|
CService(String comment,
String packageName,
String name,
PServiceProvider extendsService,
Collection<CServiceMethod> methods,
Map<String,String> annotations) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAnnotations()
Get set of available annotations.
|
String |
getAnnotationValue(String name)
Get the given annotation value.
|
String |
getDocumentation()
The type comment is the last block of comment written before the type
declaration.
|
CService |
getExtendsService() |
Collection<CServiceMethod> |
getMethods() |
boolean |
hasAnnotation(String name)
Get the given annotation value.
|
getMethod, getName, getProgramName, getQualifiedName, getQualifiedNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotationValue, hasAnnotationpublic CService(String comment, String packageName, String name, PServiceProvider extendsService, Collection<CServiceMethod> methods, Map<String,String> annotations)
@Nonnull public Collection<CServiceMethod> getMethods()
getMethods in class PServicepublic CService getExtendsService()
getExtendsService in class PService@Nonnull public Set<String> getAnnotations()
CAnnotatedDescriptorgetAnnotations in interface CAnnotatedDescriptorpublic boolean hasAnnotation(@Nonnull String name)
CAnnotatedDescriptorhasAnnotation in interface CAnnotatedDescriptorname - Name of annotation.public String getAnnotationValue(@Nonnull String name)
CAnnotatedDescriptorgetAnnotationValue in interface CAnnotatedDescriptorname - Name of annotation.public String getDocumentation()
CAnnotatedDescriptorgetDocumentation in interface CAnnotatedDescriptorCopyright © 2015–2017 morimekta.net. All rights reserved.