Class ExactClassValueProfile

java.lang.Object
com.oracle.truffle.api.utilities.ValueProfile
com.oracle.truffle.api.utilities.ExactClassValueProfile

public final class ExactClassValueProfile extends ValueProfile
Represents a ValueProfile that speculates on the exact class of a value.
  • Field Details

    • cachedClass

      protected Class<?> cachedClass
  • Method Details

    • profile

      public <T> T profile(T value)
      Specified by:
      profile in class ValueProfile
    • isGeneric

      public boolean isGeneric()
    • isUninitialized

      public boolean isUninitialized()
    • getCachedClass

      public Class<?> getCachedClass()
    • toString

      public String toString()
      Overrides:
      toString in class Object