Code example for AnnotatedElement

Methods: getAnnotation

		protected boolean allowAnyChild(AnnotatedElement el) {
			if (el == null) {
				return false; 
			XmlElement ann = (XmlElement) el.getAnnotation(XmlElement.class);
			if (ann != null) {
				return ann.anyChild();
			return false; 
		 * Get hint for matching class to xml node. If annotated with XmlElement, 
		 * the `name` argument is used, otherwise the simple name of class is used. 
		 * @param cls 
		 * @return 
Stop searching for code, let great code find you!  Add Codota to your java IDE