org.apache.cayenne.enhancer
Class EmbeddableVisitor

java.lang.Object
  extended by ClassAdapter
      extended by org.apache.cayenne.enhancer.EmbeddableVisitor

public class EmbeddableVisitor
extends ClassAdapter

Enhances classes passed through the visitor to add embeddable fields and methods needed by Cayenne.

Since:
3.0

Field Summary
protected  boolean checkReserved
           
protected  EnhancementHelper helper
           
protected  Collection<String> reservedFieldNames
           
 
Constructor Summary
EmbeddableVisitor(ClassVisitor visitor)
           
 
Method Summary
 void visitEnd()
           
 FieldVisitor visitField(int access, String name, String desc, String signature, Object value)
          Checks that no double enhancement happens.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

helper

protected EnhancementHelper helper

reservedFieldNames

protected Collection<String> reservedFieldNames

checkReserved

protected boolean checkReserved
Constructor Detail

EmbeddableVisitor

public EmbeddableVisitor(ClassVisitor visitor)
Method Detail

visitField

public FieldVisitor visitField(int access,
                               String name,
                               String desc,
                               String signature,
                               Object value)
Checks that no double enhancement happens.


visitEnd

public void visitEnd()


Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.