public class JavaSourceUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static TreeElement |
addParenthToReplacedChild(ASTNode child,
TreeElement newChild,
PsiManager manager) |
static void |
addSeparatingComma(CompositeElement element,
ASTNode child,
TokenSet listTypes) |
static void |
deleteSeparatingComma(CompositeElement element,
ASTNode child) |
static void |
fullyQualifyReference(CompositeElement reference,
PsiClass targetClass) |
static java.lang.String |
getReferenceText(LighterAST tree,
LighterASTNode node) |
static java.lang.String |
getReferenceText(PsiJavaCodeReferenceElement ref) |
public static void fullyQualifyReference(CompositeElement reference, PsiClass targetClass)
public static java.lang.String getReferenceText(PsiJavaCodeReferenceElement ref)
public static java.lang.String getReferenceText(LighterAST tree, LighterASTNode node)
public static TreeElement addParenthToReplacedChild(ASTNode child, TreeElement newChild, PsiManager manager)
public static void deleteSeparatingComma(CompositeElement element, ASTNode child)
public static void addSeparatingComma(CompositeElement element, ASTNode child, TokenSet listTypes)