public class LSAnnotationCache extends Object
Modifier and Type | Method and Description |
---|---|
HashMap<PackageID,List<BLangAnnotation>> |
getAnnotationMapForType(AttachmentPoint attachmentPoint)
Get the annotation map for the given type.
|
HashMap<PackageID,List<BLangAnnotation>> |
getFunctionAnnotations() |
static LSAnnotationCache |
getInstance() |
HashMap<PackageID,List<BLangAnnotation>> |
getResourceAnnotations() |
HashMap<PackageID,List<BLangAnnotation>> |
getServiceAnnotations() |
static void |
initiate() |
public static LSAnnotationCache getInstance()
public static void initiate()
public HashMap<PackageID,List<BLangAnnotation>> getServiceAnnotations()
public HashMap<PackageID,List<BLangAnnotation>> getResourceAnnotations()
public HashMap<PackageID,List<BLangAnnotation>> getFunctionAnnotations()
public HashMap<PackageID,List<BLangAnnotation>> getAnnotationMapForType(AttachmentPoint attachmentPoint)
attachmentPoint
- Attachment pointHashMap
Map of annotation listsCopyright © 2018 WSO2. All rights reserved.