public class CreateClassUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_CLASS_TEMPLATE |
Modifier and Type | Method and Description |
---|---|
static PsiClass |
createClassFromCustomTemplate(PsiDirectory classDirectory,
Module module,
java.lang.String className,
java.lang.String templateName) |
static PsiClass |
createClassNamed(java.lang.String newClassName,
java.util.Map classProperties,
java.lang.String templateName,
PsiDirectory directory) |
static PsiClass |
createClassNamed(java.lang.String newClassName,
java.lang.String templateName,
PsiDirectory directory) |
static java.lang.String |
extractClassName(java.lang.String fqName) |
static java.lang.String |
extractPackage(java.lang.String fqName) |
static java.lang.String |
makeFQName(java.lang.String aPackage,
java.lang.String className) |
public static final java.lang.String DEFAULT_CLASS_TEMPLATE
public static java.lang.String extractClassName(java.lang.String fqName)
public static java.lang.String extractPackage(java.lang.String fqName)
public static java.lang.String makeFQName(java.lang.String aPackage, java.lang.String className)
public static PsiClass createClassNamed(java.lang.String newClassName, java.lang.String templateName, PsiDirectory directory) throws IncorrectOperationException
IncorrectOperationException
public static PsiClass createClassNamed(java.lang.String newClassName, java.util.Map classProperties, java.lang.String templateName, PsiDirectory directory) throws IncorrectOperationException
IncorrectOperationException
public static PsiClass createClassFromCustomTemplate(PsiDirectory classDirectory, Module module, java.lang.String className, java.lang.String templateName)