<< lib/java/com/sun/jdi/Method.sleela SLeeLa Java SE/JDK 28 source envelope. Definition: Native SLeeLa source declaration for the Java type com.sun.jdi.Method. 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 Method { < ---- 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 = 6015; 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 | | 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.Method"; 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 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 com.sun.jdi.Type returnType() throws com.sun.jdi.ClassNotLoadedException { throw new AbstractMethodError("com.sun.jdi.Method.returnType()"); } public abstract boolean equals(java.lang.Object obj) { throw new AbstractMethodError("com.sun.jdi.Method.equals(java.lang.Object)"); } public abstract int hashCode() { throw new AbstractMethodError("com.sun.jdi.Method.hashCode()"); } public abstract boolean isConstructor() { throw new AbstractMethodError("com.sun.jdi.Method.isConstructor()"); } public abstract com.sun.jdi.Location location() { throw new AbstractMethodError("com.sun.jdi.Method.location()"); } public abstract boolean isVarArgs() { throw new AbstractMethodError("com.sun.jdi.Method.isVarArgs()"); } public default boolean isDefault() { throw new UnsupportedOperationException("not yet implemented in SLeeLa: com.sun.jdi.Method.isDefault()"); } public abstract boolean isBridge() { throw new AbstractMethodError("com.sun.jdi.Method.isBridge()"); } public abstract boolean isAbstract() { throw new AbstractMethodError("com.sun.jdi.Method.isAbstract()"); } public abstract java.util.List arguments() throws com.sun.jdi.AbsentInformationException { throw new AbstractMethodError("com.sun.jdi.Method.arguments()"); } public abstract boolean isNative() { throw new AbstractMethodError("com.sun.jdi.Method.isNative()"); } public abstract boolean isSynchronized() { throw new AbstractMethodError("com.sun.jdi.Method.isSynchronized()"); } public abstract java.util.List allLineLocations(java.lang.String stratum, java.lang.String sourceName) throws com.sun.jdi.AbsentInformationException { throw new AbstractMethodError("com.sun.jdi.Method.allLineLocations(java.lang.String, java.lang.String)"); } public abstract java.util.List allLineLocations() throws com.sun.jdi.AbsentInformationException { throw new AbstractMethodError("com.sun.jdi.Method.allLineLocations()"); } public abstract java.util.List locationsOfLine(int lineNumber) throws com.sun.jdi.AbsentInformationException { throw new AbstractMethodError("com.sun.jdi.Method.locationsOfLine(int)"); } public abstract java.util.List locationsOfLine(java.lang.String stratum, java.lang.String sourceName, int lineNumber) throws com.sun.jdi.AbsentInformationException { throw new AbstractMethodError("com.sun.jdi.Method.locationsOfLine(java.lang.String, java.lang.String, int)"); } public abstract java.lang.String returnTypeName() { throw new AbstractMethodError("com.sun.jdi.Method.returnTypeName()"); } public abstract java.util.List argumentTypeNames() { throw new AbstractMethodError("com.sun.jdi.Method.argumentTypeNames()"); } public abstract java.util.List argumentTypes() throws com.sun.jdi.ClassNotLoadedException { throw new AbstractMethodError("com.sun.jdi.Method.argumentTypes()"); } public abstract boolean isStaticInitializer() { throw new AbstractMethodError("com.sun.jdi.Method.isStaticInitializer()"); } public abstract boolean isObsolete() { throw new AbstractMethodError("com.sun.jdi.Method.isObsolete()"); } public abstract com.sun.jdi.Location locationOfCodeIndex(long codeIndex) { throw new AbstractMethodError("com.sun.jdi.Method.locationOfCodeIndex(long)"); } public abstract java.util.List variables() throws com.sun.jdi.AbsentInformationException { throw new AbstractMethodError("com.sun.jdi.Method.variables()"); } public abstract java.util.List variablesByName(java.lang.String name) throws com.sun.jdi.AbsentInformationException { throw new AbstractMethodError("com.sun.jdi.Method.variablesByName(java.lang.String)"); } public abstract byte[] bytecodes() { throw new AbstractMethodError("com.sun.jdi.Method.bytecodes()"); } < ---- END java signatures ---- > }