code: public RequiredOrientResource[] getRequiredOrientResources(Class<?> clazz)
  	{
  		RequiredOrientResources resources = clazz.getAnnotation(RequiredOrientResources.class);
  		RequiredOrientResource singleResource = clazz.getAnnotation(RequiredOrientResource.class);
  		if(resources==null && singleResource==null) return null;
  		if(resources!=null && singleResource==null) return resources.value();
  		if(resources==null && singleResource!=null) return new RequiredOrientResource[]{singleResource};
  		if(resources!=null && singleResource!=null)
  		{
  			RequiredOrientResource[] ret = new RequiredOrientResource[resources.value().length+1];
  			ret[0]=singleResource;
  			System.arraycopy(resources.value(), 0, ret, 1, resources.value().length);
  			return ret;
  		}
  		return null;
  	}
docs: Extract {@link RequiredOrientResource}s from a Class
  @param clazz Class to extract {@link RequiredOrientResource}s from
  @return statically defined {@link RequiredOrientResource}s on specified class