S
Stefan Ram
Sometimes, I was being criticized for making up non-standard
terminology. If there is a standard term for the following,
then please tell me so:
In
java.lang.Thread . dumpStack()
java.lang.System.out . print( 2 )
I do call the source code part in front of the last dot a
/context/.
I do call the simple name between the last dot and the first
parentheses a /verb/. (So a verb does never contain a dot.)
(I do /not/ call this »method name«, since I want to exclude
texts with dots, like »>java.lang.Thread.dumpStack«, which
are also method names in Java AFAIK.)
I do call the simple call after the last dot up to the last
parentheses a /sentence/.
(I do /not/ call this »[method ]call«, since the whole lines
including the dots are also called »[method ]calls« or
»[method ]invocations« in Java.)
context sentence
..------------------. .------------.
java.lang.Thread . dumpStack()
java.lang.System.out . print ( 2 )
'-------'
verb
'------------------------------'
not a verb, because of dots
'-----------------------------------'
not a sentence, because of dots
Ok, »context« /is/ a standard JLS term, but »verb« is less
so (although sometimes used in OOP, IIRC), and »sentence«
was invented by me, but seems natural, once one accepts »verb«.
However, if there are already standard Java terms for this,
I'd gladly use them.
terminology. If there is a standard term for the following,
then please tell me so:
In
java.lang.Thread . dumpStack()
java.lang.System.out . print( 2 )
I do call the source code part in front of the last dot a
/context/.
I do call the simple name between the last dot and the first
parentheses a /verb/. (So a verb does never contain a dot.)
(I do /not/ call this »method name«, since I want to exclude
texts with dots, like »>java.lang.Thread.dumpStack«, which
are also method names in Java AFAIK.)
I do call the simple call after the last dot up to the last
parentheses a /sentence/.
(I do /not/ call this »[method ]call«, since the whole lines
including the dots are also called »[method ]calls« or
»[method ]invocations« in Java.)
context sentence
..------------------. .------------.
java.lang.Thread . dumpStack()
java.lang.System.out . print ( 2 )
'-------'
verb
'------------------------------'
not a verb, because of dots
'-----------------------------------'
not a sentence, because of dots
Ok, »context« /is/ a standard JLS term, but »verb« is less
so (although sometimes used in OOP, IIRC), and »sentence«
was invented by me, but seems natural, once one accepts »verb«.
However, if there are already standard Java terms for this,
I'd gladly use them.