code: public static boolean isEnum(Element element) {
  		if (element == null) {
  			return false;
  		} else if (element.getKind() == ElementKind.ENUM) {
  			return true;
  		} else {
  			return false;
  		}
  	}
docs: Tests if the given element is a kind of {@link Enum}.
  @param element
  @return true if the element passed is kind of {@link Enum}, false otherwise.
  @author vvakame