public final class ModuleTargetAttribute
extends org.objectweb.asm.Attribute
Modifier and Type | Field and Description |
---|---|
java.lang.String |
platform |
Constructor and Description |
---|
ModuleTargetAttribute()
Constructs an empty attribute that can be used as prototype to be passed as argument of the method
ClassReader.accept(org.objectweb.asm.ClassVisitor, Attribute[], int) . |
ModuleTargetAttribute(java.lang.String platform)
Constructs an attribute with a platform name.
|
Modifier and Type | Method and Description |
---|---|
protected org.objectweb.asm.Attribute |
read(org.objectweb.asm.ClassReader cr,
int off,
int len,
char[] buf,
int codeOff,
org.objectweb.asm.Label[] labels) |
protected org.objectweb.asm.ByteVector |
write(org.objectweb.asm.ClassWriter cw,
byte[] code,
int len,
int maxStack,
int maxLocals) |
public ModuleTargetAttribute(java.lang.String platform)
platform
- the platform name on which the module can run.public ModuleTargetAttribute()
ClassReader.accept(org.objectweb.asm.ClassVisitor, Attribute[], int)
.protected org.objectweb.asm.Attribute read(org.objectweb.asm.ClassReader cr, int off, int len, char[] buf, int codeOff, org.objectweb.asm.Label[] labels)
read
in class org.objectweb.asm.Attribute
protected org.objectweb.asm.ByteVector write(org.objectweb.asm.ClassWriter cw, byte[] code, int len, int maxStack, int maxLocals)
write
in class org.objectweb.asm.Attribute