- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 1,572 for constructors (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-testlib/src/com/google/common/testing/NullPointerTester.java
*/ public void testConstructors(Class<?> c, Visibility minimalVisibility) { for (Constructor<?> constructor : c.getDeclaredConstructors()) { if (minimalVisibility.isVisible(constructor) && !isIgnored(constructor)) { testConstructor(constructor); } } } /** Runs {@link #testConstructor} on every public constructor in class {@code c}. */ public void testAllPublicConstructors(Class<?> c) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 25.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
* #initCause} later, so it is not quite equivalent to using a constructor that omits the * cause. */ @Deprecated protected ExecutionError() {} /** * Creates a new instance with the given detail message and no cause. * * @deprecated Prefer {@linkplain ExecutionError(String, Error)} a constructor that accepts a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/BeanDesc.java
* @param args * The arguments to pass to the constructor * @return A new instance */ <T> T newInstance(Object... args); /** * Returns the {@link ConstructorDesc} for the given parameter types. * * @param paramTypes * The array of parameter types for the constructor * @return The {@link ConstructorDesc} for the given parameter types */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 24 01:52:43 GMT 2025 - 7.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
*/ public void testConstructors(Class<?> c, Visibility minimalVisibility) { for (Constructor<?> constructor : c.getDeclaredConstructors()) { if (minimalVisibility.isVisible(constructor) && !isIgnored(constructor)) { testConstructor(constructor); } } } /** Runs {@link #testConstructor} on every public constructor in class {@code c}. */ public void testAllPublicConstructors(Class<?> c) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 24.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* * <p>Instances of {@code exceptionClass} are created by choosing an arbitrary public constructor * that accepts zero or more arguments, all of type {@code String} or {@code Throwable} * (preferring constructors with at least one {@code String}, then preferring constructors with at * least one {@code Throwable}) and calling the constructor via reflection. If the exception didCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java
public void test_constructor_withCause() { // Test constructor with cause only Throwable cause = new IllegalStateException("Container initialization failed"); ContainerNotAvailableException exception = new ContainerNotAvailableException(cause); assertEquals("Container is not available.", exception.getMessage()); // The cause is not passed to super constructor in the implementation assertNull(exception.getCause());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 10.1K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
def violation = rule.maybeViolation(jApiMethod) then: violation.severity == Severity.info violation.humanExplanation == 'New public API in 11.38 (@Incubating)' } def "constructors with @Inject annotation are not considered public API"() { given: def rule = withContext(ruleElem) def annotations = [] jApiConstructor.annotations >> annotations when:
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jun 06 17:52:09 GMT 2025 - 16K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
// Test constructor with null message SearchQueryException exception = new SearchQueryException((String) null); assertNull(exception.getMessage()); assertNull(exception.getCause()); assertTrue(exception instanceof FessSystemException); } @Test public void test_constructorWithNullCause() { // Test constructor with null causeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
} void ssn139() throws IOException { final Name calledName = new Name(address.firstCalledName(), 0x20, null); do { /* These Socket constructors attempt to connect before SO_TIMEOUT can be applied if (localAddr == null) { socket = new Socket( address.getHostAddress(), 139 ); } else {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
assertNotNull(secured); assertEquals("STATIC_ROLE", secured.value()[0]); } // Test annotation on constructor (should not compile, but test for completeness) static class ConstructorClass { // Note: @Secured cannot be applied to constructors due to @Target restrictions public ConstructorClass() { } } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0)