| /******************************************************************************* |
| * Copyright (c) 2000, 2018 IBM Corporation and others. |
| * 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: |
| * IBM Corporation - initial API and implementation |
| * Fraunhofer FIRST - extended API and implementation |
| * Technical University Berlin - extended API and implementation |
| * Jesper Steen Møller - Contributions for |
| * bug 529552 - [18.3] Add 'var' in completions |
| *******************************************************************************/ |
| package org.eclipse.jdt.internal.codeassist.impl; |
| |
| public interface Keywords { |
| //{ObjectTeams: adapted count |
| int COUNT = 63; |
| //carp} |
| |
| char[] ABSTRACT = "abstract".toCharArray(); //$NON-NLS-1$ |
| char[] ASSERT = "assert".toCharArray(); //$NON-NLS-1$ |
| char[] BREAK = "break".toCharArray(); //$NON-NLS-1$ |
| char[] CASE = "case".toCharArray(); //$NON-NLS-1$ |
| char[] CATCH = "catch".toCharArray(); //$NON-NLS-1$ |
| char[] CLASS = "class".toCharArray(); //$NON-NLS-1$ |
| char[] CONTINUE = "continue".toCharArray(); //$NON-NLS-1$ |
| char[] DEFAULT = "default".toCharArray(); //$NON-NLS-1$ |
| char[] DO = "do".toCharArray(); //$NON-NLS-1$ |
| char[] ELSE = "else".toCharArray(); //$NON-NLS-1$ |
| char[] ENUM = "enum".toCharArray(); //$NON-NLS-1$ |
| char[] EXTENDS = "extends".toCharArray(); //$NON-NLS-1$ |
| char[] EXPORTS = "exports".toCharArray(); //$NON-NLS-1$ |
| char[] FINAL = "final".toCharArray(); //$NON-NLS-1$ |
| char[] FINALLY = "finally".toCharArray(); //$NON-NLS-1$ |
| char[] FOR = "for".toCharArray(); //$NON-NLS-1$ |
| char[] IF = "if".toCharArray(); //$NON-NLS-1$ |
| char[] IMPLEMENTS = "implements".toCharArray(); //$NON-NLS-1$ |
| char[] IMPORT = "import".toCharArray(); //$NON-NLS-1$ |
| char[] MODULE = "module".toCharArray(); //$NON-NLS-1$ |
| char[] INSTANCEOF = "instanceof".toCharArray(); //$NON-NLS-1$ |
| char[] INTERFACE = "interface".toCharArray(); //$NON-NLS-1$ |
| char[] NATIVE = "native".toCharArray(); //$NON-NLS-1$ |
| char[] NEW = "new".toCharArray(); //$NON-NLS-1$ |
| char[] OPENS= "opens".toCharArray(); //$NON-NLS-1$ |
| char[] PACKAGE = "package".toCharArray(); //$NON-NLS-1$ |
| char[] PRIVATE = "private".toCharArray(); //$NON-NLS-1$ |
| char[] PROTECTED = "protected".toCharArray(); //$NON-NLS-1$ |
| char[] PROVIDES = "provides".toCharArray(); //$NON-NLS-1$ |
| char[] PUBLIC = "public".toCharArray(); //$NON-NLS-1$ |
| char[] REQUIRES = "requires".toCharArray(); //$NON-NLS-1$ |
| char[] RETURN = "return".toCharArray(); //$NON-NLS-1$ |
| char[] STATIC = "static".toCharArray(); //$NON-NLS-1$ |
| char[] STRICTFP = "strictfp".toCharArray(); //$NON-NLS-1$ |
| char[] SUPER = "super".toCharArray(); //$NON-NLS-1$ |
| char[] SWITCH = "switch".toCharArray(); //$NON-NLS-1$ |
| char[] SYNCHRONIZED = "synchronized".toCharArray(); //$NON-NLS-1$ |
| char[] THIS = "this".toCharArray(); //$NON-NLS-1$ |
| char[] THROW = "throw".toCharArray(); //$NON-NLS-1$ |
| char[] THROWS = "throws".toCharArray(); //$NON-NLS-1$ |
| char[] TO = "to".toCharArray(); //$NON-NLS-1$ |
| char[] TRANSIENT = "transient".toCharArray(); //$NON-NLS-1$ |
| char[] TRY = "try".toCharArray(); //$NON-NLS-1$ |
| char[] USES = "uses".toCharArray(); //$NON-NLS-1$ |
| char[] VOLATILE = "volatile".toCharArray(); //$NON-NLS-1$ |
| char[] WHILE = "while".toCharArray(); //$NON-NLS-1$ |
| char[] WITH = "with".toCharArray(); //$NON-NLS-1$ |
| char[] TRUE = "true".toCharArray(); //$NON-NLS-1$ |
| char[] FALSE = "false".toCharArray(); //$NON-NLS-1$ |
| char[] NULL = "null".toCharArray(); //$NON-NLS-1$ |
| |
| //{ObjectTeams: OT specific modifiers and keywords |
| char[] TEAM = "team".toCharArray(); //$NON-NLS-1$ |
| char[] PLAYEDBY = "playedBy".toCharArray(); //$NON-NLS-1$ |
| char[] CALLIN = "callin".toCharArray(); //$NON-NLS-1$ |
| char[] BEFORE = "before".toCharArray(); //$NON-NLS-1$ |
| char[] AFTER = "after".toCharArray(); //$NON-NLS-1$ |
| char[] REPLACE = "replace".toCharArray(); //$NON-NLS-1$ |
| char[] WITHIN = "within".toCharArray(); //$NON-NLS-1$ |
| char[] BASE = "base".toCharArray(); //$NON-NLS-1$ |
| char[] TSUPER = "tsuper".toCharArray(); //$NON-NLS-1$ |
| char[] AS = "as".toCharArray(); //$NON-NLS-1$ |
| char[] RESULT = "result".toCharArray(); //$NON-NLS-1$ |
| // these are special: include subsequent '()': |
| char[] BASE_WHEN = "base when ()".toCharArray(); //$NON-NLS-1$ |
| char[] WHEN = "when ()".toCharArray(); //$NON-NLS-1$ |
| //gbr} |
| char[] VAR = "var".toCharArray(); //$NON-NLS-1$ // Admittedly not a full blown keyword, just "reserved" |
| } |