Class ElementPairVisitor<R>

All Implemented Interfaces:
ElementVisitor<R,Element>

public class ElementPairVisitor<R> extends SimpleElementVisitor7<R,Element>
Can be used by various checks and problem transformations to work with two elements of the same type.

Typical usage:

 
     javax.lang.model.element.Element e1 = ...;
     javax.lang.model.element.Element e2 = ...;

     e1.accept(new ElementPairVisitor<Void>() {

         protected Void visitType(TypeElement e1, TypeElement e2) {
             ...
         }
     }, e2);
 
 
Since:
0.1
Author:
Lukas Krejci
See Also: