Author shamanzc
Recipients shamanzc
Date 2010-03-23.15:22:20
SpamBayes Score 1.95385e-06
Marked as misclassified No
Message-id <>
This is bug or non-documented feature?
  When importing some java class that have methods in following form:
public void getABsomething();
public void setABsomething(int a);
  in other words the method name begins from "get" or "set", than two capital letters and no parameters for "get" and one parameter for "set",  it creates "ABsomething" in class "directory".
Java source:
    public void setPTT(boolean keyUp) {
        eventListener.putEvent(new EventSetPTT(keyUp));

    public void getFFnothingelsematters() {

print dir(ClassName) output:
['CallState', 'FFnothingelsematters', 'PTT', 'PTTState', 'PttState', 'RadioCallType', '__class__', '__delattr__', '__doc__', '__eq__', '__getattribute__', '__hash__', '__init__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__str__', 'addActivityListener', 'addCallListener', 'addMessageListener', 'addPTTListener', 'addPingListener', 'addRegistrationListener', 'callType', 'class', 'clearGroupCallGroupID', 'destroy', 'equals', 'forcePTT', 'getCallType', 'getClass', 'getFFnothingelsematters', 'getPTTState', 'getRadio', 'hashCode', 'makeGroupCall', 'makePrivateCall', 'makeRadioAlert', 'notify', 'notifyAll', 'pingRadio', 'radio', 'removeActivityListener', 'removeCallListener', 'removeMessageListener', 'removePTTListener', 'removePingListener', 'removeRegistrationListener', 'run', 'setPTT', 'toString', 'wait']
  Pay attention to "getFFnothingelsematters" and "FFnothingelsematters", the same as "setPTT" and "PTT".
  Ofcource "PTT" and "FFnothingelsematters" was surelly not defined in java code (nor was found in compiled .class file).
Date User Action Args
2010-03-23 15:22:22shamanzcsetrecipients: + shamanzc
2010-03-23 15:22:22shamanzcsetmessageid: <>
2010-03-23 15:22:22shamanzclinkissue1578 messages
2010-03-23 15:22:20shamanzccreate