public final class ModuleTargetAttribute
extends org.objectweb.asm.Attribute
Modifier and Type | Field and Description |
---|---|
java.lang.String |
platform
The name of the platform on which the module can run.
|
Constructor and Description |
---|
ModuleTargetAttribute()
Constructs an empty
ModuleTargetAttribute . |
ModuleTargetAttribute(java.lang.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 java.lang.String platform
public ModuleTargetAttribute(java.lang.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.Attribute
protected org.objectweb.asm.ByteVector write(org.objectweb.asm.ClassWriter classWriter, byte[] code, int codeLength, int maxStack, int maxLocals)
write
in class org.objectweb.asm.Attribute