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

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

There is a newer version: 2.1.0-Beta1-1.0.25
Show newest version
// Copyright 2000-2021 JetBrains s.r.o. and contributors. 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 org.jetbrains.annotations.NotNull;

/**
 * Represents a value (e.g. integers, longs, strings etc..). In the future, this class should function as a base class for JVM method calls
 * and field references as well.
 */
public interface JvmValue {

  /**
   * Creates a long value.
   */
  static @NotNull JvmLong createLongValue(long value) {
    return new JvmLongImpl(value);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy