MCPcopy Create free account
hub / github.com/apache/ant / asOptional

Method asOptional

src/main/org/apache/tools/ant/types/Resource.java:448–450  ·  view source on GitHub ↗

Return #as(Class) as an Optional. @param desired type @param clazz a class @return Optional resource of a desired type @since Ant 1.10.2

(Class<T> clazz)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

getSrcMethod · 0.80
fillMapsFromArchiveMethod · 0.80
isFilesystemOnlyMethod · 0.80
fileMethod · 0.80
copyResourceMethod · 0.80

Calls 1

asMethod · 0.95

Tested by

no test coverage detected