- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for getModifiers (0.09 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) -
guava/src/com/google/common/reflect/Invokable.java
return member.getName(); } @Override public final int getModifiers() { return member.getModifiers(); } @Override public final boolean isSynthetic() { return member.isSynthetic(); } /** Returns true if the element is public. */ public final boolean isPublic() { return Modifier.isPublic(getModifiers()); } /** Returns true if the element is protected. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 19.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
Field[] fields = type.getDeclaredFields(); Arrays.sort(fields, BY_FIELD_NAME); for (Field field : fields) { if (Modifier.isPublic(field.getModifiers()) && Modifier.isStatic(field.getModifiers()) && Modifier.isFinal(field.getModifiers())) { if (field.getGenericType() == field.getType() && type.isAssignableFrom(field.getType())) { field.setAccessible(true); try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 21.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java
Method[] methods = clazz.getMethods(); // Short circuit for the (hopefully) majority of cases where the // clazz is public if (Modifier.isPublic(clazz.getModifiers())) { return methods; } // No luck - the class is not public, so we're going the longer way. MethodInfo[] methodInfos = new MethodInfo[methods.length];
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
Field[] fields = type.getDeclaredFields(); Arrays.sort(fields, BY_FIELD_NAME); for (Field field : fields) { if (Modifier.isPublic(field.getModifiers()) && Modifier.isStatic(field.getModifiers()) && Modifier.isFinal(field.getModifiers())) { if (field.getGenericType() == field.getType() && type.isAssignableFrom(field.getType())) { field.setAccessible(true); try {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 20.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/FieldUtil.java
* @return インスタンスフィールドなら{@literal true} */ public static boolean isInstanceField(final Field field) { assertArgumentNotNull("field", field); return !Modifier.isStatic(field.getModifiers()); } /** * パブリックフィールドかどうか返します。 * * @param field * フィールド。{@literal null}であってはいけません * @return パブリックフィールドなら{@literal true} */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.3K 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/MethodUtil.java
return Modifier.isStatic(method.getModifiers()); } /** * <code>final</code>かどうかを返します。 * * @param method * メソッド。{@literal null}であってはいけません * @return <code>final </code>かどうか */ public static boolean isFinal(final Method method) { assertArgumentNotNull("method", method); return Modifier.isFinal(method.getModifiers()); } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 13.8K 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)