Adding classKind and classModifier to the index.
1.1 --- a/remoting/server/indexer/usages/src/org/netbeans/modules/jackpot30/indexer/usages/IndexerImpl.java Sat Jan 14 20:36:18 2012 +0100
1.2 +++ b/remoting/server/indexer/usages/src/org/netbeans/modules/jackpot30/indexer/usages/IndexerImpl.java Sun Jan 15 16:24:22 2012 +0100
1.3 @@ -169,6 +169,10 @@
1.4 currentClassDocument.add(new Field("classFQN", currentClassFQN, Store.YES, Index.NO));
1.5 currentClassDocument.add(new Field("classSimpleName", node.getSimpleName().toString(), Store.YES, Index.NOT_ANALYZED));
1.6 currentClassDocument.add(new Field("classSimpleNameLower", node.getSimpleName().toString().toLowerCase(), Store.YES, Index.NOT_ANALYZED));
1.7 + currentClassDocument.add(new Field("classKind", el.getKind().name(), Store.YES, Index.NO));
1.8 + for (Modifier m : el.getModifiers()) {
1.9 + currentClassDocument.add(new Field("classModifiers", m.name(), Store.YES, Index.NO));
1.10 + }
1.11
1.12 recordSuperTypes(currentClassDocument, tel, new HashSet<String>(Arrays.asList(tel.getQualifiedName().toString())));
1.13