- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getModifiers (0.14 sec)
-
src/main/java/org/codelibs/core/lang/ModifierUtil.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/FessLastaDocTest.java
String actionSuffix = "Action"; // ## Act ## policeStoryOfJavaClassChase((srcFile, clazz) -> { if (clazz.isInterface() || Modifier.isAbstract(clazz.getModifiers())) { // e.g. BaseAction return; } final String className = clazz.getName(); if (className.contains(appWebPkg) && className.endsWith(actionSuffix)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
m.getName().equals("writeReplace") && m.getParameterTypes().length == 0 // Only package-private methods are a problem. && (m.getModifiers() & (PUBLIC | PROTECTED | PRIVATE)) == 0) .transform(Method::getDeclaringClass); if (!supersWithPackagePrivateWriteReplace.isPresent()) { continue; } assertWithMessage(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 18:53:31 UTC 2024 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ConstructorUtil.java
* @return <code>public</code>かどうか */ public static boolean isPublic(final Constructor<?> constructor) { assertArgumentNotNull("constructor", constructor); return Modifier.isPublic(constructor.getModifiers()); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkTester.java
} static ImmutableList<Method> getTestMethods(Class<?> testClass) { List<Method> result = Lists.newArrayList(); for (Method method : testClass.getDeclaredMethods()) { if (Modifier.isPublic(method.getModifiers()) && method.getReturnType() == void.class && method.getParameterTypes().length == 0 && method.getName().startsWith("test")) { result.add(method); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 27 18:57:08 UTC 2022 - 4.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkTester.java
} static ImmutableList<Method> getTestMethods(Class<?> testClass) { List<Method> result = Lists.newArrayList(); for (Method method : testClass.getDeclaredMethods()) { if (Modifier.isPublic(method.getModifiers()) && method.getReturnType() == void.class && method.getParameterTypes().length == 0 && method.getName().startsWith("test")) { result.add(method); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 27 18:57:08 UTC 2022 - 4.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
// Interfaces can have default methods that aren't abstract. // No need to verify them. // Can't check isDefault() for Android compatibility. if (!Modifier.isAbstract(method.getModifiers())) { continue; } // The interface could be package-private or private. // filter out equals/hashCode/toString if (method.getName().equals("equals")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 9.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
m.getName().equals("writeReplace") && m.getParameterTypes().length == 0 // Only package-private methods are a problem. && (m.getModifiers() & (PUBLIC | PROTECTED | PRIVATE)) == 0) .transform(Method::getDeclaringClass); if (!supersWithPackagePrivateWriteReplace.isPresent()) { continue; } assertWithMessage(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 18:53:31 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
// Interfaces can have default methods that aren't abstract. // No need to verify them. // Can't check isDefault() for Android compatibility. if (!Modifier.isAbstract(method.getModifiers())) { continue; } // The interface could be package-private or private. // filter out equals/hashCode/toString if (method.getName().equals("equals")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 9.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
Set<MethodSignature> publicStaticMethods = newHashSet(); for (Method method : clazz.getDeclaredMethods()) { int modifiers = method.getModifiers(); if (isPublic(modifiers) && isStatic(modifiers)) { publicStaticMethods.add(new MethodSignature(method)); } } return publicStaticMethods; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 9.2K bytes - Viewed (0)