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(); }
@Override protected void cachePropertyNames() { propertyNames = ClassUtils.getSettableProperties(AnotherKlass.class); }