Top Fields Constructors Methods
org.python.expose.generate

public abstract Class ExposedFieldFinder

extends FieldVisitor
implements PyTypes
Class Inheritance
All Implemented Interfaces
org.python.expose.generate.PyTypes
Imports
org.objectweb.asm.AnnotationVisitor, .Attribute, .FieldVisitor, .Opcodes

Field Summary

Modifier and TypeField and Description
private FieldVisitor
private String
private String
Inherited from org.objectweb.asm.FieldVisitor:
apifv

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract void
public abstract void
public AnnotationVisitor
visitAnnotation(String
the class descriptor of the annotation class.
desc
,
boolean
true if the annotation is visible at runtime.
visible
)

Overrides org.objectweb.asm.FieldVisitor.visitAnnotation.

Visits an annotation of the field.

public void
visitAttribute(Attribute
an attribute.
attr
)

Overrides org.objectweb.asm.FieldVisitor.visitAttribute.

Visits a non standard attribute of the field.

public void
visitEnd()

Overrides org.objectweb.asm.FieldVisitor.visitEnd.

Visits the end of the field.

Inherited from org.objectweb.asm.FieldVisitor:
getDelegatevisitTypeAnnotation

Field Detail

delegateback to summary
private FieldVisitor delegate
docback to summary
private String doc
fieldNameback to summary
private String fieldName

Constructor Detail

ExposedFieldFinderback to summary
public ExposedFieldFinder(String name, FieldVisitor delegate)

Method Detail

exposeAsGetback to summary
public abstract void exposeAsGet(String name, String doc)
exposeAsSetback to summary
public abstract void exposeAsSet(String name)
visitAnnotationback to summary
public AnnotationVisitor visitAnnotation(String desc, boolean visible)

Overrides org.objectweb.asm.FieldVisitor.visitAnnotation.

Doc from org.objectweb.asm.FieldVisitor.visitAnnotation.

Visits an annotation of the field.

Parameters
desc:String

the class descriptor of the annotation class.

visible:boolean

true if the annotation is visible at runtime.

Returns:AnnotationVisitor

a visitor to visit the annotation values, or null if this visitor is not interested in visiting this annotation.

visitAttributeback to summary
public void visitAttribute(Attribute attr)

Overrides org.objectweb.asm.FieldVisitor.visitAttribute.

Doc from org.objectweb.asm.FieldVisitor.visitAttribute.

Visits a non standard attribute of the field.

Parameters
attr:Attribute

an attribute.

visitEndback to summary
public void visitEnd()

Overrides org.objectweb.asm.FieldVisitor.visitEnd.

Doc from org.objectweb.asm.FieldVisitor.visitEnd.

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.