Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for if_static (0.08 sec)

  1. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

         */
        public void test_serialVersionUID() throws Exception {
            Field serialVersionField = FessLabels.class.getDeclaredField("serialVersionUID");
            assertNotNull(serialVersionField);
            assertTrue(Modifier.isStatic(serialVersionField.getModifiers()));
            assertTrue(Modifier.isFinal(serialVersionField.getModifiers()));
            assertTrue(Modifier.isPrivate(serialVersionField.getModifiers()));
            serialVersionField.setAccessible(true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                // printThreadDump()
                java.lang.reflect.Method printMethod = ThreadDumpUtil.class.getMethod("printThreadDump");
                assertTrue("printThreadDump should be static", java.lang.reflect.Modifier.isStatic(printMethod.getModifiers()));
                assertTrue("printThreadDump should be public", java.lang.reflect.Modifier.isPublic(printMethod.getModifiers()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

            Field[] fields = FessHtmlPath.class.getDeclaredFields();
            for (Field field : fields) {
                int modifiers = field.getModifiers();
                if (Modifier.isPublic(modifiers) && Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers)) {
                    if (field.getType().equals(HtmlNext.class)) {
                        Object value = field.get(null);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                // setObject(String, Object)
                Method setObjectMethod = WebApiUtil.class.getMethod("setObject", String.class, Object.class);
                assertTrue("setObject should be static", java.lang.reflect.Modifier.isStatic(setObjectMethod.getModifiers()));
                assertTrue("setObject should be public", java.lang.reflect.Modifier.isPublic(setObjectMethod.getModifiers()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Invokable.java

      public final boolean isPrivate() {
        return Modifier.isPrivate(getModifiers());
      }
    
      /** Returns true if the element is static. */
      public final boolean isStatic() {
        return Modifier.isStatic(getModifiers());
      }
    
      /**
       * Returns {@code true} if this method is final, per {@code Modifier.isFinal(getModifiers())}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/parse.go

    // true, otherwise returns (false, obj.ABI0).
    func (p *Parser) symRefAttrs(name string, issueError bool) (bool, obj.ABI) {
    	abi := obj.ABI0
    	isStatic := false
    	if p.peek() != '<' {
    		return isStatic, abi
    	}
    	p.next()
    	tok := p.peek()
    	if tok == '>' {
    		isStatic = true
    	} else if tok == scanner.Ident {
    		abistr := p.get(scanner.Ident).String()
    		if !p.allowABI {
    			if issueError {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

                assertEquals("Return type should be String", String.class, method.getReturnType());
    
                // Check that it's static
                assertTrue("Method should be static", java.lang.reflect.Modifier.isStatic(method.getModifiers()));
    
                // Check that it's public
                assertTrue("Method should be public", java.lang.reflect.Modifier.isPublic(method.getModifiers()));
    
                // Check parameter count
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            try {
                // parse(String)
                Method parseMethod = KuromojiCSVUtil.class.getMethod("parse", String.class);
                assertTrue("parse should be static", java.lang.reflect.Modifier.isStatic(parseMethod.getModifiers()));
                assertTrue("parse should be public", java.lang.reflect.Modifier.isPublic(parseMethod.getModifiers()));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

            if (Invokable.from(method).isStatic()) {
              builder.add(method);
            }
          }
          return builder.build();
        }
    
        final Iterable<Method> getInstanceMethods(Class<?> cls) {
          ConcurrentMap<Signature, Method> map = Maps.newConcurrentMap();
          for (Method method : getVisibleMethods(cls)) {
            if (!Invokable.from(method).isStatic()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/MethodUtil.java

         *            The method. Cannot be {@literal null}
         * @return <code>static</code> if the method is static
         */
        public static boolean isStatic(final Method method) {
            assertArgumentNotNull("method", method);
    
            return Modifier.isStatic(method.getModifiers());
        }
    
        /**
         * Returns whether the method is <code>final</code>.
         *
         * @param method
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top