blob: e9087301a8dbb39562205131e15de66f3ee085bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
package com.puppycrawl.tools.checkstyle.checks.design;
public class InputDesignForExtensionNativeMethods {
// has a potentially complex implementation in native code.
// We can't check that, so to be safe DesignForExtension requires
// native methods to also be final
public native void foo1(); // violation
public static native void foo2();
protected static native void foo3();
protected static final native void foo4();
/**
* Javadoc for native method.
*/
public native void foo5();
/*
* Block-commend doc for native method.
*/
public native void foo6();
@Deprecated
public native void foo7();
}
|