@Nullable private static Object getNativeNode(@NonNull Node node) { Object nativeNode = node.getNativeNode(); if (nativeNode != null) { return nativeNode; Object parentNativeNode = parent.getNativeNode(); if (parentNativeNode != null) { if (parentNativeNode instanceof AbstractMethodDeclaration) { nativeNode = parent.getNativeNode(); if (nativeNode != null) { return nativeNode;