public final class ModuleTargetAttribute
extends org.objectweb.asm.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. |
| Modifier and Type | Method and Description |
|---|---|
protected org.objectweb.asm.Attribute |
read(org.objectweb.asm.ClassReader classReader,
int offset,
int length,
char[] charBuffer,
int codeOffset,
org.objectweb.asm.Label[] labels) |
protected org.objectweb.asm.ByteVector |
write(org.objectweb.asm.ClassWriter classWriter,
byte[] code,
int codeLength,
int maxStack,
int maxLocals) |
public String platform
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(org.objectweb.asm.ClassVisitor, Attribute[], int) method.protected org.objectweb.asm.Attribute read(org.objectweb.asm.ClassReader classReader,
int offset,
int length,
char[] charBuffer,
int codeOffset,
org.objectweb.asm.Label[] labels)
read in class org.objectweb.asm.Attributeprotected org.objectweb.asm.ByteVector write(org.objectweb.asm.ClassWriter classWriter,
byte[] code,
int codeLength,
int maxStack,
int maxLocals)
write in class org.objectweb.asm.AttributeCopyright © 2021. All rights reserved.