コード例 #1
0
 public static List<String> getSettableProperties(InternalRuleBase ruleBase, Class<?> nodeClass) {
   if (nodeClass == null) {
     return null;
   }
   TypeDeclaration typeDeclaration = ruleBase.getTypeDeclaration(nodeClass);
   if (typeDeclaration == null) {
     return ClassUtils.getSettableProperties(nodeClass);
   }
   typeDeclaration.setTypeClass(nodeClass);
   return typeDeclaration.getSettableProperties();
 }
コード例 #2
0
ファイル: AnotherKlass_.java プロジェクト: coldsarge/drools
 @Override
 protected void cachePropertyNames() {
   propertyNames = ClassUtils.getSettableProperties(AnotherKlass.class);
 }