Naming convention when casually referring to methods in Java
Posted
by polygenelubricants
on Stack Overflow
See other posts from Stack Overflow
or by polygenelubricants
Published on 2010-04-04T13:23:39Z
Indexed on
2010/04/04
13:33 UTC
Read the original article
Hit count: 472
java
|naming-conventions
Is there a Java convention to refer to methods, static and otherwise, any specific one or the whole overload, etc?
e.g.
String.valueOf- referring to all overloads ofstatic valueOfString.valueOf(char)- specific overload, formal parameter name omittable?
String.split- looks like a static method, but actually an instance method- Maybe
aString.splitis the convention?
- Maybe
String#split- I've seen this HTML anchor form too, which I guess is javadoc-influenced
Is there an authoritative recommendation on how to clearly refer to these things?
© Stack Overflow or respective owner