01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.internal.corext.refactoring.base;
11:
12: public class RefactoringStatusCodes {
13:
14: private RefactoringStatusCodes() {
15: }
16:
17: public static final int OVERRIDES_ANOTHER_METHOD = 1;
18: public static final int METHOD_DECLARED_IN_INTERFACE = 2;
19:
20: public static final int EXPRESSION_NOT_RVALUE = 64;
21: public static final int EXPRESSION_NOT_RVALUE_VOID = 65;
22: public static final int EXTRANEOUS_TEXT = 66;
23:
24: public static final int NOT_STATIC_FINAL_SELECTED = 128;
25: public static final int SYNTAX_ERRORS = 129;
26: public static final int DECLARED_IN_CLASSFILE = 130;
27: public static final int CANNOT_INLINE_BLANK_FINAL = 131;
28: public static final int LOCAL_AND_ANONYMOUS_NOT_SUPPORTED = 132;
29: public static final int REFERENCE_IN_CLASSFILE = 133;
30:
31: public static final int NATIVE_METHOD = 192;
32: public static final int MAIN_METHOD = 193;
33:
34: // inline method error codes
35: public static final int INLINE_METHOD_FIELD_INITIALIZER = 256;
36: public static final int INLINE_METHOD_LOCAL_INITIALIZER = 257;
37: public static final int INLINE_METHOD_NULL_BINDING = 258;
38: public static final int INLINE_METHOD_ONLY_SIMPLE_FUNCTIONS = 259;
39: public static final int INLINE_METHOD_EXECUTION_FLOW = 260;
40: public static final int INLINE_METHOD_INITIALIZER_IN_FRAGEMENT = 261;
41: }
|