KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > corext > refactoring > base > RefactoringStatusCodes


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.internal.corext.refactoring.base;
12
13 public class RefactoringStatusCodes {
14
15     private RefactoringStatusCodes() {
16     }
17
18     public static final int OVERRIDES_ANOTHER_METHOD= 1;
19     public static final int METHOD_DECLARED_IN_INTERFACE= 2;
20     
21     public static final int EXPRESSION_NOT_RVALUE= 64;
22     public static final int EXPRESSION_NOT_RVALUE_VOID= 65;
23     public static final int EXTRANEOUS_TEXT= 66;
24     
25     public static final int NOT_STATIC_FINAL_SELECTED= 128;
26     public static final int SYNTAX_ERRORS= 129;
27     public static final int DECLARED_IN_CLASSFILE= 130;
28     public static final int CANNOT_INLINE_BLANK_FINAL= 131;
29     public static final int LOCAL_AND_ANONYMOUS_NOT_SUPPORTED= 132;
30     public static final int REFERENCE_IN_CLASSFILE= 133;
31
32     public static final int NATIVE_METHOD= 192;
33     public static final int MAIN_METHOD= 193;
34     
35     // inline method error codes
36
public static final int INLINE_METHOD_FIELD_INITIALIZER= 256;
37     public static final int INLINE_METHOD_LOCAL_INITIALIZER= 257;
38     public static final int INLINE_METHOD_NULL_BINDING= 258;
39     public static final int INLINE_METHOD_ONLY_SIMPLE_FUNCTIONS= 259;
40     public static final int INLINE_METHOD_EXECUTION_FLOW= 260;
41     public static final int INLINE_METHOD_INITIALIZER_IN_FRAGEMENT= 261;
42 }
43
Popular Tags