001 /* 002 * Copyright 2010-2013 JetBrains s.r.o. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 017 package org.jetbrains.jet.lang.resolve.java; 018 019 import jet.KotlinClass; 020 import jet.KotlinPackage; 021 import jet.KotlinPackageFragment; 022 import jet.KotlinTraitImpl; 023 import org.jetbrains.jet.lang.resolve.name.FqName; 024 025 import static org.jetbrains.jet.lang.resolve.java.resolver.DescriptorResolverUtils.fqNameByClass; 026 027 public final class JvmAnnotationNames { 028 public static final FqName KOTLIN_CLASS = fqNameByClass(KotlinClass.class); 029 030 public static final FqName KOTLIN_PACKAGE = fqNameByClass(KotlinPackage.class); 031 032 public static final FqName KOTLIN_PACKAGE_FRAGMENT = fqNameByClass(KotlinPackageFragment.class); 033 034 public static final FqName KOTLIN_TRAIT_IMPL = fqNameByClass(KotlinTraitImpl.class); 035 036 public static final String ABI_VERSION_FIELD_NAME = "abiVersion"; 037 038 public static final String DATA_FIELD_NAME = "data"; 039 040 @Deprecated 041 public static final FqName OLD_JET_CLASS_ANNOTATION = new FqName("jet.runtime.typeinfo.JetClass"); 042 043 @Deprecated 044 public static final FqName OLD_JET_PACKAGE_CLASS_ANNOTATION = new FqName("jet.runtime.typeinfo.JetPackageClass"); 045 046 private JvmAnnotationNames() { 047 } 048 }