update copyrights
[fedora-idea.git] / platform / lang-api / src / com / intellij / psi / PsiCompiledElement.java
blobb9db0e797bbaaf965fb3e04ce05bc07398989904
1 /*
2 * Copyright 2000-2009 JetBrains s.r.o.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package com.intellij.psi;
18 /**
19 * Represents an element in a Java library used in a project. References
20 * to library classes/methods are always resolved to compiled elements;
21 * to get the corresponding source code, if it is available,
22 * {@link com.intellij.psi.PsiElement#getNavigationElement()} should be called.
24 public interface PsiCompiledElement extends PsiElement {
25 /**
26 * Returns the corresponding PSI element in a decompiled file created by IDEA from
27 * the library element.
29 * @return the counterpart of the element in decompiled file.
31 PsiElement getMirror();