Record Class BridgeResolver.VisibilityBridge
java.lang.Object
java.lang.Record
io.micronaut.sourcegen.bytecode.core.BridgeResolver.VisibilityBridge
- Record Components:
method- The inherited method, erased: the bridge has its name, descriptor and exceptions, and is public
- Enclosing class:
BridgeResolver
A visibility bridge: a public method a public class inherits from a superclass that is not public, which javac
declares again in the class, delegating to the superclass's, so that reflection can invoke it through the class.
- Since:
- 2.3
-
Constructor Summary
ConstructorsConstructorDescriptionVisibilityBridge(MethodDef method) Creates an instance of aVisibilityBridgerecord 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.method()Returns the value of themethodrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
VisibilityBridge
-
-
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). -
method
-