public static boolean isAbsoluteImageRef(String src){
  return src.startsWith("{@docRoot}");
}

public static boolean isAbsoluteImageRef ( String src ) { return src . startsWith ( "{@docRoot}" ) ; }
tests if a reference in a javadoc comment is absolute
