java.lang.Object
java.lang.Record
org.aya.ide.action.InlayHints
- All Implemented Interfaces:
Consumer<org.aya.concrete.stmt.Stmt>,Function<org.aya.concrete.Expr,,org.aya.concrete.Expr> UnaryOperator<org.aya.concrete.Expr>,org.aya.concrete.visitor.EndoExpr,org.aya.concrete.visitor.EndoPattern,org.aya.concrete.visitor.StmtConsumer,SyntaxNodeAction<XYXY>,SyntaxNodeAction.Ranged
public record InlayHints(@NotNull org.aya.util.prettier.PrettierOptions options, @NotNull XYXY location, @NotNull kala.collection.mutable.MutableList<InlayHints.Hint> hints)
extends Record
implements SyntaxNodeAction.Ranged
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.aya.ide.syntax.SyntaxNodeAction
SyntaxNodeAction.Cursor, SyntaxNodeAction.Ranged -
Constructor Summary
ConstructorsConstructorDescriptionInlayHints(@NotNull org.aya.util.prettier.PrettierOptions options, @NotNull XYXY location, @NotNull kala.collection.mutable.MutableList<InlayHints.Hint> hints) Creates an instance of aInlayHintsrecord 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.@NotNull kala.collection.mutable.MutableList<InlayHints.Hint>hints()Returns the value of thehintsrecord component.static @NotNull kala.collection.immutable.ImmutableSeq<InlayHints.Hint>invoke(@NotNull org.aya.util.prettier.PrettierOptions options, @NotNull org.aya.cli.library.source.LibrarySource source, @NotNull XYXY range) @NotNull XYXYlocation()Returns the value of thelocationrecord component.@NotNull org.aya.util.prettier.PrettierOptionsoptions()Returns the value of theoptionsrecord component.@NotNull org.aya.concrete.Patternpre(@NotNull org.aya.concrete.Pattern pattern) final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aya.concrete.visitor.EndoExpr
post, preMethods inherited from interface org.aya.concrete.visitor.EndoPattern
apply, postMethods inherited from interface org.aya.concrete.visitor.StmtConsumer
visitTelescopicMethods inherited from interface org.aya.ide.syntax.SyntaxNodeAction
accept, applyMethods inherited from interface org.aya.ide.syntax.SyntaxNodeAction.Ranged
accept
-
Constructor Details
-
InlayHints
public InlayHints(@NotNull @NotNull org.aya.util.prettier.PrettierOptions options, @NotNull @NotNull XYXY location, @NotNull @NotNull kala.collection.mutable.MutableList<InlayHints.Hint> hints) Creates an instance of aInlayHintsrecord class.- Parameters:
options- the value for theoptionsrecord componentlocation- the value for thelocationrecord componenthints- the value for thehintsrecord component
-
-
Method Details
-
invoke
@NotNull public static @NotNull kala.collection.immutable.ImmutableSeq<InlayHints.Hint> invoke(@NotNull @NotNull org.aya.util.prettier.PrettierOptions options, @NotNull @NotNull org.aya.cli.library.source.LibrarySource source, @NotNull @NotNull XYXY range) -
pre
@NotNull public @NotNull org.aya.concrete.Pattern pre(@NotNull @NotNull org.aya.concrete.Pattern pattern) - Specified by:
prein interfaceorg.aya.concrete.visitor.EndoPattern
-
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. -
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. -
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). -
options
@NotNull public @NotNull org.aya.util.prettier.PrettierOptions options()Returns the value of theoptionsrecord component.- Returns:
- the value of the
optionsrecord component
-
location
Returns the value of thelocationrecord component.- Specified by:
locationin interfaceSyntaxNodeAction<XYXY>- Returns:
- the value of the
locationrecord component
-
hints
Returns the value of thehintsrecord component.- Returns:
- the value of the
hintsrecord component
-