Interface ILanguageNames
- All Known Implementing Classes:
JavaNames
public interface ILanguageNames
Interface to create programming language specific names from VM names.
-
Method Summary
Modifier and TypeMethodDescriptiongetClassName(String vmname, String vmsignature, String vmsuperclass, String[] vminterfaces) Calculates the language specific name of a class.getMethodName(String vmclassname, String vmmethodname, String vmdesc, String vmsignature) Calculates the language specific name of a method.getPackageName(String vmname) Calculates the language specific name of a package.getQualifiedClassName(String vmname) Calculates the language specific qualified name of a class.getQualifiedMethodName(String vmclassname, String vmmethodname, String vmdesc, String vmsignature) Calculates the language specific fully qualified name of a method.
-
Method Details
-
getPackageName
-
getClassName
Calculates the language specific name of a class.- Parameters:
vmname- vm name of a classvmsignature- vm signature of the class (may benull)vmsuperclass- vm name of the superclass of the class (may benull)vminterfaces- vm names of interfaces of the class (may benull)- Returns:
- language specific notation of the class
-
getQualifiedClassName
-
getMethodName
Calculates the language specific name of a method.- Parameters:
vmclassname- vm name of a containing classvmmethodname- vm name of the methodvmdesc- vm method descriptorvmsignature- vm signature of the method (may benull)- Returns:
- language specific notation for the method
-
getQualifiedMethodName
String getQualifiedMethodName(String vmclassname, String vmmethodname, String vmdesc, String vmsignature) Calculates the language specific fully qualified name of a method.- Parameters:
vmclassname- vm name of a containing classvmmethodname- vm name of the methodvmdesc- vm method descriptorvmsignature- vm signature of the method (may benull)- Returns:
- language specific notation for the method
-