public static class TypeParameterInfo.New extends java.lang.Object implements TypeParameterInfo
TypeParameterInfo.Existing, TypeParameterInfo.New
Constructor and Description |
---|
New(PsiClass aClass,
java.lang.String name,
java.lang.String defaultValue,
java.lang.String boundValue) |
New(java.lang.String name,
PsiType aType,
PsiType boundValue) |
Modifier and Type | Method and Description |
---|---|
CanonicalTypes.Type |
getDefaultValue() |
java.lang.String |
getName(PsiTypeParameter[] parameters) |
PsiTypeParameter |
getTypeParameter(PsiTypeParameter[] parameters,
Project project) |
void |
setBoundValue(PsiType aType) |
void |
setDefaultValue(PsiType aType) |
void |
setNewName(java.lang.String newName) |
public New(PsiClass aClass, java.lang.String name, java.lang.String defaultValue, java.lang.String boundValue) throws IncorrectOperationException
IncorrectOperationException
public void setNewName(java.lang.String newName)
public void setBoundValue(PsiType aType)
public void setDefaultValue(PsiType aType)
public java.lang.String getName(PsiTypeParameter[] parameters)
getName
in interface TypeParameterInfo
public PsiTypeParameter getTypeParameter(PsiTypeParameter[] parameters, Project project)
getTypeParameter
in interface TypeParameterInfo
public CanonicalTypes.Type getDefaultValue()