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 typereturnTypeFqn- EK9 FQN for return type ("org.ek9.lang::Void" for void methods)isVoid- True if the method returns voidisPure- Purity marker for LLVM optimizationisPublic- 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 Summary
ConstructorsConstructorDescriptionProxyMethodInfo(String methodName, List<String> parameterTypeFqns, String returnTypeFqn, boolean isVoid, boolean isPure, boolean isPublic) Creates an instance of aProxyMethodInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisPublic()Returns the value of theisPublicrecord component.booleanisPure()Returns the value of theisPurerecord component.booleanisVoid()Returns the value of theisVoidrecord component.Returns the value of themethodNamerecord component.Returns the value of theparameterTypeFqnsrecord component.Returns the value of thereturnTypeFqnrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProxyMethodInfo
public ProxyMethodInfo(String methodName, List<String> parameterTypeFqns, String returnTypeFqn, boolean isVoid, boolean isPure, boolean isPublic) Creates an instance of aProxyMethodInforecord class.- Parameters:
methodName- the value for themethodNamerecord componentparameterTypeFqns- the value for theparameterTypeFqnsrecord componentreturnTypeFqn- the value for thereturnTypeFqnrecord componentisVoid- the value for theisVoidrecord componentisPure- the value for theisPurerecord componentisPublic- the value for theisPublicrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
methodName
Returns the value of themethodNamerecord component.- Returns:
- the value of the
methodNamerecord component
-
parameterTypeFqns
Returns the value of theparameterTypeFqnsrecord component.- Returns:
- the value of the
parameterTypeFqnsrecord component
-
returnTypeFqn
Returns the value of thereturnTypeFqnrecord component.- Returns:
- the value of the
returnTypeFqnrecord component
-
isVoid
-
isPure
-
isPublic
-