Record Class AspectProxyDetails.ProxyMethodInfo

java.lang.Object
java.lang.Record
org.ek9lang.compiler.ir.data.AspectProxyDetails.ProxyMethodInfo
Record Components:
methodName - Internal method name (e.g., "doWork")
parameterTypeFqns - EK9 FQNs for each parameter type
returnTypeFqn - EK9 FQN for return type ("org.ek9.lang::Void" for void methods)
isVoid - True if the method returns void
isPure - Purity marker for LLVM optimization
isPublic - Access level — proxy method matches original
Enclosing class:
AspectProxyDetails

public static record AspectProxyDetails.ProxyMethodInfo(String methodName, List<String> parameterTypeFqns, String returnTypeFqn, boolean isVoid, boolean isPure, boolean isPublic) extends Record
Method signature information for proxy class generation. Populated during Phase 7 IR generation where symbol table access is available. Backends use this mechanically without needing symbol table access.
  • Constructor Details

    • ProxyMethodInfo

      public ProxyMethodInfo(String methodName, List<String> parameterTypeFqns, String returnTypeFqn, boolean isVoid, boolean isPure, boolean isPublic)
      Creates an instance of a ProxyMethodInfo record class.
      Parameters:
      methodName - the value for the methodName record component
      parameterTypeFqns - the value for the parameterTypeFqns record component
      returnTypeFqn - the value for the returnTypeFqn record component
      isVoid - the value for the isVoid record component
      isPure - the value for the isPure record component
      isPublic - the value for the isPublic record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • methodName

      public String methodName()
      Returns the value of the methodName record component.
      Returns:
      the value of the methodName record component
    • parameterTypeFqns

      public List<String> parameterTypeFqns()
      Returns the value of the parameterTypeFqns record component.
      Returns:
      the value of the parameterTypeFqns record component
    • returnTypeFqn

      public String returnTypeFqn()
      Returns the value of the returnTypeFqn record component.
      Returns:
      the value of the returnTypeFqn record component
    • isVoid

      public boolean isVoid()
      Returns the value of the isVoid record component.
      Returns:
      the value of the isVoid record component
    • isPure

      public boolean isPure()
      Returns the value of the isPure record component.
      Returns:
      the value of the isPure record component
    • isPublic

      public boolean isPublic()
      Returns the value of the isPublic record component.
      Returns:
      the value of the isPublic record component