private JsonNode invokeCallbackGet ( final GetRequest req ) { Object obj = this . getObject ( req . getObjref ( ) ) ; String methodName = javaScriptPropertyToJavaPropertyName ( "get" , req . getProperty ( ) ) ; try { Method getter = obj . getClass ( ) . getMethod ( methodName ) ; return JsiiObjectMapper . valueToTree ( invokeMethod ( obj , getter ) ) ; } catch ( NoSuchMethodException e ) { throw new JsiiException ( e ) ; } }
Invokes an override for a property getter .