Package io.ebean.enhance.asm.commons
Class ModuleResolutionAttribute
java.lang.Object
io.ebean.enhance.asm.Attribute
io.ebean.enhance.asm.commons.ModuleResolutionAttribute
public final class ModuleResolutionAttribute extends Attribute
A ModuleResolution attribute. This attribute is specific to the OpenJDK and may change in the
future.
- Author:
- Remi Forax
-
Field Summary
Fields Modifier and Type Field Description intresolutionThe resolution state of the module.static intRESOLUTION_DO_NOT_RESOLVE_BY_DEFAULTThe resolution state of a module meaning that the module is not available from the class-path by default.static intRESOLUTION_WARN_DEPRECATEDThe resolution state of a module meaning the module is marked as deprecated.static intRESOLUTION_WARN_DEPRECATED_FOR_REMOVALThe resolution state of a module meaning the module is marked as deprecated and will be removed in a future release.static intRESOLUTION_WARN_INCUBATINGThe resolution state of a module meaning the module is not yet standardized, so in incubating mode. -
Constructor Summary
Constructors Constructor Description ModuleResolutionAttribute()Constructs an emptyModuleResolutionAttribute.ModuleResolutionAttribute(int resolution)Constructs a newModuleResolutionAttribute. -
Method Summary
Methods inherited from class io.ebean.enhance.asm.Attribute
isCodeAttribute, isUnknown
-
Field Details
-
RESOLUTION_DO_NOT_RESOLVE_BY_DEFAULT
The resolution state of a module meaning that the module is not available from the class-path by default.- See Also:
- Constant Field Values
-
RESOLUTION_WARN_DEPRECATED
The resolution state of a module meaning the module is marked as deprecated.- See Also:
- Constant Field Values
-
RESOLUTION_WARN_DEPRECATED_FOR_REMOVAL
The resolution state of a module meaning the module is marked as deprecated and will be removed in a future release.- See Also:
- Constant Field Values
-
RESOLUTION_WARN_INCUBATING
The resolution state of a module meaning the module is not yet standardized, so in incubating mode.- See Also:
- Constant Field Values
-
resolution
The resolution state of the module. Must be one ofRESOLUTION_WARN_DEPRECATED,RESOLUTION_WARN_DEPRECATED_FOR_REMOVAL, andRESOLUTION_WARN_INCUBATING.
-
-
Constructor Details
-
ModuleResolutionAttribute
Constructs a newModuleResolutionAttribute.- Parameters:
resolution- the resolution state of the module. Must be one ofRESOLUTION_WARN_DEPRECATED,RESOLUTION_WARN_DEPRECATED_FOR_REMOVAL, andRESOLUTION_WARN_INCUBATING.
-
ModuleResolutionAttribute
public ModuleResolutionAttribute()Constructs an emptyModuleResolutionAttribute. This object can be passed as a prototype to theClassReader.accept(ClassVisitor, Attribute[], int)method.
-