com.ikokoon.serenity.instrumentation.dependency
Class DependencyFieldAdapter
java.lang.Object
com.ikokoon.serenity.instrumentation.dependency.DependencyFieldAdapter
- All Implemented Interfaces:
- org.objectweb.asm.FieldVisitor
public class DependencyFieldAdapter
- extends java.lang.Object
- implements org.objectweb.asm.FieldVisitor
Visits and collects the dependency metrics for a field in a class.
- Since:
- 09.12.09
- Version:
- 01.00
- Author:
- Michael Couck
|
Constructor Summary |
DependencyFieldAdapter(org.objectweb.asm.FieldVisitor visitor,
java.lang.String className,
java.lang.String description,
java.lang.String signature)
Constructor initialises a DependencyFieldAdapter and takes the parent field visitor, the name of the class the field is in, the
description of the field in byte code and the signature in byte code style. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DependencyFieldAdapter
public DependencyFieldAdapter(org.objectweb.asm.FieldVisitor visitor,
java.lang.String className,
java.lang.String description,
java.lang.String signature)
- Constructor initialises a
DependencyFieldAdapter and takes the parent field visitor, the name of the class the field is in, the
description of the field in byte code and the signature in byte code style.
- Parameters:
visitor - the parent field visitorclassName - the name of the class he field is indescription - the byte code description of the fieldsignature - the byte code signature of the field
visitAnnotation
public org.objectweb.asm.AnnotationVisitor visitAnnotation(java.lang.String desc,
boolean visible)
-
- Specified by:
visitAnnotation in interface org.objectweb.asm.FieldVisitor
visitAttribute
public void visitAttribute(org.objectweb.asm.Attribute attr)
-
- Specified by:
visitAttribute in interface org.objectweb.asm.FieldVisitor
visitEnd
public void visitEnd()
-
- Specified by:
visitEnd in interface org.objectweb.asm.FieldVisitor
Copyright © 2010. All Rights Reserved.