void () { Property p; Maybe<PyCallable> accessor; final String name = "w2"; p = myClass.findProperty(name, true, null); assertNotNull(p); assertNull(p.getDoc()); assertNull(p.getDefinitionSite()); accessor = p.getGetter(); assertTrue(accessor.isDefined()); final PyCallable callable = accessor.value(); assertNotNull(callable); assertEquals("w2", callable.getName()); assertInstanceOf(callable, PyFunction.class); assertEquals("doc of " + name, ((PyFunction)callable).getDocStringExpression().getStringValue()); accessor = p.getSetter(); assertTrue(accessor.isDefined()); assertNull(accessor.value()); accessor = p.getDeleter(); assertTrue(accessor.isDefined()); assertNull(accessor.value()); }