public static boolean hasObjectPropertySetter( Class<?> clas, String propName ) { if ( Types.isPropertyType(clas) ) return true; return BshClassManager.memberCache .get(clas).hasMember(propName) && null != BshClassManager.memberCache .get(clas).findSetter(propName); }
public static boolean hasObjectPropertyGetter( Class<?> clas, String propName ) { if ( Types.isPropertyType(clas) ) return true; return BshClassManager.memberCache .get(clas).hasMember(propName) && null != BshClassManager.memberCache .get(clas).findGetter(propName); }