The Consultingwerk.Studio.ExtractClassAnnotations package contains a utility to extract class and class member annotations into JSON files. The utility can be launched using an ANT/PTC job. A sample ANT macro to run the utility is defined in
Consultingwerk/Studio/ExtractClassAnnotations/extract-class-annotations.xml
A sample ANT file:
<import file="Consultingwerk/Studio/ExtractClassAnnotations/extract-class-annotations.xml"/> <target name="ExtractClassAnnotations"> <extractClassAnnotations directory="Consultingwerk" fileMask="*BusinessEntity.cls" overwriteWriteProtected="true" excludeAnnotations="@Test,@TestIgnore,@BusinessEntityGenerator" verbose="true" /> </target>
See http://confluence.consultingwerkcloud.com/wiki/display/SCL/The+Annotation+based+Type+Descriptor for details on the annotation based type descriptor.
See http://jakejustus.github.io/pct/ for details on PCT.