public final class ModuleTargetAttribute extends Attribute
| Modifier and Type | Field and Description |
|---|---|
String |
platform
The name of the platform on which the module can run.
|
| Constructor and Description |
|---|
ModuleTargetAttribute()
Constructs an empty
ModuleTargetAttribute. |
ModuleTargetAttribute(String platform)
Constructs a new
ModuleTargetAttribute. |
public ModuleTargetAttribute(String platform)
ModuleTargetAttribute.platform - the name of the platform on which the module can run.public ModuleTargetAttribute()
ModuleTargetAttribute. This object can be passed as a prototype to
the ClassReader.accept(ClassVisitor, Attribute[], int) method.Copyright © 2019. All rights reserved.