- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ReflectionValueExtractor (0.13 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java
* using {@code asXxx} or {@code toXxx} prefixes are also supported. * * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") public class ReflectionValueExtractor { private static final Object[] OBJECT_ARGS = new Object[0]; /** * Use a WeakHashMap here, so the keys (Class objects) can be garbage collected.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.8K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java
Object value = new ValueHolder(list); assertNull(ReflectionValueExtractor.evaluate("h.value[", value)); assertNull(ReflectionValueExtractor.evaluate("h.value[]", value)); assertNull(ReflectionValueExtractor.evaluate("h.value[a]", value)); assertNull(ReflectionValueExtractor.evaluate("h.value[0", value)); assertNull(ReflectionValueExtractor.evaluate("h.value[0)", value));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ObjectBasedValueSource.java
* <p><b>NOTE:</b> The object-graph nagivation actually takes place via the * {@link ReflectionValueExtractor} class.</p> */ public Object getValue(String expression) { if (expression == null || expression.trim().isEmpty()) { return null; } try { return ReflectionValueExtractor.evaluate(expression, root, false); } catch (Exception e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0)