public class SignatureInfo extends Attribute
| Constructor and Description |
|---|
SignatureInfo(ParameterList param,
Type type,
ClassFile cf)
Konstruktor fuer eine Methodensignatur.
|
SignatureInfo(Type type,
ClassFile cf)
Konstruktor fuer eine Signatur einer Instanzvariable.
|
SignatureInfo(java.util.Vector<Type> vec,
UsedId superclass,
java.util.Vector<UsedId> superIf,
ClassFile cf)
Konstruktor fuer die Signatur einer Klasse bzw. eines Interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
void |
codegen(ClassFile classfile,
java.io.FileOutputStream f) |
int |
get_attributes_length() |
static boolean |
needsSignature(ParameterList param,
Type type)
Gibt zurueck, ob eine Signaturdefinition fuer die Methode erforderlich ist.
|
static boolean |
needsSignature(Type typ)
Gibt zurueck, ob eine Signaturdefinition fuer den Typ erforderlich ist.
|
get_attribute_name_index, set_attribute_name_indexpublic SignatureInfo(java.util.Vector<Type> vec, UsedId superclass, java.util.Vector<UsedId> superIf, ClassFile cf)
public SignatureInfo(Type type, ClassFile cf) throws JVMCodeException
JVMCodeExceptionpublic SignatureInfo(ParameterList param, Type type, ClassFile cf) throws JVMCodeException
JVMCodeExceptionpublic void codegen(ClassFile classfile, java.io.FileOutputStream f) throws JVMCodeException, java.io.IOException
codegen in class AttributeJVMCodeExceptionjava.io.IOExceptionpublic static boolean needsSignature(Type typ)
public static boolean needsSignature(ParameterList param, Type type)
public int get_attributes_length()
get_attributes_length in class Attribute