public class AnnotationDef extends Object
Constructor and Description |
---|
AnnotationDef() |
Modifier and Type | Method and Description |
---|---|
static AnnotationDef |
convertToPackageModel(BLangAnnotation annotationDef)
Converts a
BLangAnnotation to AnnotationDef . |
List<AnnotationAttachment> |
getAnnotationAttachments() |
List<AnnotationAttributeDef> |
getAnnotationAttributeDefs() |
List<String> |
getAttachmentPoints() |
String |
getFileName() |
String |
getName() |
String |
getPackagePath() |
void |
setAnnotationAttachments(List<AnnotationAttachment> annotationAttachments) |
void |
setAnnotationAttributeDefs(List<AnnotationAttributeDef> annotationAttributeDefs) |
void |
setAttachmentPoints(List<String> attachmentPoints) |
void |
setFileName(String fileName) |
void |
setName(String name) |
void |
setPackagePath(String packagePath) |
String |
toString() |
public static AnnotationDef convertToPackageModel(BLangAnnotation annotationDef)
BLangAnnotation
to AnnotationDef
.annotationDef
- The model to be converted.public String getPackagePath()
public void setPackagePath(String packagePath)
public String getName()
public void setName(String name)
public List<AnnotationAttributeDef> getAnnotationAttributeDefs()
public void setAnnotationAttributeDefs(List<AnnotationAttributeDef> annotationAttributeDefs)
public List<AnnotationAttachment> getAnnotationAttachments()
public void setAnnotationAttachments(List<AnnotationAttachment> annotationAttachments)
public String getFileName()
public void setFileName(String fileName)
Copyright © 2018 WSO2. All rights reserved.