public class JavaLineBreakpointType extends JavaLineBreakpointTypeBase<JavaLineBreakpointProperties>
Modifier and Type | Class and Description |
---|---|
class |
JavaLineBreakpointType.ExactJavaBreakpointVariant |
class |
JavaLineBreakpointType.JavaBreakpointVariant |
class |
JavaLineBreakpointType.LambdaJavaBreakpointVariant |
class |
JavaLineBreakpointType.LineJavaBreakpointVariant |
XLineBreakpointType.XLineBreakpointAllVariant, XLineBreakpointType.XLineBreakpointVariant, XLineBreakpointType.XLinePsiElementBreakpointVariant
XBreakpointType.StandardPanels, XBreakpointType.XBreakpointCreator<P extends XBreakpointProperties>
EXTENSION_POINT_NAME
Modifier | Constructor and Description |
---|---|
|
JavaLineBreakpointType() |
protected |
JavaLineBreakpointType(java.lang.String id,
java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeHitInOtherPlaces()
Return true if this breakpoint could be hit on lines other than the one specified,
an example is method breakpoint in java - it could be hit on any method overriding the one specified
|
boolean |
canPutAt(VirtualFile file,
int line,
Project project)
Return
true |
java.util.List<JavaLineBreakpointType.JavaBreakpointVariant> |
computeVariants(Project project,
XSourcePosition position)
Return a list of variants if there can be more than one breakpoint on the line
|
JavaLineBreakpointProperties |
createBreakpointProperties(VirtualFile file,
int line)
return non-null value if a breakpoint should have specific properties besides containing file and line.
|
XBreakpointCustomPropertiesPanel<XLineBreakpoint<JavaLineBreakpointProperties>> |
createCustomPropertiesPanel(Project project) |
Breakpoint<JavaLineBreakpointProperties> |
createJavaBreakpoint(Project project,
XBreakpoint<JavaLineBreakpointProperties> breakpoint) |
JavaLineBreakpointProperties |
createProperties() |
PsiElement |
getContainingMethod(LineBreakpoint<?> breakpoint) |
java.lang.String |
getDisplayName() |
java.util.List<XBreakpointGroupingRule<XLineBreakpoint<JavaLineBreakpointProperties>,?>> |
getGroupingRules() |
protected java.lang.String |
getHelpID() |
TextRange |
getHighlightRange(XLineBreakpoint<JavaLineBreakpointProperties> breakpoint) |
int |
getPriority()
Priority is considered when several breakpoint types can be set inside a folded code block,
in this case we choose type with the highest priority
Also it affects types sorting in various places
|
XSourcePosition |
getSourcePosition(XBreakpoint<JavaLineBreakpointProperties> breakpoint)
Source position for line breakpoint by default is determined by its file and line
|
boolean |
matchesPosition(LineBreakpoint<?> breakpoint,
SourcePosition position) |
canPutAtElement, createCustomRightPropertiesPanel, getAdditionalPopupMenuActions, getDisplayText, getEditorsProvider, isSuspendThreadSupported
computeVariantsAsync, createDefaultBreakpoint, getShortText, getTemporaryIcon
addBreakpoint, createCustomConditionsPanel, createCustomPropertiesPanel, createCustomTopPropertiesPanel, getBreakpointComparator, getBreakpointsDialogHelpTopic, getDefaultSuspendPolicy, getDisabledIcon, getEditorsProvider, getEnabledIcon, getId, getInactiveDependentIcon, getMutedDisabledIcon, getMutedEnabledIcon, getPendingIcon, getSuspendNoneIcon, getTitle, getVisibleStandardPanels, isAddBreakpointButtonVisible, shouldShowInBreakpointsDialog, toString
public JavaLineBreakpointType()
protected JavaLineBreakpointType(java.lang.String id, java.lang.String title)
protected java.lang.String getHelpID()
public java.lang.String getDisplayName()
public java.util.List<XBreakpointGroupingRule<XLineBreakpoint<JavaLineBreakpointProperties>,?>> getGroupingRules()
getGroupingRules
in class XBreakpointType<XLineBreakpoint<JavaLineBreakpointProperties>,JavaLineBreakpointProperties>
public JavaLineBreakpointProperties createProperties()
createProperties
in class XBreakpointType<XLineBreakpoint<JavaLineBreakpointProperties>,JavaLineBreakpointProperties>
public JavaLineBreakpointProperties createBreakpointProperties(VirtualFile file, int line)
XLineBreakpointType
XBreakpoint
instance and can be obtained by using XBreakpoint.getProperties()
methodcreateBreakpointProperties
in class XLineBreakpointType<JavaLineBreakpointProperties>
public Breakpoint<JavaLineBreakpointProperties> createJavaBreakpoint(Project project, XBreakpoint<JavaLineBreakpointProperties> breakpoint)
public int getPriority()
XLineBreakpointType
getPriority
in class XLineBreakpointType<JavaLineBreakpointProperties>
public java.util.List<JavaLineBreakpointType.JavaBreakpointVariant> computeVariants(Project project, XSourcePosition position)
XLineBreakpointType
computeVariants
in class XLineBreakpointType<JavaLineBreakpointProperties>
public boolean matchesPosition(LineBreakpoint<?> breakpoint, SourcePosition position)
public PsiElement getContainingMethod(LineBreakpoint<?> breakpoint)
public TextRange getHighlightRange(XLineBreakpoint<JavaLineBreakpointProperties> breakpoint)
getHighlightRange
in class XLineBreakpointType<JavaLineBreakpointProperties>
public XSourcePosition getSourcePosition(XBreakpoint<JavaLineBreakpointProperties> breakpoint)
XLineBreakpointType
getSourcePosition
in class XLineBreakpointType<JavaLineBreakpointProperties>
public boolean canBeHitInOtherPlaces()
XLineBreakpointType
canBeHitInOtherPlaces
in class XLineBreakpointType<JavaLineBreakpointProperties>
public boolean canPutAt(VirtualFile file, int line, Project project)
XLineBreakpointType
true if breakpoint can be put on line
in file
canPutAt
in class XLineBreakpointType<JavaLineBreakpointProperties>
public XBreakpointCustomPropertiesPanel<XLineBreakpoint<JavaLineBreakpointProperties>> createCustomPropertiesPanel(Project project)