Home /Modules/java/ObjectReference.sleela

ObjectReference.sleela

lib/java/jdk-25/com/sun/jdi/ObjectReference.sleela · 86 line(s) · sleela

<< lib/java/com/sun/jdi/ObjectReference.sleela
   SLeeLa Java SE/JDK 28 source envelope.
   Definition: Native SLeeLa source declaration for the Java type com.sun.jdi.ObjectReference.

   The Java class name is retained exactly. The SLeeLa declaration is the source
   contract; Java behavior is supplied only through the conformance boundary. >>
#sleela 3.0
material;

class ObjectReference {
  < ---- Descriptive metadata (version 1.11 nested-friendly accessors) ---- >
  << Eleven catalogued attributes with getter/setter pairs, so a GUI, loader,
     or catalog can read and (where appropriate) override this record.
     Values are faithful to the subject's real origin where publicly known. >>
  String metaVersion = "1.0.0";
  int metaId = 6639;
  String metaAuthor = "Oracle / OpenJDK";
  String metaDate = "2026-11-10";
  String metaCopyright = "GPLv2 with Classpath Exception (OpenJDK)";
  String metaTrademark = "Java";
  String metaCorporation = "Oracle Corporation";
  < metaOrigin: National | <nation> | International | Galactic >
  String metaOrigin = "International";
  String metaBirthDate = "2026-11-10";
  < metaScienceRating: maturity/robustness on a 1..10 scale >
  int metaScienceRating = 9;
  < metaNationalSchedule: a real, citable instrument or "none" >
  String metaNationalSchedule = "OpenJDK (JDK 28 API)";

  String getMetaVersion() { return metaVersion; }
  void setMetaVersion(String v) { metaVersion = v; }
  int getMetaId() { return metaId; }
  void setMetaId(int v) { metaId = v; }
  String getAuthor() { return metaAuthor; }
  void setAuthor(String v) { metaAuthor = v; }
  String getDate() { return metaDate; }
  void setDate(String v) { metaDate = v; }
  String getCopyright() { return metaCopyright; }
  void setCopyright(String v) { metaCopyright = v; }
  String getTrademark() { return metaTrademark; }
  void setTrademark(String v) { metaTrademark = v; }
  String getCorporation() { return metaCorporation; }
  void setCorporation(String v) { metaCorporation = v; }
  String getOrigin() { return metaOrigin; }
  void setOrigin(String v) { metaOrigin = v; }
  String getBirthDate() { return metaBirthDate; }
  void setBirthDate(String v) { metaBirthDate = v; }
  int getScienceRating() { return metaScienceRating; }
  void setScienceRating(int v) { metaScienceRating = v; }
  String getNationalSchedule() { return metaNationalSchedule; }
  void setNationalSchedule(String v) { metaNationalSchedule = v; }
  String javaType = "com.sun.jdi.ObjectReference";
  String typeName() { return javaType; }
  boolean available() { return javaType != ""; }
  String construct() { return "java.construct:" + javaType; }
  String invoke(String operation) { return "java.invoke:" + javaType + ":" + operation; }
  String invokeStatic(String operation) { return "java.static:" + javaType + ":" + operation; }

  < ---- BEGIN java declarations (generated by tools/jdk_api_declare.py) ---- >
  < constants and static fields (values reflected from the JDK) >
  static final int INVOKE_SINGLE_THREADED = 1;
  static final int INVOKE_NONVIRTUAL = 2;
  < ---- END java declarations ---- >

  < ---- BEGIN java signatures (generated by tools/jdk_api_signatures.py) ---- >
  << Exact Java signatures (from the JDK). A method body that is not yet
     SLeeLa logic throws: AbstractMethodError for an abstract method, else
     UnsupportedOperationException naming the Java signature. >>
  public abstract boolean equals(java.lang.Object obj) { throw new AbstractMethodError("com.sun.jdi.ObjectReference.equals(java.lang.Object)"); }
  public abstract int hashCode() { throw new AbstractMethodError("com.sun.jdi.ObjectReference.hashCode()"); }
  public abstract com.sun.jdi.Value getValue(com.sun.jdi.Field sig) { throw new AbstractMethodError("com.sun.jdi.ObjectReference.getValue(com.sun.jdi.Field)"); }
  public abstract void setValue(com.sun.jdi.Field field, com.sun.jdi.Value value) throws com.sun.jdi.InvalidTypeException, com.sun.jdi.ClassNotLoadedException { throw new AbstractMethodError("com.sun.jdi.ObjectReference.setValue(com.sun.jdi.Field, com.sun.jdi.Value)"); }
  public abstract com.sun.jdi.ReferenceType referenceType() { throw new AbstractMethodError("com.sun.jdi.ObjectReference.referenceType()"); }
  public abstract java.util.Map<com.sun.jdi.Field, com.sun.jdi.Value> getValues(java.util.List<? extends com.sun.jdi.Field> fields) { throw new AbstractMethodError("com.sun.jdi.ObjectReference.getValues(java.util.List<? extends com.sun.jdi.Field>)"); }
  public abstract com.sun.jdi.Value invokeMethod(com.sun.jdi.ThreadReference thread, com.sun.jdi.Method method, java.util.List<? extends com.sun.jdi.Value> arguments, int options) throws com.sun.jdi.InvalidTypeException, com.sun.jdi.ClassNotLoadedException, com.sun.jdi.IncompatibleThreadStateException, com.sun.jdi.InvocationException { throw new AbstractMethodError("com.sun.jdi.ObjectReference.invokeMethod(com.sun.jdi.ThreadReference, com.sun.jdi.Method, java.util.List<? extends com.sun.jdi.Value>, int)"); }
  public abstract int entryCount() throws com.sun.jdi.IncompatibleThreadStateException { throw new AbstractMethodError("com.sun.jdi.ObjectReference.entryCount()"); }
  public abstract void disableCollection() { throw new AbstractMethodError("com.sun.jdi.ObjectReference.disableCollection()"); }
  public abstract void enableCollection() { throw new AbstractMethodError("com.sun.jdi.ObjectReference.enableCollection()"); }
  public abstract boolean isCollected() { throw new AbstractMethodError("com.sun.jdi.ObjectReference.isCollected()"); }
  public abstract long uniqueID() { throw new AbstractMethodError("com.sun.jdi.ObjectReference.uniqueID()"); }
  public abstract java.util.List<com.sun.jdi.ThreadReference> waitingThreads() throws com.sun.jdi.IncompatibleThreadStateException { throw new AbstractMethodError("com.sun.jdi.ObjectReference.waitingThreads()"); }
  public abstract com.sun.jdi.ThreadReference owningThread() throws com.sun.jdi.IncompatibleThreadStateException { throw new AbstractMethodError("com.sun.jdi.ObjectReference.owningThread()"); }
  public abstract java.util.List<com.sun.jdi.ObjectReference> referringObjects(long maxReferrers) { throw new AbstractMethodError("com.sun.jdi.ObjectReference.referringObjects(long)"); }
  < ---- END java signatures ---- >
}