Why this method is public and where is javaDoc??