| Modifier and Type | Class and Description |
|---|---|
| pack-priv static @interface | Hider.
Tags PosixModule methods as hidden on the specified OS or PosixImpl. |
| pack-priv static enum | Hider.
The type of underlying POSIX library implementation (native or not). |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static void | hideFunctions(Class<?>
the PosixModule class cls, PyObject the PosixModule module dict dict, OS the underlying OS os, boolean whether the underlying posix is native isNative)Hide module level functions defined in the PosixModule dict not applicable to this OS, identified by the PosixModule.Hide annotation. |
| private static boolean |
| Hider | back to summary |
|---|---|
| pack-priv Hider() | |
| hideFunctions | back to summary |
|---|---|
| public static void hideFunctions(Class<?> cls, PyObject dict, OS os, boolean isNative) Hide module level functions defined in the PosixModule dict not applicable to this OS, identified by the PosixModule.Hide annotation. | |
| isHidden | back to summary |
|---|---|
| private static boolean isHidden(Method method, OS os, Hider. Determine if method should be hidden for this OS/PosixImpl. | |
| Modifier and Type | Method and Description |
|---|---|
| public Hider. | posixImpl()
@Hide(posixImpl = PosixImpl.JAVA) hides the method from Python when the POSIX library isn't native. |
| public OS[] |
| posixImpl | back to summary |
|---|---|
| public Hider. @Hide(posixImpl = PosixImpl.JAVA) hides the method from Python when the POSIX library isn't native. The default NOT_APPLICABLE means the POSIX implementation doesn't matter. | |
| value | back to summary |
|---|---|
| public OS[] value() Hide method on these OSes. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Hider. | |
| public static final Hider. | |
| public static final Hider. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Hider. | |
| public static Hider. |
| JAVA | back to summary |
|---|---|
| public static final Hider. | |
| NATIVE | back to summary |
|---|---|
| public static final Hider. | |
| NOT_APPLICABLE | back to summary |
|---|---|
| public static final Hider. | |
| PosixImpl | back to summary |
|---|---|
| private PosixImpl() | |
| valueOf | back to summary |
|---|---|
| public static Hider. | |
| values | back to summary |
|---|---|
| public static Hider. | |