void () { Property p; Maybe<PyCallable> accessor; p = myClass.findProperty("v1", true, null); assertNotNull(p); assertNull(p.getDoc()); PyTargetExpression site = p.getDefinitionSite(); assertEquals("v1", site.getText()); accessor = p.getGetter(); assertTrue(accessor.isDefined()); assertNotNull(accessor.value()); assertEquals("getter", accessor.value().getName()); accessor = p.getSetter(); assertTrue(accessor.isDefined()); assertNotNull(accessor.value()); assertEquals("setter", accessor.value().getName()); accessor = p.getDeleter(); assertTrue(accessor.isDefined()); assertNull(accessor.value()); }