- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for setAccessible (0.07 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.1K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java
ArgumentCaptor<RepositoryEvent> event = ArgumentCaptor.forClass(RepositoryEvent.class); Field field = DefaultArtifactDescriptorReader.class.getDeclaredField("repositoryEventDispatcher"); field.setAccessible(true); field.set(reader, eventDispatcher); ArtifactDescriptorRequest request = new ArtifactDescriptorRequest(); request.addRepository(newTestRepository());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
if (method.getDeclaringClass().equals(TypeVariableImpl.class)) { try { method.setAccessible(true); } catch (AccessControlException e) { // OK: the method is accessible to us anyway. The setAccessible call is only for // unusual execution environments where that might not be true. } builder.put(method.getName(), method);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 23K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java
(DefaultArtifactDescriptorReader) getContainer().lookup(ArtifactDescriptorReader.class); Field field = DefaultArtifactDescriptorReader.class.getDeclaredField("artifactResolver"); field.setAccessible(true); field.set(pomReader, resolver); projectBuilder = getContainer().lookup(ProjectBuilder.class, "classpath"); } @Test void testProjectClasspath() throws Exception {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
if ("org.eclipse.sisu.inject.LazyBeanEntry" .equals(entry.getClass().getName())) { Field f = entry.getClass().getDeclaredField("binding"); f.setAccessible(true); Object b = f.get(entry); return !(b instanceof ProviderInstanceBinding<?> pib) || !(pib.getUserSuppliedProvider() instanceof BridgeProvider<?>);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
} private void setValueToObject(Object obj, String name, Object value) { Field field = ClassUtil.getDeclaredField(obj.getClass(), name); field.setAccessible(true); FieldUtil.set(field, obj, value); } public void test_pruneNode() throws Exception { final String data = "<html><body><br/><script>foo</script><noscript>bar</noscript></body></html>";
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 41.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 83.6K bytes - Viewed (0)