1f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project/* 2f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * Copyright (C) 2009 The Android Open Source Project 3f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * 4f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * Licensed under the Apache License, Version 2.0 (the "License"); 5f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * you may not use this file except in compliance with the License. 6f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * You may obtain a copy of the License at 7f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * 8f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * http://www.apache.org/licenses/LICENSE-2.0 9f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * 10f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * Unless required by applicable law or agreed to in writing, software 11f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * distributed under the License is distributed on an "AS IS" BASIS, 12f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * See the License for the specific language governing permissions and 14f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * limitations under the License. 15f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project */ 16f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project 17f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Projectpackage signature.model; 18f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project 19f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project/** 20f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project * Type of the modeled class. 21f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project */ 22f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Projectpublic enum Kind { 23f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project CLASS("class"), INTERFACE("interface"), ANNOTATION("@interface"), ENUM( 24f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project "enum"), UNINITIALIZED("UNINITIALIZED"); 25f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project 26f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project private final String name; 27f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project 28f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project Kind(String name) { 29f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project this.name = name; 30f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project } 31f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project 32f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project @Override 33f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project public String toString() { 34f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project return name; 35f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project } 36f8057104af9cae031b544e971a52adafa7c0d9eThe Android Open Source Project} 37