/******************************************************************************* * Copyright 2006, CHISEL Group, University of Victoria, Victoria, BC, Canada. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * The Chisel Group, University of Victoria * IBM Corporation *******************************************************************************/ package com.ibm.research.tagging.java.extractor; import org.eclipse.jface.text.rules.IWordDetector; public class EndOfCommentDetector implements IWordDetector { public boolean isWordStart(char c) { if(c == '*') return true; return false; } public boolean isWordPart(char c) { if((c == '/')) return true; return false; } }