Package io.ebean.enhance.asm.commons
Class ModuleTargetAttribute
java.lang.Object
io.ebean.enhance.asm.Attribute
io.ebean.enhance.asm.commons.ModuleTargetAttribute
public final class ModuleTargetAttribute extends Attribute
A ModuleTarget attribute. This attribute is specific to the OpenJDK and may change in the future.
- Author:
- Remi Forax
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ModuleTargetAttribute()Constructs an emptyModuleTargetAttribute.ModuleTargetAttribute(String platform)Constructs a newModuleTargetAttribute. -
Method Summary
Methods inherited from class io.ebean.enhance.asm.Attribute
isCodeAttribute, isUnknown
-
Field Details
-
platform
The name of the platform on which the module can run.
-
-
Constructor Details
-
ModuleTargetAttribute
Constructs a newModuleTargetAttribute.- Parameters:
platform- the name of the platform on which the module can run.
-
ModuleTargetAttribute
public ModuleTargetAttribute()Constructs an emptyModuleTargetAttribute. This object can be passed as a prototype to theClassReader.accept(ClassVisitor, Attribute[], int)method.
-