/** * Whether this adapter can adapt the specified type. * * @param type The type. * @return Whether this adapter can adapt the specified type. */ public boolean canAdapt(TypeMirror type, EnunciateContext context) { return context.getProcessingEnvironment().getTypeUtils().isAssignable(type, getAdaptedType()); }
/** * Whether this adapter can adapt the specified type. * * @param type The type. * @return Whether this adapter can adapt the specified type. */ public boolean canAdapt(TypeMirror type, EnunciateContext context) { return context.getProcessingEnvironment().getTypeUtils().isAssignable(type, getAdaptedType()); }