public class JavaReferenceAdjuster extends java.lang.Object implements ReferenceAdjuster
ReferenceAdjuster.Extension
Constructor and Description |
---|
JavaReferenceAdjuster() |
Modifier and Type | Method and Description |
---|---|
static PsiQualifiedReferenceElement |
getClassReferenceToShorten(PsiClass refClass,
boolean addImports,
PsiQualifiedReferenceElement reference) |
ASTNode |
process(ASTNode element,
boolean addImports,
boolean incompleteCode,
boolean useFqInJavadoc,
boolean useFqInCode) |
ASTNode |
process(ASTNode element,
boolean addImports,
boolean incompleteCode,
Project project) |
void |
processRange(ASTNode element,
int startOffset,
int endOffset,
boolean useFqInJavadoc,
boolean useFqInCode) |
void |
processRange(ASTNode element,
int startOffset,
int endOffset,
Project project) |
public ASTNode process(ASTNode element, boolean addImports, boolean incompleteCode, boolean useFqInJavadoc, boolean useFqInCode)
process
in interface ReferenceAdjuster
public ASTNode process(ASTNode element, boolean addImports, boolean incompleteCode, Project project)
process
in interface ReferenceAdjuster
public void processRange(ASTNode element, int startOffset, int endOffset, boolean useFqInJavadoc, boolean useFqInCode)
processRange
in interface ReferenceAdjuster
public void processRange(ASTNode element, int startOffset, int endOffset, Project project)
processRange
in interface ReferenceAdjuster
public static PsiQualifiedReferenceElement getClassReferenceToShorten(PsiClass refClass, boolean addImports, PsiQualifiedReferenceElement reference)