@HashCodeAndEqualsPlugin.Enhance public abstract static class ClassFileLocator.MultiReleaseAware extends Object implements ClassFileLocator
ClassFileLocator.Compound, ClassFileLocator.Filtering, ClassFileLocator.ForClassLoader, ClassFileLocator.ForFolder, ClassFileLocator.ForInstrumentation, ClassFileLocator.ForJarFile, ClassFileLocator.ForModule, ClassFileLocator.ForModuleFile, ClassFileLocator.ForUrl, ClassFileLocator.MultiReleaseAware, ClassFileLocator.NoOp, ClassFileLocator.PackageDiscriminating, ClassFileLocator.Resolution, ClassFileLocator.Simple| Modifier and Type | Field and Description | 
|---|---|
protected static int[] | 
NO_MULTI_RELEASE
Indicates that no multi-release versions exist. 
 | 
CLASS_FILE_EXTENSION, META_INF_VERSIONS| Modifier | Constructor and Description | 
|---|---|
protected  | 
MultiReleaseAware(int[] version)
Creates a multi-release aware class file locator. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract byte[] | 
doLocate(String path)
Resolves a possible multi-release entry, if it exists. 
 | 
ClassFileLocator.Resolution | 
locate(String name)
Locates the class file for a given type and returns the binary data of the class file. 
 | 
protected static final int[] NO_MULTI_RELEASE
protected MultiReleaseAware(int[] version)
version - Contains the existing multi-release jar folders that are available for the
                current JVM version in decreasing order.public ClassFileLocator.Resolution locate(String name) throws IOException
locate in interface ClassFileLocatorname - The name of the type to locate a class file representation for.IOException - If reading a class file causes an error.@MaybeNull protected abstract byte[] doLocate(String path) throws IOException
path - The path of the class file.null if it does not exist.IOException - If an I/O exception occurs.Copyright © 2014–2025. All rights reserved.