- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for isPackagePrivate (0.06 seconds)
-
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
assertTrue(invokable.isPublic()); assertFalse(invokable.isPackagePrivate()); assertFalse(invokable.isAbstract()); assertFalse(invokable.isStatic()); assertTrue(invokable.isAnnotationPresent(Tested.class)); } public void testAbstractMethod() throws Exception { Invokable<?, Object> invokable = A.method("abstractMethod"); assertTrue(invokable.isPackagePrivate()); assertTrue(invokable.isAbstract());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Jul 16 17:42:14 GMT 2025 - 30.7K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Invokable.java
public final boolean isProtected() { return Modifier.isProtected(getModifiers()); } /** Returns true if the element is package-private. */ public final boolean isPackagePrivate() { return !isPrivate() && !isPublic() && !isProtected(); } /** Returns true if the element is private. */ public final boolean isPrivate() { return Modifier.isPrivate(getModifiers()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 18.4K bytes - Click Count (0)