com.ikokoon.serenity.instrumentation.dependency
Class DependencyAnnotationAdapter

java.lang.Object
  extended by com.ikokoon.serenity.instrumentation.dependency.DependencyAnnotationAdapter
All Implemented Interfaces:
org.objectweb.asm.AnnotationVisitor

public class DependencyAnnotationAdapter
extends java.lang.Object
implements org.objectweb.asm.AnnotationVisitor

This class visits the annotation description collecting the dependency information on the class that defines the annotation.

Since:
21.11.09
Version:
01.00
Author:
Michael Couck

Constructor Summary
DependencyAnnotationAdapter(org.objectweb.asm.AnnotationVisitor annotationVisitor, java.lang.String className, java.lang.String description)
          Constructor initialises a DependencyAnnotationAdapter, takes the annotation visitor parent, the class name that uses the annotation and the description of the annotation.
 
Method Summary
 void visit(java.lang.String name, java.lang.Object value)
          
 org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String name, java.lang.String desc)
          
 org.objectweb.asm.AnnotationVisitor visitArray(java.lang.String name)
          
 void visitEnd()
          
 void visitEnum(java.lang.String name, java.lang.String desc, java.lang.String value)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DependencyAnnotationAdapter

public DependencyAnnotationAdapter(org.objectweb.asm.AnnotationVisitor annotationVisitor,
                                   java.lang.String className,
                                   java.lang.String description)
Constructor initialises a DependencyAnnotationAdapter, takes the annotation visitor parent, the class name that uses the annotation and the description of the annotation.

Parameters:
annotationVisitor - the parent annotation visitor
className - the class name that uses the annotation
description - the description of the annotation
Method Detail

visit

public void visit(java.lang.String name,
                  java.lang.Object value)

Specified by:
visit in interface org.objectweb.asm.AnnotationVisitor

visitAnnotation

public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String name,
                                                           java.lang.String desc)

Specified by:
visitAnnotation in interface org.objectweb.asm.AnnotationVisitor

visitArray

public org.objectweb.asm.AnnotationVisitor visitArray(java.lang.String name)

Specified by:
visitArray in interface org.objectweb.asm.AnnotationVisitor

visitEnd

public void visitEnd()

Specified by:
visitEnd in interface org.objectweb.asm.AnnotationVisitor

visitEnum

public void visitEnum(java.lang.String name,
                      java.lang.String desc,
                      java.lang.String value)

Specified by:
visitEnum in interface org.objectweb.asm.AnnotationVisitor


Copyright © 2010. All Rights Reserved.