List of usage examples for org.eclipse.jdt.core.dom PrefixExpression getStartPosition
public final int getStartPosition()
From source file:org.eclipse.objectteams.otdt.debug.ui.internal.actions.OTValidBreakpointLocationLocator.java
License:Open Source License
/** * @see org.eclipse.jdt.core.dom.ASTVisitor#visit(org.eclipse.jdt.core.dom.PrefixExpression) *//*from w ww . ja va2 s . c o m*/ public boolean visit(PrefixExpression node) { if (visit(node, false)) { if (isReplacedByConstantValue(node)) { fLineLocation = lineNumber(node.getStartPosition()); fLocationFound = true; fLocationType = LOCATION_LINE; fTypeName = computeTypeName(node); return false; } return true; } return false; }