站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

CheckFieldAdapter (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.asm.util
Class CheckFieldAdapter

java.lang.Object
  extended by org.drools.asm.util.CheckFieldAdapter
All Implemented Interfaces:
FieldVisitor

public class CheckFieldAdapter
extends Object
implements FieldVisitor

A FieldVisitor that checks that its methods are properly used.


Constructor Summary
CheckFieldAdapter(FieldVisitor fv)
           
 
Method Summary
 AnnotationVisitor visitAnnotation(String desc, boolean visible)
          Visits an annotation of the field.
 void visitAttribute(Attribute attr)
          Visits a non standard attribute of the field.
 void visitEnd()
          Visits the end of the field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckFieldAdapter

public CheckFieldAdapter(FieldVisitor fv)
Method Detail

visitAnnotation

public AnnotationVisitor visitAnnotation(String desc,
                                         boolean visible)
Description copied from interface: FieldVisitor
Visits an annotation of the field.

Specified by:
visitAnnotation in interface FieldVisitor
Parameters:
desc - the class descriptor of the annotation class.
visible - true if the annotation is visible at runtime.
Returns:
a non null visitor to visit the annotation values.

visitAttribute

public void visitAttribute(Attribute attr)
Description copied from interface: FieldVisitor
Visits a non standard attribute of the field.

Specified by:
visitAttribute in interface FieldVisitor
Parameters:
attr - an attribute.

visitEnd

public void visitEnd()
Description copied from interface: FieldVisitor
Visits the end of the field. This method, which is the last one to be called, is used to inform the visitor that all the annotations and attributes of the field have been visited.

Specified by:
visitEnd in interface FieldVisitor


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.