---
title: "Feature.FeatureAccess"
description: "Access methods that are available for all feature methods."
kind: "interface"
id: "org.graalvm.nativeimage.hosted.Feature$FeatureAccess"
module: "nativeimage"
version: "25.6.0-elide.4"
canonical: "https://graalvm.elide.help/25.6.0-elide.4/api/nativeimage/org/graalvm/nativeimage/hosted/Feature.FeatureAccess.html"
---

# ◇ Feature.FeatureAccess

[nativeimage](../../../../index.md) › [org.graalvm.nativeimage.hosted](index.md) · Every page: [llms.txt](../../../../llms.txt)

Interface in [`org.graalvm.nativeimage.hosted`](index.md). Since 19.0. Nested in [`Feature`](Feature.md).

```java
public interface Feature.FeatureAccess
```

Access methods that are available for all feature methods.

## Methods

### findClassByName(String)
<a id="findClassByName(java.lang.String)"></a>`Class<?> findClassByName(String className)`. Since 19.0. Returns a class if it is present on the classpath. Cite: `org/graalvm/nativeimage/hosted/Feature.FeatureAccess.html#findClassByName(java.lang.String)`

### getApplicationClassPath()
<a id="getApplicationClassPath()"></a>`List<Path> getApplicationClassPath()`. Since 20.2. Returns the class path of the native image that is currently built. The returned list does not include the native image generator itself, and does not include the JDK. Cite: `org/graalvm/nativeimage/hosted/Feature.FeatureAccess.html#getApplicationClassPath()`

### getApplicationModulePath()
<a id="getApplicationModulePath()"></a>`List<Path> getApplicationModulePath()`. Since 20.2. Returns the module path of the native image that is currently built. The returned list does not include the native image generator itself, and does not include the JDK. Cite: `org/graalvm/nativeimage/hosted/Feature.FeatureAccess.html#getApplicationModulePath()`

### getApplicationClassLoader()
<a id="getApplicationClassLoader()"></a>`ClassLoader getApplicationClassLoader()`. Since 20.2. Returns the [`ClassLoader`](https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/ClassLoader.html) that can find all classes of the class path and module path. Cite: `org/graalvm/nativeimage/hosted/Feature.FeatureAccess.html#getApplicationClassLoader()`
