com.jeffpalm.javaparser
Class NameFactory

java.lang.Object
  extended by com.jeffpalm.javaparser.NameFactory

public class NameFactory
extends java.lang.Object

Creates Name objects from strings

Author:
Chris Seguin

Method Summary
static ASTName getName(java.lang.String packageName, java.lang.String className)
          Creates a ASTName object based on the packageName and the className.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public static ASTName getName(java.lang.String packageName,
                              java.lang.String className)
Creates a ASTName object based on the packageName and the className. If the className is null, it is without a class name.

Parameters:
packageName - the package name
className - the class name or null
Returns:
The ASTName value