- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for getSuperClass (0.05 sec)
-
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
// Verify values through reflection Field totalParamField = response.getClass().getSuperclass().getSuperclass().getDeclaredField("totalParameterCount"); totalParamField.setAccessible(true); assertEquals(1000, totalParamField.get(response)); Field totalDataField = response.getClass().getSuperclass().getSuperclass().getDeclaredField("totalDataCount"); totalDataField.setAccessible(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
assertEquals(4, result); // Access private field to verify length was set Field lengthField = response.getClass().getSuperclass().getSuperclass().getSuperclass().getDeclaredField("length"); lengthField.setAccessible(true); int actualLength = (int) lengthField.get(response); assertEquals(expectedLength, actualLength); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
info502.security_descriptor = securityDescriptorBytes; info502.sd_size = securityDescriptorBytes.length; // Replace info field Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info"); infoField.setAccessible(true); infoField.set(msrpcShareGetInfo, info502); // Test getSecurity - with no DACL, it should return nullRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename); // Set path field (inherited from parent) Field pathField = trans2GetDfsReferral.getClass().getSuperclass().getSuperclass().getDeclaredField("path"); pathField.setAccessible(true); pathField.set(trans2GetDfsReferral, filename); // When String result = trans2GetDfsReferral.toString();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java
return superClassName; } public void setSuperClassName(String superClassName) { this.superClassName = superClassName; } public ClassMetaData getSuperClass() { return superClassName == null ? null : metaDataRepository.find(superClassName); } public List<String> getInterfaceNames() { return interfaceNames; }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed May 21 06:20:45 UTC 2025 - 10.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java
*/ if (upcastCount == l) { return upcastCount; } } // Examine superclass Class<?> superclazz = clazz.getSuperclass(); if (superclazz != null) { upcastCount = getAccessibleMethods(superclazz, methodInfos, upcastCount); // Short circuit if all methods were upcast if (upcastCount == l) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
while (clazz != null) { try { return clazz.getDeclaredField(fieldName); } catch (NoSuchFieldException e) { clazz = clazz.getSuperclass(); } } return null; } private Method findMethod(Class<?> clazz, String methodName, Class<?>... paramTypes) { while (clazz != null) { try {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
method.setAccessible(true); return method; } catch (NoSuchMethodException e) { clazz = clazz.getSuperclass(); } } throw new NoSuchMethodException("readString method not found"); } private Field getSuperclassField(Class<?> clazz, String fieldName) throws NoSuchFieldException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
* Reflectively get the chained next request from a SMB2 request. */ private static Object getNextOf(Object req) throws Exception { Class<?> cls = req.getClass().getSuperclass(); // ServerMessageBlock2Request Field f = cls.getSuperclass().getDeclaredField("next"); // ServerMessageBlock2.next f.setAccessible(true); return f.get(req); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
} finally { field.setAccessible(isAccessible); } } } traverseObjectWithParents(cls.getSuperclass(), target); } } private boolean isQualifiedForInterpolation(Class<?> cls) { return !cls.getPackage().getName().startsWith("java")Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 14.1K bytes - Viewed (0)