I see this in a stack trace:
myorg.vignettemodules.customregistration.NewsCategoryVAPDAO.getEmailContentByID(I)Lmyorg/pushemail/model/EmailContent;
What does the ‘(I)L‘ mean?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It means the method takes an
int, and returnsmyorg.pushemail.model.EmailContentThe string from ‘L’ to ‘;’ is one type descriptor, for the return type. The stuff inside parentheses are the method parameters (in this case, there’s just one).
These type descriptors are defined as part of the Java Virtual Machine Specification, in section 4.3.2. Table 4.3-A shows all of the codes used. When a class is compiled, descriptors of this form are used to specify the signature of methods and the types of fields and variables.
In Java serialization, method descriptors are part of the information that is hashed to form the default
serialVersionUIDfor aSerializableclass.In RMI, method descriptors are hashed, and the result is used to identify which method is being invoked in the remote interface.