MCPcopy Create free account
hub / github.com/apache/tomcat / importClass

Method importClass

java/jakarta/el/ELManager.java:143–145  ·  view source on GitHub ↗

Imports a class so it can be referenced by its simple name in EL expressions. The argument must be a fully qualified class name. @param className the fully qualified class name to import @throws ELException if the class name is invalid or conflicts with an existing import

(String className)

Source from the content-addressed store, hash-verified

141 * @throws ELException if the class name is invalid or conflicts with an existing import
142 */
143 public void importClass(String className) throws ELException {
144 getELContext().getImportHandler().importClass(className);
145 }
146
147 /**
148 * Imports all classes from a package so they can be referenced by their simple names

Callers 2

test02Method · 0.45
getImportHandlerMethod · 0.45

Calls 2

getELContextMethod · 0.95
getImportHandlerMethod · 0.45

Tested by 1

test02Method · 0.36