All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.intellij.lang.jvm.JvmElement Maven / Gradle / Ivy

There is a newer version: 2.1.0-Beta1-1.0.25
Show newest version
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.lang.jvm;

import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

/**
 * Base interface for all JVM elements.
 * 

* JVM element represents a compiled element from perspective of the JVM. */ public interface JvmElement { /** * @return corresponding source element or {@code null} if no source element is available */ @Nullable PsiElement getSourceElement(); default T accept(@NotNull JvmElementVisitor visitor) { return visitor.visitElement(this); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy