summaryrefslogtreecommitdiff
path: root/java/JoelibDescriptorInfo.java
blob: 851d650b78779af8a71669642ad64c1f6d660fff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import joelib2.feature.FeatureHelper;

class JoelibDescriptorInfo {
  public static void main(String[] args) {
    FeatureHelper helper = FeatureHelper.instance();
    System.out.println("---"); // document separator for Joelib debug messages
    for (Object feature : helper.getNativeFeatures() ) {
      System.out.println("- :java_class: \""+feature.toString()+"\"");
      // methods for accessing feature descriptions e.g. with 
      // FeatureFactory.instance().getFeature(feature.toString()).getDescription().getText() or
      // FeatureFactory.instance().getFeature(feature.toString()).getDescription().getHtml()
      // are defunct
    }
  }
}