org.jacoco.report
Class JavaNames

java.lang.Object
  extended by org.jacoco.report.JavaNames
All Implemented Interfaces:
ILanguageNames

public class JavaNames
extends Object
implements ILanguageNames

Names for the Java language.

Version:
$Revision: $
Author:
Marc R. Hoffmann

Constructor Summary
JavaNames()
           
 
Method Summary
 String getClassName(String vmname)
          Calculates the language specific name of a class.
 String getMethodName(String vmclassname, String vmmethodname, String vmdesc)
          Calculates the language specific name of a method.
 String getPackageName(String vmname)
          Calculates the language specific name of a package.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaNames

public JavaNames()
Method Detail

getPackageName

public String getPackageName(String vmname)
Description copied from interface: ILanguageNames
Calculates the language specific name of a package.

Specified by:
getPackageName in interface ILanguageNames
Parameters:
vmname - vm name of a package
Returns:
language specific notation for the package

getClassName

public String getClassName(String vmname)
Description copied from interface: ILanguageNames
Calculates the language specific name of a class.

Specified by:
getClassName in interface ILanguageNames
Parameters:
vmname - vm name of a class
Returns:
language specific notation of the class

getMethodName

public String getMethodName(String vmclassname,
                            String vmmethodname,
                            String vmdesc)
Description copied from interface: ILanguageNames
Calculates the language specific name of a method.

Specified by:
getMethodName in interface ILanguageNames
Parameters:
vmclassname - vm name of a containing class
vmmethodname - vm name of the method
vmdesc - vm parameter description of the method
Returns:
language specific notation for the method