Interface Feature.FeatureAccess

All Known Subinterfaces:
Feature.AfterAnalysisAccess, Feature.AfterCompilationAccess, Feature.AfterHeapLayoutAccess, Feature.AfterImageWriteAccess, Feature.AfterRegistrationAccess, Feature.BeforeAnalysisAccess, Feature.BeforeCompilationAccess, Feature.BeforeHeapLayoutAccess, Feature.BeforeImageWriteAccess, Feature.BeforeUniverseBuildingAccess, Feature.CompilationAccess, Feature.DuringAnalysisAccess, Feature.DuringSetupAccess, Feature.IsInConfigurationAccess, Feature.OnAnalysisExitAccess, Feature.QueryReachabilityAccess
Enclosing interface:
Feature

public static interface Feature.FeatureAccess
Access methods that are available for all feature methods.
Since:
19.0
  • Method Details

    • findClassByName

      Class<?> findClassByName(String className)
      Returns a class if it is present on the classpath.
      Since:
      19.0
    • getApplicationClassPath

      List<Path> getApplicationClassPath()
      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.
      Since:
      20.2
    • getApplicationModulePath

      List<Path> getApplicationModulePath()
      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.
      Since:
      20.2
    • getApplicationClassLoader

      ClassLoader getApplicationClassLoader()
      Returns the ClassLoader that can find all classes of the class path and module path.
      Since:
      20.2