added -J option to preserve unmodified files in preexisting jarfile
[org.ibex.tool.git] / src / org / eclipse / jdt / internal / compiler / env / IGenericType.java
1 /*******************************************************************************
2  * Copyright (c) 2000, 2004 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials 
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  * 
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  *******************************************************************************/
11 package org.eclipse.jdt.internal.compiler.env;
12
13 public interface IGenericType extends IDependent {
14
15         // Type decl kinds
16         int CLASS_DECL = 1;
17         int INTERFACE_DECL = 2;
18         int ENUM_DECL = 3;      
19         int ANNOTATION_TYPE_DECL = 4;
20         
21 /**
22  * Returns the kind of this type CLASS, INTERFACE, ENUM, ANNOTATION_TYPE
23  */
24 int getKind();
25
26 /**
27  * Answer an int whose bits are set according the access constants
28  * defined by the VM spec.
29  * NOTE 1: We have added AccDeprecated & AccSynthetic.
30  * NOTE 2: If the receiver represents a member type, the modifiers are extracted from its inner class attributes.
31  */
32 int getModifiers();
33 /**
34  * Answer whether the receiver contains the resolved binary form
35  * or the unresolved source form of the type.
36  */
37
38 boolean isBinaryType();
39 }