private boolean extendsVariableContext(final TypeElement typeElement) {
        boolean extendsVariableContext = false;
        for (TypeMirror extendingInterface : typeElement.getInterfaces()) {
            if (extendingInterface.toString().equals(VariableContext.class.getCanonicalName())) {
                extendsVariableContext = true;
            }
        }
        return extendsVariableContext;
    }
private boolean extendsVariableContext ( final TypeElement typeElement ) { boolean extendsVariableContext = false ; for ( TypeMirror extendingInterface : typeElement . getInterfaces ( ) ) { if ( extendingInterface . toString ( ) . equals ( VariableContext . class . getCanonicalName ( ) ) ) { extendsVariableContext = true ; } } return extendsVariableContext ; }
Check whether type element extends {@link VariableContext}