Record Class BridgeResolver.InheritedBridge
java.lang.Object
java.lang.Record
io.micronaut.sourcegen.bytecode.core.BridgeResolver.InheritedBridge
- Record Components:
target- The inherited method the bridge delegates tobridge- The erased shape of the bridge
- Enclosing class:
BridgeResolver
public static record BridgeResolver.InheritedBridge(MethodDef target, BridgeResolver.BridgeMethod bridge)
extends Record
A bridge a class declares for a method it inherits.
- Since:
- 2.3
-
Constructor Summary
ConstructorsConstructorDescriptionInheritedBridge(MethodDef target, BridgeResolver.BridgeMethod bridge) Creates an instance of aInheritedBridgerecord class. -
Method Summary
Modifier and TypeMethodDescriptionbridge()Returns the value of thebridgerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
target
-
bridge
-