Feature.FeatureAccess
public interface Feature.FeatureAccess- Known subtypes
Feature.AfterHeapLayoutAccessFeature.AfterImageWriteAccessFeature.AfterRegistrationAccessFeature.BeforeAnalysisAccessFeature.BeforeImageWriteAccessFeature.BeforeUniverseBuildingAccessFeature.CompilationAccessFeature.DuringSetupAccessFeature.IsInConfigurationAccessFeature.OnAnalysisExitAccessFeature.OnRegistrationAccessFeature.QueryReachabilityAccess
- Enclosing type
Feature
Access methods that are available for all feature methods.
Methods4
Class<?> findClassByName(String)
findClassByName
since 19.0Returns a class if it is present on the classpath.
Parameters
classNameString- No description.
Returns
Class<?> - No description.
List<Path> getApplicationClassPath()
getApplicationClassPath
since 20.2Returns 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.
List<Path> getApplicationModulePath()
getApplicationModulePath
since 20.2Returns 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.
ClassLoader getApplicationClassLoader()
getApplicationClassLoader
since 20.2ClassLoader getApplicationClassLoader()Returns the ClassLoader that can find all classes of the class path and module path.
Returns
ClassLoader- No description.