Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.enhancer
Class EmbeddableVisitor

    java.lang.Object
      ClassAdapter
          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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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