code: public static boolean annotationTypeMatches(Class<? extends Annotation> type, JavacNode node) {
  		if (node.getKind() != Kind.ANNOTATION) return false;
  		return typeMatches(type, node, ((JCAnnotation) node.get()).annotationType);
  	}
docs: Checks if the Annotation AST Node provided is likely to be an instance of the provided annotation type.
  
  @param type An actual annotation type, such as {@code lombok.Getter.class}.
  @param node A Lombok AST node representing an annotation in source code.