javax.lang.model.util.SimpleElementVisitor7 Java Examples

The following examples show how to use javax.lang.model.util.SimpleElementVisitor7. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ExceptionsThrownChanged.java    From revapi with Apache License 2.0 5 votes vote down vote up
@Override
public TypeElement visitDeclared(DeclaredType t, Void ignored) {
    return t.asElement().accept(new SimpleElementVisitor7<TypeElement, Void>() {
        @Override
        public TypeElement visitType(TypeElement e, Void aVoid) {
            return e;
        }
    }, null);
}