org.jetbrains.jet.codegen
Class AnnotationCodegen

java.lang.Object
  extended by org.jetbrains.jet.codegen.AnnotationCodegen

public abstract class AnnotationCodegen
extends java.lang.Object


Field Summary
static FqName VOLATILE_FQ_NAME
           
 
Method Summary
static AnnotationCodegen forAnnotationDefaultValue(org.jetbrains.asm4.MethodVisitor mv, JetTypeMapper mapper)
           
static AnnotationCodegen forClass(org.jetbrains.asm4.ClassVisitor cv, JetTypeMapper mapper)
           
static AnnotationCodegen forField(org.jetbrains.asm4.FieldVisitor fv, JetTypeMapper mapper)
           
static AnnotationCodegen forMethod(org.jetbrains.asm4.MethodVisitor mv, JetTypeMapper mapper)
           
static AnnotationCodegen forParameter(int parameter, org.jetbrains.asm4.MethodVisitor mv, JetTypeMapper mapper)
           
 void genAnnotations(Annotated annotated)
           
 void generateAnnotationDefaultValue(CompileTimeConstant value, JetType expectedType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VOLATILE_FQ_NAME

public static final FqName VOLATILE_FQ_NAME
Method Detail

genAnnotations

public void genAnnotations(Annotated annotated)

generateAnnotationDefaultValue

public void generateAnnotationDefaultValue(@NotNull
                                           CompileTimeConstant value,
                                           @NotNull
                                           JetType expectedType)

forClass

public static AnnotationCodegen forClass(org.jetbrains.asm4.ClassVisitor cv,
                                         JetTypeMapper mapper)

forMethod

public static AnnotationCodegen forMethod(org.jetbrains.asm4.MethodVisitor mv,
                                          JetTypeMapper mapper)

forField

public static AnnotationCodegen forField(org.jetbrains.asm4.FieldVisitor fv,
                                         JetTypeMapper mapper)

forParameter

public static AnnotationCodegen forParameter(int parameter,
                                             org.jetbrains.asm4.MethodVisitor mv,
                                             JetTypeMapper mapper)

forAnnotationDefaultValue

public static AnnotationCodegen forAnnotationDefaultValue(org.jetbrains.asm4.MethodVisitor mv,
                                                          JetTypeMapper mapper)