public void setNative(boolean isNative) {
        this.isNative = isNative;
    }
@Test
    void testSetNative() {
        Method method = new Method("bar");
        assertFalse(method.isNative());
        method.setNative(true);
        assertTrue(method.isNative());
    }