Package io.ebean.enhance.asm.commons
Class ModuleResolutionAttribute
java.lang.Object
io.ebean.enhance.asm.Attribute
io.ebean.enhance.asm.commons.ModuleResolutionAttribute
A ModuleResolution attribute. This attribute is specific to the OpenJDK and may change in the
future.
- Author:
- Remi Forax
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe resolution state of the module.static final intThe resolution state of a module meaning that the module is not available from the class-path by default.static final intThe resolution state of a module meaning the module is marked as deprecated.static final intThe resolution state of a module meaning the module is marked as deprecated and will be removed in a future release.static final intThe resolution state of a module meaning the module is not yet standardized, so in incubating mode. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs 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:
-
RESOLUTION_WARN_DEPRECATED
The resolution state of a module meaning the module is marked as deprecated.- See Also:
-
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:
-
RESOLUTION_WARN_INCUBATING
The resolution state of a module meaning the module is not yet standardized, so in incubating mode.- See Also:
-
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.
-