code: private static AccessType getAccessTypeInCaseElementIsRoot(TypeElement searchedElement, Context context) {
  		List<? extends Element> myMembers = searchedElement.getEnclosedElements();
  		for ( Element subElement : myMembers ) {
  			List<? extends AnnotationMirror> entityAnnotations =
  					context.getElementUtils().getAllAnnotationMirrors( subElement );
  			for ( Object entityAnnotation : entityAnnotations ) {
  				AnnotationMirror annotationMirror = (AnnotationMirror) entityAnnotation;
  				if ( isIdAnnotation( annotationMirror ) ) {
  					return getAccessTypeOfIdAnnotation( subElement );
  				}
  			}
  		}
  		return null;
  	}
docs: Iterates all elements of a type to check whether they contain the id annotation. If so the placement of this
  annotation determines the access type
  
  @param searchedElement the type to be searched
  @param context The global execution context
  
  @return returns the access type of the element annotated with the id annotation. If no element is annotated
  {@code null} is returned.