- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for JavaPathType (0.05 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
* @param location identification of a path in the {@code javax.tool} API * @return Java path type associated to the given location */ public static Optional<JavaPathType> valueOf(JavaFileManager.Location location) { for (JavaPathType type : JavaPathType.values()) { if (location.equals(type.location)) { return Optional.of(type); } } return Optional.empty();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:13:42 UTC 2025 - 15.7K bytes - Viewed (1) -
api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java
*/ @Test public void testEqualsHashCode() { JavaPathType.Modular foo1 = JavaPathType.patchModule("foo"); JavaPathType.Modular foo2 = JavaPathType.patchModule("foo"); JavaPathType.Modular bar = JavaPathType.patchModule("bar"); assertEquals(foo1, foo2); assertEquals(foo1.hashCode(), foo2.hashCode()); assertNotEquals(foo1, bar);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 13 14:20:26 UTC 2025 - 2.9K bytes - Viewed (0)