- aacute - Field in Entity
-
Entity reference á.
- aboutAction(java.util.EventObject) - Method in AstBrowser
-
Displays the browser about dialog.
- aboutAction(java.util.EventObject) - Method in ObjectBrowser
-
Displays the about dialog for the object browser.
- abs(java.lang.Double) - Method in DefaultGroovyMethods
-
Gets the absolute value.
- abs(java.lang.Number) - Method in NumberMath
-
- absImpl(java.lang.Number) - Method in BigDecimalMath
-
- absImpl(java.lang.Number) - Method in BigIntegerMath
-
- absImpl(java.lang.Number) - Method in FloatingPointMath
-
- absImpl(java.lang.Number) - Method in IntegerMath
-
- absImpl(java.lang.Number) - Method in LongMath
-
- absImpl(java.lang.Number) - Method in NumberMath
-
- ABSTRACT() - Method in GroovyParser.ClassOrInterfaceModifierContext
-
- ABSTRACT() - Method in GroovyParser.KeywordsContext
-
- ABSTRACT() - Method in GroovyParser.VariableModifierContext
-
- AbstractASTTransformation - Class in org.codehaus.groovy.transform
Abstract base class for AST transformations.
- AbstractButtonProperties - Class in groovy.swing.binding
- AbstractCallSite - Class in org.codehaus.groovy.runtime.callsite
Base class for all call sites.
- AbstractCallSite(org.codehaus.groovy.runtime.callsite.CallSite) - Constructor in AbstractCallSite
-
- AbstractComparator - Class in org.codehaus.groovy.runtime
- AbstractExtensionMethodCache - Class in org.codehaus.groovy.transform.stc
- AbstractFactory - Class in groovy.util
Base
Factory implementation with default no-op lifecycle hooks.
- AbstractFullBinding - Class in org.apache.groovy.swing.binding
Base implementation for
FullBinding that handles validation and value conversion.
- AbstractFunctionalInterfaceWriter - Interface in org.codehaus.groovy.classgen.asm.sc
Represents functional interface writer which contains some common methods to complete generating bytecode
- AbstractGinqExpression - Class in org.apache.groovy.ginq.dsl.expression
Represents GINQ expression which could hold metadata
- AbstractHttpServlet - Class in groovy.servlet
A base class dealing with common HTTP servlet API housekeeping aspects.
- AbstractHttpServlet() - Constructor in AbstractHttpServlet
-
Initializes all fields with default values.
- AbstractInterruptibleASTTransformation - Class in org.codehaus.groovy.transform
Base class for AST Transformations which will automatically throw an
InterruptedException when
some conditions are met.
- AbstractLexer - Class in org.apache.groovy.parser.antlr4
Because antlr4 does not support generating lexer with specified interface,
we have to create a super class for it and implement the interface.
- AbstractLexer(org.antlr.v4.runtime.CharStream) - Constructor in AbstractLexer
-
- AbstractLoggingStrategy() - Constructor in LogASTTransformation.AbstractLoggingStrategy
-
Creates a new logging strategy using the default class loader.
- AbstractLoggingStrategyV2() - Constructor in LogASTTransformation.AbstractLoggingStrategyV2
-
Creates a new logging strategy using the default class loader.
- AbstractParser - Class in org.apache.groovy.parser.antlr4
Because antlr4 does not support generating parser with specified interface,
we have to create a super class for it and implement the interface.
- AbstractParser(org.antlr.v4.runtime.TokenStream) - Constructor in AbstractParser
-
- AbstractQueryCommand(java.lang.String) - Constructor in Sql.AbstractQueryCommand
-
Creates a query command for the supplied SQL text.
- AbstractReaderSource - Class in org.codehaus.groovy.control.io
For ReaderSources that can choose a parent class, a base that
provides common functionality.
- AbstractReaderSource(org.codehaus.groovy.control.CompilerConfiguration) - Constructor in AbstractReaderSource
-
- AbstractStreamingBuilder - Class in groovy.xml.streamingmarkupsupport
Base support for streaming XML builders that manage namespaces and special mkp helper tags.
- AbstractStreamingBuilder() - Constructor in AbstractStreamingBuilder
-
- AbstractSyntheticBinding - Class in groovy.swing.binding
Base class for bindings that observe synthetic Swing properties.
- AbstractSyntheticBinding(org.apache.groovy.swing.binding.PropertyBinding, org.apache.groovy.swing.binding.TargetBinding, java.lang.Class, java.lang.String) - Constructor in AbstractSyntheticBinding
-
Creates a synthetic binding for the supplied property and component type.
- AbstractSyntheticMetaMethods - Class in groovy.swing.binding
Installs synthetic meta-methods used by Swing binding helpers.
- AbstractSyntheticMetaMethods() - Constructor in AbstractSyntheticMetaMethods
-
- AbstractTypeCheckingExtension - Class in org.codehaus.groovy.transform.stc
- AbstractTypeCheckingExtension.TypeCheckingScope - Class in org.codehaus.groovy.transform.stc
- AbstractTypeCheckingExtension(org.codehaus.groovy.transform.stc.StaticTypeCheckingVisitor) - Constructor in AbstractTypeCheckingExtension
-
- ac - Field in GroovyParser.SwitchExpressionLabelContext
-
- accept(GinqAstVisitor<R>) - Method in AbstractGinqExpression
-
Accepts a GINQ visitor.
- accept(GinqAstVisitor<R>) - Method in FromExpression
-
Accepts a visitor for this clause.
- accept(GinqAstVisitor<R>) - Method in GinqExpression
-
Accepts a GINQ visitor.
- accept(java.io.File) - Method in GroovyFileFilter
-
Accepts directories and files with supported Groovy source extensions.
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.AdditiveExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.AndExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.AnnotatedQualifiedClassNameContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.AnnotationContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.AnnotationNameContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.AnnotationsOptContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.AnonymousInnerClassDeclarationContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ArgumentsContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ArrayInitializerContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.AssertStatementContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.AssertStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.AssignmentExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.AsyncClosureExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.AwaitExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.BlockContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.BlockStatementContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.BlockStatementsContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.BlockStatementsOptContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.BlockStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.BooleanLiteralAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.BreakStatementContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.BreakStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.BuiltInTypeContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.BuiltInTypePrmrAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.CastExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.CastParExpressionContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.CatchClauseContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.CatchTypeContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ClassBodyContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ClassBodyDeclarationContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ClassDeclarationContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ClassNameContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ClassOrInterfaceModifierContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ClassOrInterfaceModifiersContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ClassOrInterfaceModifiersOptContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ClosureContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ClosureOrLambdaExpressionContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ClosureOrLambdaExpressionPrmrAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.CommandArgumentContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.CommandExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.CommandExpressionContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.CompactConstructorDeclarationContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.CompilationUnitContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ConditionalExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ConditionalStatementContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ConditionalStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ContinueStatementContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ContinueStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.CreatedNameContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.CreatorContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.DeferStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.Dim0Context
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.Dim1Context
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.DoWhileStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.DynamicMemberNameContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ElementValueArrayInitializerContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ElementValueContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ElementValuePairContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ElementValuePairNameContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ElementValuePairsContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ElementValuesContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.EmptyStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.EnhancedArgumentListElementContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.EnhancedArgumentListInParContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.EnhancedExpressionContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.EnhancedForControlContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.EnhancedStatementExpressionContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.EnumConstantContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.EnumConstantsContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.EqualityExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ExclusiveOrExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ExpressionInParContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ExpressionListContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ExpressionListElementContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ExpressionStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.FieldDeclarationContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.FinallyBlockContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.FloatingPointLiteralAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ForControlContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ForInitContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.FormalParameterContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.FormalParameterListContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.FormalParametersContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ForStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ForUpdateContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.GstringContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.GstringPathContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.GstringPrmrAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.GstringValueContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.IdentifierContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.IdentifierPrmrAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.IfElseStatementContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ImplicationExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ImportDeclarationContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.InclusiveOrExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.IndexPropertyArgsContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.IndexVariableContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.IntegerLiteralAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.KeyedPairContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.KeywordsContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.LabeledStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.LambdaBodyContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ListContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ListPrmrAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.LiteralPrmrAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.LocalVariableDeclarationContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.LocalVariableDeclarationStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.LogicalAndExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.LogicalOrExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.LoopStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.MapContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.MapEntryContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.MapEntryLabelContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.MapEntryListContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.MapPrmrAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.MatchingTypeContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.MemberDeclarationContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.MethodBodyContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.MethodDeclarationContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.MethodNameContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ModifierContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ModifiersContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ModifiersOptContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.MultipleAssignmentExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.MultiplicativeExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.NamedPropertyArgsContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.NamePartContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.NewPrmrAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.NlsContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.NonWildcardTypeArgumentsContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.NullLiteralAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.OriginalForControlContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.PackageDeclarationContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ParenPrmrAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ParExpressionContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.PathElementContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.PathExpressionContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.PostfixExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.PostfixExpressionContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.PowerExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.PrimitiveTypeContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.QualifiedClassNameContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.QualifiedClassNameListContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.QualifiedNameContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.QualifiedNameElementContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.QualifiedNameElementsContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.QualifiedStandardClassNameContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ReferenceTypeContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.RegexExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.RelationalExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ResourceContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ResourceListContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ResourcesContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ReturnStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ReturnTypeContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ScriptStatementContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ScriptStatementsContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.SepContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ShiftExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.StandardLambdaExpressionContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.StandardLambdaParametersContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.StringLiteralAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.StringLiteralContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.SuperPrmrAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.SwitchBlockStatementExpressionGroupContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.SwitchBlockStatementGroupContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.SwitchExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.SwitchExpressionContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.SwitchExpressionLabelContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.SwitchLabelContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.SwitchStatementContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.SynchronizedStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ThisFormalParameterContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ThisPrmrAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.ThrowStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.TryCatchStatementContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.TryCatchStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.TypeArgumentContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.TypeArgumentsContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.TypeArgumentsOrDiamondContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.TypeBoundContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.TypeContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.TypeDeclarationContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.TypeListContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.TypeNamePairContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.TypeNamePairsContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.TypeParameterContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.TypeParametersContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.UnaryAddExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.UnaryNotExprAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.VariableDeclarationContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.VariableDeclaratorContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.VariableDeclaratorIdContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.VariableDeclaratorsContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.VariableInitializerContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.VariableModifierContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.VariableModifiersContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.VariableModifiersOptContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.VariableNamesContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.WhileStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.YieldReturnStmtAltContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.YieldStatementContext
-
- accept(ParseTreeVisitor<? extends Result>) - Method in GroovyParser.YieldStmtAltContext
-
- accept(GinqAstVisitor<R>) - Method in GroupExpression
-
Accepts a visitor for this clause.
- accept(GinqAstVisitor<R>) - Method in HavingExpression
-
Accepts a visitor for this clause.
- accept(GinqAstVisitor<R>) - Method in JoinExpression
-
Accepts a visitor for this clause.
- accept(GinqAstVisitor<R>) - Method in LimitExpression
-
Accepts a visitor for this clause.
- accept(GinqAstVisitor<R>) - Method in OnExpression
-
Accepts a visitor for this clause.
- accept(GinqAstVisitor<R>) - Method in OrderExpression
-
Accepts a visitor for this clause.
- accept(GinqAstVisitor<R>) - Method in SelectExpression
-
Accepts a visitor for this clause.
- accept(GinqAstVisitor<R>) - Method in SetOperationExpression
-
Accepts a visitor for this expression.
- accept(GinqAstVisitor<R>) - Method in ShutdownExpression
-
Accepts a visitor for this expression.
- accept(java.net.ServerSocket, boolean, groovy.lang.Closure) - Method in SocketGroovyMethods
-
Accepts a connection and passes the resulting Socket to the closure
which runs in a new Thread or the calling thread, as needed.
- accept(java.lang.String) - Method in SourceAwareCustomizer
-
- accept(GinqAstVisitor<R>) - Method in WhereExpression
-
Accepts a visitor for this clause.
- acceptBaseName(java.lang.String) - Method in SourceAwareCustomizer
-
- acceptClass(org.codehaus.groovy.ast.ClassNode) - Method in SourceAwareCustomizer
-
- acceptExtension(java.lang.String) - Method in SourceAwareCustomizer
-
- acceptGetProperty(java.lang.Object) - Method in AbstractCallSite
-
- acceptGetProperty(java.lang.Object) - Method in GetEffectivePogoFieldSite
-
- acceptGetProperty(java.lang.Object) - Method in GetEffectivePojoPropertySite
-
- acceptGetProperty(java.lang.Object) - Method in PogoGetPropertySite
-
- acceptGetProperty(java.lang.Object) - Method in PogoMetaClassGetPropertySite
-
- acceptGetProperty(java.lang.Object) - Method in PojoMetaClassGetPropertySite
-
- acceptGroovyObjectGetProperty(java.lang.Object) - Method in AbstractCallSite
-
- acceptGroovyObjectGetProperty(java.lang.Object) - Method in GetEffectivePogoFieldSite
-
- acceptGroovyObjectGetProperty(java.lang.Object) - Method in PogoGetPropertySite
-
- acceptGroovyObjectGetProperty(java.lang.Object) - Method in PogoMetaClassGetPropertySite
-
- acceptLongOptionsWithSingleHyphen - Property in CliBuilder
-
For backwards compatibility with Apache Commons CLI, set this property to
true if the parser should recognize long options with both
a single hyphen and a double hyphen prefix.
- acceptLongOptionsWithSingleHyphen - Property in CliBuilderInternal
-
For backwards compatibility with Apache Commons CLI, set this property to
true if the parser should recognize long options with both
a single hyphen and a double hyphen prefix.
- acceptSource(org.codehaus.groovy.control.SourceUnit) - Method in SourceAwareCustomizer
-
- accessibleToConstructor(java.lang.Class, java.lang.reflect.Constructor) - Method in MetaClassHelper
-
- AccessRules(Map<String,Object>) - Constructor in GroovyEngine.AccessRules
-
Constructs AccessRules from the given options map.
- acirc - Field in Entity
-
Entity reference â.
- ACTION_ARGS - Property in RichActionWidgetFactory
-
Parameter types used to locate the action constructor.
- action(org.antlr.v4.runtime.RuleContext, int, int) - Method in GroovyLexer
-
- actionCtor - Property in RichActionWidgetFactory
-
Cached constructor that accepts an
Action.
- ActionFactory - Class in groovy.swing.factory
Factory for creating Swing action nodes.
- ActionFactory() - Constructor in ActionFactory
-
- actionPerformed(java.awt.event.ActionEvent) - Method in AutoIndentAction
-
Inserts a newline and copies the leading whitespace of the current line.
- actionPerformed(java.awt.event.ActionEvent) - Method in DefaultAction
-
Invokes the configured closure in response to the action event.
- actionPerformed(java.awt.event.ActionEvent) - Method in LexerFrame
-
- ActiveMethod - Annotation Type in groovy.transform
Marks a method within an
ActiveObject class for
actor-backed execution.
- ActiveObject - Annotation Type in groovy.transform
Marks a class as an active object whose
ActiveMethod-annotated
methods are automatically routed through an internal actor for
thread-safe, serialised execution.
- ActiveObjectASTTransformation - Class in org.codehaus.groovy.transform
Handles the
ActiveObject annotation, transforming
ActiveMethod-annotated methods to route through an
internal actor for serialised execution.
- Actor - Interface in groovy.concurrent
A lightweight message-passing actor for concurrent state management.
- actorName - Field in ActiveObject
-
The name of the generated actor field.
- acute - Field in Entity
-
Entity reference ´.
- adaptee - Field in ProxyMetaClass
-
Wrapped meta class that performs the underlying dispatch.
- adapter - Property in TreeNodeBuildingNodeOperation
-
Adapter used to create child nodes.
- AdaptingMetaClass - Interface in groovy.lang
An interface for MetaClass instances that "adapt" other MetaClass instances such as a proxy or
delegating MetaClass.
- ADD_ASSIGN() - Method in GroovyParser.AssignmentExprAltContext
-
- add(char) - Method in CharBuf
-
Appends a single character.
- add(char[]) - Method in Chr
-
Concatenates all non-null arrays.
- add(org.codehaus.groovy.syntax.CSTNode) - Method in CSTNode
-
Adds an element to this node.
- add(Map<String,Object>) - Method in DataSet
-
Adds the provided map of key-value pairs as a new row in the table represented by this DataSet.
- add(T) - Method in EmptyRange
-
Always throws UnsupportedOperationException for an empty range.
- add(java.lang.Object) - Method in FastArray
-
Appends an element to the end of this array, growing the backing storage when needed.
- add(CategoryMethod) - Method in GroovyCategorySupport.CategoryMethodList
-
- add(List<String>) - Method in GroovyDocTool
-
Adds source files to the documentation set.
- ADD() - Method in GroovyParser.AdditiveExprAltContext
-
- ADD() - Method in GroovyParser.UnaryAddExprAltContext
-
- add(java.util.Map) - Method in GroovyResultSet
-
Adds a new row to this result set
- add(java.util.Map) - Method in GroovyResultSetExtension
-
Adds a new row to the result set
- add(org.apache.groovy.json.internal.MapItemValue) - Method in LazyValueMap
-
Adds a new MapItemValue to the mapping.
- add(int, T) - Method in ListWithDefault
-
{@inheritDoc}
- add(E) - Method in ListWrapperListModel
-
Appends the supplied element to the backing list and notifies listeners.
- add(T) - Method in ManagedConcurrentLinkedQueue
-
Adds the specified value to the queue.
- add(java.lang.Number, java.lang.Number) - Method in NumberMath
-
- add(java.lang.Object) - Method in ObservableList
-
{@inheritDoc}
- add(java.lang.Object) - Method in ObservableList.ObservableListIterator
-
{@inheritDoc}
- add(E) - Method in ObservableSet
-
{@inheritDoc}
- add(groovy.lang.Closure) - Method in OrderBy
-
Adds a comparison closure evaluated after any existing closures.
- add(org.codehaus.groovy.syntax.CSTNode) - Method in Reduction
-
Adds an element to the end of this reduction.
- add(java.lang.Object) - Method in Sequence
-
{@inheritDoc}
- add(org.codehaus.groovy.groovydoc.GroovyMethodDoc) - Method in SimpleGroovyClassDoc
-
Adds a method to this class.
- add(org.codehaus.groovy.groovydoc.GroovyParameter) - Method in SimpleGroovyExecutableMemberDoc
-
Adds a parameter to this executable member.
- add(groovy.console.TextNode) - Method in TextNode
-
Adds a child node.
- add(java.lang.Object) - Method in ValueList
-
Adds a parsed element without forcing conversion.
- add(org.apache.groovy.json.internal.MapItemValue) - Method in ValueMap
-
Adds a parsed entry without forcing full map hydration.
- add(org.apache.groovy.json.internal.MapItemValue) - Method in ValueMapImpl
-
- addAdditionalClassesToScan(Set<Class>, Set<Class>) - Method in AbstractExtensionMethodCache
-
- addAdditionalClassesToScan(Set<Class>, Set<Class>) - Method in ExtensionMethodCache
-
- addAddListener(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.FieldNode, org.codehaus.groovy.ast.ClassNode, java.lang.String, java.lang.Object) - Method in ListenerListASTTransformation
-
Adds the add<Listener> method like:
synchronized void add${name.capitalize}(${listener.name} listener) {
if (listener == null)
return
if (${field.name} == null)
${field.name} = []
${field.name}.add(listener)
}
- addAll(List<T>, int, T) - Method in DefaultGroovyMethods
-
Modifies this list by inserting all the elements in the specified array into the
list at the specified position.
- addAll(Collection<? extends T>) - Method in EmptyRange
-
Always throws UnsupportedOperationException for an empty range.
- addAll(java.util.List) - Method in FastArray
-
Appends the contents of the supplied list.
- addAll(int, Collection<? extends T>) - Method in ListWithDefault
-
{@inheritDoc}
- addAll(int, Collection<? extends E>) - Method in ListWrapperListModel
-
Inserts every element from the supplied collection at the supplied index.
- addAll(int, java.util.Collection) - Method in ObservableList
-
{@inheritDoc}
- addAll(Collection<? extends E>) - Method in ObservableSet
-
{@inheritDoc}
- addAll(int, java.util.Collection) - Method in Sequence
-
{@inheritDoc}
- addAllListeners(java.beans.PropertyChangeListener, java.lang.Object, java.util.Set) - Method in BindPath
-
Adds all the listeners to the objects in the bind path.
- addAmbiguousErrorMessage(List<MethodNode>, java.lang.String, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypeCheckingVisitor
-
- addAnnotation(org.codehaus.groovy.ast.AnnotationNode) - Method in AnnotatedNode
-
Attaches an annotation node to this AST node.
- addAnnotationRef(org.codehaus.groovy.groovydoc.GroovyAnnotationRef) - Method in SimpleGroovyParameter
-
Adds an annotation reference declared on this parameter.
- addAnnotationRef(org.codehaus.groovy.groovydoc.GroovyAnnotationRef) - Method in SimpleGroovyProgramElementDoc
-
Adds an annotation declared on this element.
- addAnnotations(List<AnnotationNode>) - Method in AnnotatedNode
-
Attaches a list of annotations to this AST node.
- addAssertionCallStatementToReturnStatement(org.codehaus.groovy.ast.stmt.BlockStatement, org.codehaus.groovy.ast.stmt.ReturnStatement, org.codehaus.groovy.ast.stmt.Statement) - Method in AssertStatementCreationUtility
-
Rewrites the target return statement so it evaluates the return expression once, executes the
assertion call, and finally returns the stored value.
- AddAssertionCallStatementToReturnStatementVisitor(org.codehaus.groovy.ast.stmt.ReturnStatement, org.codehaus.groovy.ast.stmt.Statement) - Constructor in AssertStatementCreationUtility.AddAssertionCallStatementToReturnStatementVisitor
-
Creates a visitor that rewrites one return statement to execute an assertion call before returning.
- addAssignmentError(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypeCheckingVisitor
-
- addAttributeDelegate(groovy.lang.Closure) - Method in FactoryBuilderSupport
-
Add an attribute delegate so it can intercept attributes being set.
- addBatch(List<Object>) - Method in BatchingPreparedStatementWrapper
-
Adds one parameter set to the batch.
- addBatch(java.lang.String) - Method in BatchingStatementWrapper
-
Adds a SQL command to the current batch.
- addBigDecimal(java.math.BigDecimal) - Method in CharBuf
-
- addBigInteger(java.math.BigInteger) - Method in CharBuf
-
- addBinding(org.apache.groovy.swing.binding.BindingUpdatable) - Method in AggregateBinding
-
Adds a binding to the aggregate.
- addBoolean(boolean) - Method in CharBuf
-
Appends a boolean value.
- addByte(byte) - Method in CharBuf
-
Appends a byte value as a character digit sequence.
- addCallsToSuperMethodNodeAnnotationClosure(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode, Class<? extends Annotation>, org.codehaus.groovy.ast.expr.BooleanExpression, boolean) - Method in BaseGenerator
-
Merges inherited contract closures into the supplied predicate for the given method.
- addCase(org.codehaus.groovy.ast.stmt.CaseStatement) - Method in SwitchStatement
-
Adds a case statement to this switch.
- addCatch(org.codehaus.groovy.ast.stmt.CatchStatement) - Method in TryCatchStatement
-
Adds a
CatchStatement} to this try-catch block and returns this for method chaining.
- addCategoryMethodCallError(org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypeCheckingVisitor
-
- addCell(groovy.swing.impl.TableLayoutCell) - Method in TableLayout
-
Adds a new cell to the current grid
- addCell(groovy.swing.impl.TableLayoutCell) - Method in TableLayoutRow
-
Adds a new cell to this row
- addChangeListener(java.util.prefs.PreferenceChangeListener) - Method in Preferences
-
- addChar(char) - Method in CharBuf
-
Appends a character.
- addChars(char[]) - Method in CharBuf
-
- addChild(java.lang.Object) - Method in Node
-
Adds an object as a new child to this Node.
- addChildrenOf(org.codehaus.groovy.syntax.CSTNode) - Method in CSTNode
-
Adds all children of the specified node to this node.
- addClass(org.codehaus.groovy.ast.ClassNode) - Method in CompileUnit
-
Adds a single class to this compilation unit, checking for duplicates and reporting errors.
- addClass(org.codehaus.groovy.ast.ClassNode) - Method in ModuleNode
-
Adds a class definition to this module.
- addClasses(List<ClassNode>) - Method in CompileUnit
-
Adds all classes in the given list to this compilation unit.
- addClassNode(org.codehaus.groovy.ast.ClassNode) - Method in CompilationUnit
-
Adds a ClassNode directly to the unit (i.e. without source).
- addClassNodeToCompile(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.control.SourceUnit) - Method in CompileUnit
-
Marks a class for compilation and associates it with its source location.
- addClasspath(java.lang.String) - Method in GroovyClassLoader
-
adds a classpath to this classloader.
- addClasspath(java.lang.String) - Method in GroovyClassLoader.InnerLoader
-
adds a classpath to this classloader.
- Parameters:
path - is a jar file or a directory.
- See Also:
- addURL(URL)
- addClassPath(java.lang.String) - Method in LoaderConfiguration
-
Adds a classpath to this configuration.
- addClasspathDir(java.util.EventObject) - Method in Console
-
Adds a directory to the shell classpath.
- addClassPathes(groovy.lang.GroovyClassLoader) - Method in Groovy
-
Adds the class paths (if any)
- addClasspathJar(java.util.EventObject) - Method in Console
-
Adds jar files to the shell classpath.
- addClassTest(groovy.lang.Closure) - Method in StackTraceUtils
-
Adds a groovy.lang.Closure to test whether the stack trace
element should be added or not.
- addClosureCode(org.codehaus.groovy.ast.InnerClassNode) - Method in Verifier
-
- addClosureColumn(java.lang.Object, groovy.lang.Closure, groovy.lang.Closure, java.lang.Class) - Method in DefaultTableModel
-
Adds a closure based column to the table
- addClosureReturnType(org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingVisitor
-
- addCollectorContents(org.codehaus.groovy.control.ErrorCollector) - Method in ErrorCollector
-
- addColumn(groovy.swing.model.DefaultTableColumn) - Method in DefaultTableModel
-
Adds a new column definition to the table
- addCompilationCustomizers(org.codehaus.groovy.control.customizers.CompilationCustomizer) - Method in CompilerConfiguration
-
Adds compilation customizers to the compilation process.
- addCompleter(Completer) - Method in SystemRegistryImpl
-
Adds a completer to the registry.
- addComponent(java.awt.Component) - Method in TableLayoutCell
-
Adds the component rendered by this table cell and registers the cell with its parent row.
- addComponentsForRow() - Method in TableLayoutRow
-
Materializes the row into the parent layout by assigning row coordinates to each cell.
- addConfigured(org.apache.tools.ant.types.ResourceCollection) - Method in Groovy
-
Set the source resource.
- addConfiguredJavac(org.apache.tools.ant.taskdefs.Javac) - Method in Groovyc
-
Add the configured nested javac task if present to initiate joint compilation.
- addConstructor(int, org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.stmt.Statement) - Method in ClassNode
-
- addConstructor(org.codehaus.groovy.ast.expr.ClosureExpression, org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.InnerClassNode, org.codehaus.groovy.ast.stmt.BlockStatement) - Method in ClosureWriter
-
- addConstructor(org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.ConstructorNode, org.codehaus.groovy.ast.stmt.Statement, org.codehaus.groovy.ast.ClassNode) - Method in Verifier
-
- addConverter(Class<T>, Closure<?>) - Method in JsonGenerator.Options
-
Registers a closure that will be called when the specified type or subtype
is serialized.
- addCovariantMethods(org.codehaus.groovy.ast.ClassNode) - Method in Verifier
-
- addDeclaredMethodsFromAllInterfaces(org.codehaus.groovy.ast.ClassNode, Map<String,MethodNode>) - Method in ClassNodeUtils
-
Adds methods from interfaces and parent interfaces.
- addDeclaredMethodsFromInterfaces(org.codehaus.groovy.ast.ClassNode, Map<String,MethodNode>) - Method in ClassNodeUtils
-
Adds methods from all interfaces.
- addDefaultConstructor(org.codehaus.groovy.ast.ClassNode) - Method in Verifier
-
- addDefaultParameterConstructors(org.codehaus.groovy.ast.ClassNode) - Method in Verifier
-
Creates a new constructor for each combination of default parameter expressions.
- addDefaultParameterMethods(org.codehaus.groovy.ast.ClassNode) - Method in Verifier
-
Creates a new method for each combination of default parameter expressions.
- addDefaultParameters(org.codehaus.groovy.classgen.Verifier.DefaultArgsAction, org.codehaus.groovy.ast.MethodNode) - Method in Verifier
-
- addDisposalClosure(groovy.lang.Closure) - Method in FactoryBuilderSupport
-
Registers a closure to run when the builder is disposed.
- addDouble(java.lang.Double) - Method in CharBuf
-
Appends a
Double using cached character data.
- ADDED - Enum Constant in ObservableList.ChangeType
-
A single element was added.
- ADDED - Enum Constant in ObservableMap.ChangeType
-
A property was added.
- ADDED - Enum Constant in ObservableSet.ChangeType
-
A single element was added.
- addEnumConstant(org.codehaus.groovy.ast.ClassNode, java.lang.String, org.codehaus.groovy.ast.expr.Expression) - Method in EnumHelper
-
- addEnumConstant(org.codehaus.groovy.groovydoc.GroovyFieldDoc) - Method in SimpleGroovyClassDoc
-
Adds an enum constant to this class.
- addError(java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in AbstractASTTransformation
-
Records a transformation error message associated with an AST node.
- addError(java.lang.String, org.codehaus.groovy.ast.ASTNode, org.codehaus.groovy.control.SourceUnit) - Method in AnnotationCollectorTransform
-
Adds a new syntax error to the source unit and then continues.
- addError(java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in AnnotationVisitor
-
- addError(java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in ClassCodeVisitorSupport
-
Adds an error message associated with an AST node to the source unit.
- addError(java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in ErrorCollecting
-
- addError(java.lang.String, org.codehaus.groovy.syntax.CSTNode, org.codehaus.groovy.control.SourceUnit) - Method in ErrorCollector
-
- addError(java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in JavaAwareResolveVisitor
-
- addError(java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in MethodInvocationTrap
-
Reports an error back to the source unit with line and column information.
- addError(java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in ProcessingContextInformation
-
Adds a syntax error tied to the given AST node while allowing compilation to continue collecting errors.
- addError(org.codehaus.groovy.syntax.SyntaxException) - Method in SourceUnit
-
This method adds a SyntaxException to the error collector.
- addError(java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in StaticTypeCheckingVisitor
-
- addErrorAndContinue(org.codehaus.groovy.control.messages.Message) - Method in ErrorCollector
-
Adds an error to the message set, but does not cause a failure.
- addErrorAndContinue(org.codehaus.groovy.syntax.SyntaxException) - Method in SourceUnit
-
- addEventListeners(javax.management.MBeanServer, Map<String,Map<String,Object>>) - Method in JmxBuilderModelMBean
-
Sets up event listeners for this MBean as described in the descriptor.
- addException(java.lang.Exception, org.codehaus.groovy.control.SourceUnit) - Method in ErrorCollector
-
- addException(java.lang.Exception) - Method in SourceUnit
-
This method adds an exception to the error collector.
- addExceptionBlock(org.objectweb.asm.Label, org.objectweb.asm.Label, org.objectweb.asm.Label, java.lang.String) - Method in CompileStack
-
- addExpression(org.codehaus.groovy.ast.expr.Expression) - Method in ArrayExpression
-
Adds an element to the initializer expressions.
- addExpression(org.codehaus.groovy.ast.expr.Expression) - Method in ListExpression
-
- addExpression(org.codehaus.groovy.ast.expr.Expression) - Method in ListOfExpressionsExpression
-
- addExpression(org.codehaus.groovy.ast.expr.Expression) - Method in TupleExpression
-
Adds an expression to this tuple.
- addExpressionCheckers(org.codehaus.groovy.control.customizers.SecureASTCustomizer.ExpressionChecker) - Method in SecureASTCustomizer
-
- addFatalError(org.codehaus.groovy.control.messages.Message) - Method in ErrorCollector
-
Adds an error to the message set and throws CompilationFailedException.
- addFatalError(java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in SourceUnit
-
- addField(java.lang.String, int, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression) - Method in ClassNode
-
Creates and adds a
FieldNode to this ClassNode with the specified properties.
- addFieldFirst(java.lang.String, int, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression) - Method in ClassNode
-
Creates and adds a
FieldNode to the beginning of this ClassNode's field list
with the specified properties.
- addFieldInit(org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.FieldNode, org.codehaus.groovy.ast.stmt.BlockStatement) - Method in InnerClassVisitorHelper
-
- addFieldInitialization(java.util.List, java.util.List, org.codehaus.groovy.ast.FieldNode, boolean, java.util.List, java.util.Set) - Method in Verifier
-
- addFieldsForLocalVariables(org.codehaus.groovy.ast.InnerClassNode, org.codehaus.groovy.ast.Parameter) - Method in ClosureWriter
-
- addFile(java.lang.String) - Method in LoaderConfiguration
-
Adds a file to the classpath if it exists.
- addFileset(org.apache.tools.ant.types.FileSet) - Method in FileScanner
-
Adds a set of files (nested fileset attribute).
- addFileset(org.apache.tools.ant.types.FileSet) - Method in Groovy
-
Adds a fileset (nested fileset attribute) which should represent a single source file.
- addFilterChain(org.apache.tools.ant.types.FilterChain) - Method in Groovy
-
Add the FilterChain element.
- addFireMethods(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.FieldNode, org.codehaus.groovy.ast.GenericsType, boolean, org.codehaus.groovy.ast.MethodNode) - Method in ListenerListASTTransformation
-
Adds the fire<Event> methods like:
void fire${fireMethod.capitalize()}(${parameterList.join(', ')}) {
if (${field.name} !
- addFirstPhaseOperation(org.codehaus.groovy.control.CompilationUnit.PrimaryClassNodeOperation, int) - Method in CompilationUnit
-
- addFloat(java.lang.Float) - Method in CharBuf
-
Appends a
Float using cached character data.
- addGeneratedClosureConstructorCall(org.codehaus.groovy.ast.expr.ConstructorCallExpression) - Method in ClosureWriter
-
- addGeneratedConstructor(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ConstructorNode) - Method in ClassNodeUtils
-
Adds a method that is marked as @Generated.
- addGeneratedInnerClass(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in ClassNodeUtils
-
Adds an inner class that is marked as @Generated.
- addGeneratedInnerClass(org.codehaus.groovy.ast.InnerClassNode) - Method in CompileUnit
-
Adds a generated inner class to the map of generated inner classes.
- addGeneratedMethod(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode, boolean) - Method in ClassNodeUtils
-
Adds a method and mark it as @Generated.
- addGetListeners(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.FieldNode, org.codehaus.groovy.ast.ClassNode, java.lang.String, java.lang.Object) - Method in ListenerListASTTransformation
-
Adds the get<Listener>s method like:
synchronized ${name.capitalize}[] get${name.capitalize}s() {
def __result = []
if (${field.name} !
- addGlobalTransforms(org.codehaus.groovy.control.ASTTransformationsContext) - Method in ASTTransformationVisitor
-
- addGlobalTransformsAfterGrab(org.codehaus.groovy.control.ASTTransformationsContext) - Method in ASTTransformationVisitor
-
- addGroovyObjectInterfaceAndMethods(org.codehaus.groovy.ast.ClassNode, java.lang.String) - Method in Verifier
-
- addHandler(org.codehaus.groovy.transform.stc.TypeCheckingExtension) - Method in DefaultTypeCheckingExtension
-
- addImpl(java.lang.Number, java.lang.Number) - Method in BigDecimalMath
-
- addImpl(java.lang.Number, java.lang.Number) - Method in BigIntegerMath
-
- addImpl(java.lang.Number, java.lang.Number) - Method in FloatingPointMath
-
- addImpl(java.lang.Number, java.lang.Number) - Method in IntegerMath
-
- addImpl(java.lang.Number, java.lang.Number) - Method in LongMath
-
- addImpl(java.lang.Number, java.lang.Number) - Method in NumberMath
-
- addImport(org.codehaus.groovy.ast.ClassNode, java.lang.String, java.lang.String, List<AnnotationNode>) - Method in ASTHelper
-
Adds a type import to the module with optional annotations.
- addImport(java.lang.String, java.lang.String) - Method in ImportCustomizer
-
- addImport(java.lang.String, org.codehaus.groovy.ast.ClassNode, List<AnnotationNode>) - Method in ModuleNode
-
Registers a regular import with optional annotations.
- addImports(java.lang.String) - Method in ImportCustomizer
-
- addInitialization(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ConstructorNode) - Method in Verifier
-
- addInnerClass(org.codehaus.groovy.ast.ClassNode) - Method in AsmClassGenerator
-
- addInt(java.lang.Integer) - Method in CharBuf
-
Appends an
Integer using cached character data.
- addInterface(org.codehaus.groovy.ast.ClassNode) - Method in ClassNode
-
Adds an interface to the list of interfaces implemented by this
ClassNode.
- addInterfaceName(java.lang.String) - Method in SimpleGroovyClassDoc
-
Adds the name of an implemented or extended interface for later resolution.
- addInvariantAssertionStatement(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in ClassInvariantGenerator
-
Adds the current class-invariant to the given method.
- ADDITIONAL_CLASSES - Field in DefaultGroovyMethods
-
- AdditiveExprAltContext(ExpressionContext) - Constructor in GroovyParser.AdditiveExprAltContext
-
- addJavaCompilationUnits(Set<javax.tools.JavaFileObject>) - Method in CompilationUnit
-
- addJoinExpression(org.apache.groovy.ginq.dsl.expression.JoinExpression) - Method in GinqExpression
-
Adds a join clause.
- addJsonEscapedString(char[], boolean) - Method in CharBuf
-
Appends a quoted JSON string from a character array.
- addJsonFieldName(char[], boolean) - Method in CharBuf
-
Appends a quoted JSON field name followed by a colon.
- addLayoutProperties(java.lang.Object) - Method in GridBagFactory
-
- addLayoutProperties(java.lang.Object) - Method in LayoutFactory
-
Copies layout constants into the builder context.
- addLine(java.lang.CharSequence) - Method in CharBuf
-
Appends a character sequence followed by a newline character.
- addListener(groovy.console.ui.Console) - Method in ConsoleIvyPlugin
-
Registers an Ivy listener that reports Grape progress to the console.
- addListener(groovy.console.ui.Console) - Method in ConsoleMavenPlugin
-
Registers a Maven Resolver listener that reports Grape progress to the console.
- addListeners(java.beans.PropertyChangeListener, java.lang.Object, java.util.Set) - Method in BindPath
-
Add listeners to a specific object.
- addLoggerFieldToClass(org.codehaus.groovy.ast.ClassNode, java.lang.String, java.lang.String) - Method in LogASTTransformation.AbstractLoggingStrategyV2
-
- addLoggerFieldToClass(org.codehaus.groovy.ast.ClassNode, java.lang.String, java.lang.String) - Method in LogASTTransformation.LoggingStrategy
-
In this method, you are given a ClassNode, a field name and a category name, and you must add a new Field
onto the class.
- addLoggerFieldToClass(org.codehaus.groovy.ast.ClassNode, java.lang.String, java.lang.String, int) - Method in LogASTTransformation.LoggingStrategyV2
-
In this method, you are given a ClassNode, a field name and a category name, and you must add a new Field
onto the class.
- addLong(java.lang.Long) - Method in CharBuf
-
Appends a
Long using cached character data.
- addLookAndFeelAlias(java.lang.String, java.lang.String) - Method in LookAndFeelHelper
-
Registers an alias for a look and feel implementation class.
- addLookAndFeelAttributeHandler(java.lang.String, java.lang.String, groovy.lang.Closure) - Method in LookAndFeelHelper
-
Registers a handler for a custom look and feel attribute.
- addMapEntryExpression(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Method in MapExpression
-
- addMember(java.lang.String, org.codehaus.groovy.ast.expr.Expression) - Method in AnnotationNode
-
- addMetaBeanProperty(groovy.lang.MetaBeanProperty) - Method in ClosureMetaClass
-
- addMetaBeanProperty(groovy.lang.MetaBeanProperty) - Method in DelegatingMetaClass
-
Adds a new MetaBeanProperty to the MetaClass
- Parameters:
metaBeanProperty - The MetaBeanProperty instance
- addMetaBeanProperty(groovy.lang.MetaBeanProperty) - Method in HandleMetaClass
-
- addMetaBeanProperty(groovy.lang.MetaBeanProperty) - Method in MetaClassImpl
-
Adds a new MetaBeanProperty to this MetaClass
- addMetaBeanProperty(groovy.lang.MetaBeanProperty) - Method in MutableMetaClass
-
Adds a new MetaBeanProperty to the MetaClass
- addMetaClassRegistryChangeEventListener(groovy.lang.MetaClassRegistryChangeEventListener) - Method in MetaClassRegistry
-
Adds a metaclass change listener for constant metaclasses
- addMetaClassRegistryChangeEventListener(groovy.lang.MetaClassRegistryChangeEventListener) - Method in MetaClassRegistryImpl
-
Adds a listener for constant metaclasses.
- addMetaMethod(groovy.lang.MetaMethod) - Method in ClosureMetaClass
-
- addMetaMethod(groovy.lang.MetaMethod) - Method in DelegatingMetaClass
-
Adds a new MetaMethod to the MetaClass
- Parameters:
metaMethod - The MetaMethod to add
- addMetaMethod(groovy.lang.MetaMethod) - Method in HandleMetaClass
-
- addMetaMethod(groovy.lang.MetaMethod) - Method in MetaClassImpl
-
Adds a MetaMethod to this class.
- addMetaMethod(groovy.lang.MetaMethod, Map<String,Cache>) - Method in MetaMethodIndex
-
- addMetaMethod(groovy.lang.MetaMethod) - Method in MutableMetaClass
-
Adds a new MetaMethod to the MetaClass
- addMetaMethodToIndex(groovy.lang.MetaMethod, Map<String,MetaMethodIndex.Cache>) - Method in MetaClassImpl
-
Adds a meta method to the supplied method index after standard-hook bookkeeping.
- addMethod(java.lang.String, int, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.stmt.Statement) - Method in ClassNode
-
Creates and adds a
MethodNode to this ClassNode with the specified properties,
but only if a method with the same name and parameter signature does not already exist.
- addMethod(org.codehaus.groovy.ast.MethodNode) - Method in ModuleNode
-
Adds a module-level method definition.
- addMethod(org.codehaus.groovy.ast.ClassNode, boolean, java.lang.String, int, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.stmt.Statement) - Method in Verifier
-
Helper method to add a new method to a ClassNode.
- addMethodGenerics(org.codehaus.groovy.ast.MethodNode, Map<String,ClassNode>) - Method in GenericsUtils
-
- addMethodToList(java.lang.Object, groovy.lang.MetaMethod) - Method in MetaMethodIndex
-
- addMixin(org.codehaus.groovy.ast.MixinNode) - Method in ClassNode
-
- addMixinClass(org.codehaus.groovy.reflection.MixinInMetaClass) - Method in ExpandoMetaClass
-
- addModel(java.lang.String, java.lang.Object) - Method in FormModel
-
Registers a model under the given field name.
- addModule(org.codehaus.groovy.ast.ModuleNode) - Method in CompileUnit
-
Adds a module to this compilation unit along with all its classes.
- addModule(org.codehaus.groovy.runtime.m12n.ExtensionModule) - Method in ExtensionModuleRegistry
-
- addModuleImports(java.lang.String) - Method in ImportCustomizer
-
Adds module imports.
- addModuleStarImport(java.lang.String, List<AnnotationNode>) - Method in ModuleNode
-
Adds a module-level star import with optional annotations.
- addMouseListenerToHeaderInTable(javax.swing.JTable) - Method in TableSorter
-
Installs a header listener that resorts the table when a column header is clicked.
- addNested(org.codehaus.groovy.groovydoc.GroovyClassDoc) - Method in SimpleGroovyClassDoc
-
Adds a nested class or interface to this class.
- addNewInstanceMethod(java.lang.reflect.Method) - Method in ClosureMetaClass
-
- addNewInstanceMethod(java.lang.reflect.Method) - Method in DelegatingMetaClass
-
adds a new instance method to this MetaClass. Instance
methods are able to overwrite the original methods of the
class. Calling this method should not be done after
initialise was called.
- Parameters:
method - the method to be added
- addNewInstanceMethod(java.lang.reflect.Method) - Method in HandleMetaClass
-
- addNewInstanceMethod(java.lang.reflect.Method) - Method in MetaClassImpl
-
Adds an instance method to this metaclass.
- addNewInstanceMethod(java.lang.reflect.Method) - Method in MutableMetaClass
-
adds a new instance method to this MetaClass.
- addNewMopMethods(List<MetaMethod>) - Method in CachedClass
-
Adds a list of new meta-methods to this class's existing MOP methods.
- addNewPhaseOperation(org.codehaus.groovy.control.CompilationUnit, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.ClassNode) - Method in ASTTransformationVisitor
-
Enables transforms for class that was added during current phase.
- addNewPhaseOperation(org.codehaus.groovy.control.CompilationUnit.SourceUnitOperation, int) - Method in CompilationUnit
-
- addNewStaticMethod(java.lang.reflect.Method) - Method in ClosureMetaClass
-
- addNewStaticMethod(java.lang.reflect.Method) - Method in DelegatingMetaClass
-
adds a new static method to this MetaClass. This is only
possible as long as initialise was not called.
- Parameters:
method - the method to be added
- addNewStaticMethod(java.lang.reflect.Method) - Method in HandleMetaClass
-
- addNewStaticMethod(java.lang.reflect.Method) - Method in MetaClassImpl
-
Adds a static method to this metaclass.
- addNewStaticMethod(java.lang.reflect.Method) - Method in MutableMetaClass
-
adds a new static method to this MetaClass.
- addNoMatchingMethodError(org.codehaus.groovy.ast.ClassNode, java.lang.String, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ASTNode) - Method in StaticTypeCheckingVisitor
-
- addNonRemovableMetaClassRegistryChangeEventListener(groovy.lang.MetaClassRegistryChangeEventListener) - Method in MetaClassRegistry
-
Adds a metaclass change listener for constant metaclasses.
- addNonRemovableMetaClassRegistryChangeEventListener(groovy.lang.MetaClassRegistryChangeEventListener) - Method in MetaClassRegistryImpl
-
Adds a listener for constant metaclasses.
- addNotify() - Method in TextEditor
-
{@inheritDoc}
- addNull() - Method in CharBuf
-
Appends the JSON literal null.
- addObjectInitializerStatements(org.codehaus.groovy.ast.stmt.Statement) - Method in ClassNode
-
Adds a statement to the object initializer.
- addOldVariableMethodNode(org.codehaus.groovy.ast.ClassNode) - Method in OldVariableGenerationUtility
-
Creates a synthetic method handling generation of the old variable map.
- addOldVariablesMethod(org.codehaus.groovy.ast.ClassNode) - Method in PostconditionGenerator
-
Adds a synthetic method to the given classNode which can be used
to create a map of most instance variables found in this class.
- addOperationCallListeners(Map<String,Map<String,Map<String,Object>>>) - Method in JmxBuilderModelMBean
-
Registers listeners for operation calls (i.e. method, getter, and setter calls) when
invoked on this bean from the MBeanServer.
- addOptionsFromAnnotations(java.lang.Class, boolean) - Method in CliBuilder
-
Adds options declared with
Option annotations to this builder.
- addPhaseOperation(org.codehaus.groovy.control.CompilationUnit.PrimaryClassNodeOperation, int) - Method in CompilationUnit
-
- addPhaseOperations(org.codehaus.groovy.control.CompilationUnit) - Method in ASTTransformationVisitor
-
- addPostInstantiateDelegate(groovy.lang.Closure) - Method in FactoryBuilderSupport
-
Add a postInstantiate delegate so it can intercept nodes after they are
created.
- addPostNodeCompletionDelegate(groovy.lang.Closure) - Method in FactoryBuilderSupport
-
Add a nodeCompletion delegate so it can intercept nodes after they done
with building.
- addPreInstantiateDelegate(groovy.lang.Closure) - Method in FactoryBuilderSupport
-
Add a preInstantiate delegate so it can intercept nodes before they are
created.
- addProgressListener(groovy.lang.Closure) - Method in GrapeMaven
-
Adds a progress listener for resolution events.
- addProperty(java.lang.String, int, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.stmt.Statement, org.codehaus.groovy.ast.stmt.Statement) - Method in ClassNode
-
Creates and adds a
PropertyNode to this ClassNode with the specified properties,
or returns an existing property with the same name if one is already present.
- addProperty(org.codehaus.groovy.groovydoc.GroovyFieldDoc) - Method in SimpleGroovyClassDoc
-
Adds a property to this class.
- addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener) - Method in ObservableList
-
Registers a listener for a named bound property.
- addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener) - Method in ObservableMap
-
Registers a listener for a named bound property.
- addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener) - Method in ObservableSet
-
Registers a listener for a named bound property.
- addPropertyChangeListener(java.beans.PropertyChangeListener) - Method in TextUndoManager
-
Registers a listener for undo/redo state changes.
- addPropertyChangeListener(java.beans.PropertyChangeListener) - Method in ValueHolder
-
Add a PropertyChangeListener to the listener list.
- addPropertyChangeSupport(org.codehaus.groovy.ast.ClassNode) - Method in BindableASTTransformation
-
Adds the necessary field and methods to support property change support.
- addPropertyColumn(java.lang.Object, java.lang.String, java.lang.Class, boolean) - Method in DefaultTableModel
-
Adds a property model column to the table
- addPropertyMethod(org.codehaus.groovy.ast.MethodNode) - Method in Verifier
-
- addPseudoProperties(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode, List<PropertyNode>, Set<String>, boolean, boolean, boolean, boolean) - Method in BeanUtils
-
Adds pseudo-properties for getters and setters to a property list, optionally traversing superclasses.
- addQuoted(java.lang.String) - Method in CharBuf
-
Appends a quoted string without escaping.
- addReceivers(List<Receiver<String>>, Collection<Receiver<String>>, boolean) - Method in StaticTypeCheckingVisitor
-
- addRemoveListener(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.FieldNode, org.codehaus.groovy.ast.ClassNode, java.lang.String, java.lang.Object) - Method in ListenerListASTTransformation
-
Adds the remove<Listener> method like:
synchronized void remove${name.capitalize}(${listener.name} listener) {
if (listener == null)
return
if (${field.name} == null)
${field.name} = []
${field.name}.remove(listener)
}
- addResolver(Map<String,Object>) - Method in Grape
-
Adds a resolver to the shared grape engine.
- addResolver(Map<String,Object>) - Method in GrapeEngine
-
Adds a resolver to this engine.
- addResolver(Map<String, Object>) - Method in GrapeIvy
-
Adds a resolver to the front of the Ivy resolver chain.
- addResolver(Map<String, Object>) - Method in GrapeMaven
-
Adds a repository resolver to the front of the repository list.
- addResource(org.codehaus.groovy.ast.stmt.ExpressionStatement) - Method in TryCatchStatement
-
- AddResultReturnStatementVisitor(org.codehaus.groovy.ast.stmt.ReturnStatement, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.stmt.BlockStatement) - Constructor in AssertStatementCreationUtility.AddResultReturnStatementVisitor
-
Creates a visitor that rewrites one return statement to expose the result variable.
- addReturnIfNeeded(org.codehaus.groovy.ast.MethodNode) - Method in ReturnAdder
-
- addReturnIfNeeded(org.codehaus.groovy.ast.MethodNode) - Method in Verifier
-
- addReturnType(org.codehaus.groovy.ast.ClassNode) - Method in TypeCheckingContext.EnclosingClosure
-
- addSerialVersionUIDField(org.codehaus.groovy.ast.ClassNode) - Method in ClosureWriter
-
- addShort(short) - Method in CharBuf
-
Appends a short value as a character digit sequence.
- addShutdownHook(java.lang.Object, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
Allows the usage of addShutdownHook without getting the runtime first.
- addSorter(java.lang.Object) - Method in ObjectBrowser
-
Adds column sorting support to the supplied table.
- addSource(org.codehaus.groovy.control.SourceUnit) - Method in CompilationUnit
-
Adds a SourceUnit to the unit.
- addSource(java.net.URL) - Method in JavaStubCompilationUnit
-
- addSources(java.io.File) - Method in CompilationUnit
-
Adds a set of source files to the unit.
- addSources(java.io.File) - Method in JavaAwareCompilationUnit
-
- addSpecialMapConstructors(int, org.codehaus.groovy.ast.ClassNode, java.lang.String, boolean) - Method in TupleConstructorASTTransformation
-
- addStarImport(java.lang.String, List<AnnotationNode>) - Method in ASTHelper
-
Adds a star import (imports all classes in a package) to the module with optional annotations.
- addStarImport(java.lang.String, List<AnnotationNode>) - Method in ModuleNode
-
Registers a wildcard import with optional annotations.
- addStarImports(java.lang.String) - Method in ImportCustomizer
-
- addStatement(org.codehaus.groovy.ast.stmt.Statement) - Method in BlockStatement
-
- addStatement(org.codehaus.groovy.ast.stmt.Statement) - Method in ModuleNode
-
Adds a statement to the module's statement block.
- addStatementAnnotation(org.codehaus.groovy.ast.AnnotationNode) - Method in Statement
-
Attaches a statement-level annotation to this statement.
- addStatementCheckers(org.codehaus.groovy.control.customizers.SecureASTCustomizer.StatementChecker) - Method in SecureASTCustomizer
-
- addStatementLabel(java.lang.String) - Method in Statement
-
Adds a label to this statement.
- addStatements(List<Statement>) - Method in BlockStatement
-
Appends all
Statements from the provided list to this block.
- addStaticImport(org.codehaus.groovy.ast.ClassNode, java.lang.String, java.lang.String, List<AnnotationNode>) - Method in ASTHelper
-
Adds a static import to the module with optional annotations.
- addStaticImport(java.lang.String, java.lang.String, java.lang.String) - Method in ImportCustomizer
-
- addStaticImport(org.codehaus.groovy.ast.ClassNode, java.lang.String, java.lang.String, List<AnnotationNode>) - Method in ModuleNode
-
Registers a static import with optional annotations.
- addStaticInitializerStatements(List<Statement>, boolean) - Method in ClassNode
-
- addStaticStarImport(org.codehaus.groovy.ast.ClassNode, java.lang.String, List<AnnotationNode>) - Method in ASTHelper
-
Adds a static star import (imports all static members) to the module with optional annotations.
- addStaticStarImport(java.lang.String, org.codehaus.groovy.ast.ClassNode, List<AnnotationNode>) - Method in ModuleNode
-
Registers a static wildcard import with optional annotations.
- addStaticStars(java.lang.String) - Method in ImportCustomizer
-
- addStaticTypeError(java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in StaticTypeCheckingVisitor
-
- addStaticTypeError(java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in TypeCheckingExtension
-
Adds a type checking error, which will be displayed to the user during compilation.
- addString(java.lang.String) - Method in CharBuf
-
Appends a string.
- addString(org.codehaus.groovy.ast.expr.ConstantExpression) - Method in GStringExpression
-
Adds a constant string part to this GString.
- addStubConstructor(org.codehaus.groovy.ast.ClassNode, int, org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.stmt.Statement) - Method in StubberSupport
-
- addStubMethod(org.codehaus.groovy.ast.ClassNode, java.lang.String, int, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.stmt.Statement) - Method in StubberSupport
-
- addStylesToDocument(javax.swing.JTextPane) - Method in ConsoleSupport
-
Initializes the styles used by the output document.
- addSyntheticMethod(java.lang.String, int, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.stmt.Statement) - Method in ClassNode
-
Adds a synthetic method as part of the compilation process.
- addText(java.lang.String) - Method in Groovy
-
Set an inline command to execute.
- addTextListener(java.awt.event.TextListener) - Method in FindReplaceUtility
-
Registers a listener for dialog text events.
- addTextToNode() - Method in XmlParser
-
Transfers buffered character data into the current node when an element boundary is reached.
- addThemeChangeListener(java.lang.Runnable) - Method in ThemeManager
-
Registers a listener notified after the console theme changes.
- addTimeStamp(org.codehaus.groovy.ast.ClassNode) - Method in Verifier
-
- addToCompileList(java.io.File) - Method in Groovyc
-
Appends newly discovered files to the current compile list.
- addToHistory(java.lang.Object) - Method in Console
-
Adds a history record and trims the list to the configured maximum size.
- addTransform(Class<? extends ASTTransformation>, org.codehaus.groovy.ast.ASTNode) - Method in ClassNode
-
- addTransformer(java.lang.invoke.MethodHandle, int, java.lang.Object, Class<?>) - Method in TypeTransformers
-
Adds a type transformer applied at runtime.
- addTypeAnnotation(org.codehaus.groovy.ast.AnnotationNode) - Method in ClassNode
-
- addTypeAnnotations(List<AnnotationNode>) - Method in ClassNode
-
- addTypeCheckingExtension(org.codehaus.groovy.transform.stc.TypeCheckingExtension) - Method in StaticTypeCheckingVisitor
-
- addTypeCheckingExtensions(org.codehaus.groovy.transform.stc.StaticTypeCheckingVisitor, org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypesTransformation
-
- addTypeCheckingInfoAnnotation(org.codehaus.groovy.ast.MethodNode) - Method in StaticTypeCheckingVisitor
-
- addUnsupportedPreOrPostfixExpressionError(org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypeCheckingVisitor
-
- addURL(java.lang.ClassLoader, java.net.URI) - Method in GrapeUtil
-
Adds a URI to a classloader's classpath via reflection.
- addURL(java.net.URL) - Method in GroovyClassLoader
-
adds a URL to the classloader.
- addURL(java.net.URL) - Method in GroovyClassLoader.InnerLoader
-
adds a URL to the classloader.
- Parameters:
url - the new classpath element
- addURL(java.net.URL) - Method in RootLoader
-
{@inheritDoc}
- addValue(org.codehaus.groovy.ast.expr.Expression) - Method in GStringExpression
-
Adds an interpolated expression (value) to this GString.
- addVetoableChangeSupport(org.codehaus.groovy.ast.ClassNode) - Method in VetoableASTTransformation
-
Adds the necessary field and methods to support vetoable change support.
- addWarning(int, java.lang.String, java.lang.Object, org.codehaus.groovy.syntax.CSTNode, org.codehaus.groovy.control.SourceUnit) - Method in ErrorCollector
-
Adds a warning to the message set if it is relevant.
- addWarning(java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in SourceUnit
-
- adjustDetails(java.util.Map) - Method in CliBuilder
-
Normalizes DSL option details into Commons CLI-compatible values.
- adjustPropertyModifiersForMethod(org.codehaus.groovy.ast.PropertyNode) - Method in PropertyNodeUtils
-
Fields within the AST that have no explicit visibility are deemed to be properties
and represented by a PropertyNode.
- aelig - Field in Entity
-
Entity reference æ.
- afterExecution - Property in Console
-
Optional hook invoked after script execution completes.
- afterInvoke(java.lang.Object, java.lang.String, java.lang.Object, java.lang.Object) - Method in BenchmarkInterceptor
-
This code is executed after the method is called.
- afterInvoke(java.lang.Object, java.lang.String, java.lang.Object, java.lang.Object) - Method in Interceptor
-
This code is executed after the method is optionally called.
- afterInvoke(java.lang.Object, java.lang.String, java.lang.Object, java.lang.Object) - Method in MockInterceptor
-
Post-invocation hook required by the interceptor contract.
- afterInvoke(java.lang.Object, java.lang.String, java.lang.Object, java.lang.Object) - Method in TracingInterceptor
-
This code is executed after the method is optionally called.
- Parameters:
object - receiver object for the called methodmethodName - name of the called methodarguments - arguments to the called methodresult - result of the executed method call or result of beforeInvoke if method was not called
- Returns:
- any arbitrary result that can replace the result of the
original method call. Typically, the result parameter is returned.
- afterMethodCall(org.codehaus.groovy.ast.expr.MethodCall) - Method in DefaultTypeCheckingExtension
-
- afterMethodCall(org.codehaus.groovy.ast.expr.MethodCall) - Method in GroovyTypeCheckingExtensionSupport
-
- afterMethodCall(org.codehaus.groovy.ast.expr.MethodCall) - Method in TypeCheckingExtension
-
Allows the extension to perform additional tasks after the type checker actually visits a method call.
- afterProcessingClassNode(org.apache.groovy.contracts.common.spi.ProcessingContextInformation, org.codehaus.groovy.ast.ClassNode) - Method in BaseLifecycle
-
No-op default hook invoked after class-level contract processing completes.
- afterProcessingClassNode(org.apache.groovy.contracts.common.spi.ProcessingContextInformation, org.codehaus.groovy.ast.ClassNode) - Method in Lifecycle
-
Runs after class-level processing and domain-model injection are complete.
- afterProcessingConstructorNode(org.apache.groovy.contracts.common.spi.ProcessingContextInformation, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in BaseLifecycle
-
No-op default hook invoked after a constructor is processed.
- afterProcessingConstructorNode(org.apache.groovy.contracts.common.spi.ProcessingContextInformation, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in ClassInvariantLifecycle
-
Adds class-invariant checks to an eligible constructor after contract metadata has been assembled.
- afterProcessingConstructorNode(org.apache.groovy.contracts.common.spi.ProcessingContextInformation, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in Lifecycle
-
Runs after constructor-level processing and domain-model injection are complete.
- afterProcessingConstructorNode(org.apache.groovy.contracts.common.spi.ProcessingContextInformation, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in PostconditionLifecycle
-
Adds inherited default postconditions to the supplied constructor when needed.
- afterProcessingMethodNode(org.apache.groovy.contracts.common.spi.ProcessingContextInformation, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in BaseLifecycle
-
No-op default hook invoked after a method is processed.
- afterProcessingMethodNode(org.apache.groovy.contracts.common.spi.ProcessingContextInformation, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in ClassInvariantLifecycle
-
Adds class-invariant checks to an eligible method after contract metadata has been assembled.
- afterProcessingMethodNode(org.apache.groovy.contracts.common.spi.ProcessingContextInformation, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in Lifecycle
-
Runs after method-level processing and domain-model injection are complete.
- afterProcessingMethodNode(org.apache.groovy.contracts.common.spi.ProcessingContextInformation, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in PostconditionLifecycle
-
Adds inherited default postconditions to the supplied method when needed.
- afterProcessingMethodNode(org.apache.groovy.contracts.common.spi.ProcessingContextInformation, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in PreconditionLifecycle
-
Adds inherited default preconditions to the supplied method when needed.
- afterReferenceCreation(org.codehaus.groovy.util.Reference) - Method in ReferenceManager
-
Hook invoked after a new managed reference has been created.
- afterSwitchCaseStatementsVisited(org.codehaus.groovy.ast.stmt.SwitchStatement) - Method in CodeVisitorSupport
-
Hook method called after all case statements are visited, but before the default statement.
- afterSwitchCaseStatementsVisited(org.codehaus.groovy.ast.stmt.SwitchStatement) - Method in StaticTypeCheckingVisitor
-
- afterSwitchConditionExpressionVisited(org.codehaus.groovy.ast.stmt.SwitchStatement) - Method in CodeVisitorSupport
-
Hook method called after the switch condition expression is visited, but before case statements.
- afterSwitchConditionExpressionVisited(org.codehaus.groovy.ast.stmt.SwitchStatement) - Method in StaticTypeCheckingVisitor
-
- afterVisit(Closure<?>) - Method in TreeContext
-
Registers a closure to invoke after the node is visited.
- afterVisitClass(org.codehaus.groovy.ast.ClassNode) - Method in DefaultTypeCheckingExtension
-
- afterVisitClass(org.codehaus.groovy.ast.ClassNode) - Method in GroovyTypeCheckingExtensionSupport
-
- afterVisitClass(org.codehaus.groovy.ast.ClassNode) - Method in TypeCheckingExtension
-
Allows the extension to perform additional tasks after the type checker actually visited a class node.
- afterVisitMethod(org.codehaus.groovy.ast.MethodNode) - Method in DefaultTypeCheckingExtension
-
- afterVisitMethod(org.codehaus.groovy.ast.MethodNode) - Method in GroovyTypeCheckingExtensionSupport
-
- afterVisitMethod(org.codehaus.groovy.ast.MethodNode) - Method in TypeCheckingExtension
-
Allows the extension to perform additional tasks after the type checker actually visited a method node.
- Agent - Class in groovy.concurrent
A thread-safe mutable-value container inspired by Clojure's agents and
GPars' Agent.
- agg(Function<? super Queryable<? extends T>,? extends U>) - Method in Queryable
-
The most powerful aggregate function in GINQ, it will receive the grouped result(
Queryable instance) and apply any processing
- AggregateBinding - Class in org.apache.groovy.swing.binding
An aggregation of multiple bindings
- agrave - Field in Entity
-
Entity reference à.
- alias - Field in GroovyParser.ImportDeclarationContext
-
- aliasExpr - Field in DataSourceExpression
-
Alias expression bound to the data source.
- aliasSetupClosure - Property in AbstractStreamingBuilder
-
Closure backing mkp.declareAlias to register namespace-specific tag aliases.
- ALIGN_CENTER - Field in StructuredSyntaxHandler
-
Alignment value name for centered text.
- ALIGN_JUSTIFIED - Field in StructuredSyntaxHandler
-
Alignment value name for justified text.
- ALIGN_LEFT - Field in StructuredSyntaxHandler
-
Alignment value name for left-aligned text.
- ALIGN_RIGHT - Field in StructuredSyntaxHandler
-
Alignment value name for right-aligned text.
- alignGenericTypes(org.codehaus.groovy.ast.GenericsType, org.codehaus.groovy.ast.GenericsType, org.codehaus.groovy.ast.GenericsType) - Method in GenericsUtils
-
Given a parameterized type and a generic type information, aligns actual type parameters.
- ALIGNMENT - Field in StructuredSyntaxHandler
-
Style attribute name for alignment.
- all(java.lang.Object) - Method in AsyncSupport
-
Waits for all given sources to complete, returning their results in order.
- all(java.lang.Object) - Method in Awaitable
-
Returns an Awaitable that completes when all given sources
complete successfully, with a list of their results in order.
- ALL_CLASSES_COMPLETION - Field in GroovyEngine
-
Option key to enable completion for all classes including non-public
- ALL_CONSTRUCTORS_COMPLETION - Field in GroovyEngine
-
Option key to enable completion for all constructors including non-public
- ALL_FIELDS_COMPLETION - Field in GroovyEngine
-
Option key to enable completion for all fields including non-public
- ALL_METHODS_COMPLETION - Field in GroovyEngine
-
Option key to enable completion for all methods including non-public
- ALL - Field in Phases
-
Synonym for full compilation
- ALL_RESULT_SETS - Field in Sql
-
Indicates that stored-procedure helpers should collect every returned result set.
- allAsync(java.lang.Object) - Method in AsyncSupport
-
Non-blocking variant of
all — returns an Awaitable.
- allClasses - Field in GroovyEngine.AccessRules
-
Whether to include all classes (including non-public) in completion
- allClasses(boolean) - Method in GroovyPackageDoc
-
All classes and interfaces in this package optionally
limited to just the included ones.
- allClasses(boolean) - Method in SimpleGroovyPackageDoc
-
All classes and interfaces in this package optionally
limited to just the included ones.
- Parameters:
filter - Specifying true filters according to the specified access modifier option.
Specifying false includes all classes and interfaces regardless of access modifier option.
- Returns:
- array of classes and interfaces found or empty array if none found
- allConstructors - Field in GroovyEngine.AccessRules
-
Whether to include all constructors (including non-public) in completion
- AllControlToUndefined - Class in groovy.xml.markupsupport
Replaces XML-disallowed control characters and Unicode noncharacters with U+FFFD.
- allFields - Field in GroovyEngine.AccessRules
-
Whether to include all fields (including non-public) in completion
- allMethods - Field in GroovyEngine.AccessRules
-
Whether to include all methods (including non-public) in completion
- allNames - Field in Builder
-
Whether the generated builder should support all properties, including those with names that are considered internal.
- allNames - Field in Delegate
-
Whether to apply the delegate pattern to all methods, including those with names that are considered internal.
- allNames - Field in EqualsAndHashCode
-
Whether to include all fields and/or properties in equals and hashCode calculations, including those
with names that are considered internal.
- allNames - Field in MapConstructor
-
Whether to include all fields and/or properties within the constructor, including those with names that are considered internal.
- allNames - Field in Sortable
-
Whether to include all fields and/or properties in the comparison algorithm, including those with names that
are considered internal.
- allNames - Field in ToString
-
Whether to include all fields and/or properties in the generated toString, including those with names that
are considered internal.
- allNames - Field in TupleConstructor
-
Whether to include all fields and/or properties within the constructor, including those with names that are
considered internal.
- ALLOW_RESOLVE - Field in MethodClosure
-
- ALLOWED_JDKS - Field in CompilerConfiguration
-
The valid targetBytecode values.
- allowRelative - Field in SourceURI
-
Indicates whether relative source URIs should be preserved.
- allParametersAndArgumentsMatch(org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingSupport
-
Determines if the specific argument types fit the parameters.
- allProperties - Field in Builder
-
Whether to include all properties (as per the JavaBean spec) in the generated builder.
- allProperties - Field in EqualsAndHashCode
-
Whether to include all properties (as per the JavaBean spec) in the generated constructor.
- allProperties - Field in MapConstructor
-
Whether to include all properties (as per the JavaBean spec) in the generated constructor.
- allProperties - Field in Sortable
-
Whether to include all properties (as per the JavaBean spec) in the comparison algorithm.
- allProperties - Field in ToString
-
Whether to include all properties (as per the JavaBean spec) in the generated toString.
- allProperties - Field in TupleConstructor
-
Whether to include all properties (as per the JavaBean spec) in the generated constructor.
- allSettled(java.lang.Object) - Method in AsyncSupport
-
Waits for all sources to settle (succeed or fail), returning a list of
AwaitResult without throwing.
- allSettled(java.lang.Object) - Method in Awaitable
-
Returns an
Awaitable that completes when all given sources
have settled (succeeded or failed), with a list of
AwaitResult
objects describing each outcome.
- allSettledAsync(java.lang.Object) - Method in AsyncSupport
-
Non-blocking variant of
allSettled — returns an Awaitable.
- AllTestSuite - Class in groovy.test
AllTestSuite can be used in extension of GroovyTestSuite to execute TestCases written in Groovy
from inside a Java IDE.
- allText - Property in HistoryRecord
-
Full editor contents captured for this history entry.
- allThreads(java.lang.Thread) - Method in DefaultGroovyStaticMethods
-
Get all threads
- ALPHA_0 - Field in BaseJsonParser
-
Character code for digit 0.
- ALPHA_0 - Field in CharScanner
-
Character code for '0'.
- ALPHA_1 - Field in BaseJsonParser
-
Character code for digit 1.
- ALPHA_2 - Field in BaseJsonParser
-
Character code for digit 2.
- ALPHA_3 - Field in BaseJsonParser
-
Character code for digit 3.
- ALPHA_4 - Field in BaseJsonParser
-
Character code for digit 4.
- ALPHA_5 - Field in BaseJsonParser
-
Character code for digit 5.
- ALPHA_6 - Field in BaseJsonParser
-
Character code for digit 6.
- ALPHA_7 - Field in BaseJsonParser
-
Character code for digit 7.
- ALPHA_8 - Field in BaseJsonParser
-
Character code for digit 8.
- ALPHA_9 - Field in BaseJsonParser
-
Character code for digit 9.
- ALPHA_9 - Field in CharScanner
-
Character code for '9'.
- alreadyVisitedMethods - Field in TypeCheckingContext
-
- alwaysAnnotate - Field in SealedOptions
-
Add annotations even for native sealed classes.
- amber(java.lang.String) - Method in Icons
-
Returns an amber app-themed icon at the fixed menu size.
- amp - Field in Entity
-
Entity reference &.
- and(T) - Method in Assertion
-
Conjoins this assertion with another assertion of the same kind.
- and(org.codehaus.groovy.ast.MethodNode, T) - Method in AssertionMap
-
Adds the given assertion to the method entry using logical conjunction.
- AND_ASSIGN() - Method in GroovyParser.AssignmentExprAltContext
-
- and(SortedSet<T>, Iterable<T>, Comparator<? super T>) - Method in DefaultGroovyMethods
-
Creates a SortedSet composed of the intersection of a SortedSet and an Iterable.
- AND - Field in GeneralUtils
-
- AND() - Method in GroovyParser.LogicalAndExprAltContext
-
- and(long, long) - Method in IndyMath
-
- and(java.lang.Number, java.lang.Number) - Method in NumberMath
-
- and(long, long) - Method in NumberMathModificationInfo
-
- and - Field in OperatorRename
-
Returns the replacement method name for the & operator.
- AND - Enum Constant in SystemRegistryImpl.Pipe
-
Logical AND, next command runs only if previous succeeds
- andAssign - Field in OperatorRename
-
GEP-15: rename the dedicated compound-assignment method for &=.
- AndExprAltContext(ExpressionContext) - Constructor in GroovyParser.AndExprAltContext
-
- andImpl(java.lang.Number, java.lang.Number) - Method in BigIntegerMath
-
- andImpl(java.lang.Number, java.lang.Number) - Method in IntegerMath
-
- andImpl(java.lang.Number, java.lang.Number) - Method in LongMath
-
- andImpl(java.lang.Number, java.lang.Number) - Method in NumberMath
-
- AndroidSupport - Class in org.codehaus.groovy.reflection.android
- andThen(Closure<W>) - Method in Closure
-
- andThen(groovy.util.function.FloatUnaryOperator) - Method in FloatUnaryOperator
-
Creates a "forward" composed operator that first applies this operator to
its input, and then applies the after operator to the result.
- andThenSelf(int) - Method in Closure
-
- andX(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
Creates a binary expression with the AND operator joining two expressions.
- AnnotatedNode - Class in org.codehaus.groovy.ast
Base class for any AST node which is capable of being annotated
- AnnotatedNodeUtils - Class in org.apache.groovy.ast.tools
Utility class for working with AnnotatedNodes
- annotatedQualifiedClassName() - Method in GroovyParser
-
- annotatedQualifiedClassName(int) - Method in GroovyParser.QualifiedClassNameListContext
-
- AnnotatedQualifiedClassNameContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.AnnotatedQualifiedClassNameContext
-
- annotation(java.lang.Class, groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates an AnnotationNode.
- ANNOTATION_DEF - Field in SimpleGroovyDoc
-
Token type used for annotation types.
- ANNOTATION - Field in GroovyFilter
-
Pattern matching annotations.
- annotation() - Method in GroovyParser
-
- annotation(int) - Method in GroovyParser.AnnotationsOptContext
-
- annotation() - Method in GroovyParser.ClassOrInterfaceModifierContext
-
- annotation() - Method in GroovyParser.ElementValueContext
-
- annotation() - Method in GroovyParser.VariableModifierContext
-
- ANNOTATION_TARGET - Field in AnnotationNode
-
- ANNOTATION_TYPE - Field in ModifierNode
-
Pseudo-modifier type constant for annotations.
- AnnotationClosureVisitor - Class in org.apache.groovy.contracts.ast.visitor
Visits interfaces & classes and looks for
@Requires or
@Ensures and creates
Closure
classes for the annotation closures.
- AnnotationClosureVisitor(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.io.ReaderSource) - Constructor in AnnotationClosureVisitor
-
Creates a visitor that rewrites contract annotation closures into generated closure classes.
- AnnotationCollector - Annotation Type in groovy.transform
The AnnotationCollector can be used to define aliases for annotations and
attributes.
- AnnotationCollectorMode - Enum in groovy.transform
- AnnotationCollectorTransform - Class in org.codehaus.groovy.transform
This class is the base for any annotation alias processor.
- AnnotationCollectorTransform.ClassChanger - Class in org.codehaus.groovy.transform
Class used by
CompilationUnit to transform the alias class
into what is needed by the compiler.
- annotationConstant(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates an AnnotationConstantExpression.
- AnnotationConstantExpression - Class in org.codehaus.groovy.ast.expr
Represents an annotation "constant" that may appear in annotation attributes
(mainly used as a marker).
- AnnotationConstantExpression(org.codehaus.groovy.ast.AnnotationNode) - Constructor in AnnotationConstantExpression
-
- AnnotationConstantsVisitor - Class in org.codehaus.groovy.control
Resolves constants in annotation definitions.
- AnnotationContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.AnnotationContext
-
- AnnotationContractParameterVisitor - Class in org.apache.groovy.contracts.ast.visitor
- AnnotationContractParameterVisitor(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.io.ReaderSource) - Constructor in AnnotationContractParameterVisitor
-
Creates a visitor that scans inherited method parameters for contract annotations.
- annotationName() - Method in GroovyParser
-
- annotationName() - Method in GroovyParser.AnnotationContext
-
- AnnotationNameContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.AnnotationNameContext
-
- AnnotationNode - Class in org.codehaus.groovy.ast
Represents an annotation which can be attached to interfaces, classes, methods, fields, parameters, and other places.
- AnnotationNode(org.codehaus.groovy.ast.ClassNode) - Constructor in AnnotationNode
-
- AnnotationProcessor - Class in org.apache.groovy.contracts.common.spi
- AnnotationProcessorImplementation - Annotation Type in org.apache.groovy.contracts.annotations.meta
- AnnotationProcessorVisitor - Class in org.apache.groovy.contracts.ast.visitor
Visits annotations of meta-type ContractElement and applies the AST transformations of the underlying
AnnotationProcessor implementation.
- AnnotationProcessorVisitor(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.io.ReaderSource, org.apache.groovy.contracts.common.spi.ProcessingContextInformation) - Constructor in AnnotationProcessorVisitor
-
Creates a visitor that dispatches contract annotations to their registered processors.
- annotations() - Method in ArrayClassDocWrapper
-
Returns the annotations declared on this element.
- Returns:
- the declared annotations
- annotations(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Designates a list of AnnotationNodes.
- annotations() - Method in ExternalGroovyClassDoc
-
Returns the annotations declared on this element.
- Returns:
- the declared annotations
- annotations() - Method in GroovyParameter
-
Returns the annotations declared on this parameter.
- annotations() - Method in GroovyProgramElementDoc
-
Returns the annotations declared on this element.
- annotations() - Method in SimpleGroovyParameter
-
Returns the annotations declared on this parameter.
- Returns:
- the parameter annotations
- annotations() - Method in SimpleGroovyProgramElementDoc
-
Returns the annotations declared on this element.
- Returns:
- the declared annotations
- annotationsOpt() - Method in GroovyParser
-
- annotationsOpt() - Method in GroovyParser.AnnotatedQualifiedClassNameContext
-
- annotationsOpt() - Method in GroovyParser.CreatedNameContext
-
- annotationsOpt() - Method in GroovyParser.Dim0Context
-
- annotationsOpt() - Method in GroovyParser.Dim1Context
-
- annotationsOpt() - Method in GroovyParser.DoWhileStmtAltContext
-
- annotationsOpt() - Method in GroovyParser.EnumConstantContext
-
- annotationsOpt() - Method in GroovyParser.ForStmtAltContext
-
- annotationsOpt() - Method in GroovyParser.ImportDeclarationContext
-
- annotationsOpt() - Method in GroovyParser.PackageDeclarationContext
-
- annotationsOpt() - Method in GroovyParser.TypeArgumentContext
-
- annotationsOpt() - Method in GroovyParser.TypeContext
-
- annotationsOpt() - Method in GroovyParser.TypeParameterContext
-
- annotationsOpt() - Method in GroovyParser.WhileStmtAltContext
-
- AnnotationsOptContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.AnnotationsOptContext
-
- AnnotationUtils - Class in org.apache.groovy.contracts.util
- AnnotationVisitor - Class in org.codehaus.groovy.classgen
An Annotation visitor responsible for:
- reading annotation metadata (@Retention, @Target, attribute types)
- verify that an
AnnotationNode conforms to annotation meta
- enhancing an
AnnotationNode AST to reflect real annotation meta
- AnnotationVisitor(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.ErrorCollector) - Constructor in AnnotationVisitor
-
- anonymousInnerClassDeclaration(int) - Method in GroovyParser
-
- anonymousInnerClassDeclaration() - Method in GroovyParser.CreatorContext
-
- anonymousInnerClassDeclaration() - Method in GroovyParser.EnumConstantContext
-
- AnonymousInnerClassDeclarationContext(org.antlr.v4.runtime.ParserRuleContext, int, int) - Constructor in GroovyParser.AnonymousInnerClassDeclarationContext
-
- ansiSupported - Field in IO
-
Whether ansi support is available
- AntBuilder - Class in groovy.ant
Allows
Ant tasks to
be used with a Groovy builder-style markup.
- AntBuilder(org.apache.tools.ant.Task) - Constructor in AntBuilder
-
Creates an AntBuilder that shares the context of the supplied parent task.
- antlr2() - Method in ParserPluginFactory
-
Creates the ANTLR 2 parser.
- antlr4() - Method in ParserPluginFactory
-
Creates the ANTLR 4 parser.
- Antlr4ParserPlugin - Class in org.apache.groovy.parser.antlr4
A parser plugin for the new parser.
- Antlr4PluginFactory - Class in org.apache.groovy.parser.antlr4
A parser plugin factory for the new parser.
- AntProjectPropertiesDelegate - Class in org.codehaus.groovy.ant
Live
Hashtable-style view over an Ant project's immutable properties.
- AntProjectPropertiesDelegate(Map<? extends String,?>) - Constructor in AntProjectPropertiesDelegate
-
Creates a detached delegate initialized from the supplied map.
- any(T, Closure<?>) - Method in ArrayGroovyMethods
-
Iterates over the contents of an Array, and checks whether a
predicate is valid for at least one element.
- any(java.lang.Object) - Method in AsyncSupport
-
Returns the result of the first source to complete (success or failure).
- any(java.lang.Object) - Method in Awaitable
-
Returns an Awaitable that completes when the first of the given
sources completes, with the winner's result.
- any(T, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
- ANY_END_OF_STATEMENT - Field in Types
-
- ANY - Enum Constant in FileType
-
Represents both normal files and directories
- ANY_INSTANCE_METHOD_EXISTS - Field in MethodClosure
-
- ANY_TOKEN - Field in MatchingConstraints
-
Predicate that matches any token.
- ANY - Field in Types
-
- anyAsync(java.lang.Object) - Method in AsyncSupport
-
Non-blocking variant of
any — returns an Awaitable.
- anyParallel(Collection<T>, Predicate<T>) - Method in ParallelCollectionExtensions
-
Returns true if any element matches the predicate.
- anyToken() - Method in MatchingConstraintsBuilder
-
Configures token matching to accept any token.
- AnyTokenMatch - Class in org.codehaus.groovy.macro.matcher.internal
Token predicate that accepts every token.
- apos - Field in Entity
-
Entity reference '.
- append(char) - Method in DelegatingIndentWriter
-
{@inheritDoc}
- append(java.lang.Appendable, java.lang.Object) - Method in FormatHelper
-
Appends an object to an Appendable using Groovy's default representation for the object.
- append(java.lang.Appendable, java.lang.Object) - Method in InvokerHelper
-
- append(java.nio.file.Path, java.io.Reader, java.lang.String, boolean) - Method in NioExtensions
-
Append the text supplied by the Reader at the end of the File, using a specified encoding.
- append(groovy.util.Node) - Method in Node
-
Appends a child to the current node.
- append(java.io.File, java.io.Reader, java.lang.String, boolean) - Method in ResourceGroovyMethods
-
Append the text supplied by the Reader at the end of the File, using a specified encoding.
- append(java.lang.CharSequence, int, int) - Method in StringBuilderWriter
-
- append(java.lang.StringBuilder, org.codehaus.groovy.runtime.GStringImpl) - Method in StringGroovyMethods
-
Append the GString to the StringBuilder using a more efficient
approach than Java's default approach for a CharSequence.
- append() - Method in SystemRegistryImpl.CommandData
-
Returns whether output should be appended to the file.
- APPEND - Enum Constant in SystemRegistryImpl.Pipe
-
Output redirection to file with append
- appendNamespaceAttributes(org.w3c.dom.Element, Map<Object,Object>) - Method in DOMBuilder
-
Applies namespace declaration attributes from an xmlns map to the supplied element.
- appendNode(java.lang.Object) - Method in Attribute
-
NOP, because a node can not be appended to an attribute.
- appendNode(org.w3c.dom.Element, java.lang.Object, java.util.Map, java.lang.String) - Method in DOMCategory
-
Appends a child element with attributes and optional text content.
- appendNode(java.lang.Object) - Method in GPathResult
-
Lazily appends content to the nodes represented by this result.
- appendNode(java.lang.Object) - Method in NoChildren
-
NOP
- appendNode(java.lang.Object, groovy.xml.slurpersupport.GPathResult) - Method in Node
-
Appends literal content or lazy markup to this node body.
- appendNode(java.lang.Object) - Method in NodeChild
-
Lazily appends content to the nodes represented by this result.
- Parameters:
newValue - content to append
- appendNode(java.lang.Object) - Method in NodeChildren
-
Lazily appends content to the nodes represented by this result.
- Parameters:
newValue - content to append
- appendOutput(javax.swing.Icon, javax.swing.text.AttributeSet) - Method in Console
-
Appends an embedded icon to the output pane.
- appendOutputLines(java.lang.Object, java.lang.Object) - Method in Console
-
Appends text and preserves compact line spacing in the output pane.
- appendOutputNl(java.lang.Object, java.lang.Object) - Method in Console
-
Appends text to the output pane, forcing a preceding line break.
- appendS(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Method in MethodCallUtils
-
Creates a statement that appends the supplied expression to the target receiver.
- appendStacktrace(java.lang.Object) - Method in Console
-
Appends a stack trace, hyperlinking script line references when possible.
- appendStatementsToBlockStatement(org.codehaus.groovy.ast.stmt.BlockStatement, org.codehaus.groovy.ast.stmt.Statement) - Method in AstBuilder
-
- apply(java.lang.Character) - Method in AllControlToUndefined
-
{@inheritDoc}
- apply(org.codehaus.groovy.syntax.Token) - Method in AnyTokenMatch
-
Always matches.
- apply(K, BiFunction<? super K,? super V,? extends V>) - Method in ConcurrentReferenceHashMap
-
Remaps the value for the supplied key, creating or removing it as needed.
- apply(T) - Method in ConstraintPredicate
-
Tests the supplied value.
- apply(java.lang.Character) - Method in DoubleQuoteFilter
-
{@inheritDoc}
- apply(T) - Method in Function
-
- apply(java.lang.Character) - Method in MarkupBuilder.DefaultXmlEscapingFunction
-
Escapes a single character when required by XML output rules.
- apply(java.lang.Character) - Method in SingleQuoteFilter
-
{@inheritDoc}
- apply(java.lang.Character) - Method in StandardControlToUndefined
-
{@inheritDoc}
- apply(java.lang.Character) - Method in StandardXmlAttributeFilter
-
{@inheritDoc}
- apply(java.lang.Character) - Method in StandardXmlFilter
-
{@inheritDoc}
- apply(java.lang.Character) - Method in SurrogateToUndefined
-
{@inheritDoc}
- applyAsFloat(float) - Method in FloatUnaryOperator
-
Applies this operator.
- applyBlockRecorder() - Method in CompileStack
-
- applyFinallyBlocks(org.objectweb.asm.Label, boolean) - Method in CompileStack
-
- applyGenericsContextToPlaceHolders(Map<String,ClassNode>, org.codehaus.groovy.ast.GenericsType) - Method in GenericsUtils
-
Transforms generics types from an old context to a new context using the
given spec.
- applyIconSize(int) - Method in Console
-
Applies a toolbar icon size and refreshes the toolbar.
- applyIfAbsent(K, Function<? super K,? extends V>) - Method in ConcurrentReferenceHashMap
-
- Implementation Requirements:
- The default implementation is equivalent to the following steps for this
map, then returning the current value or null if now
absent:
- applyIfPresent(K, BiFunction<? super K,? super V,? extends V>) - Method in ConcurrentReferenceHashMap
-
Remaps the value for the supplied key when it is present.
- applyPropertyDescriptors(java.beans.PropertyDescriptor) - Method in ClosureMetaClass
-
- applyPropertyDescriptors(java.beans.PropertyDescriptor) - Method in MetaClassImpl
-
Turns JavaBeans property descriptors into Groovy meta properties.
- applyResourceNameMatcher(java.lang.String) - Method in AbstractHttpServlet
-
Applies the configured resource name rewrite pattern to the supplied URI.
- applyTheme(groovy.console.ui.ThemeManager.ThemeMode) - Method in ThemeManager
-
Applies and persists the supplied theme mode.
- applyToAllClasses - Field in AbstractInterruptibleASTTransformation
-
- applyToAllClasses() - Method in ConditionalInterrupt
-
Set this to false if you have multiple classes within one source file and only
want a conditional check on some of the classes.
- applyToAllClasses() - Method in ThreadInterrupt
-
Set this to false if you have multiple classes within one source file and only
want isInterrupted checks on some of the classes.
- applyToAllClasses() - Method in TimedInterrupt
-
Set this to false if you have multiple classes within one source file and only want
timeout checks on some of the classes (or you want different time constraints on different classes).
- applyToAllMembers - Field in AbstractInterruptibleASTTransformation
-
- applyToAllMembers() - Method in ConditionalInterrupt
-
Set this to false if you have multiple methods/closures within a class or script and only
want conditional checks on some of them.
- applyToAllMembers() - Method in ThreadInterrupt
-
Set this to false if you have multiple methods/closures within a class or script and only
want isInterrupted checks on some of them.
- applyToAllMembers() - Method in TimedInterrupt
-
Set this to false if you have multiple methods/closures within a class or script and only
want timeout checks on some of them (or you want different time constraints on different methods/closures).
- applyToPrimaryClassNodes(org.codehaus.groovy.control.CompilationUnit.PrimaryClassNodeOperation) - Method in CompilationUnit
-
- applyToSourceUnits(org.codehaus.groovy.control.CompilationUnit.SourceUnitOperation) - Method in CompilationUnit
-
- applyUnsharpFilter(java.lang.invoke.MethodHandle, int, java.lang.invoke.MethodHandle) - Method in TypeTransformers
-
Apply a transformer as filter.
- areCategoryMethodCalls(List<MethodNode>, java.lang.String, org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingVisitor
-
- args(java.lang.String) - Method in GeneralUtils
-
Creates an ArgumentListExpression from variable names, converting each to a VariableExpression.
- args - Field in Selector
-
- args() - Method in SystemRegistryImpl.CommandData
-
Returns the command arguments.
- argTypeMatches(org.codehaus.groovy.ast.expr.MethodCall, int, java.lang.Class) - Method in AbstractTypeCheckingExtension
-
- argTypesMatches(org.codehaus.groovy.ast.expr.MethodCall, java.lang.Class) - Method in AbstractTypeCheckingExtension
-
- argumentClassIsParameterClass(Class<?>, Class<?>) - Method in TypeHelper
-
Realizes an unsharp equal for the class.
- argumentList(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates an ArgumentListExpression.
- argumentList() - Method in GroovyParser
-
- argumentListElement() - Method in GroovyParser
-
- ArgumentListExpression - Class in org.codehaus.groovy.ast.expr
Represents one or more arguments being passed into a method
- ArgumentListExpression(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Constructor in ArgumentListExpression
-
- arguments() - Method in GroovyParser
-
- arguments() - Method in GroovyParser.CreatorContext
-
- arguments() - Method in GroovyParser.EnumConstantContext
-
- arguments() - Method in GroovyParser.PathElementContext
-
- arguments() - Method in OptionAccessor
-
Returns the remaining positional arguments.
- ArgumentsContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ArgumentsContext
-
- argumentSize(org.codehaus.groovy.ast.expr.Expression) - Method in AsmClassGenerator
-
- aring - Field in Entity
-
Entity reference å.
- array - Field in AbstractCallSite
-
- array(java.lang.Class, groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates an ArrayExpression.
- array - Field in CallSiteArray
-
- array(char) - Method in Chr
-
Returns the supplied characters as an array literal helper.
- ARRAY_EXPRESSION - Field in Types
-
- ARRAY_ITEM_TERMINATORS - Field in Types
-
- ARRAY - Field in Sql
-
Stored procedure OUT parameter marker for JDBC type
ARRAY.
- ARRAY_WITH_NULL - Field in MetaClassHelper
-
- arrayAsCollection(T) - Method in DefaultTypeTransformation
-
- ArrayCachedClass - Class in org.codehaus.groovy.reflection.stdclasses
Provides optimized reflection caching for Java arrays.
- ArrayCachedClass(java.lang.Class, org.codehaus.groovy.reflection.ClassInfo) - Constructor in ArrayCachedClass
-
Constructs a cached class representation for the given array class.
- ArrayClassDocWrapper - Class in org.codehaus.groovy.tools.groovydoc
A
GroovyClassDoc decorator that wraps a component-type class doc for array-type
representations.
- ArrayClassDocWrapper(org.codehaus.groovy.groovydoc.GroovyClassDoc) - Constructor in ArrayClassDocWrapper
-
Creates a wrapper for the given component-type class doc.
- ArrayExpression - Class in org.codehaus.groovy.ast.expr
Represents an array literal or array construction expression.
- ArrayExpression(org.codehaus.groovy.ast.ClassNode, List<Expression>) - Constructor in ArrayExpression
-
Creates an array using an initializer list of expressions corresponding to array elements.
- arrayGet(int, boolean) - Method in BinaryExpressionWriter
-
- arrayGet(java.lang.invoke.MethodType) - Method in IndyArrayAccess
-
- ArrayGetAtMetaMethod - Class in org.codehaus.groovy.runtime.dgmimpl.arrays
- ArrayGetAtMetaMethod() - Constructor in ArrayGetAtMetaMethod
-
- ArrayGroovyMethods - Class in org.codehaus.groovy.runtime
Defines new groovy methods which appear on arrays inside the Groovy environment.
- arrayInitializer() - Method in GroovyParser
-
- arrayInitializer(int) - Method in GroovyParser.ArrayInitializerContext
-
- arrayInitializer() - Method in GroovyParser.CreatorContext
-
- ArrayInitializerContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ArrayInitializerContext
-
- ArrayIterable - Class in org.codehaus.groovy.util
Allows an array to be used where an Iterable is expected.
- ArrayIterable(T) - Constructor in ArrayIterable
-
Creates an iterable view that traverses the supplied array in index order.
- ArrayIterator - Class in org.codehaus.groovy.util
Allows an array to be used where an Iterator is expected.
- ArrayIterator(T) - Constructor in ArrayIterator
-
Creates an iterator that traverses the supplied array in index order.
- ARRAYLIST_ADD_METHOD - Field in StaticCompilationVisitor
-
- ARRAYLIST_CLASSNODE - Field in StaticCompilationVisitor
-
- ARRAYLIST_CONSTRUCTOR - Field in StaticCompilationVisitor
-
- ArrayList_TYPE - Field in StaticTypeCheckingSupport
-
- ArrayMetaMethod - Class in org.codehaus.groovy.runtime.dgmimpl.arrays
- ArrayPutAtMetaMethod - Class in org.codehaus.groovy.runtime.dgmimpl.arrays
- ArrayPutAtMetaMethod() - Constructor in ArrayPutAtMetaMethod
-
- Arrays - Class in org.apache.groovy.util
Array utilities.
- arraySet(boolean) - Method in BinaryExpressionWriter
-
- arraySet(java.lang.invoke.MethodType) - Method in IndyArrayAccess
-
- arrayTable - Property in ObjectBrowser
-
Table showing array contents.
- ArrayTypeUtils - Class in org.codehaus.groovy.runtime
Utilities for handling array types
- ArrayUtil - Class in org.codehaus.groovy.runtime
This is a generated class used internally during the writing of bytecode within the CallSiteWriter logic.
- ArrayUtils - Class in org.apache.groovy.json.internal
Array helpers used by the JSON internals.
- arrayX(org.codehaus.groovy.ast.ClassNode, List<Expression>, List<Expression>) - Method in GeneralUtils
-
Creates an ArrayExpression for the given element type, dimensions, and initial values.
- ARROW() - Method in GroovyParser.ClosureContext
-
- ARROW() - Method in GroovyParser.StandardLambdaExpressionContext
-
- ARROW() - Method in GroovyParser.SwitchExpressionLabelContext
-
- AS() - Method in GroovyParser.IdentifierContext
-
- AS() - Method in GroovyParser.ImportDeclarationContext
-
- AS() - Method in GroovyParser.KeywordsContext
-
- AS() - Method in GroovyParser.QualifiedNameElementContext
-
- AS() - Method in GroovyParser.RelationalExprAltContext
-
- asAccessMethod(java.lang.invoke.MethodHandles$Lookup) - Method in CachedField
-
Creates a method handle that provides getter access to this field via MethodHandles API.
- asArray(java.lang.Object, java.lang.Class) - Method in DefaultTypeTransformation
-
- asArray(java.lang.Object) - Method in InvokerHelper
-
Converts the given object into an array; if it's an array then just
cast otherwise wrap it in an array
- asAssignment(int) - Method in TokenUtil
-
Converts an increment or decrement operator to its corresponding assignment operator.
- asBoolean(java.lang.Object) - Method in ArrayGroovyMethods
-
Coerces an object array to a boolean value.
- asBoolean(java.lang.Object) - Method in DefaultGroovyMethods
-
- asBoolean(java.nio.file.Path) - Method in NioExtensions
-
Coerce the path to a boolean value.
- asBoolean() - Method in NoChildren
-
Returns false.
- asBoolean() - Method in NullObject
-
A null object coerces to false.
- asBoolean(Optional<?>) - Method in PluginDefaultGroovyMethods
-
Coerce an Optional instance to a boolean value.
- asBoolean(java.io.File) - Method in ResourceGroovyMethods
-
Coerce the file to a boolean value.
- asBoolean(groovy.sql.GroovyResultSet) - Method in SqlExtensions
-
Coerce a GroovyResultSet to a boolean value.
- asBoolean(java.util.regex.Matcher) - Method in StringGroovyMethods
-
Coerces a Matcher instance to a boolean value.
- ascendingKeySet() - Method in ConcurrentLinkedHashMap
-
Returns an unmodifiable snapshot
Set view of the keys contained in
this map.
- ascendingKeySetWithLimit(int) - Method in ConcurrentLinkedHashMap
-
Returns an unmodifiable snapshot
Set view of the keys contained in
this map.
- ascendingMap() - Method in ConcurrentLinkedHashMap
-
Returns an unmodifiable snapshot
Map view of the mappings contained
in this map.
- ascendingMapWithLimit(int) - Method in ConcurrentLinkedHashMap
-
Returns an unmodifiable snapshot
Map view of the mappings contained
in this map.
- asChecked(NavigableMap<K,V>, Class<K>, Class<V>) - Method in DefaultGroovyMethods
-
Creates a checked view of a NavigableMap.
- asCollection(Iterable<T>) - Method in DefaultGroovyMethods
-
Converts this Iterable to a Collection.
- asCollection(java.lang.Object) - Method in DefaultTypeTransformation
-
- asConditionExecution(org.codehaus.groovy.ast.AnnotationNode) - Method in BaseVisitor
-
Creates a boolean expression that invokes the generated closure backing the supplied annotation.
- asConstantString() - Method in GStringExpression
-
Converts this GString to a constant string expression by concatenating all string parts.
- asEntryWeigher(Weigher<? super V>) - Method in Weighers
-
An entry weigher backed by the specified weigher.
- asExpression(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression) - Method in CastExpression
-
Creates a cast expression with coercion semantics using the as operator.
- asForkJoinPool() - Method in DefaultPool
-
- asForkJoinPool() - Method in Pool
-
Returns the underlying
ForkJoinPool, if this pool is backed
by one.
- asGenericsType() - Method in ClassNode
-
- asGenericsType() - Method in WideningCategories.LowestUpperBoundClassNode
-
- asImmutable(Collection<T>) - Method in DefaultGroovyMethods
-
A convenience method for creating an immutable Collection.
- asIterator(java.lang.Object) - Method in InvokerHelper
-
- askToInterruptScript() - Method in Console
-
Prompts to interrupt the running script before exiting.
- askToSaveFile() - Method in Console
-
Prompts to save unsaved changes before an operation proceeds.
- asList(Iterable<T>) - Method in DefaultGroovyMethods
-
Converts this Iterable to a List.
- asList(java.lang.Object) - Method in InvokerHelper
-
- asList() - Method in IteratorClosureAdapter
-
- asList(java.lang.String, java.sql.ResultSet, int, int, groovy.lang.Closure) - Method in Sql
-
Hook to allow derived classes to override paged result collection behavior.
- ASM_API_VERSION - Field in CompilerConfiguration
-
The ASM API version used when loading/parsing classes and generating proxy adapter classes.
- ASM_DEBUG - Field in AsmClassGenerator
-
Add marker in the bytecode to show source-bytecode relationship.
- AsmClassGenerator - Class in org.codehaus.groovy.classgen
Generates Java class versions of Groovy classes using ASM.
- AsmClassGenerator(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.classgen.GeneratorContext, org.objectweb.asm.ClassVisitor, java.lang.String) - Constructor in AsmClassGenerator
-
- AsmDecompiler - Class in org.codehaus.groovy.ast.decompiled
Utility class responsible for decompiling JVM class files into
ClassStub objects that reflect their bytecode structure.
- AsmReferenceResolver - Class in org.codehaus.groovy.ast.decompiled
Helper class for resolving class references encountered in bytecode stubs decompiled from compiled classes.
- AsmReferenceResolver(org.codehaus.groovy.control.ClassNodeResolver, org.codehaus.groovy.control.CompilationUnit) - Constructor in AsmReferenceResolver
-
Creates an ASM reference resolver for a compilation unit.
- asPrimitiveArray(java.util.List, java.lang.Class) - Method in MetaClassHelper
-
- Parameters:
list - the original list
- asPublisher() - Method in BroadcastChannel
-
Returns a Flow.Publisher view of this broadcast channel.
- asReduction() - Method in CSTNode
-
- asReduction() - Method in Reduction
-
Creates a Reduction from this node.
- asReduction(org.codehaus.groovy.syntax.CSTNode, org.codehaus.groovy.syntax.CSTNode, org.codehaus.groovy.syntax.CSTNode) - Method in Token
-
Converts this token to a
Reduction with this token as the root
and the specified nodes as the second, third, and fourth elements.
- asReversed(NavigableSet<T>) - Method in DefaultGroovyMethods
-
Creates a reverse order view of the set.
- ASSERT() - Method in GroovyParser.AssertStatementContext
-
- ASSERT() - Method in GroovyParser.KeywordsContext
-
- assertArrayEquals(java.lang.Object, java.lang.Object) - Method in GroovyTestCase
-
Asserts that the arrays are equivalent and contain the same values
- assertContains(int, int[]) - Method in GroovyTestCase
-
Asserts that the array of ints contains a given int
- assertEquals(java.lang.String, java.lang.String) - Method in GroovyTestCase
-
Asserts that two strings compare equal using Groovy's coercion-aware equality semantics.
- assertExpressionAuthorized(org.codehaus.groovy.ast.expr.Expression) - Method in SecureASTCustomizer.SecuringCodeVisitor
-
Checks that a given expression is either in the allowed list or not in the disallowed list.
- assertFailed(java.lang.Object, java.lang.Object) - Method in InvokerHelper
-
- assertFailed(java.lang.Object, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- assertImportIsAllowed(java.lang.String) - Method in SecureASTCustomizer
-
- assertInspect(java.lang.Object, java.lang.String) - Method in GroovyTestCase
-
Asserts that the value of inspect() on the given object matches the
given text string
- Assertion - Class in org.apache.groovy.contracts.domain
- Assertion(org.codehaus.groovy.ast.stmt.BlockStatement, org.codehaus.groovy.ast.expr.BooleanExpression) - Constructor in Assertion
-
Creates an assertion backed by the original block and normalized boolean expression.
- AssertionMap - Class in org.apache.groovy.contracts.domain
Maps methods to their accumulated contract assertions.
- AssertionMap() - Constructor in AssertionMap
-
Creates an empty assertion map.
- AssertionRenderer - Class in org.codehaus.groovy.runtime.powerassert
Creates a string representation of an assertion and its recorded values.
- AssertionViolation - Class in org.apache.groovy.contracts
- AssertionViolation(double) - Constructor in AssertionViolation
-
Creates a violation with a double-precision detail and registers it with the current tracker.
- AssertionWriter - Class in org.codehaus.groovy.classgen.asm
- AssertionWriter(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in AssertionWriter
-
- assertLength(int, java.lang.Object) - Method in GroovyTestCase
-
Asserts that the array of objects has a given length
- assertMultilineStringsEqual(java.lang.String, java.lang.String) - Method in StringTestUtil
-
Asserts that two multi-line strings match after trimming and normalizing line endings.
- assertNoLabelsMissed() - Method in LabelVerifier
-
- assertScript(groovy.lang.GroovyShell, java.lang.String) - Method in GroovyAssert
-
Asserts that the script runs using the given shell without any exceptions
- assertScript(java.lang.String) - Method in GroovyTestCase
-
- assertStarImportIsAllowed(java.lang.String) - Method in SecureASTCustomizer
-
- AssertStatement - Class in org.codehaus.groovy.ast.stmt
Represents an assert statement that enforces a condition with an optional error message.
- AssertStatement(org.codehaus.groovy.ast.expr.BooleanExpression, org.codehaus.groovy.ast.expr.Expression) - Constructor in AssertStatement
-
Constructs an assert statement with the given condition and message expression.
- assertStatement(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates an AssertStatement.
- assertStatement() - Method in GroovyParser
-
- assertStatement() - Method in GroovyParser.AssertStmtAltContext
-
- assertStatementAuthorized(org.codehaus.groovy.ast.stmt.Statement) - Method in SecureASTCustomizer.SecuringCodeVisitor
-
Checks that a given statement is either in the allowed list or not in the disallowed list.
- AssertStatementContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.AssertStatementContext
-
- AssertStatementCreationUtility - Class in org.apache.groovy.contracts.generation
- AssertStatementCreationUtility.AddAssertionCallStatementToReturnStatementVisitor - Class in org.apache.groovy.contracts.generation
Replaces a given
ReturnStatement with the appropriate assertion call statement and returns a result variable expression.
- AssertStatementCreationUtility.AddResultReturnStatementVisitor - Class in org.apache.groovy.contracts.generation
Replaces a given
ReturnStatement with the appropriate assertion call statement and returns a result variable expression.
- AssertStatementCreationUtility.ReturnStatementVisitor - Class in org.apache.groovy.contracts.generation
- assertStaticImportIsAllowed(java.lang.String, java.lang.String) - Method in SecureASTCustomizer
-
- AssertStmtAltContext(StatementContext) - Constructor in GroovyParser.AssertStmtAltContext
-
- assertTokenAuthorized(org.codehaus.groovy.syntax.Token) - Method in SecureASTCustomizer.SecuringCodeVisitor
-
Checks that a given token is either in the allowed list or not in the disallowed list.
- assertToString(java.lang.Object, java.lang.String) - Method in GroovyTestCase
-
Asserts that the value of toString() on the given object matches the
given text string
- assertValidIdentifier(java.lang.String, java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in VerifierCodeVisitor
-
- ASSIGN - Field in GeneralUtils
-
- ASSIGN() - Method in GroovyParser.AssignmentExprAltContext
-
- ASSIGN() - Method in GroovyParser.ElementValuePairContext
-
- ASSIGN() - Method in GroovyParser.FormalParameterContext
-
- ASSIGN() - Method in GroovyParser.MultipleAssignmentExprAltContext
-
- ASSIGN() - Method in GroovyParser.VariableDeclarationContext
-
- ASSIGN() - Method in GroovyParser.VariableDeclaratorContext
-
- ASSIGN - Field in Types
-
- ASSIGNMENT_OPERATOR - Field in Types
-
- AssignmentExprAltContext(ExpressionContext) - Constructor in GroovyParser.AssignmentExprAltContext
-
- assignNullS(org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
Creates a statement that assigns a null/empty value to the target expression.
- assignS(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- assignToArray(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression, boolean) - Method in BinaryExpressionHelper
-
- assignToArray(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression, boolean) - Method in BinaryExpressionMultiTypeDispatcher
-
- assignToArray(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression, boolean) - Method in StaticTypesBinaryExpressionMultiTypeDispatcher
-
- assignX(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- asSql(groovy.lang.GString, List<?>) - Method in Sql
-
Hook to allow derived classes to override sql generation from GStrings.
- asString(java.lang.Throwable) - Method in DefaultGroovyMethods
-
Get the detail information of
Throwable instance's stack trace
- asString() - Method in HttpBuilder.RequestSpec
-
Uses the default string body handler for buffered requests.
- asSynchronized(NavigableSet<T>) - Method in DefaultGroovyMethods
-
Creates a synchronized view of a NavigableSet.
- ast - Field in CompilationUnit
-
- ast - Field in SourceUnit
-
The root of the Abstract Syntax Tree for the source
- AstBrowser - Class in groovy.console.ui
This object is a GUI for looking at the AST that Groovy generates.
- AstBrowser(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) - Constructor in AstBrowser
-
Creates a browser for the supplied editor state.
- AstBrowserNodeMaker - Interface in groovy.console.ui
This interface is used to create tree nodes of various types
- AstBrowserUiPreferences - Class in groovy.console.ui
This class sets and restores control positions in the browser.
- AstBrowserUiPreferences() - Constructor in AstBrowserUiPreferences
-
Loads persisted browser UI preferences.
- AstBuilder - Class in org.codehaus.groovy.ast.builder
The AstBuilder provides several ways to build an abstract syntax tree (AST) of Groovy code.
- AstBuilder() - Constructor in AstBuilder
-
- AstBuilderTransformation - Class in org.apache.groovy.ast.builder
Transformation to capture ASTBuilder from code statements.
- AstHelper - Class in org.codehaus.groovy.transform.tailrec
Helping to create a few standard AST constructs
- ASTHelper() - Constructor in ASTHelper
-
Constructs an ASTHelper with no controller or class loader.
- ASTMatcher - Class in org.codehaus.groovy.macro.matcher
Matches AST nodes against pattern ASTs.
- ASTNode - Class in org.codehaus.groovy.ast
Base class for any AST node.
- ASTNodeMetaData - Interface in org.apache.groovy.contracts.ast.visitor
Holds all constants to be used as AST node metadata keys.
- ASTNodePredicate - Interface in org.codehaus.groovy.macro.matcher
Predicate used to test AST nodes.
- AstNodeToScriptAdapter - Class in groovy.console.ui
This class takes Groovy source code, compiles it to a specific compile phase, and then decompiles it
back to the groovy source.
- AstNodeToScriptAdapter() - Constructor in AstNodeToScriptAdapter
-
- AstNodeToScriptVisitor - Class in groovy.console.ui
An adapter from ASTNode tree to source code.
- AstNodeToScriptVisitor(java.io.Writer, boolean, boolean) - Constructor in AstNodeToScriptVisitor
-
Creates a visitor that renders AST nodes as Groovy source.
- AstSpecificationCompiler - Class in org.codehaus.groovy.ast.builder
Handles parsing the properties from the closure into values that can be referenced.
- AstSpecificationCompiler(groovy.lang.Closure) - Constructor in AstSpecificationCompiler
-
Creates the DSL compiler.
- AstStringCompiler - Class in org.codehaus.groovy.ast.builder
This class handles converting Strings to ASTNode lists.
- ASTTest - Annotation Type in groovy.transform
This AST transformation aims at helping in debugging other AST transformations.
- ASTTestTransformation - Class in org.codehaus.groovy.transform
Implements
ASTTest by scheduling the supplied test closure across compilation phases.
- ASTTestTransformation() - Constructor in ASTTestTransformation
-
- AstToTextHelper - Class in org.codehaus.groovy.ast
Helper class for converting AST into text.
- ASTTransformation - Interface in org.codehaus.groovy.transform
This class is instantiated and invoked when an AST transformation is
activated.
- ASTTransformationCollectorCodeVisitor - Class in org.codehaus.groovy.transform
- ASTTransformationCollectorCodeVisitor(org.codehaus.groovy.control.SourceUnit, groovy.lang.GroovyClassLoader) - Constructor in ASTTransformationCollectorCodeVisitor
-
- ASTTransformationCustomizer - Class in org.codehaus.groovy.control.customizers
This customizer allows applying an AST transformation to a source unit with
several strategies.
- ASTTransformationCustomizer(java.util.Map, org.codehaus.groovy.transform.ASTTransformation) - Constructor in ASTTransformationCustomizer
-
Creates an AST transformation customizer using the specified transformation and annotation parameters.
- ASTTransformationCustomizerFactory - Class in org.codehaus.groovy.control.customizers.builder
- ASTTransformationCustomizerFactory() - Constructor in ASTTransformationCustomizerFactory
-
- ASTTransformationsContext - Class in org.codehaus.groovy.control
Stores state information about global AST transformations applied to a compilation unit.
- ASTTransformationsContext(org.codehaus.groovy.control.CompilationUnit, groovy.lang.GroovyClassLoader) - Constructor in ASTTransformationsContext
-
- astTransformationsContext - Field in CompilationUnit
-
The AST transformations state data.
- ASTTransformationVisitor - Class in org.codehaus.groovy.transform
This class handles the invocation of the ASTAnnotationTransformation
when it is encountered by a tree walk.
- astWalker - Field in GQ
-
Specify the GINQ AST walker to customize GINQ behaviour
- Default:
- "org.apache.groovy.ginq.provider.collection.GinqAstWalker"
- asType(java.lang.Object, Class<T>) - Method in ArrayGroovyMethods
-
Converts the given array to either a List, Set, or SortedSet.
- asType(java.lang.Object, Class<T>) - Method in DefaultGroovyMethods
-
- asType(java.nio.file.Path, Class<T>) - Method in NioExtensions
-
- asType(java.lang.Class) - Method in NullObject
-
Type conversion method for null.
- asType(java.io.File, Class<T>) - Method in ResourceGroovyMethods
-
- asType(java.lang.Object, java.lang.Class) - Method in ScriptBytecodeAdapter
-
Provides a hook for type coercion of the given object to the required type
- asType(java.lang.String, Class<T>) - Method in StringGroovyMethods
-
Provides a method to perform custom 'dynamic' type conversion
to the given class using the as operator.
- asType(groovy.util.Node, Class<T>) - Method in XmlExtensions
-
Enables node as Type coercion for XML Nodes.
- asUnmodifiable(Collection<T>) - Method in DefaultGroovyMethods
-
Creates an unmodifiable view of a Collection.
- asUnwrappedArray(java.lang.Object) - Method in InvokerHelper
-
- asWrapperArray(java.lang.Object, java.lang.Class) - Method in MetaClassHelper
-
- asWritable() - Method in Closure
-
- Returns:
- a version of this closure which implements Writable.
- asWritable(java.nio.file.Path, java.lang.String) - Method in NioExtensions
-
Allows a file to return a Writable implementation that can output itself
to a Writer stream.
- asWritable(java.io.File, java.lang.String) - Method in ResourceGroovyMethods
-
Allows a file to return a Writable implementation that can output itself
to a Writer stream.
- asX(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
Creates a CastExpression converting the given expression to the specified type.
- async(Supplier<T>) - Method in AsyncScope
-
Launches a child task within this scope.
- async(java.util.function.Supplier<T>) - Method in AsyncSupport
-
Executes the given supplier asynchronously using the default executor.
- async(Supplier<T>) - Method in DefaultAsyncScope
-
- ASYNC() - Method in GroovyParser.AsyncClosureExprAltContext
-
- ASYNC() - Method in GroovyParser.IdentifierContext
-
- ASYNC() - Method in GroovyParser.KeywordsContext
-
- ASYNC - Enum Constant in PropertyBinding.UpdateStrategy
-
Always updates asynchronously.
- AsyncChannel - Interface in groovy.concurrent
An asynchronous channel for inter-task communication with optional buffering.
- AsyncClosureExprAltContext(ExpressionContext) - Constructor in GroovyParser.AsyncClosureExprAltContext
-
- AsyncClosureUtils - Class in org.apache.groovy.runtime.async
Closure-specific async utilities that have no pure-Java equivalent.
- asyncGenerator(java.util.function.Consumer<Object>) - Method in AsyncSupport
-
- AsyncScope - Interface in groovy.concurrent
A structured concurrency scope that ensures all child tasks complete
(or are cancelled) before the scope exits.
- AsyncSupport - Class in org.apache.groovy.runtime.async
Internal runtime support for the async/await/defer language features.
- AsyncTransformHelper - Class in org.codehaus.groovy.transform
Shared AST utilities for the async/await/defer language features.
- at - Field in EmptyRange
-
The value at which the range originates (may be null).
- AT() - Method in GroovyParser.AnnotationContext
-
- AT() - Method in GroovyParser.ClassDeclarationContext
-
- AT() - Method in GroovyParser.PathElementContext
-
- atilde - Field in Entity
-
Entity reference ã.
- AtnManager - Class in org.apache.groovy.parser.antlr4.internal.atnmanager
Manage ATN to avoid memory leak
- AtnManager.AtnWrapper - Class in org.apache.groovy.parser.antlr4.internal.atnmanager
- AtnWrapper(org.antlr.v4.runtime.atn.ATN) - Constructor in AtnManager.AtnWrapper
-
- ATTRIB_KEY_DEFAULT - Property in JmxBuilderTools
-
Descriptor key for an attribute default value.
- ATTRIB_KEY_DESC - Property in JmxBuilderTools
-
Short descriptor key for an attribute description.
- ATTRIB_KEY_DESCRIPTION - Property in JmxBuilderTools
-
Descriptor key for an attribute description.
- ATTRIB_KEY_TYPE - Property in JmxBuilderTools
-
Descriptor key for an attribute type.
- Attribute - Class in groovy.xml.slurpersupport
Lazy evaluated representation of a node attribute.
- attribute(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates an AttributeExpression.
- Attribute(java.lang.String, java.lang.String, groovy.xml.slurpersupport.GPathResult, java.lang.String, Map<String,String>) - Constructor in Attribute
-
- Parameters:
name - of the attribute
- attribute(java.lang.Object) - Method in Node
-
Provides lookup of attributes by key.
- attributeDelegates - Field in FactoryBuilderSupport
-
- AttributeExpression - Class in org.codehaus.groovy.ast.expr
Represents an attribute access (accessing the field of a class) such as the expression "foo.
- AttributeExpression(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression, boolean) - Constructor in AttributeExpression
-
- Attributes - Class in groovy.xml.slurpersupport
Lazy evaluated representation of a node's attributes.
- Attributes(groovy.xml.slurpersupport.GPathResult, java.lang.String, Map<String,String>) - Constructor in Attributes
-
- Parameters:
parent - the GPathResult prior to the application of the expression creating this GPathResult
- attributes(org.w3c.dom.Element) - Method in DOMCategory
-
Returns the attributes belonging to the supplied element.
- attributes() - Method in Node
-
Returns a map of the attributes of this Node.
- attributes() - Method in NodeChild
-
Returns a map containing all attributes of the Node of this NodeChild.
- attrX(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- auml - Field in Entity
-
Entity reference ä.
- AUTO - Enum Constant in DefaultsMode
-
Produce multiple constructors as required to handle any mandatory and optional arguments.
- AUTO_DOWNLOAD_SETTING - Field in Grape
-
Argument key for the auto-download setting.
- AUTO - Enum Constant in GroovyEngine.Format
-
Auto-detect format
- AUTO_INDENT - Field in TextEditor
-
Action name for automatic indentation.
- auto - Field in Newify
-
- Returns:
- if automatic conversion of "Ruby-style" new method calls should occur
- Default:
- true
- AUTO - Enum Constant in RecordTypeMode
-
Produce native records when compiling for a suitable target bytecode (JDK16+).
- AUTO - Enum Constant in SealedMode
-
Produce native sealed classes when compiling for a suitable target bytecode (JDK17+)
and automatically emulate the concept on earlier JDKs.
- autoboxType(java.lang.Class) - Method in TypeUtil
-
- autoClearOutput - Property in Console
-
Whether output is cleared before each run.
- autoClearOutputAction - Property in Console
-
Action that toggles automatic output clearing.
- AutoClone - Annotation Type in groovy.transform
Class annotation used to assist in the creation of Cloneable classes.
- AutoCloneASTStubber - Class in org.codehaus.groovy.transform
- AutoCloneASTTransformation - Class in org.codehaus.groovy.transform
Handles generation of code for the
- AutoClone:
- annotation.
- AutoCloneStyle - Enum in groovy.transform
Intended style to use for cloning when using the @AutoClone annotation.
- autoDelegate - Field in NamedVariant
-
If true, add an implicit @NamedDelegate to the first parameter if no @NamedDelegate or @NamedParam annotations are found on any parameter.
- autoDownload - Field in GrabConfig
-
Set to false if you want to disable automatic downloading of locally missing jars.
- AutoExternalize - Annotation Type in groovy.transform
Annotation used to assist in the creation of Externalizable classes.
- AutoFinal - Annotation Type in groovy.transform
Annotation to automatically add the final qualifier to method, constructor,
and closure parameters.
- AutoFinalASTTransformation - Class in org.codehaus.groovy.transform
Handles generation of code for the
AutoFinal annotation.
- AutoImplement - Annotation Type in groovy.transform
Class annotation used to provide default dummy methods for a class extending an abstract super class or
implementing one or more interfaces.
- AutoImplementASTStubber - Class in org.codehaus.groovy.transform
- AutoImplementASTTransformation - Class in org.codehaus.groovy.transform
Generates code for the @AutoImplement annotation.
- AutoIndentAction - Class in groovy.console.ui.text
Inserts a newline that preserves the indentation of the current line.
- AutoIndentAction() - Constructor in AutoIndentAction
-
- autoRegisterNodes() - Method in FactoryBuilderSupport
-
Ask the nodes to be registered
- autoRegistrationComplete - Field in FactoryBuilderSupport
-
Tracks whether auto-registration has completed.
- autoRegistrationRunning - Field in FactoryBuilderSupport
-
Tracks whether auto-registration is currently in progress.
- average(T, Closure<?>) - Method in ArrayGroovyMethods
-
Averages the result of applying a closure to each item of an array.
- average(T, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
- avg(Function<? super T,? extends Number>) - Method in Queryable
-
Aggregate function avg, similar to SQL's avg
- await(java.lang.Object) - Method in AsyncSupport
-
- AWAIT() - Method in GroovyParser.AwaitExprAltContext
-
- AWAIT() - Method in GroovyParser.ForStmtAltContext
-
- AWAIT() - Method in GroovyParser.IdentifierContext
-
- AWAIT() - Method in GroovyParser.KeywordsContext
-
- Awaitable - Interface in groovy.concurrent
Core abstraction for asynchronous computations in Groovy.
- AwaitableAdapter - Interface in groovy.concurrent
Service Provider Interface (SPI) for adapting third-party asynchronous types
to Groovy's
Awaitable abstraction and to iterables for
for await loops.
- AwaitableAdapterRegistry - Class in groovy.concurrent
- AwaitExprAltContext(ExpressionContext) - Constructor in GroovyParser.AwaitExprAltContext
-
- AwaitResult - Class in groovy.concurrent
Represents the outcome of an asynchronous computation that may have
succeeded or failed.
- Cache - Interface in org.apache.groovy.json.internal
Cache
- cache - Field in EqualsAndHashCode
-
Whether to cache hashCode calculations.
- cache - Field in MarkupTemplateEngine.CachingTemplateResolver
-
Backing cache keyed by logical template path.
- Cache(java.lang.String) - Constructor in MetaMethodIndex.Cache
-
- cache - Field in ToString
-
Whether to cache toString() calculations.
- CacheableCallSite - Class in org.codehaus.groovy.vmplugin.v8
Represents a cacheable call site, which can reduce the cost of resolving methods
- CacheableCallSite(java.lang.invoke.MethodType, java.lang.invoke.MethodHandles$Lookup) - Constructor in CacheableCallSite
-
- CacheAccessControlException - Class in org.codehaus.groovy.reflection
Exception thrown when access control restrictions prevent reflection operations on cached classes.
- CacheAccessControlException(java.lang.String, java.lang.Throwable) - Constructor in CacheAccessControlException
-
Constructs a CacheAccessControlException with the specified detail message and cause.
- cacheClass(java.lang.String, org.codehaus.groovy.ast.ClassNode) - Method in ClassNodeResolver
-
caches a ClassNode
- cacheConnection(groovy.lang.Closure) - Method in DataSet
-
Caches the connection used while the closure is active.
If the closure takes a single argument, it will be called
with the connection, otherwise it will be called with no arguments.
- throws:
- SQLException if a database error occurs
- Parameters:
closure - the given closure
- cacheConnection(groovy.lang.Closure) - Method in Sql
-
Caches the connection used while the closure is active.
- CachedClass - Class in org.codehaus.groovy.reflection
Caches reflection information for a class including its fields, methods, constructors, and interfaces.
- CachedClass.CachedMethodComparatorByName - Class in org.codehaus.groovy.reflection
Comparator for ordering cached methods by name.
- CachedClass.CachedMethodComparatorWithString - Class in org.codehaus.groovy.reflection
Comparator for ordering cached methods against string names.
- CachedClass(Class<?>, org.codehaus.groovy.reflection.ClassInfo) - Constructor in CachedClass
-
Constructs a CachedClass for the given class with the specified ClassInfo.
- cachedClass - Field in CachedMethod
-
The cached class that declares this method.
- CachedClosureClass - Class in org.codehaus.groovy.reflection.stdclasses
Provides optimized reflection caching for Groovy
Closure classes.
- CachedClosureClass(java.lang.Class, org.codehaus.groovy.reflection.ClassInfo) - Constructor in CachedClosureClass
-
Constructs a cached class representation for a closure class.
- CachedConstructor - Class in org.codehaus.groovy.reflection
Caches reflection information about a single constructor for fast lookup and invocation.
- CachedConstructor(java.lang.reflect.Constructor) - Constructor in CachedConstructor
-
Constructs a CachedConstructor for the given Java constructor.
- cachedEntrySet() - Method in ConcurrentReferenceHashMap
-
Returns an entry set view that reuses a mutable entry instance during iteration.
- CachedField - Class in org.codehaus.groovy.reflection
Caches reflection information about a single field for efficient access and modification.
- CachedField(java.lang.reflect.Field) - Constructor in CachedField
-
Constructs a CachedField for the given Java field.
- CachedMethod - Class in org.codehaus.groovy.reflection
Caches reflection information about a single method for fast lookup and invocation.
- CachedMethod(java.lang.reflect.Method) - Constructor in CachedMethod
-
Constructs a CachedMethod for the given Java method.
- cachedMethod - Field in MetaMethodIndex.Cache
-
- cachedMethodForSuper - Field in MetaMethodIndex.Cache
-
- CachedSAMClass - Class in org.codehaus.groovy.reflection.stdclasses
Provides optimized reflection caching for Single Abstract Method (SAM) types.
- CachedSAMClass(java.lang.Class, org.codehaus.groovy.reflection.ClassInfo) - Constructor in CachedSAMClass
-
Constructs a cached class representation for a SAM type.
- cachedStaticMethod - Field in MetaMethodIndex.Cache
-
- cacheStatements(groovy.lang.Closure) - Method in Sql
-
Caches every created preparedStatement in Closure closure
Every cached preparedStatement is closed after closure has been called.
- CacheType - Enum in org.apache.groovy.json.internal
Identifiers for cache eviction policies.
- CachingTemplateResolver() - Constructor in MarkupTemplateEngine.CachingTemplateResolver
-
Creates a new caching template resolver using a concurrent hash map as the backing cache.
- calcInitialCapacity() - Method in GString
-
Calculates the initial buffer capacity for rendering this GString.
- calcInitialCapacity() - Method in GStringImpl
-
- calcInitialCapacityImpl(java.lang.Object, java.lang.String) - Method in GStringUtil
-
- calculateFirstSentence(java.lang.String) - Method in SimpleGroovyDoc
-
Extracts the first sentence from a raw documentation comment.
- calculateParameterDistance(java.lang.Class, org.codehaus.groovy.reflection.ParameterTypes) - Method in MetaClassHelper
-
- call(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) - Method in AbstractCallSite
-
- call(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.classgen.GeneratorContext, org.codehaus.groovy.ast.ClassNode) - Method in AstNodeToScriptVisitor
-
Renders the supplied primary class node and optional script body.
- call(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.classgen.GeneratorContext, org.codehaus.groovy.ast.ClassNode) - Method in ASTTransformationCustomizer
-
Applies the configured transformation to the supplied class or source unit.
- call(java.lang.Object) - Method in BooleanClosureWrapper
-
normal closure call
- call(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) - Method in CallSite
-
- call(java.lang.Object) - Method in Closure
-
Invokes the closure with given argument(s), returning any value if applicable.
- call(org.objectweb.asm.ClassVisitor, org.codehaus.groovy.ast.ClassNode) - Method in CompilationUnit.ClassgenCallback
-
- call(org.codehaus.groovy.tools.GroovyClass) - Method in CompilationUnit.IGroovyClassOperation
-
- call(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.classgen.GeneratorContext, org.codehaus.groovy.ast.ClassNode) - Method in CompilationUnit.IPrimaryClassNodeOperation
-
- call(org.codehaus.groovy.control.SourceUnit) - Method in CompilationUnit.ISourceUnitOperation
-
- call(org.codehaus.groovy.control.ProcessingUnit, int) - Method in CompilationUnit.ProgressCallback
-
- call(java.lang.Object) - Method in ComposedClosure
-
- call(Collection<? extends Map<String,?>>) - Method in CsvBuilder
-
Build CSV from a collection of maps.
- call(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.classgen.GeneratorContext, org.codehaus.groovy.ast.ClassNode) - Method in DelegatingCustomizer
-
- call(groovy.lang.Closure) - Method in FileTreeBuilder
-
Applies the supplied tree specification to the current base directory.
- call(org.objectweb.asm.ClassVisitor, org.codehaus.groovy.ast.ClassNode) - Method in GroovyClassLoader.ClassCollector
-
{@inheritDoc}
- call(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.classgen.GeneratorContext, org.codehaus.groovy.ast.ClassNode) - Method in ImportCustomizer
-
- call(groovy.lang.Closure) - Method in JsonBuilder
-
A closure passed to a JSON builder will create a root JSON object
- call(org.objectweb.asm.MethodVisitor) - Method in MethodCaller
-
- call(org.objectweb.asm.MethodVisitor, int, boolean, boolean) - Method in MethodCallerMultiAdapter
-
- call(java.lang.Object, java.lang.Object) - Method in NullCallSite
-
- call(java.lang.Object, java.lang.Object) - Method in PerInstancePojoMetaClassSite
-
- call(java.lang.Object, java.lang.Object) - Method in PogoInterceptableSite
-
- call(java.lang.Object, java.lang.Object) - Method in PogoMetaClassSite
-
- call(java.lang.Object, java.lang.Object) - Method in PogoMetaMethodSite
-
- call(java.lang.Object, java.lang.Object) - Method in PojoMetaClassSite
-
- call(java.lang.Object, java.lang.Object) - Method in PojoMetaMethodSite
-
- call(Supplier<R>) - Method in ScopedLocal.Carrier
-
Executes the supplier with all bindings in this carrier active
and returns its result.
- call(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.classgen.GeneratorContext, org.codehaus.groovy.ast.ClassNode) - Method in SecureASTCustomizer
-
- call(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.classgen.GeneratorContext, org.codehaus.groovy.ast.ClassNode) - Method in SourceAwareCustomizer
-
- call(java.util.Map, java.lang.String, groovy.lang.Closure) - Method in Sql
-
- call(java.lang.Object, java.lang.Object) - Method in StaticMetaClassSite
-
- call(java.lang.Object, java.lang.Object) - Method in StaticMetaMethodSite
-
- call(java.lang.String, java.util.Map, groovy.lang.Closure) - Method in StreamingJsonBuilder
-
If you use named arguments and a closure as last argument,
the key/value pairs of the map (as named arguments)
and the key/value pairs represented in the closure
will be merged together —
the closure properties overriding the map key/values
in case the same key is used.
- call(java.lang.String, groovy.lang.Writable) - Method in StreamingJsonBuilder.StreamingJsonDelegate
-
Writes the given Writable as the value of the given attribute name
- call(groovy.lang.Closure) - Method in TomlBuilder
-
A closure passed to a TOML builder will create a root TOML object
- call(org.codehaus.groovy.macro.matcher.TreeContext) - Method in TreeContextAction
-
Invokes the action for the supplied context.
- call(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.classgen.GeneratorContext, org.codehaus.groovy.ast.ClassNode) - Method in TreeNodeBuildingNodeOperation
-
Adds the current class node and optional script statements to the tree.
- call(org.codehaus.groovy.ast.expr.ArgumentListExpression, org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.MethodNode) - Method in Verifier.DefaultArgsAction
-
- call(groovy.lang.Closure) - Method in YamlBuilder
-
A closure passed to a YAML builder will create a root YAML object
- callable - Property in ConfigBinding
-
Callback used to handle assigned variables.
- callbacks - Property in ClosureCellEditor
-
- callClosureForLine(Closure<T>, java.lang.String, int) - Method in DefaultGroovyMethods
-
- callClosureForMapEntry(Closure<T>, Map.Entry<K,V>) - Method in DefaultGroovyMethods
-
- callClosureForMapEntryAndCounter(Closure<T>, Map.Entry<K,V>, int) - Method in DefaultGroovyMethods
-
- callConstructor(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) - Method in AbstractCallSite
-
- callConstructor(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) - Method in CallSite
-
- callConstructor(java.lang.Object, java.lang.Object) - Method in ConstructorMetaClassSite
-
- callConstructor(java.lang.Object, java.lang.Object) - Method in ConstructorMetaMethodSite
-
- callConstructor(java.lang.Object, java.lang.Object) - Method in ConstructorSite
-
- callConstructor(java.lang.Object, java.lang.Object) - Method in ConstructorSite.ConstructorSiteNoUnwrap
-
- callConstructor(java.lang.Object, java.lang.Object) - Method in ConstructorSite.ConstructorSiteNoUnwrapNoCoerce
-
- callConstructor(java.lang.Object, java.lang.Object) - Method in ConstructorSite.NoParamSite
-
- callConstructor(java.lang.Object, java.lang.Object) - Method in ConstructorSite.NoParamSiteInnerClass
-
- callConstructor(java.lang.Object, java.lang.Object) - Method in MetaClassConstructorSite
-
- callCurrent(groovy.lang.GroovyObject, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) - Method in AbstractCallSite
-
- callCurrent(groovy.lang.GroovyObject, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) - Method in CallSite
-
- callCurrent(groovy.lang.GroovyObject, java.lang.Object) - Method in PogoInterceptableSite
-
- callCurrent(groovy.lang.GroovyObject, java.lang.Object) - Method in PogoMetaClassSite
-
- callCurrent(groovy.lang.GroovyObject, java.lang.Object) - Method in PogoMetaMethodSite
-
- callForMap(Map.Entry<K,V>) - Method in BooleanClosureWrapper
-
Bridge for a call based on a map entry.
- callGetProperty(java.lang.Object) - Method in AbstractCallSite
-
- callGetProperty(java.lang.Object) - Method in CallSite
-
- callGetProperty(java.lang.Object) - Method in GetEffectivePogoFieldSite
-
- callGetProperty(java.lang.Object) - Method in PojoMetaClassGetPropertySite
-
- callGetPropertySafe(java.lang.Object) - Method in AbstractCallSite
-
- callGetPropertySafe(java.lang.Object) - Method in CallSite
-
- callGroovyObjectGetProperty(java.lang.Object) - Method in AbstractCallSite
-
- callGroovyObjectGetProperty(java.lang.Object) - Method in CallSite
-
- callGroovyObjectGetProperty(java.lang.Object) - Method in GetEffectivePogoFieldSite
-
- callGroovyObjectGetPropertySafe(java.lang.Object) - Method in AbstractCallSite
-
- callGroovyObjectGetPropertySafe(java.lang.Object) - Method in CallSite
-
- calls - Field in BenchmarkInterceptor
-
- callSafe(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) - Method in AbstractCallSite
-
- callSafe(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) - Method in CallSite
-
- CallSite - Interface in org.codehaus.groovy.runtime.callsite
- callSite - Field in Selector
-
- CallSiteArray - Class in org.codehaus.groovy.runtime.callsite
- CallSiteArray(java.lang.Class, java.lang.String) - Constructor in CallSiteArray
-
- CallSiteAwareMetaMethod - Class in org.codehaus.groovy.runtime.callsite
- CallSiteClassLoader - Class in org.codehaus.groovy.runtime.callsite
- CallSiteClassLoader(java.lang.Class) - Constructor in CallSiteClassLoader
-
- CallSiteGenerator - Class in org.codehaus.groovy.runtime.callsite
- CallSiteWriter - Class in org.codehaus.groovy.classgen.asm
This class represents non-public API used by AsmClassGenerator.
- CallSiteWriter(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in CallSiteWriter
-
- CallSpec - Class in groovy.mock.interceptor
Describes one recorded expectation for a mocked method call.
- CallSpec() - Constructor in CallSpec
-
- callStatic(java.lang.Class, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) - Method in AbstractCallSite
-
- callStatic(java.lang.Class, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) - Method in CallSite
-
- callStatic(java.lang.Class, java.lang.Object) - Method in StaticMetaClassSite
-
- callStatic(java.lang.Class, java.lang.Object) - Method in StaticMetaMethodSite
-
- callSuper - Field in EqualsAndHashCode
-
Whether to include super in equals and hashCode calculations.
- callSuper - Field in TupleConstructor
-
Should super properties be called within a call to the parent constructor
rather than set as properties.
- callSuperX(java.lang.String, org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- callThisX(java.lang.String, org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- callType - Field in Selector
-
- callWithAllRows(java.util.Map, java.lang.String, groovy.lang.Closure) - Method in Sql
-
- callWithRows(java.lang.String, List<?>, int, groovy.lang.Closure) - Method in Sql
-
Base internal method for call(), callWithRows(), and callWithAllRows() style of methods.
- callX(org.codehaus.groovy.ast.ClassNode, java.lang.String, org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- canAccessLegally(Class<?>) - Method in CachedMethod
-
Checks whether the given caller class can legally access this method.
- cancel() - Method in Awaitable
-
Attempts to cancel the computation.
- cancel() - Method in DataflowVariable
-
Attempts to cancel the computation. If the computation has not yet started
or is still running, it will be cancelled with a
CancellationException.
- Returns:
true if the computation was successfully cancelled
- cancel() - Method in GroovyPromise
-
Attempts to cancel this computation.
- cancelAll() - Method in AsyncScope
-
Cancels all child tasks.
- cancelAll() - Method in DefaultAsyncScope
-
- CandidateChecks - Class in org.apache.groovy.contracts.generation
- canMean(int) - Method in CSTNode
-
Returns true if this node can be coerced to the specified type.
- canMean(int, int) - Method in Types
-
Determines if a type can be interpreted as another type.
- Canonical - Annotation Type in groovy.transform
The @Canonical meta-annotation combines the @EqualsAndHashCode,
@ToString and @TupleConstructor annotations.
- CANONICAL_NAMES - Field in GroovyEngine
-
Option key for using canonical class names in descriptions
- CANONICALIZATION - Enum Constant in CompilePhase
-
Complete building the AST
- CANONICALIZATION - Enum Constant in CompilePhaseAdapter
-
- CANONICALIZATION - Field in Phases
-
AST completion
- canReopenSource() - Method in AbstractReaderSource
-
Returns true if the source can be restarted (i.e. if getReader()
will return non-null on subsequent calls).
- canReopenSource() - Method in InputStreamReaderSource
-
Returns true if the source can be restarted (ie. if getReader()
will return non-null on subsequent calls).
- canReopenSource() - Method in ReaderSource
-
Returns true if the source can be restarted (ie. if getReader()
will return non-null on subsequent calls).
- canRun(Class<?>, groovy.lang.GroovyClassLoader) - Method in GroovyRunner
-
Returns true if this runner is able to
run the given class.
- canRun(Class<?>, groovy.lang.GroovyClassLoader) - Method in JUnit5Runner
-
Utility method to check via reflection if the parsed class appears to be a JUnit5
test, i.e. checks whether it appears to be using the relevant annotations.
- canRun(Class<?>, groovy.lang.GroovyClassLoader) - Method in JUnit6Runner
-
Utility method to check via reflection if the parsed class appears to be a JUnit Jupiter
test, i.e. checks whether it appears to be using the relevant annotations.
- canRun(Class<?>, groovy.lang.GroovyClassLoader) - Method in TestNgRunner
-
Utility method to check via reflection if the parsed class appears to be a TestNG
test, i.e. checks whether it appears to be using the relevant TestNG annotations.
- canSpread - Field in GroovyParser.ExpressionListContext
-
- canSpread - Field in GroovyParser.ExpressionListElementContext
-
- capacity - Field in CharBuf
-
Current backing-array capacity.
- capacity() - Method in ConcurrentLinkedHashMap
-
Retrieves the maximum weighted capacity of the map.
- capacity() - Method in ConcurrentReaderHashMap
-
- Returns:
- the number of slots in this table
- capitalize(java.lang.String) - Method in ActionFactory
-
Capitalizes the first character of the supplied text.
- capitalize(java.lang.String) - Method in BeanUtils
-
This is the complement the behavior of the decapitalize(String) method.
- capitalize(java.lang.String) - Method in JmxBuilderTools
-
Capitalize the string passed.
- capitalize(java.lang.String) - Method in MetaClassHelper
-
- capitalize(java.lang.CharSequence) - Method in StringGroovyMethods
-
Convenience method to capitalize the first letter of a CharSequence
(typically the first letter of a word).
- capitalize(java.lang.String) - Method in Verifier
-
Capitalizes the start of the given bean property name.
- CapitalizedIdentifier() - Method in GroovyParser.ClassNameContext
-
- CapitalizedIdentifier() - Method in GroovyParser.IdentifierContext
-
- captureStdErr - Property in Console
-
Whether stderr is redirected into the console output pane.
- captureStdOut - Property in Console
-
Whether stdout is redirected into the console output pane.
- cards - Property in ObjectBrowser
-
Card container holding each inspected object view.
- CardTracker - Class in groovy.console.ui
Tracks the currently selected card index for the browser.
- CardTracker() - Constructor in CardTracker
-
- caretUpdate(javax.swing.event.CaretEvent) - Method in Console
-
Updates cached selection bounds and the row/column display.
- caretUpdate(javax.swing.event.CaretEvent) - Method in MatchingHighlighter
-
{@inheritDoc}
- cArrayGet(char[], int) - Method in BytecodeInterface8
-
Gets value from char[] using normalized index.
- cArraySet(char[], int, char) - Method in BytecodeInterface8
-
Sets value into char[] using normalized index.
- CASE() - Method in GroovyParser.KeywordsContext
-
- CASE() - Method in GroovyParser.SwitchExpressionLabelContext
-
- CASE() - Method in GroovyParser.SwitchLabelContext
-
- caseS(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.stmt.Statement) - Method in GeneralUtils
-
- CaseStatement - Class in org.codehaus.groovy.ast.stmt
- caseStatement(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Create a CaseStatement.
- CaseStatement(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.stmt.Statement) - Constructor in CaseStatement
-
Constructs a case statement with the given expression pattern and code block.
- cast(java.lang.Class, groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a CastExpression.
- CAST - Enum Constant in IndyInterface.CallType
-
Cast invocation type.
- castArgumentsToClassArray(java.lang.Object) - Method in MetaClassHelper
-
- Parameters:
arguments - an array of classes, values, or nulls
- CastExprAltContext(ExpressionContext) - Constructor in GroovyParser.CastExprAltContext
-
- CastExpression - Class in org.codehaus.groovy.ast.expr
Represents a type cast expression in Groovy.
- CastExpression(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression, boolean) - Constructor in CastExpression
-
Creates a cast expression with optional autoboxing control.
- CastExpressionOptimizer - Class in org.codehaus.groovy.transform.sc.transformers
- CastExpressionOptimizer(org.codehaus.groovy.transform.sc.transformers.StaticCompilationTransformer) - Constructor in CastExpressionOptimizer
-
- castNonPrimitiveToBool(org.codehaus.groovy.ast.ClassNode) - Method in InvocationWriter
-
- castNonPrimitiveToBool(org.codehaus.groovy.ast.ClassNode) - Method in InvokeDynamicWriter
-
- castOperandExpression() - Method in GroovyParser
-
- castParExpression() - Method in GroovyParser
-
- castParExpression() - Method in GroovyParser.CastExprAltContext
-
- CastParExpressionContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.CastParExpressionContext
-
- castToBool(int, boolean) - Method in OperandStack
-
ensure last marked parameter on the stack is a primitive boolean
if mark==stack size, we assume an empty expression or statement.
- castToBoolean(java.lang.Object) - Method in DefaultTypeTransformation
-
Method used for coercing an object to a boolean value,
thanks to an asBoolean() method added on types.
- castToChar(java.lang.Object) - Method in DefaultTypeTransformation
-
- castToChar(java.lang.Object) - Method in ShortTypeHandling
-
- castToClass(java.lang.Object) - Method in ShortTypeHandling
-
- castToEnum(java.lang.Object, Class<? extends Enum>) - Method in ShortTypeHandling
-
this class requires that the supplied enum is not fitting a
Collection case for casting
- castToMixedType(java.lang.Object, java.lang.Class) - Method in ExpandoMetaClass
-
Returns the mixed-in view of an object for the requested mixin type.
- castToNonPrimitiveIfNecessary(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in InvocationWriter
-
Converts sourceType to a non-primitive by using Groovy casting.
- castToNonPrimitiveIfNecessary(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in InvokeDynamicWriter
-
- castToNumber(java.lang.Object, java.lang.Class) - Method in DefaultTypeTransformation
-
- castToString(java.lang.Object) - Method in ShortTypeHandling
-
- castToType(java.lang.Object, java.lang.Class) - Method in DefaultTypeTransformation
-
- castToType(java.lang.Object, java.lang.Class) - Method in ScriptBytecodeAdapter
-
Provides a hook for type casting of the given object to the required type
- castToVargsArray(java.lang.Object, int, Class<?>) - Method in DefaultTypeTransformation
-
- castToVargsArray - Field in InvocationWriter
-
- castX(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression, boolean) - Method in GeneralUtils
-
- cat(org.jline.builtins.PosixCommands.Context, java.lang.Object) - Method in GroovyPosixCommands
-
Writes the supplied files, variables, or standard input to the current output stream.
- CATCH() - Method in GroovyParser.CatchClauseContext
-
- CATCH() - Method in GroovyParser.KeywordsContext
-
- catchClause() - Method in GroovyParser
-
- catchClause(int) - Method in GroovyParser.TryCatchStatementContext
-
- CatchClauseContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.CatchClauseContext
-
- catchException - Field in Selector
-
- catchS(org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.stmt.Statement) - Method in GeneralUtils
-
- CatchStatement - Class in org.codehaus.groovy.ast.stmt
Represents a catch (Exception var) { } statement that handles exceptions in a try-catch block.
- catchStatement(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a CatchStatement.
- CatchStatement(org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.stmt.Statement) - Constructor in CatchStatement
-
Constructs a catch statement with the given exception parameter and code block.
- catchType() - Method in GroovyParser
-
- catchType() - Method in GroovyParser.CatchClauseContext
-
- CatchTypeContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.CatchTypeContext
-
- Category - Annotation Type in groovy.lang
Transforms an instance-style Groovy class or interface to become a static-style
conventional Groovy category.
- category - Field in Commons
-
Returns the logger category name.
- category - Field in Log
-
Returns the logger category name.
- category - Field in Log4j
-
Returns the logger category name.
- category - Field in Log4j2
-
Returns the logger category name.
- category - Field in PlatformLog
-
Returns the logger category name.
- category - Field in Slf4j
-
Returns the logger category name.
- CategoryASTTransformation - Class in org.codehaus.groovy.transform
Handles generation of code for the
- Category:
- annotation.
- CategoryMethod(org.codehaus.groovy.reflection.CachedMethod, java.lang.Class) - Constructor in GroovyCategorySupport.CategoryMethod
-
- CategoryMethodList(java.lang.String, int, CategoryMethodList) - Constructor in GroovyCategorySupport.CategoryMethodList
-
- cause - Field in ConfigurationException
-
- cause - Field in SyntaxErrorMessage
-
- ccedil - Field in Entity
-
Entity reference ç.
- ce - Field in GroovyParser.AssertStatementContext
-
- cedil - Field in Entity
-
Entity reference ¸.
- CellEditorFactory - Class in groovy.swing.factory
Factory for creating closure-backed cell editors.
- CellEditorFactory() - Constructor in CellEditorFactory
-
- CellEditorGetValueFactory - Class in groovy.swing.factory
Factory for capturing cell editor value closures.
- CellEditorGetValueFactory() - Constructor in CellEditorGetValueFactory
-
- CellEditorPrepareFactory - Class in groovy.swing.factory
Factory for capturing cell editor preparation closures.
- CellEditorPrepareFactory() - Constructor in CellEditorPrepareFactory
-
- CellValueToolTipJTable - Class in groovy.console.ui
Table that exposes the current cell value as a tooltip.
- CellValueToolTipJTable() - Constructor in CellValueToolTipJTable
-
- cent - Field in Entity
-
Entity reference ¢.
- center(java.lang.CharSequence, java.lang.Number, java.lang.CharSequence) - Method in StringGroovyMethods
-
Pad a CharSequence to a minimum length specified by numberOfChars, appending the supplied padding CharSequence around the original as many times as needed keeping it centered.
- chainInvolvedTypes(OptimizeFlagsCollector) - Method in OptimizingStatementWriter.StatementMeta
-
- changes() - Method in Agent
-
Returns a Flow.Publisher that emits the agent's value after
every successful update.
- changing - Field in Grab
-
Defaults to false but set to true if the dependency artifacts may change without a corresponding
revision change.
- changing - Property in IvyGrabRecord
-
Whether this dependency may change over time.
- changing - Property in MavenGrabRecord
-
- ChannelClosedException - Class in groovy.concurrent
Thrown when an
AsyncChannel operation is attempted after the channel
has been closed.
- ChannelClosedException(java.lang.String, java.lang.Throwable) - Constructor in ChannelClosedException
-
Creates a ChannelClosedException with the specified detail message
and cause.
- channelNames - Field in GroovyLexer
-
- ChannelSelect - Class in groovy.concurrent
Selects the first available value from multiple
AsyncChannels.
- ChannelSelect.Result - Class in groovy.concurrent
The result of a
select() operation, indicating which
channel produced the value.
- CHAR_BUFFER - Enum Constant in JsonParserType
-
This is a basic parser with no index overlay.
- CHAR - Field in Sql
-
Stored procedure OUT parameter marker for JDBC type
CHAR.
- CHARACTER_SOURCE - Enum Constant in JsonParserType
-
Parser uses an abstraction that allows it to handle any size file by using a char [] windowing,
built on top or Reader.
- CharacterArrayGetAtMetaMethod - Class in org.codehaus.groovy.runtime.dgmimpl.arrays
- CharacterArrayPutAtMetaMethod - Class in org.codehaus.groovy.runtime.dgmimpl.arrays
- CharacterCachedClass - Class in org.codehaus.groovy.reflection.stdclasses
Provides optimized reflection caching for
char and
Character.
- CharacterCachedClass(java.lang.Class, org.codehaus.groovy.reflection.ClassInfo, boolean) - Constructor in CharacterCachedClass
-
Constructs a cached class representation for the given character class.
- characters(char[], int, int) - Method in StructuredSyntaxHandler
-
{@inheritDoc}
- characters(char[], int, int) - Method in XmlParser
-
Buffers character data until the enclosing element boundary is reached.
- characters(char[], int, int) - Method in XmlSlurper
-
Buffers character data until the surrounding element boundary is reached.
- CharacterSource - Interface in org.apache.groovy.json.internal
Character cursor abstraction used by the streaming JSON parsers.
- charArray - Field in JsonParserCharArray
-
Character buffer currently being parsed.
- CharArrayIterator - Class in org.codehaus.groovy.util
Allows a char array to be used where an Iterator is expected.
- CharArrayIterator(char[]) - Constructor in CharArrayIterator
-
Creates an iterator that traverses the supplied array in index order.
- charAt(int) - Method in CharBuf
-
{@inheritDoc}
- charAt(int) - Method in CharSequenceValue
-
Returns the character at the supplied backing-buffer index.
- charAt(int) - Method in GString
-
{@inheritDoc}
- charAt(int) - Method in ValueContainer
-
Returns the placeholder character '0' because no character data is available.
- CharBuf - Class in org.apache.groovy.json.internal
Growable character buffer used by the JSON internals.
- CharBuf() - Constructor in CharBuf
-
Creates a growable buffer with the default capacity.
- charDescription(int) - Method in BaseJsonParser
-
Builds a readable description of a character code for parser errors.
- chars(java.lang.String) - Method in Chr
-
Converts a string to a character array.
- CharScanner - Class in org.apache.groovy.json.internal
Low-level character scanning utilities used while parsing JSON values.
- CharSequenceReader - Class in org.codehaus.groovy.util
Reader implementation that can read from String, StringBuffer,
StringBuilder, CharBuffer or GString.
- CharSequenceReader(java.lang.CharSequence) - Constructor in CharSequenceReader
-
Construct a new instance with the specified character sequence.
- CharSequenceValue - Class in org.apache.groovy.json.internal
Overlay-backed
Value that keeps a character slice until conversion is required.
- CharSequenceValue(boolean, org.apache.groovy.json.internal.Type, int, int, char[], boolean, boolean) - Constructor in CharSequenceValue
-
Creates a value view over a character buffer slice.
- charset - Field in BaseJsonParser
-
Charset used for byte-based input when no override is supplied.
- CharsetToolkit - Class in groovy.util
Utility class to guess the encoding of a given text file.
- CharsetToolkit(java.io.File) - Constructor in CharsetToolkit
-
Constructor of the CharsetToolkit utility class.
- charUnbox(java.lang.Object) - Method in DefaultTypeTransformation
-
- charValue() - Method in CharSequenceValue
-
Converts this token to a single character.
- Returns:
- the leading character representation
- charValue() - Method in NumberValue
-
Converts this token to a single character.
- Returns:
- the leading character representation
- charValue() - Method in Value
-
Converts this token to a single character.
- charValue() - Method in ValueContainer
-
Returns 0 because this wrapper is not backed by character data.
- CharWrapper - Class in org.codehaus.groovy.runtime.wrappers
- CharWrapper(char) - Constructor in CharWrapper
-
- CHECK_METHOD_START_MEMBER - Field in AbstractInterruptibleASTTransformation
-
- checkAccessible(Class<?>, Class<?>, int, boolean) - Method in Java8
-
- checkAccessible(Class<?>, Class<?>, int, boolean) - Method in Java9
-
- checkAccessible(Class<?>, Class<?>, int, boolean) - Method in ReflectionUtils
-
- checkAccessible(Class<?>, Class<?>, int, boolean) - Method in VMPlugin
-
check whether the member can be accessed or not
- checkAndClear() - Method in AtnManager.AtnWrapper
-
- checkAssertionsEnabled(java.lang.String) - Method in Configurator
-
This static method is used within generated code to check whether assertions have been disabled for the current class or not.
- checkBoundaryCompatibility() - Method in ObjectRange
-
throws IllegalArgumentException if to and from are incompatible, meaning they e.g.
- checkCall(java.lang.Object, java.lang.Object) - Method in ConstructorSite
-
- checkCall(java.lang.Object) - Method in PogoMetaClassSite
-
- checkCall(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) - Method in PogoMetaMethodSite
-
- checkCall(java.lang.Object) - Method in PojoMetaClassSite
-
- checkCall(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) - Method in PojoMetaMethodSite
-
- checkCall(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) - Method in StaticMetaMethodSite
-
- checkCanSetAccessible(java.lang.reflect.AccessibleObject, Class<?>) - Method in Java8
-
The following scenarios can not set accessible, i.e. the return value is false
1) SecurityException occurred
2) the accessible object is a Constructor object for the Class class
- checkCanSetAccessible(java.lang.reflect.AccessibleObject, Class<?>) - Method in Java9
-
This method may be used by a caller in class C to check whether to enable access to a member of declaring class D successfully
if Java8#checkCanSetAccessible(java.lang.reflect.AccessibleObject, java.lang.Class) returns true and any of the following hold:
- checkCanSetAccessible(java.lang.reflect.AccessibleObject, Class<?>) - Method in ReflectionUtils
-
- checkCanSetAccessible(java.lang.reflect.AccessibleObject, Class<?>) - Method in VMPlugin
-
- checkCast(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypeCheckingVisitor
-
- checkCircularReference(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression) - Method in AnnotationVisitor
-
- checkClosureParameters(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingVisitor
-
- deprecated:
- this method is unused, replaced with DelegatesTo inference.
- checkCollectionType(java.util.Collection) - Method in Sequence
-
Checks that each member of the given collection are of the correct
type
- checkCompatibleAssignmentTypes(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression, boolean) - Method in StaticTypeCheckingSupport
-
Everything that can be done by castToType should be allowed for assignment.
- checkDecreased(java.lang.Object, java.lang.Object) - Method in LoopVariantASTTransformation
-
Runtime check called from generated code.
- checkEscaping(java.lang.String) - Method in DomToGroovy
-
Returns whether a generated Groovy name must be quoted.
- checkExplicitMethod(java.lang.String, java.lang.Object, groovy.lang.Reference) - Method in FactoryBuilderSupport
-
Resolves and invokes an explicit builder method if one is registered.
- checkFiles(java.lang.String) - Method in FileSystemCompiler
-
- checkFinalArgNotOverridden(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.FieldNode) - Method in ImmutablePropertyHandler
-
Creates a statement that rejects overriding a final property value via constructor arguments.
- checkForbiddenSpreadArgument(org.codehaus.groovy.ast.expr.ArgumentListExpression) - Method in StaticTypeCheckingVisitor
-
- checkForNamedParams(java.lang.String, List<?>) - Method in Sql
-
Rewrites named or named-ordinal parameter SQL into JDBC positional form
and aligns the supplied parameters with the rewritten placeholders.
- checkForRunner(Collection<String>) - Method in GrapeUtil
-
Checks whether the discovered services include a Groovy runner provider.
- checkGroovyConstructorMap(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.MapExpression) - Method in StaticTypeCheckingVisitor
-
- checkGroovyStyleConstructor(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ASTNode) - Method in StaticTypeCheckingVisitor
-
Checks that a constructor style expression is valid regarding the number
of arguments and the argument types.
- checkIfGroovyObjectMethod(groovy.lang.MetaMethod) - Method in MetaClassImpl
-
Checks if the metaMethod is getProperty, setProperty, or invokeMethod.
- checkIfStdMethod(groovy.lang.MetaMethod) - Method in NumberMathModificationInfo
-
- checkImmutable(Class<?>, java.lang.String, java.lang.Object, List<String>, List<Class>) - Method in ImmutableASTTransformation
-
- checkIncludeExcludeUndefinedAware(org.codehaus.groovy.ast.AnnotationNode, List<String>, List<String>, List<ClassNode>, List<ClassNode>, java.lang.String) - Method in AbstractASTTransformation
-
Validates that only one filtering list is specified among 'includes', 'excludes', 'includeTypes', and 'excludeTypes'.
- CheckingVisitor - Class in org.apache.groovy.typecheckers
Base visitor support for type-checker extensions that need lightweight constant propagation
and access to the underlying variable represented by a
VariableExpression.
- CheckingVisitor() - Constructor in CheckingVisitor
-
- checkInitalised() - Method in ExpandoMetaClass
-
checks if the initialisation of the class id complete.
This method should be called as a form of assert, it is no
way to test if there is still initialisation work to be done.
Such logic must be implemented in a different way.
- throws:
- IllegalStateException if the initialisation is incomplete yet
- checkInitalised() - Method in MetaClassImpl
-
checks if the initialisation of the class id complete.
- checkKnownField(org.codehaus.groovy.transform.BuilderASTTransformation, org.codehaus.groovy.ast.AnnotationNode, java.lang.String, List<FieldNode>) - Method in BuilderASTTransformation.AbstractBuilderStrategy
-
- checkKnownProperty(org.codehaus.groovy.transform.BuilderASTTransformation, org.codehaus.groovy.ast.AnnotationNode, java.lang.String, List<PropertyInfo>) - Method in BuilderASTTransformation.AbstractBuilderStrategy
-
- checkMethod(java.lang.reflect.Method) - Method in ConversionHandler
-
- checkMethod(java.lang.reflect.Method) - Method in ConvertedMap
-
- checkMethodDefinitionAllowed(org.codehaus.groovy.ast.ClassNode) - Method in SecureASTCustomizer
-
- checkModel() - Method in TableSorter
-
Verifies that the cached index mapping still matches the delegate model.
- checkNotInterface(org.codehaus.groovy.ast.ClassNode, java.lang.String) - Method in AbstractASTTransformation
-
Validates that the target class node is not an interface.
- checkOnMethodStart - Field in AbstractInterruptibleASTTransformation
-
- checkOnMethodStart() - Method in ConditionalInterrupt
-
By default a conditional check is added to the start of all user-defined methods.
- checkOnMethodStart() - Method in ThreadInterrupt
-
By default an isInterrupted check is added to the start of all user-defined methods.
- checkOnMethodStart() - Method in TimedInterrupt
-
By default a time check is added to the start of all user-defined methods.
- checkParameters() - Method in Groovyc
-
Validates the user-supplied task parameters.
- checkParameters(java.lang.Class) - Method in MetaMethod
-
Checks that the given parameters are valid to call this method.
- checkPojoMetaClass() - Method in PojoMetaMethodSite
-
- checkPropertyList(org.codehaus.groovy.ast.ClassNode, List<String>, java.lang.String, org.codehaus.groovy.ast.AnnotationNode, java.lang.String, boolean, boolean, boolean, boolean, boolean) - Method in AbstractASTTransformation
-
Validates that all property names in the given list exist in the target class.
- checkPropertyTypes - Field in ExternalizeVerifier
-
Turns on strict type checking for property (or field) types.
- checkPropNames(java.lang.Object, Map<String,Object>) - Method in ImmutableASTTransformation
-
Called during named-arguments constructor execution to check given names.
- checkPropNamesS(org.codehaus.groovy.ast.expr.VariableExpression, boolean, List<PropertyNode>) - Method in ConstructorNodeUtils
-
Creates a statement that validates named-argument keys against the supplied properties.
- checkReturnType(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ASTNode) - Method in AnnotationVisitor
-
- checkReturnType(org.codehaus.groovy.ast.stmt.ReturnStatement) - Method in StaticTypeCheckingVisitor
-
- checkType(java.lang.Object) - Method in Sequence
-
Checks that the given object instance is of the correct type
otherwise a runtime exception is thrown
- checkValueIsNull(java.lang.Object, java.lang.Object) - Method in FactoryBuilderSupport
-
Throws an exception if value is null.
- checkValueIsType(java.lang.Object, java.lang.Object, java.lang.Class) - Method in FactoryBuilderSupport
-
Checks type of value against builder type
- checkValueIsTypeNotString(java.lang.Object, java.lang.Object, java.lang.Class) - Method in FactoryBuilderSupport
-
Checks values against factory's type
- CHILD_BUILDER - Field in FactoryBuilderSupport
-
Context key for the builder used to create child nodes.
- childNodes() - Method in Attribute
-
Throws a GroovyRuntimeException, because an attribute can have no children.
- childNodes() - Method in Attributes
-
Throws a GroovyRuntimeException, because attributes can have no children.
- childNodes() - Method in GPathResult
-
Returns an iterator over the child nodes of this GPathResult.
- childNodes() - Method in NoChildren
-
Returns an empty Iterator.
- childNodes() - Method in Node
-
Returns an iterator over the child nodes of this Node.
- childNodes() - Method in NodeChild
-
Returns an iterator over the child nodes of this GPathResult.
- Returns:
- an iterator over the child nodes of this GPathResult
- childNodes() - Method in NodeChildren
-
Returns an iterator over the child nodes of this GPathResult.
- Returns:
- an iterator over the child nodes of this GPathResult
- children - Property in ClosureCellEditor
-
Child components made available to editor closures.
- children() - Method in CSTNode
-
Returns the number of child elements (excluding the root).
- children(org.w3c.dom.Element) - Method in DOMCategory
-
Returns the child nodes visible to DOMCategory navigation.
- children() - Method in GPathResult
-
Returns the children of this GPathResult as a GPathResult object.
- children() - Method in Node
-
Returns a list of the children of this Node.
- children - Property in TextNode
-
Child nodes in insertion order.
- chooseBestMethod(org.codehaus.groovy.ast.ClassNode, Collection<MethodNode>, org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingSupport
-
Returns the method(s) which best fit the argument types.
- chooseClassLoader(java.util.Map) - Method in GrapeIvy
-
Chooses the target class loader for a grab operation.
- chooseEmptyMethodParams(org.codehaus.groovy.util.FastArray) - Method in MetaClassHelper
-
- Parameters:
methods - the methods to choose from
- chooseMathMethod(org.codehaus.groovy.vmplugin.v8.Selector, groovy.lang.MetaMethod) - Method in IndyMath
-
Choose a method to replace the originally chosen metaMethod to have a
more efficient call path.
- chooseMethod(java.lang.String, java.lang.Object, java.lang.Class) - Method in MetaClassImpl
-
Chooses the correct method to use from a list of methods which match by
name.
- chooseMostGeneralMethodWith1NullParam(org.codehaus.groovy.util.FastArray) - Method in MetaClassHelper
-
Warning: this method does not choose properly if multiple methods with
the same distance are encountered
- chop(T, int) - Method in ArrayGroovyMethods
-
Chops the array into pieces, returning lists with sizes corresponding to the supplied chop sizes.
- chop() - Method in CharSequenceValue
-
Copies any shared backing buffer into a dedicated slice.
- chop(T, int) - Method in DefaultGroovyMethods
-
- chop() - Method in NumberValue
-
Copies any shared backing buffer into a dedicated slice.
- chop() - Method in Value
-
Copies any shared backing buffer into a dedicated slice.
- chop() - Method in ValueContainer
-
No-op because this wrapper does not retain a shared parser buffer.
- chopList() - Method in ValueList
-
Chops every overlay-backed element currently stored in the list.
- chopMap() - Method in LazyValueMap
-
Chop this map.
- Chr - Class in org.apache.groovy.json.internal
Character array helpers used by the JSON internals.
- circ - Field in Entity
-
Entity reference ˆ.
- CircularAssertionCallException - Class in org.apache.groovy.contracts
- CircularAssertionCallException(java.lang.Throwable) - Constructor in CircularAssertionCallException
-
Creates an exception that wraps the underlying cause.
- CLASS_CLASS_IDX - Field in Inspector
-
Index for class information.
- CLASS_DEF - Field in SimpleGroovyDoc
-
Token type used for ordinary classes.
- CLASS_GENERATION - Enum Constant in CompilePhase
-
creates the binary output in memory
- CLASS_GENERATION - Enum Constant in CompilePhaseAdapter
-
- CLASS_GENERATION - Field in Phases
-
- CLASS() - Method in GroovyParser.ClassDeclarationContext
-
- CLASS() - Method in GroovyParser.KeywordsContext
-
- CLASS_INTERFACE_IDX - Field in Inspector
-
Index for implemented interface information.
- CLASS_OTHER_IDX - Field in Inspector
-
Index for other class information.
- CLASS_PACKAGE_IDX - Field in Inspector
-
Index for package information.
- CLASS - Enum Constant in PackageScopeTarget
-
Make the Class have package protected visibility.
- CLASS_SUPERCLASS_IDX - Field in Inspector
-
Index for superclass information.
- classBody(int) - Method in GroovyParser
-
- classBody() - Method in GroovyParser.AnonymousInnerClassDeclarationContext
-
- classBody() - Method in GroovyParser.ClassDeclarationContext
-
- ClassBodyContext(org.antlr.v4.runtime.ParserRuleContext, int, int) - Constructor in GroovyParser.ClassBodyContext
-
- classBodyDeclaration(int) - Method in GroovyParser
-
- classBodyDeclaration(int) - Method in GroovyParser.ClassBodyContext
-
- ClassBodyDeclarationContext(org.antlr.v4.runtime.ParserRuleContext, int, int) - Constructor in GroovyParser.ClassBodyDeclarationContext
-
- classCache - Field in GroovyClassLoader
-
This cache contains the loaded classes or PARSING, if the class is currently parsed.
- ClassCodeExpressionTransformer - Class in org.codehaus.groovy.ast
Transforms expressions in a whole class.
- ClassCodeVisitorSupport - Class in org.codehaus.groovy.ast
Abstract base class for visitors that process class nodes and their members, extending the
default visitor traversal with class-specific and annotation processing.
- ClassCollector(InnerLoader, org.codehaus.groovy.control.CompilationUnit, org.codehaus.groovy.control.SourceUnit) - Constructor in GroovyClassLoader.ClassCollector
-
Creates a class collector for the supplied compilation state.
- ClassCompletionVerifier - Class in org.codehaus.groovy.classgen
Checks that a class satisfies various conditions including:
- Incorrect class or method access modifiers
- No abstract methods appear in a non-abstract class
- Existence and correct visibility for inherited members
- Invalid attempts to override final members
- ClassCompletionVerifier(org.codehaus.groovy.control.SourceUnit) - Constructor in ClassCompletionVerifier
-
- classDeclaration() - Method in GroovyParser
-
- classDeclaration() - Method in GroovyParser.MemberDeclarationContext
-
- classDeclaration() - Method in GroovyParser.TypeDeclarationContext
-
- ClassDeclarationContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ClassDeclarationContext
-
- classes - Field in GroovyASTTransformationClass
-
- classes() - Method in GroovyRootDoc
-
Returns all classes known to this documentation run.
- classes() - Method in SimpleGroovyRootDoc
-
Returns all classes known to this documentation run.
- Returns:
- the discovered classes
- ClassExpression - Class in org.codehaus.groovy.ast.expr
Represents access to a Java or Groovy class object as an expression.
- classExpression(java.lang.Class) - Method in AstSpecificationCompiler
-
Creates a ClassExpression.
- ClassExpression(org.codehaus.groovy.ast.ClassNode) - Constructor in ClassExpression
-
Creates a class expression for the specified type.
- ClassFinder - Class in org.codehaus.groovy.vmplugin.v9
Find classes under the specified package via some classpath entry
- ClassFindFailedException - Class in org.codehaus.groovy.vmplugin.v9
Represents error occurred during finding classes
- ClassFindFailedException(java.lang.String, java.lang.Throwable) - Constructor in ClassFindFailedException
-
- classgenCallback - Field in CompilationUnit
-
A callback called during the classgen phase of compilation
- ClassGenerator - Class in org.codehaus.groovy.classgen
Abstract base class for generator of Java class versions of Groovy AST classes
- ClassGeneratorException - Class in org.codehaus.groovy.classgen
An exception thrown by the class generator
- ClassGeneratorException(java.lang.String, java.lang.Throwable) - Constructor in ClassGeneratorException
-
- ClassHelper - Class in org.codehaus.groovy.ast
Helper for
ClassNode creation and type management.
- classifier - Field in Grab
-
The classifier if in use, e.g.: "jdk14"
- Default:
- ""
- classifier - Property in IvyGrabRecord
-
Requested classifier.
- classifier - Property in MavenGrabRecord
-
- ClassInfo - Class in org.codehaus.groovy.reflection
Handle for all information we want to keep about the class
- ClassInfo.ClassInfoAction - Interface in org.codehaus.groovy.reflection
Functional interface for performing actions on ClassInfo instances.
- classInfo - Field in CachedClass
-
ClassInfo object for this class, holding metadata about the class.
- ClassInvariant - Class in org.apache.groovy.contracts.domain
- ClassInvariant(org.codehaus.groovy.ast.stmt.BlockStatement, org.codehaus.groovy.ast.expr.BooleanExpression) - Constructor in ClassInvariant
-
Creates a class invariant from the supplied source block and boolean expression.
- classInvariant() - Method in Contract
-
Returns the current class invariant.
- ClassInvariantAnnotationProcessor - Class in org.apache.groovy.contracts.common.impl
Internal AnnotationProcessor implementation for class-invariants.
- ClassInvariantGenerator - Class in org.apache.groovy.contracts.generation
- ClassInvariantGenerator(org.codehaus.groovy.control.io.ReaderSource) - Constructor in ClassInvariantGenerator
-
Creates a generator for class-invariant support code.
- ClassInvariantLifecycle - Class in org.apache.groovy.contracts.common.impl.lc
Internal
Lifecycle implementation for class-invariants.
- ClassInvariantViolation - Class in org.apache.groovy.contracts
- ClassInvariantViolation(double) - Constructor in ClassInvariantViolation
-
Creates a class-invariant violation with a double-precision detail.
- classList2args(List<String>) - Method in GeneralUtils
-
- classLoader - Property in AstBrowser
-
Class loader used to capture generated bytecode for the selected phase.
- classLoader - Property in ConfigSlurper
-
The class loader used to parse configuration scripts.
- classLoader - Field in GroovyEngine
-
Class loader for dynamically loaded Groovy classes
- classLoader - Field in ProcessingUnit
-
The ClassLoader to use during processing
- classLoader - Property in ScriptToTreeNodeAdapter
-
Class loader used for script compilation.
- ClassLoaderForClassArtifacts - Class in org.codehaus.groovy.reflection
- ClassLoaderForClassArtifacts(java.lang.Class) - Constructor in ClassLoaderForClassArtifacts
-
- className - Field in GeneratedMetaMethod.DgmMethodRecord
-
- className() - Method in GroovyParser
-
- className(int) - Method in GroovyParser.QualifiedStandardClassNameContext
-
- className() - Method in GroovyParser.TypeParameterContext
-
- CLASSNAME_RESOLVER_KEY - Field in ObjectGraphBuilder
-
Option key selecting a class-name resolver strategy.
- CLASSNAME_RESOLVER_REFLECTION - Field in ObjectGraphBuilder
-
Resolver option that uses reflection against the graph model.
- CLASSNAME_RESOLVER_REFLECTION_ROOT - Field in ObjectGraphBuilder
-
Resolver option holding the root package for reflection lookup.
- ClassNameContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ClassNameContext
-
- classNamed(org.codehaus.groovy.groovydoc.GroovyClassDoc, java.lang.String) - Method in GroovyRootDoc
-
Resolves a class name from the perspective of another documented class.
- classNamed(org.codehaus.groovy.groovydoc.GroovyClassDoc, java.lang.String) - Method in SimpleGroovyRootDoc
-
Resolves a class name from the perspective of another documented class.
- Parameters:
groovyClassDoc - the class providing the lookup contextname - the class name to resolve
- Returns:
- the matching class documentation, or
null if it cannot be resolved
- classNamedExact(java.lang.String) - Method in SimpleGroovyRootDoc
-
Resolves a class using its exact internal name.
- classNameStack - Property in AstNodeToScriptVisitor
-
Stack of nested class names used while rendering constructors.
- classNameToStringForm - Property in ScriptToTreeNodeAdapter
-
Maps AST node class names to display templates.
- ClassNode - Class in org.codehaus.groovy.ast
Represents a class in the AST.
- classNode(java.lang.String, int, groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a ClassNode
- ClassNode(Class<?>) - Constructor in ClassNode
-
Constructs a non-primary ClassNode from a real Java class.
- classNode() - Method in Contract
-
Returns the class represented by this contract.
- classNode(java.lang.String) - Method in LogASTTransformation.AbstractLoggingStrategy
-
Resolves a ClassNode for the given class name.
- classNodeFor(java.lang.String) - Method in TypeCheckingExtension
-
- ClassNodeResolver - Class in org.codehaus.groovy.control
This class is used as a pluggable way to resolve class names.
- ClassNodeResolver.LookupResult - Class in org.codehaus.groovy.control
Helper class to return either a SourceUnit or ClassNode.
- classNodeResolver - Field in CompilationUnit
-
- ClassNodeUtils - Class in org.apache.groovy.ast.tools
Utility class for working with ClassNodes
- classOrInterfaceModifier() - Method in GroovyParser
-
- classOrInterfaceModifier(int) - Method in GroovyParser.ClassOrInterfaceModifiersContext
-
- classOrInterfaceModifier() - Method in GroovyParser.ModifierContext
-
- ClassOrInterfaceModifierContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ClassOrInterfaceModifierContext
-
- classOrInterfaceModifiers() - Method in GroovyParser
-
- classOrInterfaceModifiers() - Method in GroovyParser.ClassOrInterfaceModifiersOptContext
-
- ClassOrInterfaceModifiersContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ClassOrInterfaceModifiersContext
-
- classOrInterfaceModifiersOpt() - Method in GroovyParser
-
- classOrInterfaceModifiersOpt() - Method in GroovyParser.TypeDeclarationContext
-
- ClassOrInterfaceModifiersOptContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ClassOrInterfaceModifiersOptContext
-
- classpath - Field in CompileTaskSupport
-
Compilation classpath.
- ClasspathResourceManager - Class in org.codehaus.groovy.tools.groovydoc
Loads documentation resources from the classpath.
- ClasspathResourceManager(java.lang.ClassLoader) - Constructor in ClasspathResourceManager
-
Creates a resource manager backed by the supplied class loader.
- ClassStub - Class in org.codehaus.groovy.ast.decompiled
Data container holding bytecode-extracted class metadata for efficient decompilation.
- ClassStub(java.lang.String, int, java.lang.String, java.lang.String, java.lang.String) - Constructor in ClassStub
-
Creates a ClassStub from bytecode class metadata.
- ClassTree - Class in org.codehaus.groovy.tools.groovydoc
GROOVY-11942: builds the inheritance/extension trees rendered by the
overview-tree.html and package-tree.html templates.
- ClassTree.Node - Class in org.codehaus.groovy.tools.groovydoc
A node in an inheritance/extension tree.
- ClassUtils - Class in org.apache.groovy.groovysh.util
Utility methods for probing whether classes are available to the shell or current JVM.
- classValidator - Field in SourceAwareCustomizerFactory.SourceOptions
-
- classX(Class<?>) - Method in GeneralUtils
-
- clazz - Field in ClassNode
-
- clazz - Property in MockFor
-
Collaborator class being mocked.
- clazz - Property in StubFor
-
Collaborator class being stubbed.
- clean() - Method in JavaStubGenerator
-
- cleanup() - Method in AbstractReaderSource
-
Cleans up any cached resources used by getLine().
- cleanup() - Method in HasCleanup
-
- cleanup() - Method in Janitor
-
- cleanup() - Method in ReaderSource
-
Cleans up any cached resources used by getLine().
- cleanup(java.sql.Statement) - Method in Sql
-
Provides a hook for derived classes to be able to examine JDBC statements before cleanup/closing.
- cleanUp() - Method in SystemRegistryImpl
-
Cleans up output streams and purges temporary data.
- cleanUpNullReferences() - Method in CommonCache
-
Invoked when some of the held SoftReferences have been evicted by the garbage collector and so should be removed from the cache.
The implementation must ensure that concurrent invocations of all methods on the cache may occur from other threads
and thus should protect any shared resources.
- cleanUpNullReferences() - Method in ConcurrentCommonCache
-
Invoked when some of the held SoftReferences have been evicted by the garbage collector and so should be removed from the cache.
The implementation must ensure that concurrent invocations of all methods on the cache may occur from other threads
and thus should protect any shared resources.
- cleanUpNullReferences() - Method in LRUCache
-
Remove all entries holding SoftReferences to gc-evicted objects.
- cleanUpNullReferences() - Method in MemoizeCache
-
Invoked when some of the held SoftReferences have been evicted by the garbage collector and so should be removed from the cache.
- cleanUpNullReferences() - Method in StampedCommonCache
-
Invoked when some of the held SoftReferences have been evicted by the garbage collector and so should be removed from the cache.
The implementation must ensure that concurrent invocations of all methods on the cache may occur from other threads
and thus should protect any shared resources.
- cleanUpNullReferences() - Method in UnlimitedConcurrentCache
-
Replying on the ConcurrentHashMap thread-safe iteration implementation the method will remove all entries holding
SoftReferences to gc-evicted objects.
- clear() - Method in AntProjectPropertiesDelegate
-
- throws:
- UnsupportedOperationException is always thrown when this method is invoked.
- clear() - Method in CompileStack
-
Clears the state of the class.
- clear() - Method in ConcurrentLinkedHashMap
-
{@inheritDoc}
- clear() - Method in ConcurrentReaderHashMap
-
Removes all mappings from this map.
- clear() - Method in ConcurrentReferenceHashMap
-
Removes all of the mappings from this map.
- clear() - Method in ConfigObject
-
{@inheritDoc}
- clear(java.lang.String, java.lang.String, java.lang.String, boolean) - Method in ContractExecutionTracker
-
Removes a previously tracked contract execution from the current thread.
- clear() - Method in EvictableCache
-
Clear the cache
- clear() - Method in FastArray
-
Removes all populated elements while preserving the current capacity.
- clear() - Method in FileScanner
-
Clears any file sets that have been added to this scanner
- clear() - Method in GroovyRowResult
-
{@inheritDoc}
- clear() - Method in GroovyRunnerRegistry
-
Clears all registered runners from the registry and resets
the registry so that it contains only the default set of
runners.
- clear() - Method in LazyMap
-
Clears the compact buffers or hydrated map, depending on the current state.
- clear() - Method in LazyReference
-
Discards the cached state so the next
get() call recomputes it.
- clear() - Method in ListHashMap
-
{@inheritDoc}
- clear() - Method in ListWithDefault
-
{@inheritDoc}
- clear() - Method in ListWrapperListModel
-
Removes every element from the backing list and notifies listeners.
- clear() - Method in ManagedReference
-
Clears the referent and lets the manager process any queued stale entries.
- clear() - Method in MapWithDefault
-
{@inheritDoc}
- clear() - Method in ObservableList
-
{@inheritDoc}
- clear() - Method in ObservableMap
-
{@inheritDoc}
- clear() - Method in ObservableSet
-
{@inheritDoc}
- clear() - Method in Preferences
-
- clear() - Method in Reference
-
Clears the current referent.
- clear() - Method in Sequence
-
{@inheritDoc}
- clear(javax.swing.JTabbedPane) - Method in SwingExtensions
-
Removes all elements from the JTabbedPane.
- clear() - Method in ValueList
-
{@inheritDoc}
- clear() - Method in ValueRecorder
-
- clearAll() - Method in CommonCache
-
Clear the cache
- Returns:
- returns the content of the cleared map
- clearAll() - Method in ConcurrentCommonCache
-
Clear the cache
- Returns:
- returns the content of the cleared map
- clearAll() - Method in EvictableCache
-
Clear the cache
- clearAll() - Method in StampedCommonCache
-
Clear the cache
- Returns:
- returns the content of the cleared map
- clearAll() - Method in UnlimitedConcurrentCache
-
Clear the cache
- clearAndCopy() - Method in LazyMap
-
Copies the compact entries into a new LazyMap and clears this instance.
- clearAssertionStatus() - Method in GroovyClassLoader.InnerLoader
-
{@inheritDoc}
- clearBatch() - Method in BatchingStatementWrapper
-
Clears the current batch and resets this wrapper's batch bookkeeping.
- clearBytecodeTable() - Method in GeneratedBytecodeAwareGroovyClassLoader
-
Clears any previously captured bytecode.
- clearCache() - Method in GroovyClassLoader
-
Removes all classes from the class cache.
- clearCache() - Method in GroovyClassLoader.InnerLoader
-
- clearCaches(java.lang.String) - Method in MetaMethodIndex
-
- clearContext(java.util.EventObject) - Method in Console
-
Clears the shell binding and starts a fresh script context.
- clearDFA() - Method in AtnManager.AtnWrapper
-
- CLEARED - Enum Constant in ObservableList.ChangeType
-
The list was cleared.
- CLEARED - Enum Constant in ObservableMap.ChangeType
-
The map was cleared.
- CLEARED - Enum Constant in ObservableSet.ChangeType
-
The set was cleared.
- CLEARED_PROPERTY - Field in ObservableMap
-
Bound property name used for clear events.
- clearExtensionMethodCache() - Method in StaticTypeCheckingSupport
-
- clearInvocationCaches() - Method in MetaClassImpl
-
remove all method call cache entries.
- clearModifiedExpandos() - Method in ClassInfo
-
Clears all modified ExpandoMetaClass instances for all classes.
- clearOutput(java.util.EventObject) - Method in Console
-
Clears all text from the output pane.
- clearParameterizedTypeCache() - Method in GenericsUtils
-
Clears the parameterized type cache.
- clearStub(org.codehaus.groovy.ast.AnnotatedNode) - Method in StubberSupport
-
Removes the stubber-placeholder tag from node, if present.
- clearTime(java.time.ZonedDateTime) - Method in DateTimeExtensions
-
- clearTime(java.util.Calendar) - Method in DateUtilExtensions
-
Clears the time portion of this Calendar instance; useful utility
where it makes sense to compare month/day/year only portions of a Calendar.
- CliBuilder - Class in groovy.cli.picocli
Provides a builder to assist the processing of command line arguments.
- CliBuilder() - Constructor in CliBuilder
-
- CliBuilderException - Class in groovy.cli
Indicates an error while configuring or using
CliBuilder.
- CliBuilderException() - Constructor in CliBuilderException
-
- CliBuilderInternal - Class in groovy.cli.internal
Cut-down version of CliBuilder with just enough functionality for Groovy's internal usage.
- CliBuilderInternal() - Constructor in CliBuilderInternal
-
- clientConfig(Closure<?>) - Method in HttpBuilder.Config
-
Provides direct access to the underlying HttpClient.Builder
for advanced configuration (authenticator, SSL context, proxy, cookie handler, etc.).
- clientConfigurer - Property in HttpBuilder.Config
-
Optional hook for advanced HttpClient.Builder customization.
- clientPropertyAttributeDelegate(java.lang.Object, java.lang.Object, java.lang.Object) - Method in SwingBuilder
-
Applies clientProperties and clientProperty* attributes to the target component.
- clipBoardAvailable() - Method in ConsoleTextEditor
-
Reports whether plain-text clipboard content is currently available.
- CLOB - Field in Sql
-
Stored procedure OUT parameter marker for JDBC type
CLOB.
- clone() - Method in AntProjectPropertiesDelegate
-
Returns a shallow copy of the current project properties.
- CLONE - Enum Constant in AutoCloneStyle
-
Uses only cloning.
- clone() - Method in Closure
-
{@inheritDoc}
- clone() - Method in ComposedClosure
-
- clone() - Method in ConcurrentReaderHashMap
-
Returns a shallow copy of this
ConcurrentReaderHashMap instance: the keys and
values themselves are not cloned.
- clone() - Method in ConfigObject
-
Returns a shallow copy of this ConfigObject, keys and configuration entries are not cloned.
- clone() - Method in CurriedClosure
-
- clone() - Method in FastArray
-
Returns a shallow copy with duplicated backing storage.
- clone(java.lang.Object) - Method in GroovyEngine.Cloner
-
Creates a copy of the given object.
- clone() - Method in LazyMap
-
Clones the hydrated backing map when one already exists.
- clone() - Method in MetaMethod
-
{@inheritDoc}
- clone() - Method in Node
-
Creates a new Node with the same name, no parent, shallow cloned attributes
and if the value is a NodeList, a (deep) clone of those nodes.
- clone() - Method in NodeList
-
Creates a new NodeList containing the same elements as the
original (but cloned in the case of Nodes).
- clone() - Method in NullObject
-
Since this is implemented as a singleton, avoid the use of the clone method.
- clone() - Method in Tuple
-
{@inheritDoc}
- clone() - Method in Tuple0
-
Returns the shared empty tuple instance.
- clone() - Method in Tuple1
-
{@inheritDoc}
- clone() - Method in Tuple10
-
{@inheritDoc}
- clone() - Method in Tuple11
-
{@inheritDoc}
- clone() - Method in Tuple12
-
{@inheritDoc}
- clone() - Method in Tuple13
-
{@inheritDoc}
- clone() - Method in Tuple14
-
{@inheritDoc}
- clone() - Method in Tuple15
-
{@inheritDoc}
- clone() - Method in Tuple16
-
{@inheritDoc}
- clone() - Method in Tuple2
-
{@inheritDoc}
- clone() - Method in Tuple3
-
{@inheritDoc}
- clone() - Method in Tuple4
-
{@inheritDoc}
- clone() - Method in Tuple5
-
{@inheritDoc}
- clone() - Method in Tuple6
-
{@inheritDoc}
- clone() - Method in Tuple7
-
{@inheritDoc}
- clone() - Method in Tuple8
-
{@inheritDoc}
- clone() - Method in Tuple9
-
{@inheritDoc}
- clone() - Method in VariableExpression
-
Creates a copy of this variable expression, preserving all attributes including
accessed variable, modifiers, closure sharing state, static context, and metadata.
- cloneArray(boolean[]) - Method in ArrayUtil
-
- cloneArrayOrCloneableExpr(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.ClassNode) - Method in ImmutablePropertyUtils
-
Creates an expression that clones an array or
Cloneable value and casts it back to the requested type.
- cloneCollectionExpr(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.ClassNode) - Method in ImmutablePropertyHandler
-
Returns an immutable defensive-copy expression for the supplied collection value.
- cloneDateExpr(org.codehaus.groovy.ast.expr.Expression) - Method in ImmutablePropertyUtils
-
Creates an expression that clones a
Date value.
- cloneDelegateAndGetContent(Closure<?>) - Method in JsonDelegate
-
Factory method for creating JsonDelegates from closures.
- cloneDelegateAndGetContent(java.io.Writer, groovy.lang.Closure, boolean) - Method in StreamingJsonBuilder.StreamingJsonDelegate
-
Clones a closure, assigns this delegate model, and writes its JSON content.
- cloneParams(org.codehaus.groovy.ast.Parameter) - Method in GeneralUtils
-
- cloneSimilarCollection(Collection<T>, int) - Method in DefaultGroovyMethodsSupport
-
- cloneSimilarMap(Map<K,V>) - Method in DefaultGroovyMethodsSupport
-
- CLOSE_ACTION_COMMAND - Field in FindReplaceUtility
-
Action command for closing the dialog.
- close() - Method in Actor
-
Stops this actor.
- close() - Method in AsyncChannel
-
Closes this channel.
- close() - Method in AsyncScope
-
Closes the scope, waiting for all child tasks to complete.
- close() - Method in BatchingStatementWrapper
-
Closes the wrapped statement.
- CLOSE_BRACKET - Enum Constant in JsonTokenType
-
Closing square bracket token.
- close() - Method in BroadcastChannel
-
Closes this broadcast channel and all subscriber channels.
- close() - Method in CharBuf
-
No-op for this in-memory buffer.
- close() - Method in CharSequenceReader
-
Close resets the reader back to the start and removes any marked position.
- CLOSE_CURLY - Enum Constant in JsonTokenType
-
Closing curly brace token.
- close() - Method in DataSet
-
Closes this
DataSet and its backing
Sql resources.
- close() - Method in DefaultAsyncChannel
-
- close() - Method in DefaultAsyncScope
-
- close() - Method in DelegatingIndentWriter
-
{@inheritDoc}
- close() - Method in GeneratorBridge
-
- close() - Method in GroovyClassLoader
-
Closes this GroovyClassLoader and clears any caches it maintains.
- close() - Method in GroovyClassLoader.InnerLoader
-
Closes this GroovyClassLoader and clears any caches it maintains.
No use should be made of this instance after this method is
invoked. Any classes that are already loaded are still accessible.
- throws:
- IOException
- See Also:
- URLClassLoader.close
- clearCache()
- Since:
- 2.5.0
- close() - Method in IO
-
Close all streams.
- close() - Method in LineColumnReader
-
Closes the stream and releases any system resources associated with it.
- close() - Method in NullWriter
-
- close() - Method in PlatformLineWriter
-
{@inheritDoc}
- close() - Method in Pool
-
Shuts down the pool.
- close() - Method in Sql
-
If this SQL object was created with a Connection then this method closes
the connection.
- close() - Method in StreamingMarkupWriter
-
{@inheritDoc}
- close() - Method in StringBufferWriter
-
Closing a StringWriter has no effect.
- close() - Method in StringBuilderWriter
-
Closing this writer has no effect.
- close() - Method in SystemRegistryImpl
-
Persists collected command names before shutdown.
- CLOSED_BRACKET - Field in BaseJsonParser
-
Character code for the closing array delimiter ].
- CLOSED_BRACKET - Field in CharScanner
-
Closing bracket character code.
- CLOSED_CURLY - Field in BaseJsonParser
-
Character code for the closing object delimiter }.
- CLOSED_CURLY - Field in CharScanner
-
Closing curly brace character code.
- closeIterable(java.lang.Object) - Method in AsyncSupport
-
- closeOutputPrintWriter() - Method in Console
-
Closes the optional output log writer.
- closeQuietly(java.io.Closeable) - Method in DefaultGroovyMethodsSupport
-
Closes the Closeable, ignoring any problems that might occur.
- closeRange(org.objectweb.asm.Label) - Method in CompileStack.BlockRecorder
-
- closeResources(java.sql.Connection, java.sql.Statement) - Method in DataSet
-
An extension point allowing the behavior of resource closing to be
overridden in derived classes.
- Parameters:
connection - the connection to closestatement - the statement to close
- closeResources(java.sql.Connection) - Method in Sql
-
An extension point allowing the behavior of resource closing to be
overridden in derived classes.
- closeResources(java.sql.ResultSet) - Method in Sql.AbstractQueryCommand
-
After performing the execute operation and making use of its return, it's necessary
to free the resources allocated for the statement.
- closeStreams(java.lang.Process) - Method in ProcessGroovyMethods
-
Closes all the streams associated with the process (ignoring any IOExceptions).
- closeWithWarning(java.io.Closeable) - Method in DefaultGroovyMethodsSupport
-
Close the Closeable.
- Closure - Class in groovy.lang
Represents any closure object in Groovy.
- CLOSURE_ARGUMENTS - Enum Constant in StaticTypesMarker
-
used to store expected closure argument types on an expression
- closure(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a ClosureExpression.
- CLOSURE_CALL_NO_ARG - Field in StaticTypeCheckingVisitor
-
- CLOSURE_CALL_ONE_ARG - Field in StaticTypeCheckingVisitor
-
- CLOSURE_CALL_VARGS - Field in StaticTypeCheckingVisitor
-
- Closure(java.lang.Object) - Constructor in Closure
-
Constructor used when the "this" object for the Closure is null.
- closure - Field in DefaultJsonGenerator.ClosureConverter
-
Closure used to convert matching values.
- closure() - Method in GroovyParser
-
- closure() - Method in GroovyParser.ClosureOrLambdaExpressionContext
-
- closure() - Method in GroovyParser.GstringValueContext
-
- ClosureCellEditor - Class in groovy.swing.impl
Cell editor implementation backed by builder closures for tables and trees.
- ClosureCellEditor(groovy.lang.Closure, Map<String, Closure>) - Constructor in ClosureCellEditor
-
Creates a closure-backed cell editor.
- ClosureColumnFactory - Class in groovy.swing.factory
Factory for creating closure-backed table columns.
- ClosureColumnFactory() - Constructor in ClosureColumnFactory
-
- ClosureComparator - Class in groovy.util
A Comparator which uses a closure to compare 2 values being equal
- ClosureComparator(groovy.lang.Closure) - Constructor in ClosureComparator
-
Creates a comparator backed by the supplied closure.
- ClosureContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ClosureContext
-
- ClosureConverter(Class<?>, Closure<?>) - Constructor in DefaultJsonGenerator.ClosureConverter
-
Creates a converter backed by the supplied closure.
- ClosureException - Class in groovy.lang
An exception thrown by a closure invocation
- ClosureException(groovy.lang.Closure, java.lang.Throwable) - Constructor in ClosureException
-
Creates a new closure exception.
- ClosureExpression - Class in org.codehaus.groovy.ast.expr
Represents a closure expression such as { statement } or { i -> statement } or
{ i, x, String y -> statement }.
- ClosureExpression(org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.stmt.Statement) - Constructor in ClosureExpression
-
Creates a closure expression with the specified parameters and code body.
- ClosureExpressionEvaluationASTTransformation - Class in org.apache.groovy.contracts.ast
Evaluates
ClosureExpression instances in annotation parameters and
generates special contract closure classes from them.
- ClosureExpressionTransformer - Class in org.codehaus.groovy.transform.sc.transformers
- ClosureExpressionTransformer(org.codehaus.groovy.transform.sc.transformers.StaticCompilationTransformer) - Constructor in ClosureExpressionTransformer
-
- ClosureInvokingMethod - Interface in groovy.lang
An interface for MetaMethods that invoke closures to implements.
- closureList(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a ClosureListExpression.
- ClosureListExpression - Class in org.codehaus.groovy.ast.expr
This class represents a list of expressions used to
create closures.
- ClosureListExpression() - Constructor in ClosureListExpression
-
- ClosureMetaClass - Class in org.codehaus.groovy.runtime.metaclass
A metaclass for closures generated by the Groovy compiler.
- ClosureMetaClass(groovy.lang.MetaClassRegistry, java.lang.Class) - Constructor in ClosureMetaClass
-
- ClosureMetaMethod - Class in org.codehaus.groovy.runtime.metaclass
A MetaMethod that accepts a closure in the constructor which is invoked when the MetaMethod is called.
- ClosureMetaMethod(java.lang.String, java.lang.Class, groovy.lang.Closure, org.codehaus.groovy.reflection.CachedMethod) - Constructor in ClosureMetaMethod
-
- ClosureModel - Class in groovy.swing.model
Represents a value model using a closure to extract
the value from some source model and an optional write closure
for updating the value.
- ClosureModel(groovy.swing.model.ValueModel, groovy.lang.Closure, groovy.lang.Closure, java.lang.Class) - Constructor in ClosureModel
-
Creates a closure-backed model with an explicit declared type.
- closureOrLambdaExpression() - Method in GroovyParser
-
- closureOrLambdaExpression() - Method in GroovyParser.AsyncClosureExprAltContext
-
- closureOrLambdaExpression() - Method in GroovyParser.ClosureOrLambdaExpressionPrmrAltContext
-
- closureOrLambdaExpression() - Method in GroovyParser.PathElementContext
-
- ClosureOrLambdaExpressionContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ClosureOrLambdaExpressionContext
-
- ClosureOrLambdaExpressionPrmrAltContext(PrimaryContext) - Constructor in GroovyParser.ClosureOrLambdaExpressionPrmrAltContext
-
- ClosureParams - Annotation Type in groovy.transform.stc
Parameter annotation aimed at helping IDEs or the static type checker to infer the
parameter types of a closure.
- CLOSUREPARAMS_CLASSNODE - Field in StaticTypeCheckingVisitor
-
- ClosureRenderer - Class in groovy.swing.impl
Shared Swing renderer that delegates rendering customization to a Groovy closure.
- ClosureRenderer(groovy.lang.Closure) - Constructor in ClosureRenderer
-
Creates a renderer that delegates to the supplied closure.
- closureSharedVariablesAssignmentTypes - Field in TypeCheckingContext
-
A map used to store every type used in closure shared variable assignments.
- ClosureSignatureConflictResolver - Class in groovy.transform.stc
If multiple candidate signatures are found after applying type hints,
a conflict resolver can attempt to resolve the ambiguity.
- ClosureSignatureHint - Class in groovy.transform.stc
- ClosureSourceBinding - Class in org.apache.groovy.swing.binding
Uses a closure invocation to compute a source value for a binding.
- ClosureSourceBinding(groovy.lang.Closure, java.lang.Object) - Constructor in ClosureSourceBinding
-
Creates a source binding that invokes the closure with the supplied arguments.
- ClosureStaticMetaMethod - Class in org.codehaus.groovy.runtime.metaclass
This class represents a MetaMethod that is a closure that pretends to be a static method.
- ClosureStaticMetaMethod(java.lang.String, java.lang.Class, groovy.lang.Closure, java.lang.Class) - Constructor in ClosureStaticMetaMethod
-
- ClosureTriggerBinding - Class in org.apache.groovy.swing.binding
Creates bindings that track the property path referenced by a closure expression.
- ClosureTriggerBinding(Map<String,TriggerBinding>) - Constructor in ClosureTriggerBinding
-
Creates a closure trigger binding with the supplied synthetic trigger registry.
- ClosureUtils - Class in org.codehaus.groovy.ast.tools
Handy methods when working with Closure AST data structures.
- ClosureWriter - Class in org.codehaus.groovy.classgen.asm
- ClosureWriter.CorrectAccessedVariableVisitor - Class in org.codehaus.groovy.classgen.asm
- ClosureWriter.UseExistingReference - Interface in org.codehaus.groovy.classgen.asm
- ClosureWriter(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in ClosureWriter
-
- closureX(org.codehaus.groovy.ast.stmt.Statement) - Method in GeneralUtils
-
- CMP - Field in GeneralUtils
-
- cmpX(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
Builds a binary expression that compares two values.
- code - Field in AutoImplement
-
If defined, all unimplemented methods will execute the code found within the supplied closure.
- CODE_REGEX - Field in SimpleGroovyClassDoc
-
Pattern used to locate {@code ...} style inline tags for angle-bracket escaping.
- codePointAt(int) - Method in GStringImpl
-
- codePointBefore(int) - Method in GStringImpl
-
- codePointCount(int, int) - Method in GStringImpl
-
- CodeVisitorSupport - Class in org.codehaus.groovy.ast
Abstract base class for implementing the
GroovyCodeVisitor interface, providing
default implementations for all visit methods that perform depth-first traversal of the AST.
- coerce(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in InvocationWriter
-
- coerce(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in InvokeDynamicWriter
-
- coerce - Field in NamedVariant
-
If true, will use as to convert map parameter to required class
- coerceArgument(java.lang.Object) - Method in ArrayCachedClass
-
Coerces the given argument to the appropriate array type.
- coerceArgument(java.lang.Object) - Method in BigDecimalCachedClass
-
- coerceArgument(java.lang.Object) - Method in ByteCachedClass
-
Coerces the given numeric argument to a byte value.
- coerceArgument(java.lang.Object) - Method in CachedClass
-
Coerces an argument to a form suitable for this class.
- coerceArgument(java.lang.Object) - Method in CachedSAMClass
-
Coerces the given argument to this SAM type.
- coerceArgument(java.lang.Object) - Method in DoubleCachedClass
-
Coerces the given numeric argument to a double value.
- coerceArgument(java.lang.Object) - Method in FloatCachedClass
-
Coerces the given numeric argument to a float value.
- coerceArgument(java.lang.Object) - Method in IntegerCachedClass
-
Coerces the given numeric argument to an int value.
- coerceArgument(java.lang.Object) - Method in LongCachedClass
-
Coerces the given numeric argument to a long value.
- coerceArgument(java.lang.Object) - Method in NumberCachedClass
-
Coerces the given argument if it is a
Number.
- coerceArgument(java.lang.Object) - Method in ShortCachedClass
-
Coerces the given numeric argument to a short value.
- coerceArgument(java.lang.Object) - Method in StringCachedClass
-
Coerces the given argument to
String.
- coerceArgumentsToClasses(java.lang.Object) - Method in ParameterTypes
-
Coerces arguments to match the expected parameter types, handling type conversions and varargs expansion.
- coerceToSAM(groovy.lang.Closure, java.lang.reflect.Method, java.lang.Class, boolean) - Method in CachedSAMClass
-
Coerces a closure to a SAM interface or class implementation.
- collate(T, int, int, boolean) - Method in ArrayGroovyMethods
-
Collates this array into sub-lists.
- collate(T, int, int, boolean) - Method in DefaultGroovyMethods
-
- collect(E, C, Closure<? extends T>) - Method in ArrayGroovyMethods
-
Iterates through this Array transforming each item into a new value using the transform closure
and adding it to the supplied collector.
- collect(org.codehaus.groovy.ast.MethodNode) - Method in CollectRecursiveCalls
-
- collect(E, C, Closure<? extends T>) - Method in DefaultGroovyMethods
-
- collect(Optional<S>, Closure<T>) - Method in PluginDefaultGroovyMethods
-
If a value is present in the Optional, returns transformed value
obtained using the transform closure or no value as an optional.
- collectAllInterfaces(org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingSupport
-
Collects all interfaces of a class node, including those defined by the
super class.
- collectAllInterfacesReverseOrder(org.codehaus.groovy.ast.ClassNode, LinkedHashSet<ClassNode>) - Method in Traits
-
Collects all interfaces of a class node, but reverses the order of the declaration of direct interfaces
of this class node.
- collectEntries(E, Map<K,V>, Function<? super E,K>, Function<? super E,V>) - Method in ArrayGroovyMethods
-
A variant of collectEntries for arrays with separate functions for transforming the keys and values.
- collectEntries(E, Map<K,V>, Closure<?>) - Method in DefaultGroovyMethods
-
- collecting(Iterator<E>, Closure<T>) - Method in DefaultGroovyMethods
-
Returns an iterator of transformed values from the source iterator using the
transform closure.
- collectingEntries(Iterator<E>, Closure<?>) - Method in DefaultGroovyMethods
-
Returns an iterator of transformed values from the source iterator using the
transform closure.
- collectingMany(Iterator<E>, Closure<? extends Collection<? extends T>>) - Method in DefaultGroovyMethods
-
Iterates through the elements produced by projecting and flattening the elements from a source iterator.
- Collection_TYPE - Field in StaticTypeCheckingSupport
-
- collection() - Method in Weighers
-
A weigher where the value is a
Collection and its weight is the
number of elements.
- CollectionFactory - Class in groovy.swing.factory
This returns a mutable java.util.Collection of some sort, to which items are added.
- CollectionFactory() - Constructor in CollectionFactory
-
- collectionTable - Property in ObjectBrowser
-
Table showing collection contents.
- collectKeys(Map<K,V>, Function<? super K,K>) - Method in DefaultGroovyMethods
-
Transform a Maps' keys leaving the values unchanged.
- collectMany(E, C, Closure<? extends Collection<? extends T>>) - Method in ArrayGroovyMethods
-
Projects each item from a source array to a collection and concatenates (flattens) the resulting collections into a single list.
- collectMany(E, C, Closure<? extends Collection<? extends T>>) - Method in DefaultGroovyMethods
-
- collectManyParallel(Collection<T>, Function<T,? extends Collection<R>>) - Method in ParallelCollectionExtensions
-
Transforms each element into a collection and flattens the results
in parallel (parallel flatMap).
- collectModuleExports(java.lang.module.ModuleReference, java.lang.module.ModuleFinder, List<String>, Set<String>) - Method in ModuleImportHelper
-
Collects the exported package names from the given module and,
recursively, from any modules it requires transitive.
- collectNested(java.lang.Iterable, C, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
Recursively iterates through this Iterable transforming each non-Collection value
into a new value using the transform closure.
- collector - Field in MultipleCompilationErrorsException
-
- collectParallel(Collection<T>, Function<T,R>) - Method in ParallelCollectionExtensions
-
Transforms each element in parallel, returning a new list.
- CollectRecursiveCalls - Class in org.codehaus.groovy.transform.tailrec
Collect all recursive calls within method
- collectReplacements(java.lang.String, List<Function<Character,Optional<String>>>) - Method in StringGroovyMethods
-
Iterates through this String a character at a time collecting either the
original character or a transformed replacement String.
- collectSelfTypes(org.codehaus.groovy.ast.ClassNode, LinkedHashSet<ClassNode>, boolean, boolean) - Method in Traits
-
Collects all the self types that a type should extend or implement, given
the traits is implements.
- collectSourceFileNames(List<String>, java.lang.String, List<String>) - Method in Main
-
Populates
sourceFilesToDoc by resolving each entry in
remainingArgs
against the given
sourceDirs, collecting
.groovy and
.java
files.
- collectSyntaxError(org.apache.groovy.ginq.dsl.GinqSyntaxError) - Method in SyntaxErrorReportable
-
Adds the supplied GINQ syntax error to the current source unit.
- collectValues(Map<K,V>, Function<? super V,V>) - Method in DefaultGroovyMethods
-
Transform a Maps' values leaving the keys unchanged.
- colNum - Property in Console
-
Current one-based caret column.
- COLON - Field in BaseJsonParser
-
Character code for the : name/value separator.
- COLON() - Method in GroovyParser.AssertStatementContext
-
- COLON() - Method in GroovyParser.ConditionalExprAltContext
-
- COLON() - Method in GroovyParser.EnhancedForControlContext
-
- COLON() - Method in GroovyParser.KeyedPairContext
-
- COLON() - Method in GroovyParser.LabeledStmtAltContext
-
- COLON() - Method in GroovyParser.MapContext
-
- COLON() - Method in GroovyParser.MapEntryContext
-
- COLON() - Method in GroovyParser.NamedPropertyArgsContext
-
- COLON() - Method in GroovyParser.SwitchExpressionLabelContext
-
- COLON() - Method in GroovyParser.SwitchLabelContext
-
- COLON - Enum Constant in JsonTokenType
-
Colon token.
- COLON - Field in Types
-
- column(long[][], int) - Method in ArrayGroovyMethods
-
Select a column from a 2D array.
- column - Property in ClosureCellEditor
-
Table column currently being edited, or -1 for tree editing.
- ColumnFactory - Class in groovy.swing.factory
Factory for creating table columns and related renderers.
- ColumnFactory() - Constructor in ColumnFactory
-
- ColumnModelFactory - Class in groovy.swing.factory
Factory for creating table column models.
- ColumnModelFactory() - Constructor in ColumnModelFactory
-
- columns(long[][]) - Method in ArrayGroovyMethods
-
- combinations(java.lang.Iterable, Closure<T>) - Method in DefaultGroovyMethods
-
Finds all combinations of items from the given aggregate of collections,
then returns the results of the supplied transform.
- combinations(Iterable<?>) - Method in GroovyCollections
-
Finds all combinations of items from the given collections.
- combine(Map<K,? extends Iterable<T>>) - Method in Iterables
-
An iterator returning a map for each combination of elements the iterables sources.
- combine(Map<K,? extends Iterator<T>>, boolean) - Method in Iterators
-
An iterator returning a map for each combination of elements the iterator sources.
- ComboBoxFactory - Class in groovy.swing.factory
- ComboBoxFactory() - Constructor in ComboBoxFactory
-
- COMMA - Field in BaseJsonParser
-
Character code for the , element separator.
- COMMA - Field in CharScanner
-
Comma character code.
- COMMA() - Method in GroovyParser.ArgumentsContext
-
- COMMA(int) - Method in GroovyParser.ArrayInitializerContext
-
- COMMA() - Method in GroovyParser.AssertStatementContext
-
- COMMA(int) - Method in GroovyParser.AwaitExprAltContext
-
- COMMA() - Method in GroovyParser.ClassBodyContext
-
- COMMA(int) - Method in GroovyParser.ElementValueArrayInitializerContext
-
- COMMA(int) - Method in GroovyParser.ElementValuePairsContext
-
- COMMA(int) - Method in GroovyParser.EnhancedArgumentListInParContext
-
- COMMA() - Method in GroovyParser.EnhancedForControlContext
-
- COMMA(int) - Method in GroovyParser.EnumConstantsContext
-
- COMMA(int) - Method in GroovyParser.ExpressionListContext
-
- COMMA(int) - Method in GroovyParser.FormalParameterListContext
-
- COMMA() - Method in GroovyParser.ListContext
-
- COMMA() - Method in GroovyParser.MapContext
-
- COMMA(int) - Method in GroovyParser.MapEntryListContext
-
- COMMA(int) - Method in GroovyParser.QualifiedClassNameListContext
-
- COMMA(int) - Method in GroovyParser.TypeArgumentsContext
-
- COMMA(int) - Method in GroovyParser.TypeListContext
-
- COMMA(int) - Method in GroovyParser.TypeNamePairsContext
-
- COMMA(int) - Method in GroovyParser.TypeParametersContext
-
- COMMA(int) - Method in GroovyParser.VariableDeclaratorsContext
-
- COMMA(int) - Method in GroovyParser.VariableNamesContext
-
- COMMA - Enum Constant in JsonTokenType
-
Comma token.
- COMMA - Field in Types
-
- command() - Method in SystemRegistryImpl.CommandData
-
Returns the command name.
- commandAliases() - Method in SystemRegistryImpl
-
Returns all command aliases.
- commandArgument() - Method in GroovyParser
-
- commandArgument(int) - Method in GroovyParser.CommandExpressionContext
-
- CommandArgumentContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.CommandArgumentContext
-
- CommandData(ArgsParser, boolean, java.lang.String, java.lang.String, java.io.File, boolean, java.lang.String) - Constructor in SystemRegistryImpl.CommandData
-
Creates a compiled command entry for later execution in a pipeline.
- commandDescription(List<String>) - Method in GroovyCommands
-
Builds the detailed description for the selected command.
- commandDescription(CmdLine) - Method in SystemRegistryImpl
-
Returns the description for a command line.
- CommandExprAltContext(StatementExpressionContext) - Constructor in GroovyParser.CommandExprAltContext
-
- commandExpression() - Method in GroovyParser
-
- commandExpression() - Method in GroovyParser.CommandExprAltContext
-
- CommandExpressionContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.CommandExpressionContext
-
- commandInfo(java.lang.String) - Method in GroovyCommands
-
Returns the short help text registered for the named command.
- commandInfo(java.lang.String) - Method in Main.ExtraConsoleCommands
-
Returns summary text for the specified command.
- commandInfo(java.lang.String) - Method in SystemRegistryImpl
-
Returns the help information for a command.
- commandLine - Property in OptionAccessor
-
The parsed command line.
- commandLineCompile(java.lang.String, boolean) - Method in FileSystemCompiler
-
Same as main(args) except that exceptions are thrown out instead of causing
the VM to exit and the lookup for .groovy files can be controlled
- commandLineCompileWithErrorHandling(java.lang.String, boolean) - Method in FileSystemCompiler
-
Primary entry point for compiling from the command line
(using the groovyc script).
- commandNames() - Method in SystemRegistryImpl
-
Returns the names of all registered commands.
- commandPrimary() - Method in GroovyParser
-
- commandStyle - Property in Console
-
Style used for echoed commands in the output pane.
- comment(java.lang.Object) - Method in BaseTemplate
-
Renders the supplied object using its
Object.toString method inside a
comment markup block (<!
- comment(java.util.EventObject) - Method in Console
-
Comments or uncomments the current line selection.
- COMMENT - Field in GroovyFilter
-
Style name used for comments.
- comment(java.lang.String) - Method in MarkupBuilderHelper
-
Produce a comment in the output.
- commentClosure - Property in StreamingDOMBuilder
-
Closure backing mkp.comment for DOM comment node creation.
- commentClosure - Property in StreamingMarkupBuilder
-
Invoked by calling mkp.comment
- commentClosure - Property in StreamingSAXBuilder
-
Closure backing mkp.comment for SAX handlers supporting lexical events.
- commentText() - Method in ArrayClassDocWrapper
-
Returns the processed comment text for this element.
- Returns:
- the rendered comment text
- commentText() - Method in ExternalGroovyClassDoc
-
Returns the processed comment text for this element.
- Returns:
- the rendered comment text
- commentText() - Method in GroovyDoc
-
Returns the processed comment text for this element.
- commentText() - Method in SimpleGroovyClassDoc
-
Returns the processed comment text for this element.
- Returns:
- the rendered comment text
- commentText() - Method in SimpleGroovyDoc
-
Returns the processed comment text for this element.
- Returns:
- the rendered comment text
- commentText() - Method in SimpleGroovyMemberDoc
-
Returns the processed comment text for this element.
- Returns:
- the rendered comment text
- commit() - Method in DataSet
-
If this SQL object was created with a Connection then this method commits
the connection. If this SQL object was created from a DataSource then
this method does nothing.
- throws:
- SQLException if a database access error occurs
- commit() - Method in Sql
-
If this SQL object was created with a Connection then this method commits
the connection.
- CommonCache - Class in org.codehaus.groovy.runtime.memoize
Represents a simple key-value cache, which is NOT thread safe and backed by a
Map instance
- CommonCache(Map<K,V>) - Constructor in CommonCache
-
Constructs a cache backed by the specified
Map instance
- Commons - Annotation Type in groovy.util.logging
This local transform adds a logging ability to your program using
Apache Commons logging.
- compactConstructorDeclaration() - Method in GroovyParser
-
- compactConstructorDeclaration() - Method in GroovyParser.MemberDeclarationContext
-
- CompactConstructorDeclarationContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.CompactConstructorDeclarationContext
-
- compare(org.codehaus.groovy.reflection.CachedMethod, org.codehaus.groovy.reflection.CachedMethod) - Method in CachedClass.CachedMethodComparatorByName
-
- compare(java.lang.Object, java.lang.Object) - Method in CachedClass.CachedMethodComparatorWithString
-
- compare(T, T) - Method in ClosureComparator
-
{@inheritDoc}
- compare(double, double) - Method in DoubleComparator
-
Compares its two arguments for order.
- COMPARE_EQUAL - Field in Types
-
- compare(float, float) - Method in FloatComparator
-
Compares its two arguments for order.
- COMPARE_GREATER_THAN_EQUAL - Field in Types
-
- COMPARE_GREATER_THAN - Field in Types
-
- COMPARE_IDENTICAL - Field in Types
-
- compare(java.lang.Object, java.lang.Object) - Method in Inspector.MemberComparator
-
{@inheritDoc}
- compare(java.lang.Object, java.lang.Object) - Method in Inspector.MemberComparatorWithValue
-
Compares two property tuples using the underlying property metadata.
- compare(int, int) - Method in IntComparator
-
Compares its two arguments for order.
- COMPARE_LESS_THAN_EQUAL - Field in Types
-
- COMPARE_LESS_THAN - Field in Types
-
- compare(long, long) - Method in LongComparator
-
Compares its two arguments for order.
- COMPARE_NOT_EQUAL - Field in Types
-
- COMPARE_NOT_IDENTICAL - Field in Types
-
- COMPARE_NOT_IN - Field in Types
-
- COMPARE_NOT_INSTANCEOF - Field in Types
-
- compare(T, T) - Method in NumberAwareComparator
-
- compare(T, T) - Method in OrderBy
-
{@inheritDoc}
- compare(int, int) - Method in TableSorter
-
Compares two source rows using the active sort columns.
- COMPARE_TO - Field in Types
-
- compareArrayEqual(java.lang.Object, java.lang.Object) - Method in DefaultTypeTransformation
-
- compareEqual(java.lang.Object, java.lang.Object) - Method in DefaultTypeTransformation
-
- compareEqual(java.lang.Object, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- compareGreaterThan(java.lang.Object, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- compareGreaterThanEqual(java.lang.Object, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- compareIdentical(java.lang.Object, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- CompareIdentityExpression - Class in org.codehaus.groovy.transform.sc.transformers
Compares two objects using identity comparison.
- CompareIdentityExpression(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Constructor in CompareIdentityExpression
-
- compareLessThan(java.lang.Object, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- compareLessThanEqual(java.lang.Object, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- compareNotEqual(java.lang.Object, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- compareNotIdentical(java.lang.Object, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- compareRowsByColumn(int, int, int) - Method in TableSorter
-
Compares two source rows using the values from the supplied column.
- compareTo(org.codehaus.groovy.groovydoc.GroovyDoc) - Method in ArrayClassDocWrapper
-
{@inheritDoc}
- compareTo(groovy.time.BaseDuration) - Method in BaseDuration
-
Compares this duration with another by their millisecond values.
- compareTo(java.lang.Object) - Method in CachedMethod
-
Compares this cached method with another method-like object for ordering.
- compareTo(java.lang.Number, java.lang.Number) - Method in DefaultGroovyMethods
-
Compares two Numbers.
- compareTo(java.lang.Object, java.lang.Object) - Method in DefaultTypeTransformation
-
Compares the two objects handling nulls gracefully and performing numeric type coercion if required
- compareTo(org.codehaus.groovy.groovydoc.GroovyDoc) - Method in ExternalGroovyClassDoc
-
{@inheritDoc}
- compareTo(java.lang.Object) - Method in GroovyCategorySupport.CategoryMethod
-
Sort by most specific to least specific.
- compareTo(java.lang.Object) - Method in GString
-
{@inheritDoc}
- compareTo(java.lang.String) - Method in GStringImpl
-
- compareTo(java.lang.Number, java.lang.Number) - Method in NumberMath
-
- compareTo(java.lang.Comparable, java.lang.Comparable) - Method in ObjectRange
-
Compares two values using Groovy's number-aware comparison.
- compareTo - Field in OperatorRename
-
Returns the replacement method name for the spaceship operator.
- compareTo(java.lang.Object, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- compareTo(org.codehaus.groovy.groovydoc.GroovyDoc) - Method in SimpleGroovyDoc
-
{@inheritDoc}
- compareTo(Tuple<E>) - Method in Tuple
-
{@inheritDoc}
- compareTo(java.nio.file.Path) - Method in WritablePath
-
{@inheritDoc}
- compareToIgnoreCase(java.lang.String) - Method in GStringImpl
-
- compareToImpl(java.lang.Number, java.lang.Number) - Method in BigDecimalMath
-
- compareToImpl(java.lang.Number, java.lang.Number) - Method in BigIntegerMath
-
- compareToImpl(java.lang.Number, java.lang.Number) - Method in FloatingPointMath
-
- compareToImpl(java.lang.Number, java.lang.Number) - Method in IntegerMath
-
- compareToImpl(java.lang.Number, java.lang.Number) - Method in LongMath
-
- compareToImpl(java.lang.Number, java.lang.Number) - Method in NumberMath
-
- CompareToNullExpression - Class in org.codehaus.groovy.transform.sc.transformers
- CompareToNullExpression(org.codehaus.groovy.ast.expr.Expression, boolean) - Constructor in CompareToNullExpression
-
- COMPARISON_OPERATOR - Field in Types
-
- CompilationCustomizer - Class in org.codehaus.groovy.control.customizers
Users wanting to customize the configuration process such as adding imports, restricting the
language features or apply AST transformations by default should implement this class, then
call the
CompilerConfiguration.addCompilationCustomizers
- CompilationCustomizer(org.codehaus.groovy.control.CompilePhase) - Constructor in CompilationCustomizer
-
- CompilationFailedException - Class in org.codehaus.groovy.control
Thrown when compilation fails from source errors.
- CompilationFailedException(int, org.codehaus.groovy.control.ProcessingUnit) - Constructor in CompilationFailedException
-
- CompilationUnit - Class in org.codehaus.groovy.control
The CompilationUnit collects all compilation data as it is generated by the compiler system.
- CompilationUnit.ClassgenCallback - Interface in org.codehaus.groovy.control
A callback interface you can use during the classgen
phase of compilation as the compiler traverses the ClassNode tree.
- CompilationUnit.GroovyClassOperation - Class in org.codehaus.groovy.control
- CompilationUnit.IGroovyClassOperation - Interface in org.codehaus.groovy.control
- CompilationUnit.IPrimaryClassNodeOperation - Interface in org.codehaus.groovy.control
- CompilationUnit.ISourceUnitOperation - Interface in org.codehaus.groovy.control
- CompilationUnit.PrimaryClassNodeOperation - Class in org.codehaus.groovy.control
- CompilationUnit.ProgressCallback - Interface in org.codehaus.groovy.control
A callback interface you can use to get a callback after every
unit of the compile process.
- CompilationUnit.SourceUnitOperation - Class in org.codehaus.groovy.control
- compilationUnit - Property in ASTTestTransformation
-
Compilation unit that owns the current transformation.
- compilationUnit - Field in ASTTransformationCustomizer
-
Compilation unit currently being customized.
- compilationUnit - Field in ASTTransformationsContext
-
- CompilationUnit(org.codehaus.groovy.control.CompilerConfiguration, java.security.CodeSource, groovy.lang.GroovyClassLoader, groovy.lang.GroovyClassLoader) - Constructor in CompilationUnit
-
Initializes the CompilationUnit with a CodeSource for controlling
security stuff, a class loader for loading classes, and a class
loader for loading AST transformations.
- compilationUnit() - Method in GroovyParser
-
- compilationUnit - Field in StaticTypesTransformation
-
- compilationUnit - Field in TypeCheckingContext
-
- CompilationUnitAware - Interface in groovy.transform
This interface is for AST transformations which must be aware of the compilation unit where they are applied.
- CompilationUnitContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.CompilationUnitContext
-
- compile(java.lang.String) - Method in AllTestSuite
-
Compiles the supplied Groovy source file into a class.
- compile(java.lang.Object, java.lang.String, int) - Method in AstBrowser
-
Rebuilds the AST tree for the selected compile phase.
- compile(java.lang.String, org.codehaus.groovy.control.CompilePhase, boolean) - Method in AstStringCompiler
-
Compiles the specified source code and returns its statement block, the
script class (if desired) and any declared types.
- compile(int) - Method in CompilationUnit
-
Compiles the compilation unit from sources.
- compile(java.lang.String, java.lang.String) - Method in Compiler
-
Compiles a string of code.
- compile() - Method in CompileTaskSupport
-
Performs the concrete compilation work for the task.
- compile(java.io.File) - Method in FileSystemCompiler
-
- compile() - Method in GenerateStubsTask
-
Generates Java stubs for the configured source roots.
- compile() - Method in Groovyc
-
- compile() - Method in GroovycTask
-
Compiles the configured Groovy sources.
- compile(java.io.Reader) - Method in GroovyScriptEngineImpl
-
Reads and compiles Groovy source from the supplied reader.
- compile(java.lang.String) - Method in GroovyTestSuite
-
Compiles the supplied Groovy source file into a class.
- compile(List<String>, org.codehaus.groovy.control.CompilationUnit) - Method in JavacJavaCompiler
-
- compile(List<String>, org.codehaus.groovy.control.CompilationUnit) - Method in JavaCompiler
-
- compile(java.lang.String, java.lang.String) - Method in JavaShell
-
Compile and return the main class
- compile() - Method in JavaStubCompilationUnit
-
- compile(java.lang.String, int) - Method in ScriptToTreeNodeAdapter
-
Performs the conversion from script to TreeNode.
- compileAll(java.lang.String, java.lang.String) - Method in JavaShell
-
Compile and return all classes
- compileAsJava(java.util.EventObject) - Method in Console
-
Compiles the current editor contents as Java source.
- compileCompleters() - Method in SystemRegistryImpl
-
Compiles all registered completers into a system completer.
- CompileDynamic - Annotation Type in groovy.transform
An annotation which is just a shortcut for @CompileStatic(TypeCheckingMode.SKIP).
- CompileDynamicProcessor - Class in org.codehaus.groovy.transform
- compileFinishNormal() - Method in Console
-
Reports successful compilation without execution.
- compileList - Field in Groovyc
-
Files selected for compilation in the current execution.
- CompilePhase - Enum in org.codehaus.groovy.control
The phases of the GroovyCompiler.
- CompilePhaseAdapter - Enum in groovy.console.ui
An adapter for the CompilePhase enum that can be entered into a Swing combobox.
- compilePogoMethod(org.codehaus.groovy.reflection.CachedMethod) - Method in CallSiteGenerator
-
- compilePojoMethod(org.codehaus.groovy.reflection.CachedMethod) - Method in CallSiteGenerator
-
- Compiler - Class in org.codehaus.groovy.tools
A convenience front end for getting standard compilations done.
- Compiler(org.codehaus.groovy.control.CompilerConfiguration) - Constructor in Compiler
-
Initializes the Compiler with the specified configuration.
- CompilerConfiguration - Class in org.codehaus.groovy.control
Compilation control flags and coordination stuff.
- CompilerConfiguration(java.util.Properties) - Constructor in CompilerConfiguration
-
Sets the configuration flags/settings according to values from the supplied Properties instance
or if not found, supplying a default value.
- CompilerCustomizationBuilder - Class in org.codehaus.groovy.control.customizers.builder
- CompilerCustomizationBuilder() - Constructor in CompilerCustomizationBuilder
-
Creates a builder and registers the supported customization factories.
- compileScript(java.util.EventObject, groovy.console.ui.Console.SourceType) - Method in Console
-
Compiles the current editor contents without running them.
- CompileStack - Class in org.codehaus.groovy.classgen.asm
Manages different aspects of the code of a code block like handling labels,
defining variables, and scopes.
- CompileStack.BlockRecorder - Class in org.codehaus.groovy.classgen.asm
- CompileStack.LabelRange - Class in org.codehaus.groovy.classgen.asm
- CompileStack(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in CompileStack
-
- CompileStatic - Annotation Type in groovy.transform
This will let the Groovy compiler use compile time checks in the style of Java
then perform static compilation, thus bypassing the Groovy meta object protocol.
- COMPILESTATIC_CLASSNODE - Field in StaticCompilationVisitor
-
- COMPILESTATIC_CLASSNODE - Field in TraitComposer
-
@deprecated
- compileStaticMethod(org.codehaus.groovy.reflection.CachedMethod) - Method in CallSiteGenerator
-
- CompileTaskSupport - Class in org.codehaus.groovy.ant
Support for compilation related tasks.
- compileToScript(java.lang.String, int, java.lang.ClassLoader, boolean, boolean, org.codehaus.groovy.control.CompilerConfiguration) - Method in AstNodeToScriptAdapter
-
This method takes source code, compiles it, then reverses it back to source.
- CompileUnit - Class in org.codehaus.groovy.ast
Represents a complete compilation step involving one or more
ModuleNode instances.
- CompileUnit(groovy.lang.GroovyClassLoader, java.security.CodeSource, org.codehaus.groovy.control.CompilerConfiguration) - Constructor in CompileUnit
-
Creates a compile unit with the given classloader, code source, and compiler configuration.
- complain(java.lang.String) - Method in JsonParserCharArray
-
- complain(java.lang.String) - Method in JsonParserUsingCharacterSource
-
- complete(org.jline.reader.LineReader, org.jline.reader.ParsedLine, List<Candidate>) - Method in MavenCoordinateCompleter
-
Adds completion candidates for a partial Maven coordinate.
- completeOnTimeout(java.lang.Object, T, long, java.util.concurrent.TimeUnit) - Method in AsyncSupport
-
Wraps a source with a timeout that uses a fallback value instead of throwing.
- completeOnTimeout(java.lang.Object, T, long, java.util.concurrent.TimeUnit) - Method in Awaitable
-
Adapts the given source and returns a new awaitable that yields the
supplied fallback value if the timeout expires first.
- completeOnTimeoutMillis(java.lang.Object, T, long) - Method in AsyncSupport
-
Convenience: timeout in milliseconds.
- completeOnTimeoutMillis(java.lang.Object, T, long) - Method in Awaitable
-
Adapts the given source and returns a new awaitable that yields the
supplied fallback value if the timeout expires first.
- completePhase() - Method in ProcessingUnit
-
Marks the current phase complete and processes any errors.
- completer() - Method in SystemRegistryImpl
-
Returns the completer for all registered commands and scripts.
- COMPLEX_EXPRESSION - Field in Types
-
- COMPONENT_ATTRIBUTE - Field in StructuredSyntaxHandler
-
Style attribute name for embedded components.
- COMPONENT_ELEMENT_NAME - Field in StructuredSyntaxHandler
-
Style attribute name for component element names.
- COMPONENT_TYPE - Enum Constant in StaticCompilationMetadataKeys
-
For list.property expressions, we need the inferred component type.
- ComponentFactory - Class in groovy.swing.factory
Factory for creating Swing components and adding child components.
- ComponentFactory(java.lang.Class, boolean) - Constructor in ComponentFactory
-
Creates a new factory for creating Swing components and adding child components
- componentHidden(java.awt.event.ComponentEvent) - Method in Console
-
No-op component listener implementation.
- componentMoved(java.awt.event.ComponentEvent) - Method in Console
-
No-op component listener implementation.
- componentResized(java.awt.event.ComponentEvent) - Method in Console
-
Persists component dimensions when the editor or frame is resized.
- components - Field in RecordOptions
-
If true, this adds a method components() to the record
which returns its components as a typed tuple Tuple0, Tuple1...
- componentShown(java.awt.event.ComponentEvent) - Method in Console
-
No-op component listener implementation.
- compose(groovy.lang.Closure) - Method in Closure
-
- compose(groovy.util.function.FloatUnaryOperator) - Method in FloatUnaryOperator
-
Creates a "backward" composed operator that first applies the before
operator to its input, and then applies this operator to the result.
- COMPOSED_TEXT_ATTRIBUTE - Field in StructuredSyntaxHandler
-
Style attribute name for composed text.
- ComposedClosure - Class in org.codehaus.groovy.runtime
A wrapper for Closure to support composition.
- ComposedClosure(groovy.lang.Closure, Closure<V>) - Constructor in ComposedClosure
-
- composeSelf(int) - Method in Closure
-
- COMPOUND_ASSIGN_TARGET - Enum Constant in StaticTypesMarker
-
GEP-15: stores the resolved compound-assignment MethodNode (e.g.
- compoundAssign(java.lang.Object, java.lang.Object, java.lang.String, java.lang.String) - Method in ScriptBytecodeAdapter
-
GEP-15: dispatcher for compound-assignment operators in dynamic Groovy.
- CompoundBorderFactory - Class in groovy.swing.factory
Factory for creating compound borders.
- CompoundBorderFactory() - Constructor in CompoundBorderFactory
-
- computeIfAbsent(K, Function<? super K,? extends V>) - Method in ConcurrentLinkedHashMap
-
If the specified key is not already associated with a value,
attempts to compute its value using the given mapping function
and enters it into this map unless null.
- computeValue(Class<?>) - Method in GroovyClassValue.ComputeValue
-
- computeValue(Class<?>) - Method in GroovyClassValueJava7
-
- con - Field in GroovyParser.ConditionalExprAltContext
-
- concat(T) - Method in Arrays
-
Concatenate arrays and ignore null array
- concat(java.lang.String) - Method in GStringImpl
-
- concurrencyLevel(int) - Method in ConcurrentLinkedHashMap.Builder
-
Specifies the estimated number of concurrently updating threads.
- ConcurrentCommonCache - Class in org.codehaus.groovy.runtime.memoize
Represents a simple key-value cache, which is thread safe and backed by a
Map instance
- ConcurrentCommonCache(Map<K,V>) - Constructor in ConcurrentCommonCache
-
Constructs a cache backed by the specified
Map instance
- ConcurrentConfig - Class in groovy.concurrent
Central configuration for Groovy's concurrent and parallel features.
- ConcurrentLinkedHashMap - Class in org.apache.groovy.util.concurrent.concurrentlinkedhashmap
A hash table supporting full concurrency of retrievals, adjustable expected
concurrency for updates, and a maximum capacity to bound the map by.
- ConcurrentLinkedHashMap.Builder - Class in org.apache.groovy.util.concurrent.concurrentlinkedhashmap
- ConcurrentReaderHashMap - Class in org.codehaus.groovy.runtime.metaclass
A hash table that supports mostly-concurrent reading, but
exclusive writing.
- ConcurrentReaderHashMap.BarrierLock - Class in org.codehaus.groovy.runtime.metaclass
A Serializable class for barrier lock *
- ConcurrentReaderHashMap.Entry - Class in org.codehaus.groovy.runtime.metaclass
ConcurrentReaderHashMap collision list entry.
- ConcurrentReaderHashMap.HashIterator - Class in org.codehaus.groovy.runtime.metaclass
- ConcurrentReaderHashMap.KeyIterator - Class in org.codehaus.groovy.runtime.metaclass
- ConcurrentReaderHashMap.ValueIterator - Class in org.codehaus.groovy.runtime.metaclass
- ConcurrentReaderHashMap(java.util.Map) - Constructor in ConcurrentReaderHashMap
-
Constructs a new map with the same mappings as the given map.
- ConcurrentReferenceHashMap - Class in org.apache.groovy.util.concurrent
An advanced hash table supporting configurable garbage collection semantics
of keys and values, optional referential-equality, full concurrency of
retrievals, and adjustable expected concurrency for updates.
- ConcurrentReferenceHashMap.HashIterator - Class in org.apache.groovy.util.concurrent
Base iterator implementation for traversing the map.
- ConcurrentReferenceHashMap.InitializableEntry - Class in org.apache.groovy.util.concurrent
Reusable entry implementation for cached entry iteration.
- ConcurrentReferenceHashMap.Option - Enum in org.apache.groovy.util.concurrent
Behavior-changing configuration options for the map
- ConcurrentReferenceHashMap.ReferenceType - Enum in org.apache.groovy.util.concurrent
An option specifying which Java reference type should be used to refer
to a key and/or value.
- ConcurrentReferenceHashMap.SimpleEntry - Class in org.apache.groovy.util.concurrent
Simple mutable entry implementation used by the map views.
- ConcurrentReferenceHashMap.WriteThroughEntry - Class in org.apache.groovy.util.concurrent
Custom Entry class used by EntryIterator.next(), that relays setValue
changes to the underlying map.
- ConcurrentReferenceHashMap(Map<? extends K,? extends V>) - Constructor in ConcurrentReferenceHashMap
-
Creates a new map with the same mappings as the given map.
- ConcurrentSoftCache - Class in org.codehaus.groovy.runtime.memoize
Represents concurrent cache holding SoftReference instance as value
- ConcurrentSoftCache(Map<K,SoftReference<V>>) - Constructor in ConcurrentSoftCache
-
Constructs a cache backed by the specified
Map instance
- ConditionalExprAltContext(ExpressionContext) - Constructor in GroovyParser.ConditionalExprAltContext
-
- ConditionalInterrupt - Annotation Type in groovy.transform
Allows "interrupt-safe" executions of scripts by adding a custom check for interruption
into loops (for, while, ...) and at the start of closures and methods.
- ConditionalInterruptibleASTTransformation - Class in org.codehaus.groovy.transform
Allows "interrupt-safe" executions of scripts by adding a custom conditional
check on loops (for, while, do) and first statement of closures.
- ConditionalInterruptibleASTTransformation() - Constructor in ConditionalInterruptibleASTTransformation
-
- conditionalStatement() - Method in GroovyParser
-
- conditionalStatement() - Method in GroovyParser.ConditionalStmtAltContext
-
- ConditionalStatementContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ConditionalStatementContext
-
- ConditionalStmtAltContext(StatementContext) - Constructor in GroovyParser.ConditionalStmtAltContext
-
- ConditionEvaluationContext - Class in groovy.junit6.plugin
- ConditionEvaluationContext(org.junit.jupiter.api.extension.ExtensionContext) - Constructor in ConditionEvaluationContext
-
Creates a closure delegate backed by the supplied JUnit extension context.
- conf - Field in Grab
-
The configuration if in use (normally only used by internal ivy repositories).
- conf - Property in IvyGrabRecord
-
Requested Ivy configurations.
- CONF_LIST - Field in GinqGroovyMethods
-
Supported GINQ configuration keys.
- conf - Property in MavenGrabRecord
-
- CONF_PARALLEL - Field in GinqGroovyMethods
-
Configuration key enabling parallel execution.
- config - Field in CompileTaskSupport
-
Compiler configuration shared with the concrete task implementation.
- config - Property in Console
-
Compiler configuration for the current script shell.
- ConfigBinding - Class in groovy.util
Since Groovy Script doesn't support overriding setProperty, we use a trick with the Binding to provide this
functionality
- ConfigBinding(groovy.lang.Closure) - Constructor in ConfigBinding
-
Creates a binding backed by the specified callback.
- ConfigObject - Class in groovy.util
A ConfigObject at a simple level is a Map that creates configuration entries (other ConfigObjects) when referencing them.
- ConfigObject() - Constructor in ConfigObject
-
Creates an empty config object with no associated source.
- configPath - Field in SystemRegistryImpl
-
Configuration path for storing user-specific settings
- ConfigSlurper - Class in groovy.util
ConfigSlurper is a utility class for reading configuration files defined in the form of Groovy
scripts.
- ConfigSlurper(java.lang.String) - Constructor in ConfigSlurper
-
Constructs a new ConfigSlurper instance using the given environment
- configuration - Field in AbstractReaderSource
-
- configuration - Field in ErrorCollector
-
Configuration and other settings that control processing
- configuration - Field in Groovyc
-
Compiler configuration produced for the current compilation run.
- configuration - Field in ProcessingUnit
-
Configuration and other settings that control processing
- ConfigurationException - Class in org.codehaus.groovy.control
Thrown when configuration data is invalid.
- ConfigurationException(java.lang.String) - Constructor in ConfigurationException
-
Initializes the exception with just a message.
- ConfigurationSetup - Class in org.apache.groovy.contracts.ast.visitor
Makes some initialization in order to use the Configurator for determining
which assertions in what packages will be executed.
- Configurator - Class in org.apache.groovy.contracts.generation
- configure(org.codehaus.groovy.control.CompilerConfiguration) - Method in CompilationUnit
-
Configures its debugging mode and classloader classpath from a given compiler configuration.
- configure(java.util.Properties) - Method in CompilerConfiguration
-
Method to configure a CompilerConfiguration by using Properties.
- configure(org.codehaus.groovy.control.CompilerConfiguration) - Method in JavaAwareCompilationUnit
-
- configure(org.codehaus.groovy.control.CompilerConfiguration) - Method in JavaStubCompilationUnit
-
- configure(java.io.InputStream) - Method in LoaderConfiguration
-
configures this loader with a stream
- configure(java.lang.ClassLoader, groovy.text.markup.TemplateConfiguration) - Method in MarkupTemplateEngine.CachingTemplateResolver
-
{@inheritDoc}
- configure(java.lang.ClassLoader, groovy.text.markup.TemplateConfiguration) - Method in MarkupTemplateEngine.DefaultTemplateResolver
-
This method is called once the template engine is initialized, providing the resolver with the
template engine configuration and its template class loader.
- Parameters:
templateClassLoader - the classloader where templates will be searched forconfiguration - the configuration of the template engine
- configure(org.codehaus.groovy.control.CompilerConfiguration) - Method in ProcessingUnit
-
Reconfigures the ProcessingUnit.
- configure(java.sql.Statement) - Method in Sql
-
Provides a hook for derived classes to be able to configure JDBC statements.
- configure(java.lang.ClassLoader, groovy.text.markup.TemplateConfiguration) - Method in TemplateResolver
-
This method is called once the template engine is initialized, providing the resolver with the
template engine configuration and its template class loader.
- configureAnnotation(org.codehaus.groovy.ast.AnnotationNode) - Method in Java8
-
- configureAnnotation(org.codehaus.groovy.ast.AnnotationNode) - Method in VMPlugin
-
- configureAnnotationNodeFromDefinition(org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.AnnotationNode) - Method in VMPlugin
-
- configureAST(T, org.codehaus.groovy.ast.ASTNode, org.codehaus.groovy.ast.ASTNode) - Method in PositionConfigureUtils
-
- configureClassNode(org.codehaus.groovy.ast.CompileUnit, org.codehaus.groovy.ast.ClassNode) - Method in Java8
-
- configureClassNode(org.codehaus.groovy.ast.CompileUnit, org.codehaus.groovy.ast.ClassNode) - Method in VMPlugin
-
- configured - Field in CompilationUnit
-
- configureEndPosition(T, org.antlr.v4.runtime.Token) - Method in PositionConfigureUtils
-
- configureParser(org.codehaus.groovy.tools.FileSystemCompiler.CompilationOptions) - Method in FileSystemCompiler
-
- configureTypeVariableDefinition(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in Java8
-
- configureTypeVariableReference(java.lang.String) - Method in Java8
-
- conflictResolutionStrategy - Field in ClosureParams
-
Returns the conflict resolver used when multiple signatures remain applicable.
- connectTimeout - Property in HttpBuilder.Config
-
Timeout applied when opening connections.
- connectTimeout - Field in HttpBuilderClient
-
Connection timeout in seconds.
- Console - Class in groovy.console.ui
Groovy Swing console.
- Console(java.lang.ClassLoader, groovy.lang.Binding, org.codehaus.groovy.control.CompilerConfiguration) - Constructor in Console
-
Creates a console with the supplied parent loader, binding, and base compiler configuration.
- console(org.jline.console.CommandInput) - Method in GroovyCommands
-
Launches the Swing Groovy console seeded with the current shell state.
- consoleControllers - Property in Console
-
Active console controllers sharing the global stream interceptors.
- consoleEngine() - Method in SystemRegistryImpl
-
Returns the console engine, if available.
- ConsoleIvyPlugin - Class in groovy.console.ui
Groovy Swing console.
- ConsoleIvyPlugin() - Constructor in ConsoleIvyPlugin
-
- ConsoleMavenPlugin - Class in groovy.console.ui
Adds Groovy Grape feedback for the Maven Resolver based engine.
- ConsoleMavenPlugin() - Constructor in ConsoleMavenPlugin
-
- consoleOption(java.lang.String, T) - Method in SystemRegistryImpl
-
Retrieves a console option value with a default.
- ConsolePreferences - Class in groovy.console.ui
Manages the Groovy Console preferences dialog and persisted settings.
- consolePreferences - Property in Console
-
Lazily created preferences dialog controller.
- ConsolePreferences(java.lang.Object) - Constructor in ConsolePreferences
-
Creates a preferences controller for the supplied console.
- ConsoleSupport - Class in groovy.console.ui
Base support class for consoles that evaluate Groovy scripts and render styled output.
- ConsoleTextEditor - Class in groovy.console.ui
Component which provides a styled editor for the console.
- ConsoleTextEditor() - Constructor in ConsoleTextEditor
-
Creates a styled text editor with line numbers, undo/redo support,
printing support, and syntax highlighting.
- CONST() - Method in GroovyParser.KeywordsContext
-
- constant(java.lang.Object) - Method in AstSpecificationCompiler
-
Creates a ConstantExpression.
- ConstantExpression - Class in org.codehaus.groovy.ast.expr
Represents a constant value expression such as literals (null, true, false, numbers, strings),
class literals, and other compile-time constant values.
- ConstantExpression(java.lang.Object, boolean) - Constructor in ConstantExpression
-
Creates a constant expression with optional primitive type preservation.
- constantValue() - Method in GroovyFieldDoc
-
Returns the constant value of this field when one is available.
- constantValue() - Method in SimpleGroovyFieldDoc
-
Returns the constant value of this field when one is available.
- Returns:
- the constant value, or
null if none is defined
- constantValueExpression() - Method in GroovyFieldDoc
-
Returns the source expression used to define the constant value.
- constantValueExpression() - Method in SimpleGroovyFieldDoc
-
Returns the source expression used to define the constant value.
- Returns:
- the constant value expression, or
null if none is available
- constrainedClassNode - Field in VetoableASTTransformation
-
- constrainedType - Field in Wrapper
-
- ConstraintPredicate - Interface in org.codehaus.groovy.macro.matcher.internal
Minimal predicate interface used by matching constraints.
- constraintsAttributeDelegate(java.lang.Object, java.lang.Object, java.lang.Object) - Method in LayoutFactory
-
Captures a constraints attribute for later child insertion.
- constructor(int, groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a ConstructorNode.
- CONSTRUCTOR - Field in CallSiteWriter
-
- CONSTRUCTOR - Field in ExpandoMetaClass
-
Pseudo-property used by the expando DSL to define constructors.
- CONSTRUCTOR_TARGET - Field in AnnotationNode
-
- constructor - Field in VisibilityOptions
-
Returns the visibility to apply to generated constructors.
- constructorAnnotations - Field in InheritConstructors
-
Whether to carry over annotations on the copied constructors.
- constructorCall(java.lang.Class, groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates an ConstructorCallExpression.
- ConstructorCallExpression - Class in org.codehaus.groovy.ast.expr
Represents a constructor call expression.
- ConstructorCallExpression(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression) - Constructor in ConstructorCallExpression
-
Creates a constructor call expression.
- ConstructorCallTransformer - Class in org.codehaus.groovy.transform.sc.transformers
- ConstructorCallTransformer(org.codehaus.groovy.transform.sc.transformers.StaticCompilationTransformer) - Constructor in ConstructorCallTransformer
-
- ConstructorMetaClassSite - Class in org.codehaus.groovy.runtime.callsite
- ConstructorMetaClassSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClass) - Constructor in ConstructorMetaClassSite
-
- ConstructorMetaMethodSite - Class in org.codehaus.groovy.runtime.callsite
Call site for invoking static methods
metaclass - cached
method - not cached
- ConstructorMetaMethodSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class) - Constructor in ConstructorMetaMethodSite
-
- ConstructorNode - Class in org.codehaus.groovy.ast
Represents a constructor declaration
- ConstructorNode(int, org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.stmt.Statement) - Constructor in ConstructorNode
-
- ConstructorNodeUtils - Class in org.apache.groovy.ast.tools
Utility class for working with ConstructorNodes
- constructors(boolean) - Method in ArrayClassDocWrapper
-
Returns the constructors declared by this type, optionally applying the active visibility filter.
- Parameters:
filter - true to include only visible constructors, false to include all constructors
- Returns:
- the matching constructors
- constructors(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Designates a list of ConstructorNodes.
- constructors(boolean) - Method in ExternalGroovyClassDoc
-
Returns the constructors declared by this type, optionally applying the active visibility filter.
- Parameters:
filter - true to include only visible constructors, false to include all constructors
- Returns:
- the matching constructors
- constructors(boolean) - Method in GroovyClassDoc
-
Returns the constructors declared by this type, optionally applying the active visibility filter.
- CONSTRUCTORS - Enum Constant in PackageScopeTarget
-
Make the Class constructors have package protected visibility.
- constructors(boolean) - Method in SimpleGroovyClassDoc
-
Returns the constructors declared by this type, optionally applying the active visibility filter.
- Parameters:
filter - true to include only visible constructors, false to include all constructors
- Returns:
- the matching constructors
- ConstructorSite - Class in org.codehaus.groovy.runtime.callsite
- ConstructorSite.ConstructorSiteNoUnwrap - Class in org.codehaus.groovy.runtime.callsite
Call site where we know there is no need to unwrap arguments
- ConstructorSite.ConstructorSiteNoUnwrapNoCoerce - Class in org.codehaus.groovy.runtime.callsite
Call site where we know there is no need neither unwrap nor coerce arguments
- ConstructorSite.NoParamSite - Class in org.codehaus.groovy.runtime.callsite
- ConstructorSite.NoParamSiteInnerClass - Class in org.codehaus.groovy.runtime.callsite
- ConstructorSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, org.codehaus.groovy.reflection.CachedConstructor, java.lang.Class) - Constructor in ConstructorSite
-
- ConstructorSiteNoUnwrap(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, org.codehaus.groovy.reflection.CachedConstructor, java.lang.Class) - Constructor in ConstructorSite.ConstructorSiteNoUnwrap
-
- ConstructorSiteNoUnwrapNoCoerce(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, org.codehaus.groovy.reflection.CachedConstructor, java.lang.Class) - Constructor in ConstructorSite.ConstructorSiteNoUnwrapNoCoerce
-
- constX(java.lang.Object, boolean) - Method in GeneralUtils
-
- consumeIfMatch(char[]) - Method in CharacterSource
-
Useful for finding constants in a string like true, false, etc.
- consumeIfMatch(char[]) - Method in ReaderCharacterSource
-
Consumes the supplied character sequence when it matches the current position.
- consumeProcessErrorStream(java.lang.Process, java.lang.Appendable) - Method in ProcessGroovyMethods
-
Gets the error stream from a process and reads it
to keep the process from blocking due to a full buffer.
- consumeProcessOutput(java.lang.Process, java.io.OutputStream, java.io.OutputStream) - Method in ProcessGroovyMethods
-
Gets the output and error streams from a process and reads them
to keep the process from blocking due to a full output buffer.
- consumeProcessOutputStream(java.lang.Process, java.io.OutputStream) - Method in ProcessGroovyMethods
-
Gets the output stream from a process and reads it
to keep the process from blocking due to a full output buffer.
- containingClass() - Method in ArrayClassDocWrapper
-
Returns the containing class for this element.
- Returns:
- the containing class, or
null if this element is not nested within a class
- containingClass() - Method in ExternalGroovyClassDoc
-
Returns the containing class for this element.
- Returns:
- the containing class, or
null if this element is not nested within a class
- containingClass() - Method in GroovyProgramElementDoc
-
Returns the containing class for this element.
- containingClass() - Method in SimpleGroovyProgramElementDoc
-
Returns the containing class for this element.
- Returns:
- the containing class, or
null if this element is not nested within a class
- containingPackage() - Method in ArrayClassDocWrapper
-
Returns the package that contains this element.
- Returns:
- the containing package, or
null if none is available
- containingPackage() - Method in ExternalGroovyClassDoc
-
Returns the package that contains this element.
- Returns:
- the containing package, or
null if none is available
- containingPackage() - Method in GroovyProgramElementDoc
-
Returns the package that contains this element.
- containingPackage() - Method in SimpleGroovyProgramElementDoc
-
Returns the package that contains this element.
- Returns:
- the containing package, or
null if none is available
- contains(java.lang.Object) - Method in AntProjectPropertiesDelegate
-
Indicates whether the delegated property set contains the supplied value.
- contains(java.lang.Object, java.lang.Object) - Method in ArrayGroovyMethods
-
Checks whether the array contains the given value.
- contains(org.codehaus.groovy.ast.MethodNode) - Method in AssertionMap
-
Indicates whether an assertion has already been recorded for the given method.
- contains(char[], char, int, int) - Method in Chr
-
Tests whether the supplied range contains a character.
- contains(java.lang.Object) - Method in ConcurrentReaderHashMap
-
Tests if some key maps into the specified value in this table.
- contains(java.lang.Object) - Method in ConcurrentReferenceHashMap
-
Legacy method testing if some key maps into the specified value
in this table.
- contains(java.lang.Object, java.lang.Object) - Method in DefaultGroovyMethods
-
- contains(java.lang.CharSequence) - Method in GStringImpl
-
- contains(java.lang.Object) - Method in IntRange
-
{@inheritDoc}
- contains(java.lang.Object) - Method in ListWithDefault
-
{@inheritDoc}
- contains(java.lang.Object) - Method in ListWrapperListModel
-
Returns whether the backing list contains the supplied element.
- contains(java.lang.Object) - Method in NumberRange
-
iterates over all values and returns true if one value matches.
- contains(java.lang.Object) - Method in ObjectRange
-
Iterates over all values and returns true if one value matches.
- contains(java.lang.Object) - Method in ObservableList
-
{@inheritDoc}
- contains(java.lang.Object) - Method in ObservableSet
-
{@inheritDoc}
- contains(java.lang.CharSequence, java.lang.CharSequence) - Method in StringGroovyMethods
-
Provides an implementation of contains() like
Collection.contains to make CharSequences more polymorphic.
- containsAll(Iterable<?>, java.lang.Object) - Method in DefaultGroovyMethods
-
Returns true if this iterable contains all the elements
in the specified array.
- containsAll(java.util.Collection) - Method in IntRange
-
{@inheritDoc}
- containsAll(Collection<?>) - Method in ListWithDefault
-
{@inheritDoc}
- containsAll(Collection<?>) - Method in ListWrapperListModel
-
Returns whether the backing list contains every supplied element.
- containsAll(java.util.Collection) - Method in ObservableList
-
{@inheritDoc}
- containsAll(Collection<?>) - Method in ObservableSet
-
{@inheritDoc}
- containsDefer(org.codehaus.groovy.ast.stmt.Statement) - Method in AsyncTransformHelper
-
Returns true if the statement tree contains a defer call,
without descending into nested closures.
- containsIgnoreCase(java.lang.CharSequence, java.lang.CharSequence) - Method in StringGroovyMethods
-
Checks whether this CharSequence contains the searchString ignoring the caseConsiderations.
- containsKey(java.lang.Object) - Method in AntProjectPropertiesDelegate
-
Indicates whether the delegated property set contains the supplied key.
- containsKey(java.lang.Object) - Method in CommonCache
-
Determines if the cache contains an entry for the specified key.
- Parameters:
key - key whose presence in this cache is to be tested.
- Returns:
- true if the cache contains a mapping for the specified key
- containsKey(java.lang.Object) - Method in ConcurrentCommonCache
-
Determines if the cache contains an entry for the specified key.
- Parameters:
key - key whose presence in this cache is to be tested.
- Returns:
- true if the cache contains a mapping for the specified key
- containsKey(java.lang.Object) - Method in ConcurrentLinkedHashMap
-
{@inheritDoc}
- containsKey(java.lang.Object) - Method in ConcurrentReaderHashMap
-
Tests if the specified object is a key in this table.
- containsKey(java.lang.Object) - Method in ConcurrentReferenceHashMap
-
Tests if the specified object is a key in this table.
- containsKey(java.lang.Object) - Method in ConfigObject
-
{@inheritDoc}
- containsKey(java.lang.Object) - Method in EvictableCache
-
Determines if the cache contains an entry for the specified key.
- containsKey(java.lang.Object) - Method in GroovyRowResult
-
Checks if the result contains (ignoring case) the given key.
- containsKey(java.lang.Object) - Method in GroovyRunnerRegistry
-
Returns true if a runner was registered with the
specified key.
- containsKey(java.lang.Object) - Method in LazyMap
-
Hydrates the backing map if needed and tests whether the key is present.
- containsKey(java.lang.Object) - Method in ListHashMap
-
{@inheritDoc}
- containsKey(java.lang.Object) - Method in MapWithDefault
-
{@inheritDoc}
- containsKey(java.lang.Object) - Method in NamespaceAwareHashMap
-
{@inheritDoc}
- containsKey(java.lang.Object) - Method in ObservableMap
-
{@inheritDoc}
- containsKey(java.lang.Object) - Method in StampedCommonCache
-
Determines if the cache contains an entry for the specified key.
- Parameters:
key - key whose presence in this cache is to be tested.
- Returns:
- true if the cache contains a mapping for the specified key
- containsKey(java.lang.Object) - Method in UnlimitedConcurrentCache
-
Determines if the cache contains an entry for the specified key.
- containsMatchingMethod(java.util.List, groovy.lang.MetaMethod) - Method in MetaClassHelper
-
- Parameters:
list - a list of MetaMethods
- containsSpreadExpression(org.codehaus.groovy.ast.expr.Expression) - Method in AsmClassGenerator
-
- containsValue(java.lang.Object) - Method in AntProjectPropertiesDelegate
-
Indicates whether the delegated property set contains the supplied value.
- containsValue(java.lang.Object) - Method in CommonCache
-
- containsValue(java.lang.Object) - Method in ConcurrentCommonCache
-
- containsValue(java.lang.Object) - Method in ConcurrentLinkedHashMap
-
{@inheritDoc}
- containsValue(java.lang.Object) - Method in ConcurrentReaderHashMap
-
Returns true if this map maps one or more keys to the
specified value.
- containsValue(java.lang.Object) - Method in ConcurrentReferenceHashMap
-
Returns true if this map maps one or more keys to the
specified value.
- containsValue(java.lang.Object) - Method in ConfigObject
-
{@inheritDoc}
- containsValue(java.lang.Object) - Method in GroovyRowResult
-
{@inheritDoc}
- containsValue(java.lang.Object) - Method in GroovyRunnerRegistry
-
Returns true if registry contains the given
runner instance.
- containsValue(java.lang.Object) - Method in LazyMap
-
Hydrates the backing map if needed and tests whether the value is present.
- containsValue(java.lang.Object) - Method in ListHashMap
-
{@inheritDoc}
- containsValue(java.lang.Object) - Method in MapWithDefault
-
{@inheritDoc}
- containsValue(java.lang.Object) - Method in ObservableMap
-
{@inheritDoc}
- containsValue(java.lang.Object) - Method in StampedCommonCache
-
- containsValue(java.lang.Object) - Method in UnlimitedConcurrentCache
-
- containsVariable(java.lang.String) - Method in CompileStack
-
- Parameters:
name - the name of the variable of interest
- containsWithinBounds(java.lang.Object) - Method in EmptyRange
-
Never true for an empty range.
- containsWithinBounds(java.lang.Object) - Method in IntRange
-
Indicates whether an object is greater than or equal to the
from
value for the range and less than or equal to the
to value.
This may be true even for values not contained in the range.
Example: from = 1.5, to = 3, next() increments by 1
containsWithinBounds(2) == true
contains(2) == false
- Parameters:
o - the object to check against the boundaries of the range
- Returns:
true if the object is between the from and to values
- containsWithinBounds(java.lang.Object) - Method in NumberRange
-
Checks whether a value is between the from and to values of a Range
- containsWithinBounds(java.lang.Object) - Method in ObjectRange
-
Checks whether a value is between the from and to values of a Range
- containsWithinBounds(java.lang.Object) - Method in Range
-
Indicates whether an object is greater than or equal to the from
value for the range and less than or equal to the to value.
- containsYieldReturn(org.codehaus.groovy.ast.stmt.Statement) - Method in AsyncTransformHelper
-
Returns true if the statement tree contains a yield return
call, without descending into nested closures.
- CONTENT_PROPERTY - Field in ObservableList
-
Bound property name for list content changes.
- CONTENT_PROPERTY - Field in ObservableMap
-
Bound property name for content changes.
- CONTENT_PROPERTY - Field in ObservableSet
-
Bound property name for set content changes.
- CONTENT_TYPE_TEXT_HTML - Field in AbstractHttpServlet
-
Content type of the HTTP response.
- contentEquals(java.lang.CharSequence) - Method in GStringImpl
-
- contents(groovy.lang.Closure) - Method in BaseTemplate
-
Wraps a closure so that it can be used as a prototype for inclusion in layouts.
- contentsChanged(javax.swing.event.ListDataEvent) - Method in JListElementsBinding
-
Updates the target when existing model items change.
- context - Field in AbstractTypeCheckingExtension
-
- CONTEXT_DATA_KEY - Field in BindFactory
-
Builder context key used to store deferred binding data.
- CONTEXT_DATA_KEY - Field in TabbedPaneFactory
-
Builder context key used to store per-tab metadata.
- contextProps - Property in LayoutFactory
-
Cached layout constants copied into the builder context.
- ContextualClassCodeVisitor - Class in org.codehaus.groovy.macro.matcher
A class code visitor which is capable of remembering the context of the current
visit.
- ContextualClassCodeVisitor() - Constructor in ContextualClassCodeVisitor
-
Creates a visitor with an initial root context.
- CONTINUE - Enum Constant in FileVisitResult
-
Continue processing; the default
- CONTINUE() - Method in GroovyParser.ContinueStatementContext
-
- CONTINUE() - Method in GroovyParser.KeywordsContext
-
- ContinueStatement - Class in org.codehaus.groovy.ast.stmt
Represents a continue statement that skips the remainder of the current loop iteration.
- continueStatement(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a ContinueStatement.
- ContinueStatement(java.lang.String) - Constructor in ContinueStatement
-
Constructs a labeled continue statement that continues the enclosing loop with the given label.
- continueStatement() - Method in GroovyParser
-
- continueStatement() - Method in GroovyParser.ContinueStmtAltContext
-
- ContinueStatementContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ContinueStatementContext
-
- ContinueStmtAltContext(StatementContext) - Constructor in GroovyParser.ContinueStmtAltContext
-
- Contract - Class in org.apache.groovy.contracts.domain
- Contract(org.codehaus.groovy.ast.ClassNode) - Constructor in Contract
-
Creates a contract model for the supplied class.
- contract() - Method in ProcessingContextInformation
-
Returns the mutable contract domain model associated with the current class.
- ContractClosureWriter - Class in org.apache.groovy.contracts.classgen.asm
- Contracted - Annotation Type in groovy.contracts
- ContractElement - Annotation Type in org.apache.groovy.contracts.annotations.meta
Indicates that annotations being marked as @ContractElement are to be used
by some contract element being either a class-invariant, pre- or post-condition.
- ContractElementVisitor - Class in org.apache.groovy.contracts.ast.visitor
Checks whether the given
ClassNode is relevant for
further processing.
- ContractElementVisitor(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.io.ReaderSource) - Constructor in ContractElementVisitor
-
Creates a visitor that detects whether a class participates in contract processing.
- ContractExecution(java.lang.String, java.lang.String, java.lang.String, boolean) - Constructor in ContractExecutionTracker.ContractExecution
-
Creates a contract execution identifier.
- ContractExecutionTracker - Class in org.apache.groovy.contracts.generation
Keeps track of contract executions to avoid cyclic contract checks.
- ContractExecutionTracker.ContractExecution - Class in org.apache.groovy.contracts.generation
Identifies one contract execution so recursive re-entry can be suppressed.
- controller - Field in BinaryExpressionHelper
-
- controller - Field in ClosureWriter
-
- controller - Field in InvocationWriter
-
- controller - Field in MethodPointerExpressionWriter
-
- controller - Field in MopWriter
-
- controller - Field in StatementWriter
-
- controller - Field in UnaryExpressionHelper
-
- controlStructureVariables - Field in TypeCheckingContext
-
- CONVERSION - Enum Constant in CompilePhase
-
An abstract syntax tree (AST) is created from token trees
- CONVERSION - Enum Constant in CompilePhaseAdapter
-
- CONVERSION - Field in Phases
-
CST to AST conversion
- ConversionHandler - Class in org.codehaus.groovy.runtime
This class is a general adapter to map a call to a Java interface
to a given delegate.
- ConversionHandler(java.lang.Object) - Constructor in ConversionHandler
-
Creates a ConversionHandler with a delegate.
- convert(java.lang.Object, java.lang.String) - Method in DefaultJsonGenerator.ClosureConverter
-
Converts a given value.
- convert(java.lang.Object, java.lang.String) - Method in JsonGenerator.Converter
-
Converts a given object.
- convert - Field in Option
-
A conversion closure to convert the incoming String into the desired object
- convert(org.codehaus.groovy.ast.stmt.ReturnStatement, Map<Integer,Map<String,Object>>) - Method in ReturnStatementToIterationConverter
-
- convert() - Method in SourceUnit
-
Generates an AST from the CST.
- convert(org.codehaus.groovy.ast.stmt.ReturnStatement) - Method in TernaryToIfStatementConverter
-
- convertASTToSource(org.codehaus.groovy.control.io.ReaderSource, org.codehaus.groovy.ast.ASTNode) - Method in GeneralUtils
-
Converts an expression into the String source.
- convertClosureToSource(org.codehaus.groovy.control.io.ReaderSource, org.codehaus.groovy.ast.expr.ClosureExpression) - Method in ClosureUtils
-
Converts a ClosureExpression into the String source.
- convertClosureToSource(org.codehaus.groovy.ast.expr.ClosureExpression) - Method in MethodInvocationTrap
-
Converts a closure expression into its source code equivalent using the source reader.
- ConvertedClosure - Class in org.codehaus.groovy.runtime
This class is a general adapter to adapt a closure to any Java interface.
- ConvertedClosure(groovy.lang.Closure, java.lang.String) - Constructor in ConvertedClosure
-
- throws:
- IllegalArgumentException if closure is null
- ConvertedMap - Class in org.codehaus.groovy.runtime
This class is a general adapter to adapt a map of closures to
any Java interface.
- ConvertedMap(java.util.Map) - Constructor in ConvertedMap
-
to create a ConvertedMap object.
- converter - Field in AbstractFullBinding
-
Optional converter applied before writing to the target.
- converters - Field in DefaultJsonGenerator
-
Converters consulted before applying the default JSON serialization rules.
- converters - Field in JsonGenerator.Options
-
Registered converters applied before default serialization.
- convertJsonToToml(java.io.Reader) - Method in TomlConverter
-
Converts JSON content from the supplied reader into TOML text.
- convertJsonToYaml(java.io.Reader) - Method in YamlConverter
-
Convert json to yaml
- convertMapToType(Map<String,Object>, Class<T>) - Method in JacksonHelper
-
Converts a Map to a typed object using Jackson's ObjectMapper.convertValue.
- convertParameterType(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in AbstractFunctionalInterfaceWriter
-
- convertPrimitiveToBoolean(org.objectweb.asm.MethodVisitor, org.codehaus.groovy.ast.ClassNode) - Method in BytecodeHelper
-
Converts a primitive type to boolean.
- convertPropertyName(java.lang.String) - Method in MetaClassHelper
-
Converts a String into a standard property name.
- convertToBoolean(java.lang.Object) - Method in BooleanReturningMethodInvoker
-
- convertToBooleanArray(java.lang.Object) - Method in DefaultTypeTransformation
-
- convertToByteArray(java.lang.Object) - Method in DefaultTypeTransformation
-
- convertToCharArray(java.lang.Object) - Method in DefaultTypeTransformation
-
- convertToDoubleArray(java.lang.Object) - Method in DefaultTypeTransformation
-
- convertToFloatArray(java.lang.Object) - Method in DefaultTypeTransformation
-
- convertToIntArray(java.lang.Object) - Method in DefaultTypeTransformation
-
- convertToLongArray(java.lang.Object) - Method in DefaultTypeTransformation
-
- convertTomlToJson(java.io.Reader) - Method in TomlConverter
-
Converts TOML content from the supplied reader into JSON text.
- convertToPrimitiveArray(java.lang.Object, java.lang.Class) - Method in DefaultTypeTransformation
-
- convertToShortArray(java.lang.Object) - Method in DefaultTypeTransformation
-
- convertToTypeArray(java.lang.Object) - Method in MetaClassHelper
-
Converts array of values (incl.
- convertValue(V) - Method in CommonCache
-
{@inheritDoc}
- convertValue(V) - Method in ConcurrentCommonCache
-
{@inheritDoc}
- convertValue(SoftReference<V>) - Method in ConcurrentSoftCache
-
{@inheritDoc}
- convertValue(V) - Method in StampedCommonCache
-
{@inheritDoc}
- convertValue(V1) - Method in ValueConvertable
-
convert the original value to the target value
- convertYamlToJson(java.io.Reader) - Method in YamlConverter
-
Convert yaml to json
- copy(char[], int, int) - Method in Chr
-
Copies a character range into a new array.
- copy(org.codehaus.groovy.runtime.metaclass.ClosureMetaMethod) - Method in ClosureMetaMethod
-
- copy(java.util.EventObject) - Method in Console
-
Copies the current selection from the focused text component.
- COPY_CONSTRUCTOR - Enum Constant in AutoCloneStyle
-
Uses the copy constructor pattern.
- copy - Field in Entity
-
Entity reference ©.
- copy() - Method in FastArray
-
Returns a copy containing the populated elements of this array.
- copy(java.io.Reader, java.io.Writer) - Method in IO
-
Copies all characters from a reader to a writer.
- copy() - Method in VariableScope
-
Creates a shallow copy of this variable scope with the same parent, class scope, static context,
and copies of all variable maps.
- copyAction(java.lang.Object, java.awt.event.MouseEvent, java.util.EventObject) - Method in AstBrowser
-
Copies the current tooltip value to the system clipboard.
- copyAction(java.lang.Object, java.awt.event.MouseEvent, java.util.EventObject) - Method in ObjectBrowser
-
Copies the tooltip text for the clicked table cell to the clipboard.
- copyAnnotatedNodeAnnotations(org.codehaus.groovy.ast.AnnotatedNode, java.lang.String, boolean) - Method in AbstractASTTransformation
-
- copyAnnotatedNodeAnnotations(org.codehaus.groovy.ast.AnnotatedNode, List<AnnotationNode>, List<AnnotationNode>, boolean) - Method in GeneralUtils
-
- copyBinaryResource(java.lang.String, java.lang.String) - Method in GroovyDocTemplateEngine
-
Copies a binary resource (image or Prism.js bundle) from the classpath to the given destination file path.
- copyFrom(ExpressionContext) - Method in GroovyParser.ExpressionContext
-
- copyFrom(LiteralContext) - Method in GroovyParser.LiteralContext
-
- copyFrom(LoopStatementContext) - Method in GroovyParser.LoopStatementContext
-
- copyFrom(PrimaryContext) - Method in GroovyParser.PrimaryContext
-
- copyFrom(StatementContext) - Method in GroovyParser.StatementContext
-
- copyFrom(StatementExpressionContext) - Method in GroovyParser.StatementExpressionContext
-
- copyFromComponent - Property in Console
-
Last focused text component used by copy/select-all actions.
- copyLarge(java.io.Reader, java.io.Writer, char[]) - Method in IO
-
Copies all characters from a reader to a writer using the supplied buffer.
- copyMethodsToSuper() - Method in MetaMethodIndex
-
- copyNodeMetaData(org.codehaus.groovy.ast.ASTNode) - Method in ASTNode
-
Copies all node metadata from another ASTNode.
- copyNodeMetaData(org.codehaus.groovy.ast.NodeMetaDataHandler) - Method in NodeMetaDataHandler
-
Copies all node metadata from the other node to this one
- copyNonPrivateMethods(Map<String,Cache>, Map<String,Cache>) - Method in MetaMethodIndex
-
- copyNonPrivateNonNewMetaMethods(Map<String,Cache>, Map<String,Cache>) - Method in MetaMethodIndex
-
- copyRange(char[], int, int) - Method in ArrayUtils
-
Copies a character range into a new array.
- copyResource(java.lang.String, java.lang.String) - Method in FileOutputTool
-
Copy a resource file (doc-files/, snippet-files/ content) from
srcPath to
dstPath. Routed through the tool rather
than calling
Files.copy directly so that alternative tools
(notably
MockOutputTool) can intercept the side-effect.
- Since:
- 6.0.0
- copyResource(java.lang.String, java.lang.String) - Method in MockOutputTool
-
Copy a resource file (doc-files/, snippet-files/ content) from
srcPath to
dstPath. Routed through the tool rather
than calling
Files.copy directly so that alternative tools
(notably
MockOutputTool) can intercept the side-effect.
- Since:
- 6.0.0
- copyResource(java.lang.String, java.lang.String) - Method in OutputTool
-
Copy a resource file (doc-files/, snippet-files/ content) from
srcPath to dstPath.
- copyStatementLabels(org.codehaus.groovy.ast.stmt.Statement) - Method in Statement
-
Copies all labels from another statement to this statement.
- copyStatementsWithSuperAdjustment(org.codehaus.groovy.ast.expr.ClosureExpression, org.codehaus.groovy.ast.stmt.BlockStatement) - Method in GeneralUtils
-
- copyWith(java.util.Date, Map<Object,Integer>) - Method in DateUtilExtensions
-
Support creating a new Date having similar properties to
an existing Date (which remains unaltered) but with
some fields updated according to a Map of changes.
- copyWith() - Method in Immutable
-
No longer used directly but instead collected from
ImmutableBase.
- copyWith - Field in ImmutableBase
-
If true, this adds a method copyWith which takes a Map of
new property values and returns a new instance of the Immutable class with
these values set.
- copyWith - Field in RecordOptions
-
If true, this adds a method copyWith which takes a Map of
new property values and returns a new instance of the record class with
these values set.
- CorrectAccessedVariableVisitor(org.codehaus.groovy.ast.InnerClassNode) - Constructor in ClosureWriter.CorrectAccessedVariableVisitor
-
- correctArguments(java.lang.Object) - Method in ParameterTypes
-
Corrects argument count to match method signature, handling varargs expansion and null filling.
- correctToGenericsSpec(Map<String,ClassNode>, org.codehaus.groovy.ast.ClassNode) - Method in GenericsUtils
-
- correctToGenericsSpecRecurse(Map<String,ClassNode>, org.codehaus.groovy.ast.ClassNode, List<String>) - Method in GenericsUtils
-
- couldBeContractElementMethodNode(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in CandidateChecks
-
- count(T, Closure<?>) - Method in ArrayGroovyMethods
-
Counts the number of occurrences which satisfy the given closure from inside this array.
- count - Field in ConcurrentReaderHashMap
-
The total number of mappings in the hash table.
- count(T, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
- count(Function<? super T,? extends U>) - Method in Queryable
-
Aggregate function count, similar to SQL's count
Note: if the chosen field is null, the field will not be counted
- count(java.lang.CharSequence, java.lang.CharSequence) - Method in StringGroovyMethods
-
Counts the number of occurrences of a sub CharSequence.
- countBy(E) - Method in ArrayGroovyMethods
-
Creates a multiset-like map of the array members.
- countBy(E, Closure<K>) - Method in DefaultGroovyMethods
-
- countChar(java.lang.String, char) - Method in StringUtils
-
- countParallel(Collection<T>, Predicate<T>) - Method in ParallelCollectionExtensions
-
Counts elements matching the predicate.
- countTestCases() - Method in ScriptTestAdapter
-
Returns the number of test cases represented by this adapter.
- cpu() - Method in DefaultPool
-
Creates a pool sized to
availableProcessors(), backed by
ForkJoinPool.
- cpu() - Method in Pool
-
Creates a pool sized to Runtime.availableProcessors(),
suitable for CPU-bound work.
- CREATABLE_PRIMITIVE_TYPE - Field in Types
-
- CREATABLE_TYPE_NAME - Field in Types
-
- create(T, groovy.concurrent.Pool) - Method in Agent
-
Creates an agent backed by the given pool for update execution.
- create(int) - Method in AsyncChannel
-
Creates a channel with the specified buffer capacity.
- create(java.util.concurrent.Executor, boolean) - Method in AsyncScope
-
Creates a new scope with the given executor and failure policy.
- create() - Method in BroadcastChannel
-
Creates a new broadcast channel.
- create(char[]) - Method in CharBuf
-
Wraps the supplied character buffer.
- CREATE_DEBUG_INFO - Field in AsmClassGenerator
-
- CREATE_LINE_NUMBER_INFO - Field in AsmClassGenerator
-
- create(java.lang.Class, java.lang.String) - Method in Logger
-
- create(org.codehaus.groovy.syntax.SyntaxException, org.codehaus.groovy.control.SourceUnit) - Method in Message
-
Creates a new Message from the specified SyntaxException.
- create(java.lang.Class, groovy.lang.MetaClassRegistry) - Method in MetaClassRegistry.MetaClassCreationHandle
-
Creates a metaclass implementation for theClass.
- create(org.codehaus.groovy.classgen.asm.WriterController) - Method in MopWriter.Factory
-
- create(java.lang.String, java.lang.String, int) - Method in SourceUnit
-
A convenience routine to create a standalone SourceUnit on a String
with defaults for almost everything that is configurable.
- createAddStylesheet() - Method in Groovydoc
-
GROOVY-11941: Ant nested element <addStylesheet file="custom.css"/>
to include an additional stylesheet in the generated docs alongside the
default.
- createArg() - Method in Groovy
-
Creates a nested command-line argument for the executed script.
- createArray(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) - Method in ArrayUtil
-
- createAsImmutableX(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.ClassNode) - Method in ImmutablePropertyHandler
-
Creates an asImmutable() call for the supplied expression and target type.
- createAssertError(java.lang.Object, java.lang.Object) - Method in InvokerHelper
-
- createAtnWrapper() - Method in AtnManager
-
- createAtnWrapper() - Method in LexerAtnManager
-
- createAtnWrapper() - Method in ParserAtnManager
-
- createBindableStatement(org.codehaus.groovy.ast.PropertyNode, org.codehaus.groovy.ast.expr.Expression) - Method in BindableASTTransformation
-
Creates a statement body similar to:
this.firePropertyChange("field", field, field = value)
- createBinding(org.apache.groovy.swing.binding.SourceBinding, org.apache.groovy.swing.binding.TargetBinding) - Method in ClosureTriggerBinding
-
Creates a property-path-aware binding by snooping the closure's property accesses.
- createBinding(org.apache.groovy.swing.binding.SourceBinding, org.apache.groovy.swing.binding.TargetBinding) - Method in EventTriggerBinding
-
Creates a full binding that reacts when the event handler is invoked.
- createBinding(org.apache.groovy.swing.binding.SourceBinding, org.apache.groovy.swing.binding.TargetBinding) - Method in PropertyBinding
-
Creates a property-change-aware full binding rooted at this property.
- createBinding(org.apache.groovy.swing.binding.SourceBinding, org.apache.groovy.swing.binding.TargetBinding) - Method in SwingTimerTriggerBinding
-
Creates a timer-backed full binding.
- createBinding(org.apache.groovy.swing.binding.SourceBinding, org.apache.groovy.swing.binding.TargetBinding) - Method in TriggerBinding
-
Creates a concrete binding that propagates values from the supplied source to the target.
- createBindings() - Method in GroovyScriptEngineImpl
-
Creates a mutable bindings instance suitable for engine-scope variables.
- createBlockStatementForConstructor(org.codehaus.groovy.ast.expr.ClosureExpression, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in ClosureWriter
-
- createBootstrapMethod(boolean, boolean) - Method in AbstractFunctionalInterfaceWriter
-
- createBootstrapMethodArguments(java.lang.String, int, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.ast.Parameter, boolean) - Method in AbstractFunctionalInterfaceWriter
-
- createCachedMethodSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, org.codehaus.groovy.reflection.CachedMethod, java.lang.Class, java.lang.Object) - Method in PogoMetaMethodSite
-
- createCachedMethodSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, org.codehaus.groovy.reflection.CachedMethod, java.lang.Class, java.lang.Object) - Method in PojoMetaMethodSite
-
- createCallBackedManager(java.lang.ref.ReferenceQueue) - Method in ReferenceManager
-
Creates a manager that removes stale entries when new references are created.
- createClass(byte[], org.codehaus.groovy.ast.ClassNode) - Method in BytecodeCollector
-
Stores generated bytecode before defining the class.
- createClass(byte[], org.codehaus.groovy.ast.ClassNode) - Method in GroovyClassLoader.ClassCollector
-
Defines a generated class from bytecode produced for a class node.
- createClassLoader() - Method in CompileTaskSupport
-
Creates a class loader for the current compiler configuration and classpath.
- createClassName(java.lang.String) - Method in ClassLoaderForClassArtifacts
-
- createClasspath() - Method in CompileTaskSupport
-
Creates a nested <classpath> path element.
- createClasspath() - Method in Groovy
-
Returns a new path element that can be configured.
- createClasspath() - Method in Groovyc
-
Adds a path to the classpath.
- createClasspath() - Method in RootLoaderRef
-
Adds a path to the classpath.
- createClasspath() - Method in UberCompileTask
-
Creates a nested <classpath> path element.
- createClassVisitor() - Method in CompilationUnit
-
- createClosureClass(org.codehaus.groovy.ast.expr.ClosureExpression, int) - Method in ClosureWriter
-
- createClosureClass(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.ast.expr.ClosureExpression, boolean, boolean, int) - Method in ContractClosureWriter
-
Generates a synthetic closure implementation class for the supplied contract closure.
- createClosureClass(org.codehaus.groovy.ast.expr.ClosureExpression, int) - Method in StaticTypesClosureWriter
-
- createClosureClass(org.codehaus.groovy.ast.expr.ClosureExpression, int) - Method in StaticTypesLambdaWriter
-
- createCollector(org.codehaus.groovy.control.CompilationUnit, org.codehaus.groovy.control.SourceUnit) - Method in GeneratedBytecodeAwareGroovyClassLoader
-
Creates a collector that stores generated bytecode for later display.
- createCollector(org.codehaus.groovy.control.CompilationUnit, org.codehaus.groovy.control.SourceUnit) - Method in GroovyClassLoader
-
creates a ClassCollector for a new compilation.
- createCompilationUnit(org.codehaus.groovy.control.CompilerConfiguration, java.security.CodeSource) - Method in GroovyClassLoader
-
creates a new CompilationUnit.
- createCompiler(org.codehaus.groovy.control.CompilerConfiguration) - Method in JavacCompilerFactory
-
- createCompiler(org.codehaus.groovy.control.CompilerConfiguration) - Method in JavaCompilerFactory
-
- createCondition() - Method in AbstractInterruptibleASTTransformation
-
Subclasses should implement this method to set the condition of the interruption statement
- createCondition() - Method in ConditionalInterruptibleASTTransformation
-
Builds the expression that calls the generated condition method.
- createCondition() - Method in ThreadInterruptibleASTTransformation
-
Builds the condition that checks the current thread interruption flag.
- createConfiguration() - Method in CompileTaskSupport
-
Returns the mutable compiler configuration used by this task.
- createConnection() - Method in DataSet
-
An extension point allowing derived classes to change the behavior of
connection creation. The default behavior is to either use the
supplied connection or obtain it from the supplied datasource.
- throws:
- java.sql.SQLException if a SQL error occurs
- Returns:
- the connection associated with this Sql
- createConnection() - Method in Sql
-
An extension point allowing derived classes to change the behavior of
connection creation.
- createConstrainedStatement(org.codehaus.groovy.ast.PropertyNode, org.codehaus.groovy.ast.expr.Expression) - Method in VetoableASTTransformation
-
Creates a statement body similar to:
this.fireVetoableChange("field", field, field = value)
- createConstraints() - Method in TableLayoutCell
-
Creates the grid bag constraints that represent this cell in the table layout.
- createConstructorSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, org.codehaus.groovy.reflection.CachedConstructor, java.lang.Class, java.lang.Object) - Method in ConstructorSite
-
- createConstructorSite(org.codehaus.groovy.runtime.callsite.CallSite, java.lang.Object) - Method in ExpandoMetaClass
-
Create a CallSite
- createConstructorSite(org.codehaus.groovy.runtime.callsite.CallSite, java.lang.Object) - Method in MetaClassImpl
-
Create a CallSite
- createConstructorStatement(org.codehaus.groovy.transform.AbstractASTTransformation, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.PropertyNode, org.codehaus.groovy.ast.Parameter) - Method in ImmutablePropertyHandler
-
Creates the constructor statement used to initialize an immutable property.
- createConstructorStatementDefault(org.codehaus.groovy.ast.FieldNode) - Method in GeneralUtils
-
- createCopy() - Method in MethodKey
-
Creates an immutable copy that we can cache.
- createDeferScope() - Method in AsyncSupport
-
Creates a new defer scope (LIFO stack of cleanup actions).
- createdName() - Method in GroovyParser
-
- createdName() - Method in GroovyParser.CreatorContext
-
- CreatedNameContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.CreatedNameContext
-
- createDocument() - Method in DOMBuilder
-
Creates the backing document used by subsequent builder callbacks.
- createDocumentBuilderFactory(boolean) - Method in FactorySupport
-
- createDoubleDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- createDoubleDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createDoubleDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- createDoubleDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- createDoubleDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- createDoubleFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- createDoubleFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createDoubleFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- createDoubleFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- createDoubleFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- createDoubleInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- createDoubleInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createDoubleInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- createDoubleInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- createDoubleInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- createDoubleLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- createDoubleLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createDoubleLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- createDoubleLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- createDoubleLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- createEquals(org.codehaus.groovy.ast.ClassNode, boolean, boolean, boolean, List<String>, List<String>, boolean, boolean, boolean, boolean) - Method in EqualsAndHashCodeASTTransformation
-
Generates an equals method for the given class.
- createErrorMessage(java.lang.String, java.lang.String, java.lang.String, java.lang.String) - Method in ImmutablePropertyUtils
-
Creates the standard error message for an unsupported immutable property type.
- createErrorMessageForAmbiguity(java.lang.String, java.lang.String, java.lang.Class, java.util.LinkedList) - Method in MetaClassImpl
-
Creates the diagnostic message for an ambiguous overload selection.
- createExact(int) - Method in CharBuf
-
Creates a buffer sized exactly for the requested capacity.
- createExceptionText(java.lang.String, groovy.lang.MetaMethod, java.lang.Object, java.lang.Object, java.lang.Throwable, boolean) - Method in MetaClassHelper
-
- createFailedPredicateErrorMessage(org.antlr.v4.runtime.Parser, org.antlr.v4.runtime.FailedPredicateException) - Method in DescriptiveErrorStrategy
-
- createFailedPredicateException(java.lang.String, java.lang.String) - Method in GroovyLangParser
-
- createFailedPredicateException(java.lang.String, java.lang.String) - Method in GroovyParser
-
- createFloatDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- createFloatDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createFloatDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- createFloatDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- createFloatDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- createFloatFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- createFloatFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createFloatFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- createFloatFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- createFloatFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- createFloatInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- createFloatInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createFloatInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- createFloatInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- createFloatInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- createFloatLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- createFloatLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createFloatLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- createFloatLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- createFloatLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- createGeneratestubs() - Method in UberCompileTask
-
Lazily creates the nested stub-generation adapter.
- createGenericsSpec(org.codehaus.groovy.ast.ClassNode, Map<String,ClassNode>) - Method in GenericsUtils
-
- createGenParam() - Method in AsyncTransformHelper
-
Creates the synthetic generator parameter $__asyncGen__.
- createGetPropertySite(java.lang.Object) - Method in AbstractCallSite
-
- createGetterBlock(org.codehaus.groovy.ast.PropertyNode, org.codehaus.groovy.ast.FieldNode) - Method in Verifier
-
- createGetterOperationInfoFromProperty(groovy.lang.MetaProperty) - Method in JmxOperationInfoManager
-
Returns a MBean operation info for getter operation specified by the MetaProperty.
- createGrabRecord(java.util.Map) - Method in GrapeIvy
-
Converts dependency coordinates into an Ivy grab record.
- createGrabRecord(java.util.Map) - Method in GrapeMaven
-
Converts dependency coordinates into a Maven grab record.
- createGroovyc() - Method in UberCompileTask
-
Lazily creates the nested Groovy compilation adapter.
- createGroovyCodeVisitor() - Method in SecureASTCustomizer
-
- createGroovyObjectGetPropertySite(java.lang.Object) - Method in AbstractCallSite
-
- createGroovyObjectWrapper(groovy.lang.GroovyObject, java.lang.Class) - Method in ScriptBytecodeAdapter
-
- createGroovyScriptEngine() - Method in GroovyServlet
-
Hook method to set up the GroovyScriptEngine to use.
- createHashCode(org.codehaus.groovy.ast.ClassNode, boolean, boolean, boolean, List<String>, List<String>, boolean, boolean, boolean, boolean) - Method in EqualsAndHashCodeASTTransformation
-
Generates a hashCode method for the given class.
- createHashCode() - Method in MethodKey
-
- createIdlingManager(java.lang.ref.ReferenceQueue) - Method in ReferenceManager
-
Creates a manager that only processes queued references when asked explicitly.
- createInputMismatchErrorMessage(org.antlr.v4.runtime.Parser, org.antlr.v4.runtime.InputMismatchException) - Method in DescriptiveErrorStrategy
-
- createIntegerDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- createIntegerDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createIntegerDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- createIntegerDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- createIntegerDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- createIntegerFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- createIntegerFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createIntegerFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- createIntegerFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- createIntegerFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- createIntegerInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- createIntegerInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createIntegerInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- createIntegerInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- createIntegerInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- createIntegerLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- createIntegerLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createIntegerLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- createIntegerLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- createIntegerLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- createInterfaceSyntheticStaticFields() - Method in AsmClassGenerator
-
- createInterruptStatement() - Method in AbstractInterruptibleASTTransformation
-
- Returns:
- Returns the interruption check statement.
- createIterator(java.lang.Object) - Method in GPathResult
-
Creates a single-element iterator used by scalar GPath results.
- createJavac() - Method in UberCompileTask
-
Lazily creates the nested Java compilation adapter.
- createKeyStrokeAction(java.util.Map, javax.swing.JComponent) - Method in SwingBuilder
-
Binds one or more keystrokes to an action on the resolved target component.
- createLambdaClass(org.codehaus.groovy.ast.expr.LambdaExpression, int, org.codehaus.groovy.ast.MethodNode) - Method in StaticTypesLambdaWriter
-
- createLexerNode() - Method in StructuredSyntaxDocumentFilter
-
Create a new LexerNode for adding to root.
- createLink() - Method in Groovydoc
-
Create link to Javadoc/GroovyDoc output at the given URL.
- createList(java.lang.Object) - Method in InvokerHelper
-
- createList(java.lang.Object) - Method in ScriptBytecodeAdapter
-
- createListenerMap(java.lang.Object) - Method in JmxMetaMapBuilder
-
Builds normalized meta map of the provided listener descriptor.
- createLocalLabel(java.lang.String) - Method in CompileStack
-
Creates or returns the label for the given name.
- createLongDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- createLongDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createLongDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- createLongDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- createLongDouble(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- createLongFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- createLongFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createLongFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- createLongFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- createLongFloat(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- createLongInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- createLongInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createLongInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- createLongInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- createLongInteger(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- createLongLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- createLongLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createLongLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- createLongLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- createLongLong(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- createMap() - Method in Expando
-
Factory method to create a new Map used to store the expando properties map
- createMap(java.lang.Object) - Method in InvokerHelper
-
- createMap(java.lang.Object) - Method in ScriptBytecodeAdapter
-
- createMethodDescriptor(org.codehaus.groovy.ast.MethodNode) - Method in AbstractFunctionalInterfaceWriter
-
- createMethodList(java.lang.String, java.lang.Class, groovy.lang.Closure) - Method in ClosureMetaMethod
-
- createMopMethods() - Method in MopWriter
-
- createMopMethods() - Method in StaticCompilationMopWriter
-
- createNamedParam(java.lang.String, org.codehaus.groovy.ast.ClassNode, boolean) - Method in NamedVariantASTTransformation
-
Creates a NamedParam annotation node with the given configuration.
- createNewShell() - Method in GroovyShellTestCase
-
Create new shell instance.
- createNode(java.lang.Object, java.util.Map) - Method in AntBuilder
-
Creates a node from the supplied name and attributes.
- createNode(java.lang.Object, java.util.Map, java.lang.Object) - Method in BuilderSupport
-
Creates a node with the given name, attributes, and value.
- createNode(java.lang.Object, java.util.Map) - Method in DOMBuilder
-
Builder lifecycle callback that creates an element and applies the supplied attributes.
- createNode(java.lang.Object, java.util.Map, java.lang.Object) - Method in FactoryBuilderSupport
-
This method is responsible for instantiating a node and configure its
properties.
- createNode(java.lang.Object, java.util.Map) - Method in MarkupBuilder
-
Builder lifecycle callback that starts an element and emits attributes without body text.
- createNode(java.lang.Object, java.util.Map, java.lang.Object) - Method in NamespaceBuilderSupport
-
Builder lifecycle callback that keeps the resolved node name for the wrapped builder.
- createNode(java.lang.Object, java.util.Map, java.lang.Object) - Method in NodeBuilder
-
Creates a node with the given name, attributes, and value.
- Parameters:
name - the node nameattributes - the node attributesvalue - the node value
- Returns:
- the created node
- createNode(java.lang.Object, java.util.Map) - Method in SAXBuilder
-
Builder lifecycle callback that starts an element and emits attributes without body text.
- createNode(java.lang.Object, java.util.Map, java.lang.Object) - Method in StaxBuilder
-
Creates an element and writes any supplied attributes and text content.
- createNode(groovy.util.Node, java.lang.Object, java.util.Map) - Method in XmlParser
-
Creates a new node with the given parent, name, and attributes.
- createNonAwareCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object) - Method in PojoMetaMethodSite
-
- createNormalMetaClass(java.lang.Class, groovy.lang.MetaClassRegistry) - Method in ExpandoMetaClassCreationHandle
-
Creates the standard meta class implementation for the supplied type.
- Parameters:
theClass - the class that requires a meta classregistry - the registry creating the meta class
- Returns:
- the default meta class implementation for the type
- createNormalMetaClass(java.lang.Class, groovy.lang.MetaClassRegistry) - Method in MetaClassRegistry.MetaClassCreationHandle
-
Creates the standard meta class implementation for the supplied type.
- createNoViableAlternativeErrorMessage(org.antlr.v4.runtime.Parser, org.antlr.v4.runtime.NoViableAltException) - Method in DescriptiveErrorStrategy
-
- createNumberNumber(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- createNumberNumber(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createNumberNumber(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- createNumberNumber(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- createNumberNumber(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- createOperationKey(java.lang.String, int) - Method in GroovyMBean
-
Construct a simple key based on the method name and the number of parameters
- createOutputPrintWriter(java.io.File) - Method in Console
-
Opens the configured output log file in append mode.
- createParentDirectories(java.nio.file.Path, FileAttribute<?>) - Method in NioExtensions
-
Creates, if needed, any parent directories for the file associated with this Path.
- createParentDirectories(java.io.File) - Method in ResourceGroovyMethods
-
Creates, if needed, any parent directories for this File.
- createParserPlugin() - Method in Antlr4PluginFactory
-
- createParserPlugin() - Method in ParserPluginFactory
-
- createPogoCallCurrentSite(org.codehaus.groovy.runtime.callsite.CallSite, java.lang.Class, java.lang.Object) - Method in ClosureMetaClass
-
- createPogoCallCurrentSite(org.codehaus.groovy.runtime.callsite.CallSite, java.lang.Class, java.lang.String, java.lang.Object) - Method in ExpandoMetaClass
-
Creates a call site for current-scope POGO dispatch that honours expando invokeMethod.
- createPogoCallCurrentSite(org.codehaus.groovy.runtime.callsite.CallSite, java.lang.Class, java.lang.Object) - Method in MetaClassImpl
-
Create a CallSite
- createPogoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, java.lang.Object) - Method in ClosureMetaClass
-
- createPogoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, java.lang.Object) - Method in ExpandoMetaClass
-
Create a CallSite
- createPogoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, java.lang.Object) - Method in MetaClassImpl
-
Create a CallSite
- createPogoMetaMethodSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, java.lang.Class) - Method in CachedMethod
-
Creates an optimized call site for invoking this method on POGO (Groovy) objects.
- createPogoMetaMethodSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object) - Method in PogoMetaMethodSite
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in BooleanArrayGetAtMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in BooleanArrayPutAtMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in ByteArrayGetAtMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in ByteArrayPutAtMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in CallSiteAwareMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in CharacterArrayGetAtMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in CharacterArrayPutAtMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, java.lang.Object, java.lang.Object) - Method in ClosureMetaClass
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in DoubleArrayGetAtMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in DoubleArrayPutAtMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, java.lang.Object, java.lang.Object) - Method in ExpandoMetaClass
-
Create a CallSite
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in FloatArrayGetAtMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in FloatArrayPutAtMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in IntegerArrayGetAtMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in IntegerArrayPutAtMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in LongArrayGetAtMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in LongArrayPutAtMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, java.lang.Object, java.lang.Object) - Method in MetaClassImpl
-
Create a CallSite
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in NumberNumberMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in ObjectArrayGetAtMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in ObjectArrayPutAtMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in ShortArrayGetAtMetaMethod
-
- createPojoCallSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in ShortArrayPutAtMetaMethod
-
- createPojoMetaMethodSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, java.lang.Class) - Method in CachedMethod
-
Creates an optimized call site for invoking this method on POJO (plain Java) objects.
- createPojoMetaMethodSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object, java.lang.Object) - Method in PojoMetaMethodSite
-
- createPojoWrapper(java.lang.Object, java.lang.Class) - Method in ScriptBytecodeAdapter
-
- createPreparedQueryCommand(java.lang.String, List<?>) - Method in Sql
-
Factory for the PreparedQueryCommand command pattern object allows subclass to supply implementations
of the command class.
- createProject() - Method in AntBuilder
-
- Returns:
- Factory method to create new Project instances
- createPropertyHandler(org.codehaus.groovy.transform.AbstractASTTransformation, groovy.lang.GroovyClassLoader, org.codehaus.groovy.ast.ClassNode) - Method in PropertyHandler
-
Creates the property handler configured for the supplied class.
- createPropGetter(org.codehaus.groovy.ast.PropertyNode) - Method in ImmutablePropertyHandler
-
Create the getter block used when reading the property including any defensive copying.
- Parameters:
pNode - the property node
- createPropGetter(org.codehaus.groovy.ast.PropertyNode) - Method in PropertyHandler
-
Create the getter block used when reading the property including any defensive copying.
- createPropInit(org.codehaus.groovy.transform.AbstractASTTransformation, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.PropertyNode, org.codehaus.groovy.ast.Parameter) - Method in DefaultPropertyHandler
-
Create a statement that will initialize the property including any defensive copying. Null if no statement should be added.
- Parameters:
xform - the transform being processedanno - the '@ImmutableBase' annotation nodecNode - the classnode containing the propertypNode - the property node to initializenamedArgMap - an "args" Map if the property value should come from a named arg map or null if not
- createPropInit(org.codehaus.groovy.transform.AbstractASTTransformation, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.PropertyNode, org.codehaus.groovy.ast.Parameter) - Method in ImmutablePropertyHandler
-
Create a statement that will initialize the property including any defensive copying. Null if no statement should be added.
- Parameters:
xform - the transform being processedanno - the '@ImmutableBase' annotation nodecNode - the classnode containing the propertypNode - the property node to initializenamedArgMap - an "args" Map if the property value should come from a named arg map or null if not
- createPropInit(org.codehaus.groovy.transform.AbstractASTTransformation, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.PropertyNode, org.codehaus.groovy.ast.Parameter) - Method in LegacyHashMapPropertyHandler
-
Create a statement that will initialize the property including any defensive copying. Null if no statement should be added.
- Parameters:
xform - the transform being processedanno - the '@ImmutableBase' annotation nodecNode - the classnode containing the propertypNode - the property node to initializenamedArgMap - an "args" Map if the property value should come from a named arg map or null if not
- createPropInit(org.codehaus.groovy.transform.AbstractASTTransformation, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.PropertyNode, org.codehaus.groovy.ast.Parameter) - Method in PropertyHandler
-
Create a statement that will initialize the property including any defensive copying.
- createPropSetter(org.codehaus.groovy.ast.PropertyNode) - Method in ImmutablePropertyHandler
-
Create the setter block used when setting the property. Can be null for read-only properties.
- Parameters:
pNode - the property node
- createPropSetter(org.codehaus.groovy.ast.PropertyNode) - Method in PropertyHandler
-
Create the setter block used when setting the property.
- createQueryCommand(java.lang.String) - Method in Sql
-
Factory for the QueryCommand command pattern object allows subclasses to
supply implementations of the command class.
- createRange(java.lang.Object, java.lang.Object, boolean) - Method in InvokerHelper
-
- createRange(java.lang.Object, java.lang.Object, boolean) - Method in ScriptBytecodeAdapter
-
- createReference(T, V, java.lang.ref.ReferenceQueue) - Method in ReferenceType
-
Creates a reference of this type for the supplied referent and handler.
- createSaxParserFactory(boolean) - Method in FactorySupport
-
- createSchemaFactory(java.lang.String) - Method in FactorySupport
-
Creates a new hardened
SchemaFactory for the requested schema language.
- createScript(java.lang.String, groovy.lang.Binding) - Method in GroovyScriptEngine
-
Creates a Script with a given scriptName and binding.
- createScript(java.lang.Class, groovy.lang.Binding) - Method in InvokerHelper
-
- createSetStatement(org.codehaus.groovy.ast.expr.Expression) - Method in VetoableASTTransformation
-
Creates a statement body similar to:
field = value.
- createSetterBlock(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.FieldNode, org.codehaus.groovy.ast.Parameter) - Method in DynamicSetterInjectionVisitor
-
Creates the body of a synthetic setter that wraps the assignment with invariant checks.
- createSetterBlock(org.codehaus.groovy.ast.PropertyNode, org.codehaus.groovy.ast.FieldNode) - Method in Verifier
-
- createSetterMethod(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.PropertyNode, java.lang.String, org.codehaus.groovy.ast.stmt.Statement) - Method in BindableASTTransformation
-
Creates a setter method with the given body.
- createSetterMethod(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.PropertyNode, java.lang.String, org.codehaus.groovy.ast.stmt.Statement) - Method in VetoableASTTransformation
-
Creates a setter method with the given body.
- createSetterOperationInfoFromProperty(groovy.lang.MetaProperty) - Method in JmxOperationInfoManager
-
Returns a MBean operation info for setter operation specified by the MetaProperty.
- createSignature(javax.management.MBeanOperationInfo) - Method in GroovyMBean
-
Builds the signature array for an operation.
- createSimilarArray(T, int) - Method in DefaultGroovyMethodsSupport
-
- createSimilarCollection(Collection<T>, int) - Method in DefaultGroovyMethodsSupport
-
- createSimilarList(List<T>, int) - Method in DefaultGroovyMethodsSupport
-
- createSimilarMap(Map<K,V>) - Method in DefaultGroovyMethodsSupport
-
- createSimilarOrDefaultCollection(java.lang.Object) - Method in DefaultGroovyMethodsSupport
-
- createSimilarQueue(Queue<T>) - Method in DefaultGroovyMethodsSupport
-
- createSimilarSet(Set<T>) - Method in DefaultGroovyMethodsSupport
-
- createSourcepath() - Method in Groovyc
-
Adds a path to sourcepath.
- createSrc() - Method in CompileTaskSupport
-
Creates a nested <src> path element.
- createSrc() - Method in Groovyc
-
Adds a path for source compilation.
- createSrc() - Method in UberCompileTask
-
Creates a nested <src> path element.
- createStatementsClass() - Method in ModuleNode
-
Creates a synthetic class wrapping this module's statement and method definitions.
- createStaticMetaMethodSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, java.lang.Class) - Method in CachedMethod
-
Creates an optimized call site for invoking this static method.
- createStaticMetaMethodSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class, java.lang.Object) - Method in StaticMetaMethodSite
-
- createStaticSite(org.codehaus.groovy.runtime.callsite.CallSite, java.lang.Object) - Method in ExpandoMetaClass
-
Create a CallSite
- createStaticSite(org.codehaus.groovy.runtime.callsite.CallSite, java.lang.Object) - Method in MetaClassImpl
-
Create a CallSite
- createStaticVersion() - Method in MultipleSetterProperty
-
- createSyntheticStaticFields() - Method in AsmClassGenerator
-
- createTempDir(java.io.File, java.lang.String, java.lang.String) - Method in DefaultGroovyStaticMethods
-
- createTemplate(java.io.Reader) - Method in GStringTemplateEngine
-
Creates a template backed by writable closures generated from the supplied reader.
- createTemplate(java.net.URL) - Method in MarkupTemplateEngine
-
Compiles a template from a resolved resource URL.
- createTemplate(java.io.Reader) - Method in SimpleTemplateEngine
-
Compiles template source from the supplied reader.
- createTemplate(java.io.Reader) - Method in StreamingTemplateEngine
-
Creates a template instance using the template source from the provided Reader.
- createTemplate(java.net.URL, java.nio.charset.Charset) - Method in TemplateEngine
-
Creates a template from the content found at the URL using the given charset encoding.
- createTemplate(java.io.Reader) - Method in XmlTemplateEngine
-
Parses XML template source from the supplied reader and compiles it into a template.
- createTemplateByPath(java.lang.String) - Method in MarkupTemplateEngine
-
Resolves and compiles a template by path.
- createTextifier() - Method in LoggableTextifier
-
- createThreadedManager(java.lang.ref.ReferenceQueue) - Method in ReferenceManager
-
Creates a manager backed by a daemon thread that drains the supplied queue.
- createThresholdedIdlingManager(java.lang.ref.ReferenceQueue, org.codehaus.groovy.util.ReferenceManager, int) - Method in ReferenceManager
-
Creates a manager that starts in idling mode and switches to the callback manager after a threshold.
- createToString(org.codehaus.groovy.ast.ClassNode, boolean, boolean, List<String>, List<String>, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, java.lang.String, boolean) - Method in ToStringASTTransformation
-
- createTransformerFactory(boolean, boolean) - Method in FactorySupport
-
- createTransformMetaMethod(groovy.lang.MetaMethod) - Method in MetaClassImpl
-
Wraps a meta method so single-list arguments are expanded before invocation.
- createTuple(java.lang.Object) - Method in InvokerHelper
-
- createTuple(java.lang.Object) - Method in ScriptBytecodeAdapter
-
- createTypeCheckedModelTemplate(java.net.URL, Map<String,String>) - Method in MarkupTemplateEngine
-
Compiles a template from a resolved resource URL with explicit model type hints.
- createTypeCheckedModelTemplateByPath(java.lang.String, Map<String,String>) - Method in MarkupTemplateEngine
-
Resolves and compiles a template by path with explicit model type hints.
- createUnsupportedException(java.lang.String, java.lang.Number) - Method in NumberMath
-
- createVariableAlias(java.lang.String, org.codehaus.groovy.ast.ClassNode, java.lang.String) - Method in AstHelper
-
- createVariableDefinition(java.lang.String, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression, boolean) - Method in AstHelper
-
- createVariableReference(Map<String,?>) - Method in AstHelper
-
- createView(groovy.lang.Closure) - Method in DataSet
-
create a subset of the original dataset.
- createXMLInputFactory(boolean) - Method in FactorySupport
-
- createXPathFactory() - Method in FactorySupport
-
- creator(int) - Method in GroovyParser
-
- creator() - Method in GroovyParser.NewPrmrAltContext
-
- creator() - Method in GroovyParser.PathElementContext
-
- CreatorContext(org.antlr.v4.runtime.ParserRuleContext, int, int) - Constructor in GroovyParser.CreatorContext
-
- crossJoin(Queryable<? extends U>) - Method in Queryable
-
Cross join another
Queryable instance, similar to SQL's
cross join
- cst - Field in SourceUnit
-
A Concrete Syntax Tree of the source
- CSTNode - Class in org.codehaus.groovy.syntax
Abstract base class for nodes in the concrete syntax tree (CST) produced by parsing.
- CsvBuilder - Class in groovy.csv
Builds CSV output from collections of maps or typed objects.
- CsvBuilder() - Constructor in CsvBuilder
-
Creates a builder that uses comma-separated columns and double quotes
for field escaping.
- CsvRuntimeException - Class in groovy.csv
Represents runtime exception occurred when parsing or building CSV
- CsvRuntimeException(java.lang.String, java.lang.Throwable) - Constructor in CsvRuntimeException
-
Creates an exception with the supplied detail message and cause.
- CsvSlurper - Class in groovy.csv
Represents a CSV parser.
- CsvSlurper() - Constructor in CsvSlurper
-
Creates a slurper that uses comma-separated columns, double quotes,
and treats the first row as headers.
- ct - Field in GroovyParser.MethodDeclarationContext
-
- ct - Field in GroovyParser.ReturnTypeContext
-
- ctorSuperS() - Method in GeneralUtils
-
- ctorSuperX() - Method in GeneralUtils
-
- ctorThisS() - Method in GeneralUtils
-
- ctorThisX() - Method in GeneralUtils
-
- ctorX(org.codehaus.groovy.ast.ClassNode) - Method in GeneralUtils
-
- cumeDist() - Method in Window
-
Returns the cumulative distribution of a value in the window
- curren - Field in Entity
-
Entity reference ¤.
- current() - Method in AsyncScope
-
Returns the scope currently bound to this thread, or null.
- CURRENT_BUILDER - Field in FactoryBuilderSupport
-
Context key for the builder of the current node.
- current - Property in CardTracker
-
Zero-based index of the visible card.
- current() - Method in DefaultAsyncScope
-
Returns the current scope, or null when no scope is bound.
- current() - Method in DefaultPool
-
Returns the pool bound to the current scope, or null.
- CURRENT_FACTORY - Field in FactoryBuilderSupport
-
Context key for the factory creating the current node.
- CURRENT_NAME - Field in FactoryBuilderSupport
-
Context key for the current node name.
- CURRENT_NODE - Field in FactoryBuilderSupport
-
Context key for the current node.
- current() - Method in Pool
-
Returns the pool bound to the current scope, or null.
- CURRENT_SIGNATURE_PROTOCOL - Field in StaticTypeCheckingVisitor
-
- CURRENT_SIGNATURE_PROTOCOL_VERSION - Field in StaticTypeCheckingVisitor
-
- currentCall - Field in InvocationWriter
-
- currentChar() - Method in CharacterSource
-
returns the current character without changing the IO pointer or index.
- currentChar() - Method in JsonParserCharArray
-
Returns the current character in the input buffer.
- currentChar() - Method in ReaderCharacterSource
-
Returns the current character without advancing.
- currentClasspathDir - Property in Console
-
Initial directory for classpath directory selection dialogs.
- currentClasspathJarDir - Property in Console
-
Initial directory for classpath jar selection dialogs.
- currentDir - Property in GroovyPosixContext
-
Current working directory exposed to groovysh POSIX commands.
- currentDir() - Method in Main.ExtraConsoleCommands
-
Returns the current working directory tracked by the POSIX command context.
- currentField - Field in StaticTypeCheckingVisitor
-
- currentFileChooserDir - Property in Console
-
Initial directory for file open/save dialogs.
- currentKey - Field in ConcurrentReaderHashMap.HashIterator
-
- currentProperty - Field in StaticTypeCheckingVisitor
-
- currentTheme - Property in Console
-
Name of the currently selected theme mode.
- currentTimeSeconds(java.lang.System) - Method in DefaultGroovyStaticMethods
-
Get the current time in seconds
- currentValue - Field in ConcurrentReaderHashMap.HashIterator
-
- CurriedClosure - Class in org.codehaus.groovy.runtime
A wrapper for Closure to support currying.
- CurriedClosure(Closure<V>, java.lang.Object) - Constructor in CurriedClosure
-
- curry(java.lang.Object) - Method in Closure
-
Support for Closure currying.
- curryDelegateAndGetContent(Closure<?>, java.lang.Object) - Method in JsonDelegate
-
Factory method for creating JsonDelegates from closures currying an object
argument.
- curryDelegateAndGetContent(java.io.Writer, groovy.lang.Closure, java.lang.Object, boolean) - Method in StreamingJsonBuilder.StreamingJsonDelegate
-
Curries an object into a closure, assigns this delegate model, and writes its JSON content.
- cursor - Field in ObservableList.ObservableIterator
-
Current list index for iterator-driven updates.
- cursorPos - Property in Console
-
Current caret offset in the input document.
- customDarkThemePath - Property in ConsolePreferences
-
Optional custom dark theme path.
- CustomizersFactory - Class in org.codehaus.groovy.control.customizers.builder
This factory generates an array of compilation customizers.
- customLightThemePath - Property in ConsolePreferences
-
Optional custom light theme path.
- cut(java.util.EventObject) - Method in Console
-
Cuts the current editor selection.
- cycleMode() - Method in ThemeManager
-
Cycles through light, dark, and system theme modes.
- cycleTheme(java.util.EventObject) - Method in Console
-
Advances to the next available theme mode.
- GCONTRACTS_ENABLED_VAR - Field in BaseVisitor
-
Local variable name used by generated code to guard contract execution.
- GContractsASTTransformation - Class in org.apache.groovy.contracts.ast
- GDKDocTool - Class in org.apache.groovy.docgenerator
Runs groovydoc programmatically against a tree of mock source files produced by
MockSourceGenerator, writing the GDK documentation to the output dir.
- GDKDocTool() - Constructor in GDKDocTool
-
- GE - Field in GeneralUtils
-
- GE() - Method in GroovyParser.RelationalExprAltContext
-
- genCallWithFixedParams(org.objectweb.asm.ClassWriter, java.lang.String, java.lang.String, org.codehaus.groovy.reflection.CachedMethod, java.lang.String) - Method in CallSiteGenerator
-
- genCallXxxWithArray(org.objectweb.asm.ClassWriter, java.lang.String, java.lang.String, org.codehaus.groovy.reflection.CachedMethod, java.lang.String) - Method in CallSiteGenerator
-
- genEncodingString(java.lang.CharSequence) - Method in GroovyClassLoader
-
Generates an encoded string based on the specified characters and the defined encoding algorithm.
- GENERAL_END_OF_STATEMENT - Field in Types
-
- GeneralUtils - Class in org.codehaus.groovy.ast.tools
Handy methods when working with the Groovy AST.
- generate(Supplier<? extends T>) - Method in Iterators
-
An iterator providing infinite elements using a Supplier.
- generateAll() - Method in MockSourceGenerator
-
Generates mock source files for all supported receiver types.
- generateCallSiteArray() - Method in CallSiteWriter
-
- generateCallSiteArray() - Method in IndyCallSiteWriter
-
- generateCallSiteArray() - Method in StaticTypesCallSiteWriter
-
- generateClass(org.codehaus.groovy.ast.ClassNode) - Method in JavaStubGenerator
-
- Generated - Annotation Type in groovy.transform
Marks class members that have been generated by the compiler.
- GENERATED_EMPTY_STATEMENT - Field in StaticTypeCheckingVisitor
-
- GENERATED_PROXY_CLASSNODE - Field in Traits
-
- GeneratedBytecodeAwareGroovyClassLoader - Class in groovy.console.ui
Groovy class loader that retains generated bytecode for AST Browser inspection.
- GeneratedBytecodeAwareGroovyClassLoader(groovy.lang.GroovyClassLoader) - Constructor in GeneratedBytecodeAwareGroovyClassLoader
-
Creates a class loader that records generated bytecode.
- GeneratedClosure - Interface in org.codehaus.groovy.runtime
Marker interface to identify closures generated by the groovy compiler.
- generateDefaultPostconditionStatement(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in PostconditionGenerator
-
Adds a default postcondition if a postcondition has already been defined for this
MethodNode
in a super-class.
- generateDefaultPreconditionStatement(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in PreconditionGenerator
-
- GeneratedGroovyProxy - Interface in groovy.lang
An interface implemented by some Groovy proxies which gives access to the proxied object.
- GeneratedLambda - Interface in org.codehaus.groovy.runtime
Marker interface to identify lambda generated by the groovy compiler.
- GeneratedMetaMethod - Class in org.codehaus.groovy.reflection
- GeneratedMetaMethod.DgmMethodRecord - Class in org.codehaus.groovy.reflection
- GeneratedMetaMethod.Proxy - Class in org.codehaus.groovy.reflection
- GeneratedMetaMethod(java.lang.String, org.codehaus.groovy.reflection.CachedClass, java.lang.Class, java.lang.Class) - Constructor in GeneratedMetaMethod
-
- generateFileNames() - Method in FileSystemCompiler.CompilationOptions
-
- generateInvariantAssertionStatement(org.codehaus.groovy.ast.ClassNode, org.apache.groovy.contracts.domain.ClassInvariant) - Method in ClassInvariantGenerator
-
Reads the Invariant boolean expression and generates a synthetic
method holding this class invariant.
- generateMopCalls(LinkedList<MethodNode>, boolean) - Method in MopWriter
-
Generates a Meta Object Protocol method that is used to call a non-public
method or to make a call to super.
- generateNamePrefixOnce() - Method in AbstractHttpServlet
-
Computes the servlet context base URL once and caches it in
namePrefix.
- generatePostconditionAssertionStatement(org.codehaus.groovy.ast.MethodNode, org.apache.groovy.contracts.domain.Postcondition) - Method in PostconditionGenerator
-
Injects a postcondition assertion statement in the given method, based on the booleanExpression.
- generatePreconditionAssertionStatement(org.codehaus.groovy.ast.MethodNode, org.apache.groovy.contracts.domain.Precondition) - Method in PreconditionGenerator
-
Injects a precondition assertion statement in the given method, based on the given annotation of
type Requires.
- generateScriptName() - Method in GroovyClassLoader
-
Generates a unique script name for unnamed parsed sources.
- generateScriptName() - Method in GroovyClassLoader.InnerLoader
-
Generates a unique script name for unnamed parsed sources.
- Returns:
- a unique script name ending in
.groovy
- generateScriptName() - Method in GroovyShell
-
Generates a unique logical script name for anonymous shell evaluations.
- GenerateStubsTask - Class in org.codehaus.groovy.ant
Generates Java stubs from Groovy sources.
- generateTryCatchBlock(org.codehaus.groovy.ast.ClassNode, java.lang.String, org.codehaus.groovy.ast.stmt.Statement) - Method in TryCatchBlockGenerator
-
Wraps an assertion block so it returns a boolean result while preserving Groovy power assertion details.
- generateTryCatchBlockForInlineMode(org.codehaus.groovy.ast.ClassNode, java.lang.String, org.codehaus.groovy.ast.stmt.Statement) - Method in TryCatchBlockGenerator
-
Wraps an inline assertion block so a Groovy power assertion is converted into the requested violation type.
- GeneratorBridge - Class in org.apache.groovy.runtime.async
A producer/consumer bridge for async generators (yield return).
- GeneratorContext - Class in org.codehaus.groovy.classgen
A context shared across generations of a class and its inner classes.
- GeneratorContext(org.codehaus.groovy.ast.CompileUnit, int) - Constructor in GeneratorContext
-
- genericScriptName() - Method in GroovyAssert
-
- Returns:
- a generic script name to be used by
GroovyShell#evaluate.
- GenericsType - Class in org.codehaus.groovy.ast
Represents generic type information for parameterized types in Groovy/Java, including type variables,
wildcard types, and type bounds.
- GenericsType.GenericsTypeName - Class in org.codehaus.groovy.ast
Represents the name of a
GenericsType for use as a map key or in generic type comparisons.
- genericsType(java.lang.Class, groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a GenericsType.
- GenericsType(org.codehaus.groovy.ast.ClassNode) - Constructor in GenericsType
-
Creates a simple generics type with no bounds for a concrete type.
- GenericsTypeName(java.lang.String) - Constructor in GenericsType.GenericsTypeName
-
Creates a generics type name with the specified string.
- genericsTypes(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a GenericsTypes[].
- GenericsUtils - Class in org.codehaus.groovy.ast.tools
Utility methods for working with parameterized (generic) types in Groovy AST.
- GenericsVisitor - Class in org.codehaus.groovy.control
Verify correct usage of generics.
- GenericsVisitor(org.codehaus.groovy.control.SourceUnit) - Constructor in GenericsVisitor
-
- genericTypeIndex - Field in DelegatesTo
-
The index of the generic type that will be the type of the closure's delegate.
- genPogoMetaMethodSite(org.codehaus.groovy.reflection.CachedMethod, org.objectweb.asm.ClassWriter, java.lang.String) - Method in CallSiteGenerator
-
- genPojoMetaMethodSite(org.codehaus.groovy.reflection.CachedMethod, org.objectweb.asm.ClassWriter, java.lang.String) - Method in CallSiteGenerator
-
- genPositionInfo(Tuple2<Integer,Integer>) - Method in SyntaxErrorReportable
-
- genStaticMetaMethodSite(org.codehaus.groovy.reflection.CachedMethod, org.objectweb.asm.ClassWriter, java.lang.String) - Method in CallSiteGenerator
-
- Get - Annotation Type in groovy.http
Marks an interface method as an HTTP GET request.
- get(java.lang.ClassLoader) - Method in AbstractExtensionMethodCache
-
- get() - Method in Agent
-
Returns the current value.
- get(java.lang.Object) - Method in AntProjectPropertiesDelegate
-
Returns the current value of the supplied property.
- get(org.codehaus.groovy.ast.MethodNode) - Method in AssertionMap
-
Returns the assertion associated with the supplied method.
- get(long, java.util.concurrent.TimeUnit) - Method in Awaitable
-
Blocks until the computation completes or the timeout expires.
- get(KEY) - Method in Cache
-
Retrieves a value and updates cache state as needed.
- get(java.lang.Object) - Method in CommonCache
-
{@inheritDoc}
- get(java.lang.Object) - Method in ConcurrentCommonCache
-
{@inheritDoc}
- get(java.lang.Object) - Method in ConcurrentLinkedHashMap
-
{@inheritDoc}
- get(java.lang.Object) - Method in ConcurrentReaderHashMap
-
Returns the value to which the specified key is mapped in this table.
- get(java.lang.Object) - Method in ConcurrentReferenceHashMap
-
Returns the value to which the specified key is mapped,
or null if this map contains no mapping for the key.
- get(java.lang.Object) - Method in ConfigObject
-
{@inheritDoc}
- get(int, boolean) - Method in CSTNode
-
Returns the element at the specified index, or
Token.NULL if
the element is not found and
safe is
true.
- get(long, java.util.concurrent.TimeUnit) - Method in DataflowVariable
-
Blocks until the computation completes or the timeout expires.
- throws:
- InterruptedException if the calling thread is interrupted while waiting
- throws:
- ExecutionException if the computation completed exceptionally
- throws:
- TimeoutException if the wait timed out
- Parameters:
timeout - the maximum time to waitunit - the time unit of the timeout argument
- Returns:
- the computed result
- get(Map<K,V>, K, V) - Method in DefaultGroovyMethods
-
Looks up an item in a Map for the given key and returns the corresponding value.
- GET_DELEGATE - Field in StaticTypeCheckingVisitor
-
- get(java.lang.Object) - Method in DocFinder
-
Resolves documentation links for the supplied type expression.
- get(org.w3c.dom.NamedNodeMap, java.lang.String) - Method in DOMCategory
-
Returns the value of a named attribute from a DOM attribute map.
- get(int) - Method in EmptyRange
-
Always throws IndexOutOfBoundsException for an empty range.
- get(int) - Method in FastArray
-
Returns the element at the specified index.
- get(Class<?>) - Method in GroovyClassValue
-
- get(java.lang.String) - Method in GroovyEngine
-
Retrieves a variable from the binding.
- get(long, java.util.concurrent.TimeUnit) - Method in GroovyPromise
-
Blocks until the computation completes or the timeout expires.
- throws:
- InterruptedException if the calling thread is interrupted while waiting
- throws:
- ExecutionException if the computation completed exceptionally
- throws:
- TimeoutException if the wait timed out
- Parameters:
timeout - the maximum time to waitunit - the time unit of the timeout argument
- Returns:
- the computed result
- get(java.lang.Object) - Method in GroovyRowResult
-
Find the property value for the given name (ignoring case).
- get(java.lang.Object) - Method in GroovyRunnerRegistry
-
Returns the registered runner for the specified key.
- get(java.lang.String) - Method in GroupResult
-
Returns a named component of the group key.
- get(java.lang.Object, Closure<?>) - Method in HttpBuilder
-
Executes a synchronous GET request.
- GET - Enum Constant in IndyInterface.CallType
-
Get property invocation type.
- get(int) - Method in IntRange
-
{@inheritDoc}
- get(java.lang.Object) - Method in LazyMap
-
Hydrates the backing map if needed and returns the value for the supplied key.
- get() - Method in LazyReference
-
Returns the current value, initializing or recreating it when necessary.
- get(java.lang.Object) - Method in LazyValueMap
-
Gets the item by key from the mapping.
- get(java.lang.Object) - Method in ListHashMap
-
{@inheritDoc}
- get(int) - Method in ListWithDefault
-
Returns the element at the given index but grows the list if needed.
- get(int) - Method in ListWrapperListModel
-
Returns the element at the supplied index.
- get(K) - Method in LRUCache
-
- get(K) - Method in ManagedConcurrentValueMap
-
Returns the value stored for the given key at the point of call.
- get() - Method in ManagedReference
-
Returns the current referent.
- get(java.lang.Object) - Method in MapWithDefault
-
Returns the value to which the specified key is mapped,
or the default value as specified by the initializing closure
if this map contains no mapping for the key.
- get(K) - Method in MemoizeCache
-
Gets a value from the cache
- get(java.lang.String) - Method in NamedRecord
-
Returns the value for the supplied name.
- get(java.lang.String) - Method in Namespace
-
Returns the QName for the given localName.
- get(java.lang.Object) - Method in NamespaceAwareHashMap
-
{@inheritDoc}
- get(java.lang.String) - Method in Node
-
Provides lookup of elements by non-namespaced name
- get(int) - Method in NumberRange
-
{@inheritDoc}
- get(int) - Method in ObjectRange
-
{@inheritDoc}
- get(int) - Method in ObservableList
-
{@inheritDoc}
- get(java.lang.Object) - Method in ObservableMap
-
{@inheritDoc}
- GET_OWNER - Field in StaticTypeCheckingVisitor
-
- get(java.util.OptionalDouble) - Method in PluginDefaultGroovyMethods
-
If a value is present in the OptionalDouble, returns the value.
- get(java.lang.String) - Method in Preferences
-
- get(java.lang.String) - Method in ProcessingContextInformation
-
Returns an auxiliary value previously stored in the per-class processing context.
- get(int) - Method in Reduction
-
Returns the element at the specified index, or null if the index is out of bounds.
- get() - Method in Reference
-
Returns the current referent.
- get(int) - Method in ReversedList
-
{@inheritDoc}
- get() - Method in ScopedLocal
-
Returns the value bound to this scoped-local on the current thread.
- get() - Method in ScriptReference
-
- get(jakarta.servlet.jsp.PageContext, java.lang.String) - Method in ServletCategory
-
Reads a page context attribute using property-style access.
- get(K) - Method in SimpleCache
-
{@inheritDoc}
- get(java.lang.Object) - Method in StampedCommonCache
-
{@inheritDoc}
- get(java.lang.Object) - Method in StringSetMap
-
- get() - Method in Supplier
-
- GET_THISOBJECT - Field in StaticTypeCheckingVisitor
-
- get(int) - Method in Token
-
Returns the element at the specified index.
- get(int) - Method in Tuple
-
{@inheritDoc}
- get(java.lang.Object) - Method in UnlimitedConcurrentCache
-
Gets a value from the cache
- get(int) - Method in ValueList
-
Converts the indexed element on demand and optionally chops nested containers.
- get(java.lang.Object) - Method in ValueMapImpl
-
- getAbstractMethods() - Method in ClassNode
-
Returns a list of all abstract
MethodNodes declared in this ClassNode.
- getAccessedVariable() - Method in VariableExpression
-
Returns the variable that this expression accesses.
- getAcg() - Method in DelegatingController
-
- getAcg() - Method in WriterController
-
Returns the AsmClassGenerator managing overall compilation for this class.
- getActiveCount() - Method in DefaultPool
-
- getActiveCount() - Method in Pool
-
Returns the approximate number of threads actively executing tasks.
- getAdaptee() - Method in AdaptingMetaClass
-
Returns the MetaClass that this adapter adapts
- getAdaptee() - Method in DelegatingMetaClass
-
Returns the wrapped meta class.
- getAdaptee() - Method in Proxy
-
Returns the wrapped adaptee.
- getAdaptee() - Method in ProxyMetaClass
-
Returns the MetaClass that this adapter adapts
- Returns:
- The MetaClass instance
- getAdditionalFilters() - Method in MarkupBuilder
-
Returns extra character replacement filters consulted after the default XML escaping rules.
- getAdditionalMetaMethods() - Method in MetaClassImpl
-
Retrieves a list of additional MetaMethods held by this class
- getAgo() - Method in BaseDuration
-
Returns the date represented by this duration ago.
- getAgo() - Method in DatumDependentDuration
-
Returns the date represented by this duration ago.
- getAgo() - Method in Duration
-
Returns the date represented by this duration ago.
- getAgo() - Method in TimeDuration
-
Returns the date represented by this duration ago.
- getAlias() - Method in ImportNode
-
Returns the alias name for this import, if specified.
- getAliasExpr() - Method in DataSourceExpression
-
Returns the alias expression.
- getAliasList() - Method in NamedRecord
-
Returns the source aliases available to this record.
- getAllClassInfo() - Method in ClassInfo
-
Returns all cached class information across the runtime.
- getAllDeclaredMethods() - Method in ClassNode
-
Returns all declared
MethodNodes from this ClassNode and its superclasses and interfaces
as a list.
- getAllInterfaces() - Method in ClassNode
-
- getAllMethods(org.codehaus.groovy.ast.ClassNode) - Method in GeneralUtils
-
- getAllowedConstantTypes() - Method in SecureASTCustomizer
-
- getAllowedExpressions() - Method in SecureASTCustomizer
-
- getAllowedImports() - Method in SecureASTCustomizer
-
- getAllowedReceivers() - Method in SecureASTCustomizer
-
- getAllowedStarImports() - Method in SecureASTCustomizer
-
- getAllowedStatements() - Method in SecureASTCustomizer
-
- getAllowedStaticImports() - Method in SecureASTCustomizer
-
- getAllowedStaticStarImports() - Method in SecureASTCustomizer
-
- getAllowedTokens() - Method in SecureASTCustomizer
-
- getAllProperties(org.codehaus.groovy.ast.ClassNode, boolean, boolean, boolean, boolean, boolean) - Method in BeanUtils
-
Discovers all properties in a class, optionally including both getter and setter pseudo-properties.
- getAllProperties(Set<String>, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean) - Method in GeneralUtils
-
- getAllProperties() - Method in ReleaseInfo
-
Returns all loaded release metadata properties.
- getAnchor() - Method in TableLayoutCell
-
- Returns:
- the GridBagConstraints enumeration for anchor
- getAndPut(java.lang.String, org.codehaus.groovy.runtime.memoize.MemoizeCache.ValueProvider<? super String,? extends MethodHandleWrapper>) - Method in CacheableCallSite
-
- getAndPut(K, ValueProvider<? super K,? extends V>, boolean) - Method in CommonCache
-
- getAndPut(K, ValueProvider<? super K,? extends V>, boolean) - Method in ConcurrentCommonCache
-
- getAndPut(K, ValueProvider<? super K,? extends V>, boolean) - Method in FlexibleCache
-
- getAndPut(K, ValueProvider<? super K,? extends V>) - Method in LRUCache
-
Try to get the value from cache.
- getAndPut(K, ValueProvider<? super K,? extends V>) - Method in MemoizeCache
-
Try to get the value from cache.
- getAndPut(K, ValueProvider<? super K,? extends V>, boolean) - Method in StampedCommonCache
-
- getAndPut(K, ValueProvider<? super K,? extends V>) - Method in UnlimitedConcurrentCache
-
Try to get the value from cache.
- getAnnotation(Class<T>) - Method in CachedMethod
-
Returns the annotation of the specified type on this method, if present.
- getAnnotationName() - Method in AbstractASTTransformation
-
If the transform is associated with a single annotation, returns a name suitable for displaying in error messages.
- getAnnotationName() - Method in ImmutableASTTransformation
-
- getAnnotationName() - Method in MapConstructorASTTransformation
-
- getAnnotationName() - Method in RecordCompletionASTTransformation
-
- getAnnotationName() - Method in RecordTypeASTTransformation
-
- getAnnotationName() - Method in TupleConstructorASTTransformation
-
- getAnnotationNode() - Method in ModifierNode
-
Returns the wrapped annotation node if this modifier represents an annotation.
- getAnnotationNodeInHierarchyWithMetaAnnotation(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.ast.ClassNode) - Method in AnnotationUtils
-
- getAnnotationProcessor(java.lang.String) - Method in AnnotationProcessorVisitor
-
Instantiates the annotation processor with the supplied implementation class name.
- getAnnotations(org.codehaus.groovy.ast.ClassNode) - Method in AnnotatedNode
-
Returns annotations of a specific type attached to this AST node.
- getAnnotations(org.codehaus.groovy.ast.ClassNode) - Method in ClassNode
-
- getAnnotations(org.codehaus.groovy.ast.ClassNode) - Method in DecompiledClassNode
-
Returns annotations of a specific type attached to this class.
- getAntProject() - Method in AntBuilder
-
Returns the underlying Ant project instance.
- getAntXmlContext() - Method in AntBuilder
-
Gets the xml context of Ant used while creating tasks
- getAquaLAFName() - Method in LookAndFeelHelper
-
Finds the first available Aqua look and feel implementation.
- getArguments(org.codehaus.groovy.ast.expr.MethodCall) - Method in AbstractTypeCheckingExtension
-
- getArguments() - Method in ConstructorCallExpression
-
Returns the constructor arguments.
- getArguments() - Method in IncorrectClosureArgumentsException
-
Returns the supplied arguments.
- getArguments() - Method in MethodCall
-
- getArguments() - Method in MethodCallExpression
-
- getArguments() - Method in MissingMethodException
-
Returns the supplied arguments.
- getArguments() - Method in StaticMethodCallExpression
-
- getArgumentTypes(org.codehaus.groovy.ast.expr.ArgumentListExpression) - Method in StaticTypeCheckingVisitor
-
- getArgumentTypes(org.codehaus.groovy.ast.expr.ArgumentListExpression) - Method in TypeCheckingExtension
-
- getArray() - Method in AbstractCallSite
-
- getArray() - Method in CallSite
-
- getArray() - Method in FastArray
-
Returns the backing storage array.
- getArrayGetCaller() - Method in BinaryExpressionWriter
-
- getArrayGetResultType() - Method in BinaryBooleanExpressionHelper
-
- getArrayGetResultType() - Method in BinaryExpressionWriter
-
- getArrayGetResultType() - Method in BinaryObjectExpressionHelper
-
- getArraySetCaller() - Method in BinaryExpressionWriter
-
- getArtifactClassLoader() - Method in ClassInfo
-
Returns the class loader for loading class artifacts (e.g., compiled bytecode).
- getAssertionStatement(org.codehaus.groovy.ast.expr.BooleanExpression) - Method in AssertStatementCreationUtility
-
Reusable method for creating assert statements for the given booleanExpression.
- getAssertionStatements(List<BooleanExpression>) - Method in AssertStatementCreationUtility
-
Reusable method for creating assert statements for the given booleanExpression.
- getAssertionWriter() - Method in DelegatingController
-
- getAssertionWriter() - Method in WriterController
-
Returns the AssertionWriter for compiling Groovy assert statements
into bytecode that evaluates conditions and raises AssertionError.
- getAssignOperationName(int) - Method in StaticTypeCheckingSupport
-
GEP-15: returns the dedicated compound-assignment method name for a compound-assign
operator token (e.g.
- getAST() - Method in CompilationUnit
-
Returns the CompileUnit that roots our AST.
- getAST() - Method in SourceUnit
-
Returns the Abstract Syntax Tree produced during convert()ing
and expanded during later phases.
- getASTTransformationsContext() - Method in CompilationUnit
-
- Returns:
- the AST transformations current context
- getAsType(java.lang.Object, Class<T>) - Method in Traits
-
Converts a class implementing some trait into a target class.
- getAsync() - Method in Agent
-
- getAsync(java.lang.Object, Closure<?>) - Method in HttpBuilder
-
Executes an asynchronous GET request.
- getAt(T, Collection<?>) - Method in ArrayGroovyMethods
-
Selects a List of items from an array using a Collection to
identify the indices to be selected.
- getAt(java.time.ZoneOffset, java.time.temporal.TemporalField) - Method in DateTimeExtensions
-
- getAt(java.util.Calendar, java.util.Collection) - Method in DateUtilExtensions
-
Support the subscript operator for a Calendar with a collection of indices.
- getAt(T, java.util.Collection) - Method in DefaultGroovyMethods
-
- getAt(groovy.xml.dom.DOMCategory.NodesHolder, groovy.lang.IntRange) - Method in DOMCategory
-
Returns a range of nodes from a simple node-list view.
- getAt(groovy.lang.IntRange) - Method in GPathResult
-
Supports the range subscript operator for a GPathResult.
- getAt(java.lang.String) - Method in GroovyResultSet
-
Gets the value of the designated column in the current row
as an Object.
- getAt(int) - Method in GroovyResultSetExtension
-
Supports integer based subscript operators for accessing at numbered columns
starting at zero.
- getAt(int) - Method in GroovyRowResult
-
Retrieve the value of the property by its index.
- getAt(java.lang.String) - Method in GroupResult
-
Subscript operator for accessing named key components.
- getAt(int) - Method in ListWithDefault
-
Overwrites subscript operator handling by redirecting to
get(int).
- getAt(java.lang.String) - Method in NamedRecord
-
Returns the value for the supplied name, falling back to the source record.
- getAt(groovy.namespace.QName) - Method in Node
-
Provides lookup of elements by QName.
- getAt(int) - Method in NodeChild
-
Supports the subscript operator for a GPathResult.
import groovy.xml.slurpersupport.*
import groovy.xml.XmlSlurper
def text = """
<characterList>
<character/>
<character>
<name>Gromit</name>
</character>
</characterList>"""
GPathResult characterList = new XmlSlurper().parseText(text)
assert characterList.character[1].name == 'Gromit'
- Parameters:
index - an index
- Returns:
- the value at the given index
- getAt(groovy.namespace.QName) - Method in NodeList
-
Provides lookup of elements by QName.
- getAt(TypedOption<T>, T) - Method in OptionAccessor
-
Returns the value of the specified typed option using subscript syntax.
- getAt(Optional<T>, int) - Method in PluginDefaultGroovyMethods
-
If a value is present in the Optional, returns the value or null.
- getAt - Field in RecordOptions
-
If true, this adds a method getAt(int) which given
an integer n, returns the n'th component in the record.
- getAt(jakarta.servlet.jsp.PageContext, java.lang.String) - Method in ServletCategory
-
Reads a page context attribute using Groovy subscript syntax.
- getAt(boolean[], int) - Method in StaticTypeCheckingSupport.BooleanArrayStaticTypesHelper
-
- getAt(byte[], int) - Method in StaticTypeCheckingSupport.ByteArrayStaticTypesHelper
-
- getAt(char[], int) - Method in StaticTypeCheckingSupport.CharArrayStaticTypesHelper
-
- getAt(double[], int) - Method in StaticTypeCheckingSupport.DoubleArrayStaticTypesHelper
-
- getAt(float[], int) - Method in StaticTypeCheckingSupport.FloatArrayStaticTypesHelper
-
- getAt(int[], int) - Method in StaticTypeCheckingSupport.IntArrayStaticTypesHelper
-
- getAt(long[], int) - Method in StaticTypeCheckingSupport.LongArrayStaticTypesHelper
-
- getAt(T, int) - Method in StaticTypeCheckingSupport.ObjectArrayStaticTypesHelper
-
- getAt(short[], int) - Method in StaticTypeCheckingSupport.ShortArrayStaticTypesHelper
-
- getAt(Stream<T>, groovy.lang.EmptyRange) - Method in StreamGroovyMethods
-
Returns an empty list.
- getAt(java.lang.String, groovy.lang.Range) - Method in StringGroovyMethods
-
Supports the range subscript operator for String.
- getAt(javax.swing.JToolBar, int) - Method in SwingExtensions
-
Support the subscript operator for JToolBar.
- getATN() - Method in AtnManager
-
- getAtnWrapper() - Method in AtnManager
-
- getAttribute(java.lang.Class, java.lang.Object, java.lang.String, boolean, boolean) - Method in ClosureMetaClass
-
- getAttribute(java.lang.Class, java.lang.Object, java.lang.String, boolean) - Method in DelegatingMetaClass
-
Retrieves the value of an attribute (field). This method is to support the Groovy runtime and not for general client API usage.
- Parameters:
sender - The class of the object that requested the attributereceiver - The instancemessageName - The name of the attributeuseSuper - Whether to look-up on the super class or not
- Returns:
- The attribute value
- getAttribute(java.lang.Object, java.lang.String) - Method in InvokerHelper
-
- getAttribute(java.lang.Class, java.lang.Object, java.lang.String, boolean) - Method in MetaClass
-
Retrieves the value of an attribute (field).
- getAttribute(java.lang.Object, java.lang.String) - Method in MetaClassImpl
-
Retrieves the value of an attribute (field).
- getAttribute(java.lang.Object, java.lang.String) - Method in MetaObjectProtocol
-
Retrieves an attribute of an instance of the class returned by the getTheClass() method.
- getAttribute(java.lang.Class, java.lang.Object, java.lang.String, boolean) - Method in OwnedMetaClass
-
- getAttributeDelegates() - Method in FactoryBuilderSupport
-
Returns the active attribute delegates.
- getAttributeInfoFromMap(java.util.Map) - Method in JmxAttributeInfoManager
-
This method builds a single ModelMBeanAttribute info from a given meta data map object.
- getAttributeInfosFromMap(java.util.Map) - Method in JmxAttributeInfoManager
-
Generates a list of ModelMBeanAttributeInfo from a list meta data Maps.
- getAttributeValue(org.w3c.dom.Attr) - Method in DomToGroovy
-
Returns the attribute value used when emitting the Groovy builder call.
- getAutoIndent() - Method in IndentPrinter
-
- getAutoIndentString() - Method in TemplateConfiguration
-
Returns the indentation unit inserted when automatic indentation is enabled.
- getAvailableCharsets() - Method in CharsetToolkit
-
Retrieves all the available Charsets on the platform,
among which the default charset.
- getBaseName(java.nio.file.Path) - Method in NioExtensions
-
Provide the path's name without an extension.
- getBaseName(java.io.File) - Method in ResourceGroovyMethods
-
Provide the file's name without an extension.
- getBaseTemplateClass() - Method in TemplateConfiguration
-
Returns the base class used for generated template scripts.
- getBean() - Method in PropertyBinding
-
Returns the bean that owns the bound property.
- getBeanFactoryName() - Method in ObjectGraphBuilder
-
Returns the current name of the 'bean' node.
- GetBeanMethodMetaProperty(java.lang.String, groovy.lang.MetaMethod) - Constructor in MethodMetaProperty.GetBeanMethodMetaProperty
-
- getBinaryExpressionHelper() - Method in DelegatingController
-
- getBinaryExpressionHelper() - Method in StaticTypesWriterController
-
- getBinaryExpressionHelper() - Method in WriterController
-
Returns the appropriate BinaryExpressionHelper for the current code path.
- getBinding() - Method in Script
-
Returns the binding used to resolve script variables.
- getBitwiseOperationBytecode(int) - Method in BinaryDoubleExpressionHelper
-
- getBitwiseOperationBytecode(int) - Method in BinaryExpressionWriter
-
- getBitwiseOperationBytecode(int) - Method in BinaryFloatExpressionHelper
-
- getBitwiseOperationBytecode(int) - Method in BinaryIntExpressionHelper
-
- getBitwiseOperationBytecode(int) - Method in BinaryLongExpressionHelper
-
- getBitwiseOperationBytecode(int) - Method in BinaryObjectExpressionHelper
-
- getBody() - Method in GPathResult
-
Creates a Closure representing the body of this GPathResult.
- getBooleanAnnotationParameter(org.codehaus.groovy.ast.AnnotationNode, java.lang.String, boolean) - Method in AbstractInterruptibleASTTransformation
-
- getBooleanExpression() - Method in AssertStatement
-
Returns the boolean condition to be asserted.
- getBooleanExpression() - Method in DoWhileStatement
-
- getBooleanExpression(List<BooleanExpression>) - Method in ExpressionUtils
-
Collapses the supplied boolean expressions into a single expression combined with logical AND.
- getBooleanExpression() - Method in IfStatement
-
Returns the
BooleanExpression that is evaluated to determine which code path to execute.
- getBooleanExpression() - Method in TernaryExpression
-
- getBooleanExpression() - Method in WhileStatement
-
- getBooleanExpressionsFromAssertionStatements(org.codehaus.groovy.ast.stmt.BlockStatement) - Method in ExpressionUtils
-
- getBooleanSafe(java.lang.String) - Method in SystemUtil
-
Retrieves a Boolean System property, or returns false if:
- the property isn't found
- the property name is null or empty
- getBoundList() - Method in JListSelectedElementBinding
-
Returns the list currently bound to this synthetic selection binding.
- getBreakLabel() - Method in CompileStack
-
- getBridgeMethodTarget(java.lang.reflect.Method) - Method in Traits
-
Reflection API to find the method corresponding to the default implementation of a trait, given a bridge method.
- getBuffer() - Method in GroovyEngine
-
Returns the current executable buffer reconstructed from the recorded snippets.
- getBufferedSize() - Method in AsyncChannel
-
Returns the number of values currently buffered.
- getBufferedSize() - Method in DefaultAsyncChannel
-
- getBugText() - Method in GroovyBugError
-
Returns the bug text to describe this error
- getBuilder() - Method in StringBuilderWriter
-
Gets the underlying builder.
- getBundle(java.util.ResourceBundle, java.lang.String, java.util.Locale) - Method in DefaultGroovyStaticMethods
-
Works exactly like ResourceBundle.getBundle(String, Locale).
- getBytecode(java.lang.String) - Method in GeneratedBytecodeAwareGroovyClassLoader
-
Returns the captured bytecode for the named class.
- getBytecodeInstruction() - Method in BytecodeSequence
-
Returns the singular BytecodeInstruction.
- getBytecodeParameterTypes() - Method in NewMetaMethod
-
- getBytecodePostprocessor() - Method in CompilerConfiguration
-
- getBytecodeVersion() - Method in CompilerConfiguration
-
Returns the targeted bytecode (aka Java class file) version number.
- getBytecodeVersion() - Method in DelegatingController
-
- getBytecodeVersion() - Method in WriterController
-
Returns the bytecode version (target JVM version) for classes being compiled.
- getBytes() - Method in GroovyClass
-
- getBytes(java.lang.String) - Method in GString
-
Returns the rendered string as a byte array using the supplied charset.
- getBytes(java.nio.charset.Charset) - Method in GStringImpl
-
- getBytes(java.io.InputStream) - Method in IOGroovyMethods
-
Read the content of this InputStream and return it as a byte[].
- getBytes(java.nio.file.Path) - Method in NioExtensions
-
Read the content of the Path and returns it as a byte[].
- getBytes(java.net.URL, Map<String,?>) - Method in ResourceGroovyMethods
-
Read the content of this URL and returns it as a byte[].
- getBytesAsync(java.nio.file.Path) - Method in NioExtensions
-
Asynchronously read the content of the Path and return it as a byte array.
- getCachedClass() - Method in CachedClass
-
Returns this cached class (for compatibility).
- getCachedClass() - Method in CachedConstructor
-
Returns the cached class that declares this constructor.
- getCachedClass() - Method in ClassInfo
-
Returns the cached class representation for this class.
- getCachedClass(java.lang.Class) - Method in ReflectionCache
-
Retrieves the CachedClass for the given Java class.
- getCachedConstrcutor() - Method in MetaClassImpl.MetaConstructor
-
Returns the cached constructor wrapped by this meta constructor.
- getCachedConstructor() - Method in CachedConstructor
-
Returns the underlying Java constructor object, making it accessible if necessary.
- getCachedField() - Method in CachedField
-
Returns the underlying Java Field object, making it accessible if necessary.
- getCachedMethod() - Method in CachedMethod
-
Returns the underlying Java method, making it accessible if necessary.
- getCachedMethod() - Method in ReflectionMetaMethod
-
- getCachedSuperClass() - Method in CachedClass
-
Returns the cached superclass of this class, if any.
- getCachedSuperClass() - Method in ObjectCachedClass
-
Returns
null since
Object has no superclass in the type hierarchy.
- getCall() - Method in MacroContext
-
- Returns:
- original method call expression
- getCallingClass(int, Collection<String>) - Method in ReflectionUtils
-
Gets the called that is matchLevel stack frames before the call,
ignoring MOP frames and desired exclude packages.
- getCalls() - Method in BenchmarkInterceptor
-
Returns the raw data associated with the current benchmark run.
- getCallSiteLoader() - Method in CachedClass
-
Returns the class loader used for generating call site classes for this cached class.
- getCallSiteName() - Method in IndyInterface.CallType
-
Returns the name of the call site type
- getCallSites() - Method in CallSiteWriter
-
- getCallSites() - Method in InterfaceHelperClassNode
-
- getCallSiteWriter() - Method in DelegatingController
-
- getCallSiteWriter() - Method in StaticTypesWriterController
-
- getCallSiteWriter() - Method in WriterController
-
Returns the CallSiteWriter responsible for generating dynamic call site
infrastructure.
- getCallSiteWriterFor(org.codehaus.groovy.ast.expr.Expression) - Method in DelegatingController
-
- getCallSiteWriterFor(org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypesWriterController
-
- getCallSiteWriterFor(org.codehaus.groovy.ast.expr.Expression) - Method in WriterController
-
Returns the CallSiteWriter for a specific expression.
- getCapacity() - Method in AsyncChannel
-
Returns this channel's buffer capacity.
- getCapacity() - Method in DefaultAsyncChannel
-
- getCaseStatement(int) - Method in SwitchStatement
-
Returns the case statement at the given index.
- getCaseStatements() - Method in SwitchStatement
-
Returns the list of case statements in this switch.
- getCatchStatement(int) - Method in TryCatchStatement
-
- getCatchStatements() - Method in TryCatchStatement
-
- getCategoryMethods(java.lang.String) - Method in GroovyCategorySupport
-
This method is used to pull all the new methods out of the local thread context with a particular name.
- getCategoryMethods(java.lang.String) - Method in GroovyCategorySupport.ThreadCategoryInfo
-
- getCategoryName(org.codehaus.groovy.ast.ClassNode, java.lang.String) - Method in LogASTTransformation.LoggingStrategy
-
- getCategoryNameUsage(java.lang.String) - Method in GroovyCategorySupport
-
- getCause() - Method in ConfigurationException
-
Returns the causing exception, if available.
- getCause() - Method in ExceptionMessage
-
Returns the underlying Exception.
- getCause() - Method in Exceptions.JsonInternalException
-
Returns the wrapped cause.
- getCause() - Method in GroovyBugError
-
- getCause() - Method in MissingMethodExecutionFailed
-
- getCause() - Method in SyntaxErrorMessage
-
Returns the underlying SyntaxException.
- getCellEditorValue() - Method in ButtonOrTextEditor
-
Returns the current editor component.
- getCellEditorValue() - Method in ClosureCellEditor
-
Returns the value supplied by the configured editor value closure.
- getCellpadding() - Method in TableLayout
-
Returns the padding applied around each cell.
- getChangeType() - Method in ObservableList.ElementEvent
-
Returns the specialized event type.
- getChangeType() - Method in ObservableMap.PropertyEvent
-
Returns the specialized event type.
- getChangeType() - Method in ObservableSet.ElementEvent
-
Returns the specialized event type.
- getChannelNames() - Method in GroovyLexer
-
- getCharContent(boolean) - Method in MemJavaFileObject
-
- getCharContent(boolean) - Method in RawJavaFileObject
-
- getCharFromSizeOneString(java.lang.Object) - Method in DefaultTypeTransformation
-
- getChars(int, int, char[], int) - Method in GStringImpl
-
- getChars(java.lang.CharSequence) - Method in StringGroovyMethods
-
Converts the given CharSequence into an array of characters.
- getCharset() - Method in CharsetToolkit
-
Returns the detected charset, computing it on first access.
- getCharset() - Method in SerializeOptions
-
The character encoding as a
Charset.
- getChildBuilder() - Method in FactoryBuilderSupport
-
Returns the builder currently used for child node creation.
- getChildCount() - Method in AsyncScope
-
Returns the number of tracked child tasks (including completed ones
that have not yet been pruned).
- getChildCount() - Method in DefaultAsyncScope
-
- getChildPropertySetter() - Method in ObjectGraphBuilder
-
Returns the current ChildPropertySetter.
- getChildren() - Method in ClassTree.Node
-
Children in insertion order; callers typically sort before rendering.
- getChildren() - Method in ClosureRenderer
-
Returns the renderer children exposed to the update closure.
- getClass(java.lang.String) - Method in CompileUnit
-
Looks up a class by its fully qualified name, checking both compiled classes and classes pending compilation.
- getClassAnnotationParameter(org.codehaus.groovy.ast.AnnotationNode, java.lang.String, org.codehaus.groovy.ast.ClassNode) - Method in AbstractInterruptibleASTTransformation
-
- getClassCacheEntry(java.lang.String) - Method in GroovyClassLoader
-
gets a class from the class cache.
- getClassDoc() - Method in ClassTree.Node
-
Returns the class doc for this node, or null if this is an external (non-link) node.
- getClassDocsFromSingleSource(java.lang.String, java.lang.String, java.lang.String) - Method in GroovyDocParser
-
Parses one source unit and returns the classes discovered in it.
- Parameters:
packagePath - the package path associated with the sourcefile - the source file namesrc - the source text to parse
- Returns:
- a map of discovered class names to class documentation objects
- getClassDocsFromSingleSource(java.lang.String, java.lang.String, java.lang.String) - Method in GroovyDocParserI
-
Parses one source unit and returns the classes discovered in it.
- getClasses() - Method in CompilationUnit
-
Get the GroovyClasses generated by compile().
- getClasses() - Method in CompileUnit
-
Returns all classes from all modules in this compilation unit.
- getClasses() - Method in ModuleNode
-
Returns the module's class definitions.
- getClassesForPackage(java.lang.String) - Method in JrtJavaBasePackages
-
Resolves classes and nested packages from the java.base module for the supplied package pattern.
- getClassesForPackage(java.lang.String) - Method in PackageHelper
-
Attempts to list all the classes in the specified package as determined
by the context class loader
- getClassesToCompile() - Method in CompileUnit
-
Returns the map of classes pending compilation.
- getClassgenCallback() - Method in CompilationUnit
-
- getClassifierExpr() - Method in GroupExpression
-
Returns the grouping classifier.
- getClassInfo(java.lang.Class) - Method in ClassInfo
-
Retrieves the ClassInfo for the given class.
- getClassInfo() - Method in MetaClassImpl
-
Returns the ClassInfo for the contained Class
- getClassInternalName(java.lang.String) - Method in BytecodeHelper
-
- Returns:
- the ASM internal name of the type
- getClassInternalNames(org.codehaus.groovy.ast.ClassNode) - Method in BytecodeHelper
-
- Returns:
- an array of ASM internal names of the type
- getClassLoader() - Method in ASTHelper
-
Returns the class loader used for resolving external types.
- getClassLoader() - Method in CompileUnit
-
Returns the Groovy classloader used for loading classes during compilation.
- getClassLoader() - Method in GroovyScriptEngineImpl
-
Returns the class loader currently used for script compilation.
- getClassLoader() - Method in GroovyShell
-
Returns the class loader used to parse and load scripts.
- getClassLoader() - Method in JavaShell
-
- getClassLoader() - Method in ObjectGraphBuilder
-
Returns the classLoader used to load a node's class.
- getClassLoader() - Method in ProcessingUnit
-
Returns the class loader in use by this ProcessingUnit.
- getClassLoadingTypeDescription(org.codehaus.groovy.ast.ClassNode) - Method in BytecodeHelper
-
array types are special:
eg.: String[]: classname: [Ljava.lang.String;
Object: classname: java.lang.Object
int[] : classname: [I
unlike getTypeDescription '.' is not replaced by '/'.
- getClassName() - Method in DelegatingController
-
- getClassName() - Method in ImportNode
-
Returns the fully qualified class name of the imported type.
- getClassName(java.lang.Object) - Method in MetaClassHelper
-
- getClassName() - Method in WriterController
-
Returns the internal (JVM) name of the class being compiled.
- getClassNameResolver() - Method in ObjectGraphBuilder
-
Returns the current ClassNameResolver.
- getClassNamesForPackage(java.lang.String, java.lang.ClassLoader) - Method in PackageHelper
-
Attempts to list all the class names in the specified package as determined
by the Groovy class loader classpath
- getClassNode() - Method in AnnotationNode
-
- getClassNode() - Method in ClassCompletionVerifier
-
- getClassNode() - Method in ClassNodeResolver.LookupResult
-
returns the ClassNode
- getClassNode(java.lang.String) - Method in CompilationUnit
-
Convenience routine to get the named ClassNode.
- getClassNode() - Method in DelegatingController
-
- getClassNode() - Method in DelegatingMetaClass
-
Obtains a reference to the original AST for the MetaClass if it is available at runtime
- Returns:
- The original AST or null if it cannot be returned
- getClassNode(org.codehaus.groovy.ast.ClassNode, boolean) - Method in InnerClassVisitorHelper
-
- getClassNode() - Method in MetaClass
-
Obtains a reference to the original AST for the MetaClass if it is available at runtime
- getClassNode() - Method in MetaClassImpl
-
Obtains a reference to the original AST for the MetaClass if it is available at runtime
- getClassNode() - Method in OwnedMetaClass
-
- getClassNode() - Method in StaticCompilationTransformer
-
- getClassNode() - Method in Verifier
-
- getClassNode() - Method in WriterController
-
Returns the ClassNode representing the class currently being compiled.
- getClassNodeResolver() - Method in CompilationUnit
-
- getClasspath() - Method in CompilerConfiguration
-
- getClasspath() - Method in CompileTaskSupport
-
Returns the configured compilation classpath.
- getClasspath() - Method in Groovy
-
Gets the classpath.
- getClasspath() - Method in Groovyc
-
Gets the classpath to be used for this compilation.
- getClassPath() - Method in GroovyClassLoader
-
gets the currently used classpath.
- getClasspath() - Method in UberCompileTask
-
Returns the configured shared compilation classpath.
- getClassPathUrls() - Method in LoaderConfiguration
-
The classpath as URL[] from this configuration.
- getClassProps() - Method in Inspector
-
Get the Class Properties of the object under inspection.
- getClassScope() - Method in VariableScope
-
Returns the
ClassNode if this scope corresponds to a class body, or null
for method bodies, block statements, or other non-class scopes.
- getClassTemplates() - Method in Groovydoc
-
Creates and returns an array of class template classpath entries.
- getClassText(org.codehaus.groovy.ast.ClassNode) - Method in AstToTextHelper
-
- getClassToUpdate() - Method in MetaClassRegistryChangeEvent
-
Get the class that is updated.
- getClassUnderInspection() - Method in Inspector
-
Gets the class of the inspected object.
- getClassVisitor() - Method in DelegatingController
-
- getClassVisitor() - Method in WriterController
-
Returns the ASM ClassVisitor for emitting class-level bytecode directives.
- getClosure() - Method in ClosureException
-
Returns the closure that threw the exception.
- getClosure() - Method in ClosureInvokingMethod
-
Returns the original closure that this method invokes
- getClosure() - Method in ClosureMetaMethod
-
Retrieves the closure that is invoked by this MetaMethod
- getClosure() - Method in ClosureSourceBinding
-
Returns the closure used to compute source values.
- getClosure() - Method in ClosureStaticMetaMethod
-
Retrieves the closure that is invoked by this MetaMethod
- getClosure() - Method in ClosureTriggerBinding
-
Returns the closure evaluated by this trigger binding.
- getClosure() - Method in DefaultAction
-
Returns the closure invoked when the action fires.
- getClosure() - Method in IncorrectClosureArgumentsException
-
Returns the target closure.
- getClosureArgument(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.expr.MethodCallExpression) - Method in MacroGroovyMethods
-
Returns the closure argument from a macro-style method call.
- getClosureExpression() - Method in TypeCheckingContext.EnclosingClosure
-
- getClosureLevel() - Method in StatementReplacer
-
- getClosureSharedExpressions() - Method in SharedVariableCollector
-
- getClosureSharedVariables(org.codehaus.groovy.ast.expr.ClosureExpression) - Method in ClosureWriter
-
- getClosureSignatures(org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.CompilationUnit, java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in ClosureSignatureHint
-
- getClosureSignatures(org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.CompilationUnit, java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in FromAbstractTypeMethods
-
Subclasses should implement this method, which returns the list of accepted closure signatures.
The compiler will call this method each time, in a source file, a method call using a closure
literal is encountered and that the target method has the corresponding Closure parameter
annotated with ClosureParams. So imagine the following code needs to be compiled:
@groovy.transform.TypeChecked
void doSomething() {
println ['a','b'].collect { it.toUpperCase() }
}
The collect method accepts a closure, but normally, the type checker doesn't have enough type information
in the sole DefaultGroovyMethods.collect method
signature to infer the type of it. With the annotation, it will now try to find an annotation on the closure parameter.
If it finds it, then an instance of the hint class is created and the type checker calls it with the following arguments:
- the method node corresponding to the target method (here, the DefaultGroovyMethods.collect method
- the (optional) list of options found in the annotation
Now, the hint instance can return the list of expected parameters. Here, it would have to say that the collect method accepts
a closure for which the only argument is of the type of the first generic type of the first argument.
With that type information, the type checker can now infer that the type of it is String, because the first argument (here the receiver of the collect method)
is a List<String>
Subclasses are therefore expected to return the signatures according to the available context, which is only the target method and the potential options.
- Parameters:
node - the method node for which a Closure parameter was annotated with
ClosureParamssourceUnit - the source unit of the file being compiledcompilationUnit - the compilation unit of the file being compiledoptions - the options, corresponding to the ClosureParams.options found on the annotationusage - the AST node, in the compiled file, which triggered a call to this method. Normally only used for logging/error handling
- Returns:
- a non-null list of signature, where a signature corresponds to an array of class nodes, each of them matching a parameter.
- getClosureSignatures(org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.CompilationUnit, java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in FromString
-
Subclasses should implement this method, which returns the list of accepted closure signatures.
The compiler will call this method each time, in a source file, a method call using a closure
literal is encountered and that the target method has the corresponding Closure parameter
annotated with ClosureParams. So imagine the following code needs to be compiled:
@groovy.transform.TypeChecked
void doSomething() {
println ['a','b'].collect { it.toUpperCase() }
}
The collect method accepts a closure, but normally, the type checker doesn't have enough type information
in the sole DefaultGroovyMethods.collect method
signature to infer the type of it. With the annotation, it will now try to find an annotation on the closure parameter.
If it finds it, then an instance of the hint class is created and the type checker calls it with the following arguments:
- the method node corresponding to the target method (here, the DefaultGroovyMethods.collect method
- the (optional) list of options found in the annotation
Now, the hint instance can return the list of expected parameters. Here, it would have to say that the collect method accepts
a closure for which the only argument is of the type of the first generic type of the first argument.
With that type information, the type checker can now infer that the type of it is String, because the first argument (here the receiver of the collect method)
is a List<String>
Subclasses are therefore expected to return the signatures according to the available context, which is only the target method and the potential options.
- Parameters:
node - the method node for which a Closure parameter was annotated with
ClosureParamssourceUnit - the source unit of the file being compiledcompilationUnit - the compilation unit of the file being compiledoptions - the options, corresponding to the ClosureParams.options found on the annotationusage - the AST node, in the compiled file, which triggered a call to this method. Normally only used for logging/error handling
- Returns:
- a non-null list of signature, where a signature corresponds to an array of class nodes, each of them matching a parameter.
- getClosureSignatures(org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.CompilationUnit, java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in MapEntryOrKeyValue
-
Subclasses should implement this method, which returns the list of accepted closure signatures.
The compiler will call this method each time, in a source file, a method call using a closure
literal is encountered and that the target method has the corresponding Closure parameter
annotated with ClosureParams. So imagine the following code needs to be compiled:
@groovy.transform.TypeChecked
void doSomething() {
println ['a','b'].collect { it.toUpperCase() }
}
The collect method accepts a closure, but normally, the type checker doesn't have enough type information
in the sole DefaultGroovyMethods.collect method
signature to infer the type of it. With the annotation, it will now try to find an annotation on the closure parameter.
If it finds it, then an instance of the hint class is created and the type checker calls it with the following arguments:
- the method node corresponding to the target method (here, the DefaultGroovyMethods.collect method
- the (optional) list of options found in the annotation
Now, the hint instance can return the list of expected parameters. Here, it would have to say that the collect method accepts
a closure for which the only argument is of the type of the first generic type of the first argument.
With that type information, the type checker can now infer that the type of it is String, because the first argument (here the receiver of the collect method)
is a List<String>
Subclasses are therefore expected to return the signatures according to the available context, which is only the target method and the potential options.
- Parameters:
node - the method node for which a Closure parameter was annotated with
ClosureParamssourceUnit - the source unit of the file being compiledcompilationUnit - the compilation unit of the file being compiledoptions - the options, corresponding to the ClosureParams.options found on the annotationusage - the AST node, in the compiled file, which triggered a call to this method. Normally only used for logging/error handling
- Returns:
- a non-null list of signature, where a signature corresponds to an array of class nodes, each of them matching a parameter.
- getClosureSignatures(org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.CompilationUnit, java.lang.String, org.codehaus.groovy.ast.ASTNode) - Method in SingleSignatureClosureHint
-
Subclasses should implement this method, which returns the list of accepted closure signatures.
The compiler will call this method each time, in a source file, a method call using a closure
literal is encountered and that the target method has the corresponding Closure parameter
annotated with ClosureParams. So imagine the following code needs to be compiled:
@groovy.transform.TypeChecked
void doSomething() {
println ['a','b'].collect { it.toUpperCase() }
}
The collect method accepts a closure, but normally, the type checker doesn't have enough type information
in the sole DefaultGroovyMethods.collect method
signature to infer the type of it. With the annotation, it will now try to find an annotation on the closure parameter.
If it finds it, then an instance of the hint class is created and the type checker calls it with the following arguments:
- the method node corresponding to the target method (here, the DefaultGroovyMethods.collect method
- the (optional) list of options found in the annotation
Now, the hint instance can return the list of expected parameters. Here, it would have to say that the collect method accepts
a closure for which the only argument is of the type of the first generic type of the first argument.
With that type information, the type checker can now infer that the type of it is String, because the first argument (here the receiver of the collect method)
is a List<String>
Subclasses are therefore expected to return the signatures according to the available context, which is only the target method and the potential options.
- Parameters:
node - the method node for which a Closure parameter was annotated with
ClosureParamssourceUnit - the source unit of the file being compiledcompilationUnit - the compilation unit of the file being compiledoptions - the options, corresponding to the ClosureParams.options found on the annotationusage - the AST node, in the compiled file, which triggered a call to this method. Normally only used for logging/error handling
- Returns:
- a non-null list of signature, where a signature corresponds to an array of class nodes, each of them matching a parameter.
- getClosureWriter() - Method in DelegatingController
-
- getClosureWriter() - Method in StaticTypesWriterController
-
- getClosureWriter() - Method in WriterController
-
Returns the ClosureWriter for compiling Groovy closure literals into
inner classes implementing GroovyObject and supporting variable capture.
- getCode() - Method in CaseStatement
-
Returns the statement executed if this case pattern matches.
- getCode() - Method in CatchStatement
-
Returns the statement executed when the exception is caught.
- getCode() - Method in ClosureExpression
-
Returns the code statement that represents the body of this closure.
- getCode() - Method in MethodNode
-
Returns the method body as a Statement.
- getCode() - Method in SynchronizedStatement
-
Returns the statement executed within the synchronized block.
- getCodeAsBlock(org.codehaus.groovy.ast.MethodNode) - Method in MethodNodeUtils
-
Gets the code for a method (or constructor) as a block.
- getCodeBlocks() - Method in MarkdownDocument
-
All fenced and indented code blocks anywhere in the document.
- getCodec(int, java.lang.ClassLoader) - Method in StaticTypeCheckingVisitor.SignatureCodecFactory
-
- getCodePoints(java.lang.CharSequence) - Method in StringGroovyMethods
-
Converts the given CharSequence into an array of code point values including any surrogate pairs
as per
String.codePoints.
- getCodeSource() - Method in CompileUnit
-
Returns the code source used for Java security permissions.
- getCodeSource() - Method in GroovyCodeSource
-
Returns the
CodeSource associated with compiled script classes.
- getCollectionExpression() - Method in ForStatement
-
Returns the
Expression that produces the iterable to loop over.
- getColspan() - Method in TableLayoutCell
-
Returns the number of columns spanned by this cell.
- getColumn() - Method in ClosureRenderer
-
Returns the current column index.
- getColumn() - Method in GinqSyntaxError
-
Returns the source column of the error.
- getColumn() - Method in GroovySyntaxError
-
- getColumn() - Method in LineColumnReader
-
Returns the current column number.
- getColumn() - Method in PositionInfo
-
- getColumn() - Method in TemplateParseException
-
Returns the column where parsing failed.
- getColumn() - Method in Value
-
- getColumnClass(int) - Method in DefaultTableModel
-
Returns the declared value type for the supplied column.
- getColumnClass(int) - Method in TableMap
-
Returns the delegate column class for the supplied index.
- getColumnCount() - Method in DefaultTableModel
-
Returns the number of configured columns.
- getColumnCount() - Method in TableMap
-
Returns the current column count from the wrapped model.
- getColumnList() - Method in DefaultTableModel
-
- Returns:
- the column definitions.
- getColumnList() - Method in DefaultTableModel.MyTableColumnModel
-
Returns the live list of table columns.
- getColumnMark() - Method in LineColumnReader
-
Returns the marked column number.
- getColumnModel(int) - Method in DefaultTableModel
-
Returns the value model used by the supplied column.
- getColumnName(int) - Method in DefaultTableModel
-
Returns the header text for the supplied column.
- getColumnName(int) - Method in TableMap
-
Returns the delegate column name for the supplied index.
- getColumnNumber() - Method in ASTNode
-
Returns the column number where this AST node begins in the source file.
- getCommandStyle() - Method in ConsoleSupport
-
Returns the style used for entered commands.
- getCompareCode() - Method in BinaryDoubleExpressionHelper
-
- getCompareCode() - Method in BinaryExpressionWriter
-
- getCompareCode() - Method in BinaryFloatExpressionHelper
-
- getCompareCode() - Method in BinaryIntExpressionHelper
-
- getCompareCode() - Method in BinaryLongExpressionHelper
-
- getCompareCode() - Method in BinaryObjectExpressionHelper
-
- getCompilationCustomizers() - Method in CompilerConfiguration
-
Returns the list of compilation customizers.
- getCompilationTimeStamp() - Method in DecompiledClassNode
-
Extracts the compilation timestamp from static field metadata if present.
- getCompilationUnit() - Method in ASTTransformationsContext
-
- getCompilationUnit() - Method in MacroContext
-
- Returns:
- current compilation unit
- getCompilationUnit() - Method in TypeCheckingContext
-
- getCompilerConfiguration() - Method in MarkupTemplateEngine
-
Returns the Groovy compiler configuration used for generated template classes.
- getCompilerFactory() - Method in JavaAwareCompilationUnit
-
- getCompileStack() - Method in DelegatingController
-
- getCompileStack() - Method in WriterController
-
Returns the CompileStack managing local variable slots, scope boundaries,
and control flow labels during method compilation.
- getCompileUnit() - Method in ClassNode
-
- getCompileUnit() - Method in DummyClassGenerator
-
- getCompileUnit() - Method in GeneratorContext
-
- getComponent() - Method in TableLayoutCell
-
Returns the component currently rendered by this cell.
- getComponentType() - Method in ClassNode
-
Returns the component type of this array ClassNode.
- getConditionalBlockValues() - Method in ConfigSlurper
-
Returns the currently registered conditional block values.
- getConfig() - Method in CompileUnit
-
Returns the compiler configuration for this compilation.
- getConfig() - Method in GroovyScriptEngine
-
- Returns:
- a non null compiler configuration
- getConfigFile() - Method in ConfigObject
-
Returns the config resource that produced this object.
- getConfigscript() - Method in Groovyc
-
Get the configuration file used to customize the compilation configuration.
- getConfiguration() - Method in ErrorCollector
-
- Returns:
- the compiler configuration used to create this error collector
- getConfiguration() - Method in GinqAstVisitor
-
Returns the visitor configuration.
- getConfiguration() - Method in GinqAstWalker
-
- getConfiguration() - Method in ProcessingUnit
-
Gets the CompilerConfiguration for this ProcessingUnit.
- getConnection() - Method in Sql
-
If this instance was created with a single Connection then the connection
is returned.
- getConsoleId() - Method in Console
-
Returns the identifier used by output interceptors for this console.
- getConstantAnnotationParameter(org.codehaus.groovy.ast.AnnotationNode, java.lang.String, java.lang.Class, java.lang.Object) - Method in TimedInterruptibleASTTransformation
-
Resolves a constant annotation member, coercing it to the requested type when possible.
- getConstantName() - Method in ConstantExpression
-
Returns the constant name associated with this expression.
- getConstantTypesBlackList() - Method in SecureASTCustomizer
-
- getConstantTypesWhiteList() - Method in SecureASTCustomizer
-
- getConstraints() - Method in TableLayoutCell
-
- Returns:
- the constraints of this cell
- getConstructorInfoFromMap(java.util.Map) - Method in JmxOperationInfoManager
-
This method extracts ModelMBeanConstructorInfo from provided meta map.
- getConstructorInfosFromMap(java.util.Map) - Method in JmxOperationInfoManager
-
This method extracts an array of MBeanConstructorInfo from a list of meta maps.
- getConstructorNode() - Method in DelegatingController
-
- getConstructorNode() - Method in WriterController
-
Returns the ConstructorNode for the constructor currently being compiled, or null
if no constructor is active or a method is being compiled instead.
- getConstructors() - Method in CachedClass
-
Returns all public and protected constructors declared in this class.
- getConstructorSuggestionString(java.lang.Class, java.lang.Object) - Method in MethodRankHelper
-
Returns a string detailing possible solutions to a missing constructor
if no good solutions can be found an empty string is returned.
- getContent() - Method in Groovydoc
-
Get the content of groovydoc
- getContent() - Method in GroovydocTag
-
Returns the tag content.
- getContent() - Method in JsonBuilder
-
Returns the current root JSON structure managed by this builder.
- getContent() - Method in JsonDelegate
-
Returns the JSON object content accumulated by this delegate.
- getContent() - Method in ObservableList
-
Returns an unmodifiable snapshot view of the backing list.
- getContent() - Method in ObservableMap
-
Returns an unmodifiable snapshot view of the backing map.
- getContent() - Method in ObservableSet
-
Returns an unmodifiable snapshot view of the backing set.
- getContent() - Method in TomlBuilder
-
Returns the current root structure managed by this builder.
- getContent() - Method in YamlBuilder
-
Returns the current root structure managed by this builder.
- getContext() - Method in DelegatingController
-
- getContext() - Method in FactoryBuilderSupport
-
- Returns:
- the context of the current node.
- getContext() - Method in GroovyShell
-
Returns the binding used as this shell's execution context.
- getContext() - Method in LocatedMessage
-
- getContext() - Method in ModuleNode
-
Returns the source unit for this module (single-file compilation context).
- getContext() - Method in WriterController
-
Returns the GeneratorContext tracking compilation state across
the entire compilation unit, including helper classes and shared resources.
- getContextAttribute(java.lang.String) - Method in FactoryBuilderSupport
-
Looks up a value from the current builder context.
- getContexts() - Method in FactoryBuilderSupport
-
- Returns:
- the stack of available contexts.
- getContinuationData() - Method in FactoryBuilderSupport
-
Stores the thread local states in a Map that can be passed across threads
- getContinueLabel() - Method in CompileStack
-
- getController() - Method in AsmClassGenerator
-
- getController() - Method in ASTHelper
-
Returns the source unit controlling this helper.
- getController() - Method in BinaryExpressionHelper
-
- getController() - Method in BinaryExpressionWriter
-
return writer controller
- getConverter() - Method in AbstractFullBinding
-
Returns the forward converter.
- getConverter() - Method in FullBinding
-
Returns the forward converter used before writing to the target.
- getConverter() - Method in MutualPropertyBinding
-
Returns the converter applied from source to target.
- getCorrectedClassNode(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode, boolean) - Method in StaticTypeCheckingSupport
-
- getCorrectedReceiver() - Method in Selector
-
- getCount(java.util.regex.Matcher) - Method in StringGroovyMethods
-
Finds the number of Strings matched to the given Matcher.
- getCST() - Method in SourceUnit
-
Returns the Concrete Syntax Tree produced during parse()ing.
- getCurrent() - Method in BuilderSupport
-
Returns the current node on the builder stack.
- getCurrent() - Method in FactoryBuilderSupport
-
- Returns:
- the current node being built.
- getCurrent() - Method in NamespaceBuilderSupport
-
Builder lifecycle callback that exposes the wrapped builder's current node.
- getCurrentBuilder() - Method in FactoryBuilderSupport
-
- Returns:
- the builder that built the current node.
- getCurrentConstantMetaClassVersioning() - Method in DefaultMetaClassInfo
-
- getCurrentFactory() - Method in FactoryBuilderSupport
-
- Returns:
- the factory that built the current node.
- getCurrentIconSize() - Method in Console
-
Returns the current toolbar icon size.
- getCurrentMode() - Method in ThemeManager
-
Returns the configured theme mode, defaulting to ThemeMode#SYSTEM#SYSTEM.
- getCurrentName() - Method in FactoryBuilderSupport
-
- Returns:
- the factory of the parent of the current node.
- getCurrentNode() - Method in NodeBuilder
-
Returns the current node being built.
- getCurrentScope() - Method in AbstractTypeCheckingExtension
-
- getCurrentSize() - Method in Icons
-
Returns the current toolbar icon size in pixels.
- getCurrentTime() - Method in GroovyScriptEngine
-
Returns the current time used for recompilation checks.
- getCustomDarkPath() - Method in ThemeManager
-
Returns the configured custom dark-theme file path, if any.
- getCustomLightPath() - Method in ThemeManager
-
Returns the configured custom light-theme file path, if any.
- getCv() - Method in DelegatingController
-
- getCv() - Method in WriterController
-
Returns the ASM ClassVisitor for emitting class-level bytecode directives.
- getData() - Method in Receiver
-
- getDataSource() - Method in Sql
-
- getDataSourceExpr() - Method in DataSourceExpression
-
Returns the data-source expression.
- getDataSourceExpression() - Method in DataSourceHolder
-
Returns the current data-source expression.
- getDataSourceExpression() - Method in FromExpression
-
Returns this clause as its own data-source expression.
- getDataSourceExpression() - Method in JoinExpression
-
Returns the preceding data-source expression.
- getDataSourceExpression() - Method in ProcessExpression
-
Returns the data source feeding this clause.
- getDateString(java.time.ZonedDateTime) - Method in DateTimeExtensions
-
- getDateString(java.util.Date) - Method in DateUtilExtensions
-
- getDateTimeString(java.time.ZonedDateTime) - Method in DateTimeExtensions
-
- getDateTimeString(java.util.Date) - Method in DateUtilExtensions
-
- getDay(java.lang.Integer) - Method in TimeCategory
-
- getDaylightSavingsOffset(groovy.time.BaseDuration) - Method in TimeCategory
-
Gets the daylight savings offset for the supplied duration interpreted as a date.
- getDays() - Method in BaseDuration
-
Returns the day component.
- getDays(java.lang.Integer) - Method in TimeCategory
-
Returns a day-based duration for the supplied number of days.
- getDebug() - Method in CompilerConfiguration
-
Returns true if debugging operation has been requested.
- getDebug() - Method in ProxyGenerator
-
Reports whether generated source is echoed for debugging.
- getDeclarationEncoding() - Method in TemplateConfiguration
-
- Returns:
- the encoding used in the declaration header
- getDeclaredConstructor(org.codehaus.groovy.ast.Parameter) - Method in ClassNode
-
- Returns:
- the constructor matching the given parameters or
null
- getDeclaredConstructors() - Method in ClassNode
-
- getDeclaredConstructors() - Method in DecompiledClassNode
-
Returns all constructors declared by this class.
- getDeclaredField(java.lang.String) - Method in ClassNode
-
Finds a
FieldNode matching the given name declared directly in this class.
- getDeclaredField(java.lang.String) - Method in DecompiledClassNode
-
Returns a field declared by this class with the given name.
- getDeclaredFieldOfCurrentClassOrAccessibleFieldOfSuper(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode, java.lang.String, boolean) - Method in AsmClassGenerator
-
- getDeclaredInterfaces() - Method in CachedClass
-
Returns a set of interfaces directly declared by this class (not including inherited ones).
- getDeclaredMethod(java.lang.String, org.codehaus.groovy.ast.Parameter) - Method in ClassNode
-
Finds a
MethodNode matching the given name and parameter signature declared directly
in this class.
- getDeclaredMethods(java.lang.String) - Method in ClassNode
-
Returns a list of all
MethodNodes with the given name declared directly in this class.
- getDeclaredMethods(java.lang.String) - Method in DecompiledClassNode
-
Returns all methods declared by this class with the given name.
- getDeclaredMethods(Class<?>, java.lang.String, Class<?>) - Method in ReflectionUtils
-
- getDeclaredMethodsFromInterfaces(org.codehaus.groovy.ast.ClassNode) - Method in ClassNodeUtils
-
Gets methods from all interfaces.
- getDeclaredMethodsFromSuper(org.codehaus.groovy.ast.ClassNode) - Method in ClassNodeUtils
-
Gets methods from the super class.
- getDeclaredMethodsMap() - Method in ClassNode
-
Returns all declared
MethodNodes from this ClassNode and its superclasses and interfaces.
- getDeclaredVariable(java.lang.String) - Method in VariableScope
-
Returns a variable declared in this scope by name, or null if not found.
- getDeclaredVariables() - Method in VariableScope
-
Returns an unmodifiable map of variables declared in this scope.
- getDeclaredVariablesIterator() - Method in VariableScope
-
Returns an unmodifiable iterator over declared variables in this scope.
- getDeclaringClass() - Method in AnnotatedNode
-
Returns the class that declares this annotated node.
- getDeclaringClass() - Method in BooleanArrayGetAtMetaMethod
-
- getDeclaringClass() - Method in BooleanArrayPutAtMetaMethod
-
- getDeclaringClass() - Method in ByteArrayGetAtMetaMethod
-
- getDeclaringClass() - Method in ByteArrayPutAtMetaMethod
-
- getDeclaringClass() - Method in CachedConstructor
-
Returns the class that declares this constructor.
- getDeclaringClass() - Method in CachedField
-
Returns the class that declares this field.
- getDeclaringClass() - Method in CachedMethod
-
Returns the cached class that declares this method.
- getDeclaringClass() - Method in CharacterArrayGetAtMetaMethod
-
- getDeclaringClass() - Method in CharacterArrayPutAtMetaMethod
-
- getDeclaringClass() - Method in ClosureMetaMethod
-
- getDeclaringClass() - Method in ClosureStaticMetaMethod
-
- getDeclaringClass() - Method in DoubleArrayGetAtMetaMethod
-
- getDeclaringClass() - Method in DoubleArrayPutAtMetaMethod
-
- getDeclaringClass() - Method in FloatArrayGetAtMetaMethod
-
- getDeclaringClass() - Method in FloatArrayPutAtMetaMethod
-
- getDeclaringClass() - Method in GeneratedMetaMethod
-
- getDeclaringClass() - Method in IntegerArrayGetAtMetaMethod
-
- getDeclaringClass() - Method in IntegerArrayPutAtMetaMethod
-
- getDeclaringClass() - Method in LongArrayGetAtMetaMethod
-
- getDeclaringClass() - Method in LongArrayPutAtMetaMethod
-
- getDeclaringClass() - Method in MetaClassImpl.MetaConstructor
-
Gets the class where this method is declared.
- Returns:
- class of this method
- getDeclaringClass() - Method in MetaMethod
-
Gets the class where this method is declared.
- getDeclaringClass() - Method in MixinInstanceMetaMethod
-
- getDeclaringClass() - Method in NewMetaMethod
-
- getDeclaringClass() - Method in NumberNumberMetaMethod
-
- getDeclaringClass() - Method in ObjectArrayGetAtMetaMethod
-
- getDeclaringClass() - Method in ObjectArrayPutAtMetaMethod
-
- getDeclaringClass() - Method in ReflectionMetaMethod
-
- getDeclaringClass() - Method in ShortArrayGetAtMetaMethod
-
- getDeclaringClass() - Method in ShortArrayPutAtMetaMethod
-
- getDeclaringClass() - Method in TransformMetaMethod
-
- getDefaultCharset() - Method in CharsetToolkit
-
Retrieves the default Charset
- getDefaultFamily() - Method in ConsoleTextEditor
-
Returns the preferred monospaced font family for the editor.
- getDefaultImportClasses(java.lang.String) - Method in Java9
-
- getDefaultImportClasses(java.lang.String) - Method in VMPlugin
-
Returns the default import classes: class name -> the relevant package names
- getDefaultJmxNameDomain() - Method in JmxBuilder
-
Returns the default domain used when generating object names.
- getDefaultJmxNameType() - Method in JmxBuilder
-
Returns the default type used when generating object names.
- getDefaultObjectName(java.lang.Object) - Method in JmxBuilderTools
-
Builds a default ObjectName() instance for a given backing POJO/POGO
- getDefaultParallelism() - Method in ConcurrentConfig
-
Returns the default parallelism level.
- getDefaultPool() - Method in ConcurrentConfig
-
Returns the global default pool.
- getDefaultScriptExtension() - Method in CompilerConfiguration
-
- getDefaultSoftBundle() - Method in ReferenceManager
-
- getDefaultStatement() - Method in SwitchStatement
-
Returns the statement executed when no case matches the control expression.
- getDefaultStyle() - Method in StructuredSyntaxDocumentFilter.LexerNode
-
Returns the fallback style for unmatched text.
- getDefaultSystemCharset() - Method in CharsetToolkit
-
Retrieve the default charset of the system.
- getDefaultTarget() - Method in CacheableCallSite
-
- getDefaultValue() - Method in Parameter
-
Returns the default value expression for this parameter, or null if no default is specified.
- getDefaultValueForPrimitive(org.codehaus.groovy.ast.ClassNode) - Method in PrimitiveHelper
-
- getDefaultWeakBundle() - Method in ReferenceManager
-
- getDefiningClassLoader() - Method in GroovyClassLoader.ClassCollector
-
Returns the loader used to define generated classes.
- getDelegate() - Method in ArrayClassDocWrapper
-
Returns the wrapped component-type class doc.
- getDelegate() - Method in Closure
-
- Returns:
- the delegate Object to which method calls will go which is
typically the outer class when the closure is constructed
- getDelegate() - Method in ComposedClosure
-
- getDelegate() - Method in ConversionHandler
-
Returns the delegate.
- getDelegate() - Method in CurriedClosure
-
- getDelegate() - Method in DelegatingScript
-
Returns the current delegation target.
- getDelegate() - Method in ListWithDefault
-
Returns a copy of the wrapped list.
- getDelegate() - Method in ObservableList.ObservableIterator
-
Returns the wrapped iterator.
- getDelegate() - Method in ObservableSet.ObservableIterator
-
Returns the wrapped iterator.
- getDelegatedMetaClass() - Method in GroovyObjectWrapper
-
- getDelegatedMetaClass() - Method in PojoWrapper
-
- getDelegatedMetaClass() - Method in Wrapper
-
- getDelegateList() - Method in ListWrapperListModel
-
Returns the live backing list.
- getDelegateList() - Method in ObservableList
-
Returns the mutable backing list.
- getDelegateSet() - Method in ObservableSet
-
Returns the mutable backing set.
- getDelegationMetadata(org.codehaus.groovy.ast.expr.ClosureExpression) - Method in StaticTypeCheckingVisitor
-
- getDelimeterSize() - Method in StructuredSyntaxDocumentFilter.MultiLineRun
-
- getDelimiterSize() - Method in StructuredSyntaxDocumentFilter.MultiLineRun
-
Returns the delimiter width used by this run.
- getDependencies(java.util.Map, groovy.grape.ivy.IvyGrabRecord) - Method in GrapeIvy
-
Resolves the supplied grab records with Ivy.
- getDependencies(java.util.Map, java.util.List, groovy.grape.maven.MavenGrabRecord) - Method in GrapeMaven
-
Resolves the supplied grab records with Maven Resolver.
- getDescription() - Method in CSTNode
-
Returns a human-readable description of this node's semantic meaning.
- getDescription() - Method in GroovyFileFilter
-
Returns the chooser description for supported Groovy source files.
- getDescription() - Method in ModuleNode
-
Returns a description of this module.
- getDescription(int) - Method in Phases
-
Returns a description of the specified phase.
- getDescription(int) - Method in Types
-
Returns a human-readable description of the specified token type.
- getDescriptionByName(java.lang.String) - Method in TypeUtil
-
- getDescriptionByType(org.codehaus.groovy.ast.ClassNode) - Method in TypeUtil
-
- getDescriptor() - Method in CachedMethod
-
Returns the bytecode method descriptor for this method (e.g., "(II)Z").
- getDescriptor() - Method in MetaMethod
-
Returns a descriptor of this method based on the return type and parameters of this method.
- getDeserializationFormats() - Method in GroovyEngine
-
Returns the list of supported deserialization formats.
- getDestdir() - Method in Groovyc
-
Gets the destination directory into which the java source files
should be compiled.
- getDevisionOpResultType() - Method in BinaryBooleanExpressionHelper
-
- getDevisionOpResultType() - Method in BinaryDoubleExpressionHelper
-
- getDevisionOpResultType() - Method in BinaryExpressionWriter
-
- getDevisionOpResultType() - Method in BinaryFloatExpressionHelper
-
- getDevisionOpResultType() - Method in BinaryIntExpressionHelper
-
- getDevisionOpResultType() - Method in BinaryLongExpressionHelper
-
- getDevisionOpResultType() - Method in BinaryObjectExpressionHelper
-
- getDirective() - Method in Closure
-
- Returns:
- Returns the directive.
- getDisableChecksums() - Method in Grape
-
Global flag to ignore checksums.
- getDisabledGlobalASTTransformations() - Method in CompilerConfiguration
-
Returns the list of disabled global AST transformation class names.
- getDisablePropertyName() - Method in AbstractExtensionMethodCache
-
- getDisablePropertyName() - Method in ExtensionMethodCache
-
- getDisallowedConstantTypes() - Method in SecureASTCustomizer
-
- getDisallowedExpressions() - Method in SecureASTCustomizer
-
- getDisallowedImports() - Method in SecureASTCustomizer
-
- getDisallowedReceivers() - Method in SecureASTCustomizer
-
- getDisallowedStarImports() - Method in SecureASTCustomizer
-
- getDisallowedStatements() - Method in SecureASTCustomizer
-
- getDisallowedStaticImports() - Method in SecureASTCustomizer
-
- getDisallowedStaticStarImports() - Method in SecureASTCustomizer
-
- getDisallowedTokens() - Method in SecureASTCustomizer
-
- getDisposalClosures() - Method in FactoryBuilderSupport
-
Returns the registered disposal closures.
- getDoCall() - Method in ClosureMetaMethod
-
- getDocTemplates() - Method in Groovydoc
-
Creates and returns an array of doc template classpath entries.
- getDocument() - Method in XmlSlurper
-
- Returns:
- The GPathResult instance created by consuming a stream of SAX events
Note if one of the parse methods has been called then this returns null
Note if this is called more than once all calls after the first will return null
- getDocumentLocator() - Method in XmlParser
-
Returns the document locator last provided by SAX.
- getDocUrl(java.lang.String, boolean, List<LinkArgument>, java.lang.String, org.codehaus.groovy.groovydoc.GroovyRootDoc, org.codehaus.groovy.tools.groovydoc.SimpleGroovyClassDoc) - Method in SimpleGroovyClassDoc
-
Builds a documentation URL for the supplied type using explicit rendering context inputs.
- getDoubleQuotes() - Method in MarkupBuilder
-
Returns true if attribute values are output with
double quotes; false if single quotes are used.
- getDTDHandler() - Method in XmlParser
-
Returns the SAX DTD handler configured on the underlying reader.
- getDTDHandler() - Method in XmlSlurper
-
Returns the SAX DTD handler configured on the underlying reader.
- getEditor() - Method in Preferences
-
- getEffectiveGetMetaProperty(java.lang.Class, java.lang.Object, java.lang.String, boolean) - Method in MetaClassImpl
-
Returns the effective readable meta property for a property access.
- GetEffectivePogoFieldSite - Class in org.codehaus.groovy.runtime.callsite
- GetEffectivePogoFieldSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClass, org.codehaus.groovy.reflection.CachedField) - Constructor in GetEffectivePogoFieldSite
-
- GetEffectivePojoPropertySite - Class in org.codehaus.groovy.runtime.callsite
- GetEffectivePojoPropertySite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaProperty) - Constructor in GetEffectivePojoPropertySite
-
- getEighth() - Method in Tuple8
-
Returns the eighth element.
- getEighth() - Method in Tuple9
-
Returns the eighth element.
- getElement(javax.swing.JTable, int) - Method in JTableMetaMethods
-
Returns the logical row object for the supplied table row.
- getElementAt(int) - Method in ListWrapperListModel
-
Returns the element at the supplied index from the backing list.
- getElementName(java.lang.String, java.lang.String, java.lang.String) - Method in XmlParser
-
Return a name given the namespaceURI, localName and qName.
- getElementType() - Method in ArrayExpression
-
Returns the base element type of the array (before array dimensions are applied).
- getElseBlock() - Method in IfStatement
-
Returns the
Statement to execute when the condition is false.
- getEmptyMethods() - Method in ProxyGenerator
-
Reports whether unimplemented generated methods use empty bodies.
- getEnableAutoDownload() - Method in Grape
-
This is a static access auto download enabler.
- getEnableGrapes() - Method in Grape
-
This is a static access kill-switch.
- getEnclosingBinaryExpression() - Method in AbstractTypeCheckingExtension
-
- getEnclosingBinaryExpression() - Method in TypeCheckingContext
-
Returns the binary expression which is on the top of the stack, or null
if there's no such element.
- getEnclosingBinaryExpressionStack() - Method in AbstractTypeCheckingExtension
-
- getEnclosingBinaryExpressionStack() - Method in TypeCheckingContext
-
Returns the current stack of enclosing binary expressions.
- getEnclosingClassNode() - Method in AbstractTypeCheckingExtension
-
- getEnclosingClassNode() - Method in TypeCheckingContext
-
Returns the class node which is on the top of the stack, or null
if there's no such element.
- getEnclosingClassNodes() - Method in AbstractTypeCheckingExtension
-
- getEnclosingClassNodes() - Method in TypeCheckingContext
-
Returns the current stack of enclosing classes.
- getEnclosingClosure() - Method in AbstractTypeCheckingExtension
-
- getEnclosingClosure() - Method in TypeCheckingContext
-
Returns the closure expression which is on the top of the stack, or null
if there's no such element.
- getEnclosingClosureStack() - Method in AbstractTypeCheckingExtension
-
- getEnclosingClosureStack() - Method in TypeCheckingContext
-
Returns the current stack of enclosing closure expressions.
- getEnclosingMethod() - Method in AbstractTypeCheckingExtension
-
- getEnclosingMethod() - Method in ClassNode
-
Returns the enclosing
MethodNode of this local inner class, or
null
if this is not a local inner class.
- getEnclosingMethod() - Method in TypeCheckingContext
-
Returns the method node which is on the top of the stack, or null
if there's no such element.
- getEnclosingMethodCall() - Method in AbstractTypeCheckingExtension
-
- getEnclosingMethodCall() - Method in TypeCheckingContext
-
Returns the method call which is on the top of the stack, or null
if there's no such element.
- getEnclosingMethodCalls() - Method in AbstractTypeCheckingExtension
-
- getEnclosingMethodCalls() - Method in TypeCheckingContext
-
Returns the current stack of enclosing method calls.
- getEnclosingMethods() - Method in AbstractTypeCheckingExtension
-
- getEnclosingMethods() - Method in TypeCheckingContext
-
Returns the current stack of enclosing methods.
- getEnclosingSwitchStatement() - Method in TypeCheckingContext
-
Returns the switch statement which is on the top of the stack, or null
if there's no such element.
- getEnclosingSwitchStatements() - Method in TypeCheckingContext
-
Returns the current stack of enclosing switch statements.
- getEncoding() - Method in EncodingAwareBufferedWriter
-
The encoding as returned by the underlying OutputStreamWriter.
- getEncoding() - Method in Groovyc
-
Returns the encoding to be used when creating files.
- getEncoding() - Method in SerializeOptions
-
The character encoding for the XML output.
- getEncoding() - Method in StreamingMarkupWriter
-
Returns the normalized target encoding used for numeric escape decisions.
- getEncodingKnown() - Method in StreamingMarkupWriter
-
Returns whether the encoding came from an explicit or discoverable source.
- getEndColumn() - Method in JsonToken
-
Returns the ending column of this token.
- getEndColumn() - Method in SyntaxException
-
Returns the ending column number of the error.
- getEndLabel() - Method in BytecodeVariable
-
- getEndLine() - Method in JsonToken
-
Returns the ending line of this token.
- getEndLine() - Method in SyntaxException
-
Returns the ending line number of the error.
- getEnforce8Bit() - Method in CharsetToolkit
-
Gets the enforce8Bit flag, in case we do not want to ever get a US-ASCII encoding.
- getEngine() - Method in GroovyCompiledScript
-
Returns the engine that produced this compiled script.
- getEngineName() - Method in GroovyEngine
-
Returns the name of this script engine.
- getEngineName() - Method in GroovyScriptEngineFactory
-
Returns the display name of this script engine implementation.
- getEngineVersion() - Method in GroovyScriptEngineFactory
-
Note that the scripting.dev.java.net engine had this backwards.
- getEntityResolver() - Method in XmlParser
-
Returns the SAX entity resolver configured on the underlying reader.
- getEntityResolver() - Method in XmlSlurper
-
Returns the SAX entity resolver configured on the underlying reader.
- getEnvironment() - Method in ConfigSlurper
-
Returns the configured environment name.
- getEra(java.time.Year) - Method in DateTimeExtensions
-
- getErr(java.lang.Process) - Method in ProcessGroovyMethods
-
An alias method so that a process appears similar to System.out, System.in, System.err;
you can use process.in, process.out, process.err in a similar fashion.
- getErr() - Method in ProcessResult
-
Returns the standard error of the process as a String.
- getError() - Method in AwaitResult
-
Returns the exception if failed.
- getError(int) - Method in ErrorCollector
-
Returns the specified error message, or null.
- getErrorCollector() - Method in MultipleCompilationErrorsException
-
- getErrorCollector() - Method in ProcessingUnit
-
Errors found during the compilation should be reported through the ErrorCollector.
- getErrorCollector() - Method in TypeCheckingContext
-
- getErrorCollectors() - Method in TypeCheckingContext
-
- getErrorColumn() - Method in GroovyLexer
-
- getErrorColumn() - Method in GroovyParser
-
- getErrorColumn() - Method in SyntaxErrorReportable
-
- getErrorCount() - Method in ErrorCollector
-
Returns the number of errors.
- getErrorCount() - Method in GroovyDocTool
-
- Returns:
- the number of source files that could not be parsed
- getErrorCount() - Method in GroovyRootDocBuilder
-
Returns the number of source files that failed to parse.
- getErrorHandler() - Method in XmlParser
-
Returns the SAX error handler configured on the underlying reader.
- getErrorHandler() - Method in XmlSlurper
-
Returns the SAX error handler configured on the underlying reader.
- getErrorLine() - Method in GroovyLexer
-
- getErrorLine() - Method in GroovyParser
-
- getErrorLine() - Method in SyntaxErrorReportable
-
- getErrorMessage() - Method in AbstractInterruptibleASTTransformation
-
Subclasses should implement this method to provide good error resolution.
- getErrorMessage() - Method in ConditionalInterruptibleASTTransformation
-
Returns the message used when the interrupt condition evaluates to true.
- getErrorMessage() - Method in ThreadInterruptibleASTTransformation
-
Returns the message used when the current thread has been interrupted.
- getErrors() - Method in ErrorCollector
-
Returns the list of errors, or null if there are none.
- getEvent() - Method in JmxEventEmitter
-
Event type getter
- getEvent() - Method in JmxEventEmitterMBean
-
Getter - returns event thrown by emitter.
- getEventName() - Method in EventTriggerBinding
-
Returns the event handler property name.
- getEvents() - Method in ObservableMap.MultiPropertyEvent
-
Returns the nested property events.
- getException(int) - Method in ErrorCollector
-
Returns the specified error's underlying Exception, or null if it isn't one.
- getExceptions() - Method in MethodNode
-
Returns the list of checked exceptions declared in the method's throws clause.
- getExceptionType() - Method in CatchStatement
-
Returns the exception type of this catch statement.
- getExecutable() - Method in Groovyc
-
The value of the executable attribute, if any.
- getExecutor() - Method in AsyncSupport
-
Returns the current executor used for async tasks.
- getExecutor() - Method in Awaitable
-
Returns the current executor used for async operations.
- getExitCode() - Method in ProcessResult
-
Returns the exit code of the process.
- getExpandoMethods() - Method in ExpandoMetaClass
-
Returns a list of expando MetaMethod instances added to this ExpandoMetaClass
- getExpandoProperties() - Method in ExpandoMetaClass
-
Returns a list of MetaBeanProperty instances added to this ExpandoMetaClass
- getExpandoSubclassMethods() - Method in ExpandoMetaClass
-
Returns the subclass-scoped expando methods registered on this meta class.
- getExpected() - Method in IncorrectClosureArgumentsException
-
Returns the expected parameter types.
- getExpectedType() - Method in TokenMismatchException
-
Returns the token type that was expected.
- getExplicitMethods() - Method in FactoryBuilderSupport
-
- Returns:
- the explicit methods map (Unmodifiable Map).
- getExplicitProperties() - Method in FactoryBuilderSupport
-
- Returns:
- the explicit properties map (Unmodifiable Map).
- getExpr() - Method in ShutdownExpression
-
Returns the original shutdown expression.
- getExpression(int) - Method in ArrayExpression
-
Returns the initializer expression at the specified index.
- getExpression() - Method in AstSpecificationCompiler
-
Gets the current generated expression.
- getExpression() - Method in BitwiseNegationExpression
-
- getExpression() - Method in BooleanExpression
-
- getExpression() - Method in CaseStatement
-
Returns the pattern expression matched against the switch control expression.
- getExpression() - Method in CastExpression
-
Returns the expression being cast.
- getExpression() - Method in ExpressionStatement
-
Returns the expression executed by this statement.
- getExpression(int) - Method in ListExpression
-
- getExpression() - Method in MethodPointerExpression
-
- getExpression() - Method in PostfixExpression
-
Returns the expression being modified by the postfix operation.
- getExpression() - Method in PrefixExpression
-
Returns the expression being modified by the prefix operation.
- getExpression() - Method in ReturnStatement
-
Returns the expression whose value will be returned.
- getExpression() - Method in SpreadExpression
-
- getExpression() - Method in SpreadMapExpression
-
- getExpression() - Method in SwitchStatement
-
Returns the control expression that is evaluated against case values.
- getExpression() - Method in SynchronizedStatement
-
Returns the monitor expression whose lock is acquired for synchronization.
- getExpression() - Method in ThrowStatement
-
Returns the exception expression to be thrown.
- getExpression(int) - Method in TupleExpression
-
Returns the expression at the specified index.
- getExpression() - Method in UnaryMinusExpression
-
- getExpression() - Method in UnaryPlusExpression
-
- getExpressions() - Method in ArrayExpression
-
Returns the list of initializer expressions for array elements.
- getExpressions() - Method in ListExpression
-
- getExpressions() - Method in TupleExpression
-
Returns the list of all expressions in this tuple.
- getExpressionsBlacklist() - Method in SecureASTCustomizer
-
- getExpressionsWhitelist() - Method in SecureASTCustomizer
-
- getExpressionType(org.codehaus.groovy.ast.ClassNode) - Method in SecureASTCustomizer.SecuringCodeVisitor
-
- getExtension(java.io.File) - Method in GroovyFileFilter
-
Returns the wildcard extension for the supplied file name.
- getExtension(java.nio.file.Path) - Method in NioExtensions
-
Provide the extension of this path.
- getExtension(java.io.File) - Method in ResourceGroovyMethods
-
Provide the extension of this file.
- getExtensionMethodNode() - Method in ExtensionMethodNode
-
- getExtensions() - Method in GroovyEngine
-
Returns the file extensions supported by this engine.
- getExtensions() - Method in GroovyScriptEngineFactory
-
Returns the file extensions recognized by this engine.
- getFactories() - Method in FactoryBuilderSupport
-
- Returns:
- the factory map (Unmodifiable Map).
- getFactory() - Method in GroovyScriptEngineImpl
-
Returns the factory associated with this engine, creating one lazily if necessary.
- getFailonerror() - Method in CompileTaskSupport
-
Indicates whether compilation errors fail the Ant build.
- getFailonerror() - Method in Groovyc
-
Gets the failonerror flag.
- getFallbackRound() - Method in CacheableCallSite
-
- getFallbackTarget() - Method in CacheableCallSite
-
- getFalseExpression() - Method in TernaryExpression
-
- getFeature(java.lang.String) - Method in XmlParser
-
Looks up a SAX feature on the underlying reader.
- getFeature(java.lang.String) - Method in XmlSlurper
-
Looks up a SAX feature on the underlying reader.
- getField - Field in AsmClassGenerator
-
- getField(java.lang.String) - Method in ClassNode
-
Finds a
FieldNode matching the given name in this class or any of its superclasses.
- getField(org.codehaus.groovy.ast.ClassNode, java.lang.String, Predicate<? super FieldNode>) - Method in ClassNodeUtils
-
Searches the class for a field that matches specified name and test.
- getField() - Method in FieldExpression
-
- getField() - Method in MetaBeanProperty
-
Gets the field of this property.
- getField() - Method in MissingFieldException
-
- Returns:
- the name of the field that could not be found
- getField() - Method in MultipleSetterProperty
-
- getField() - Method in PropertyNode
-
Returns the backing field node for this property.
- getField(java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getFieldIndex() - Method in ClassNode
-
Returns the internal field index map for fast field lookup by name.
- getFieldName() - Method in FieldExpression
-
- getFieldName() - Method in ImportNode
-
Returns the name of the static field or method being imported via static import.
- getFieldOnSuper(java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getFieldOnSuperSafe(java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getFieldOnSuperSpreadSafe(java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getFields(org.codehaus.groovy.transform.BuilderASTTransformation, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.ClassNode) - Method in BuilderASTTransformation.AbstractBuilderStrategy
-
- getFields() - Method in CachedClass
-
Returns all public and protected fields declared in this class.
- getFields() - Method in ClassNode
-
Returns all
FieldNodes declared in this ClassNode, including inherited fields.
- getFields() - Method in DecompiledClassNode
-
Returns all fields declared by this class (excluding inherited fields).
- getFields(org.codehaus.groovy.transform.BuilderASTTransformation, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.ClassNode) - Method in SimpleStrategy
-
{@inheritDoc}
- getFieldSafe(java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getFieldSpreadSafe(java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getFifth() - Method in Tuple5
-
Returns the fifth element.
- getFifth() - Method in Tuple6
-
Returns the fifth element.
- getFifth() - Method in Tuple7
-
Returns the fifth element.
- getFifth() - Method in Tuple8
-
Returns the fifth element.
- getFifth() - Method in Tuple9
-
Returns the fifth element.
- getFile() - Method in FileReaderSource
-
- getFile() - Method in GroovyCodeSource
-
Returns the backing file when this code source was created from a file.
- getFile() - Method in Groovydoc.AddStylesheet
-
Returns the stylesheet file configured for this nested element.
- getFile(java.lang.String) - Method in GroovyDocUtil
-
Returns the simple file name portion of the supplied source path.
- getFileList() - Method in Groovyc
-
Gets the list of files to be compiled.
- getFileName() - Method in WritablePath
-
{@inheritDoc}
- getFileNames(java.lang.String, java.lang.String, java.lang.String) - Method in FileNameByRegexFinder
-
Finds file names under the supplied base directory.
- Parameters:
basedir - the base directory to searchpattern - the include patternexcludesPattern - the exclude pattern
- Returns:
- the matching file names
- getFileNames(java.util.Map) - Method in FileNameFinder
-
Finds files using the supplied Ant fileset arguments.
- getFileNames(java.lang.String, java.lang.String, java.lang.String) - Method in IFileNameFinder
-
Finds file names under the supplied base directory.
- getFileSystem() - Method in WritablePath
-
{@inheritDoc}
- getFilterExpr() - Method in FilterExpression
-
Returns the filter condition.
- getFinallyStatement() - Method in TryCatchStatement
-
Returns the finally block
Statement, executed after the try and catch blocks complete.
- getFinalVariablesCallback() - Method in Verifier
-
- getFirst() - Method in Tuple1
-
Returns the first element.
- getFirst() - Method in Tuple2
-
Returns the first element.
- getFirst() - Method in Tuple3
-
Returns the first element.
- getFirst() - Method in Tuple4
-
Returns the first element.
- getFirst() - Method in Tuple5
-
Returns the first element.
- getFirst() - Method in Tuple6
-
Returns the first element.
- getFirst() - Method in Tuple7
-
Returns the first element.
- getFirst() - Method in Tuple8
-
Returns the first element.
- getFirst() - Method in Tuple9
-
Returns the first element.
- getFirstClassNode() - Method in CompilationUnit
-
Convenience routine to get the first ClassNode, for
when you are sure there is only one.
- getFirstIfSpecialConstructorCall(org.codehaus.groovy.ast.stmt.Statement) - Method in ConstructorNodeUtils
-
Return the first statement from the constructor code if it is a call to super or this, otherwise null.
- getFirstStatement() - Method in MethodNode
-
Returns the first statement in this method's code block.
- getForceLookupUnnamedFiles() - Method in Groovyc
-
Gets the forceLookupUnnamedFiles flag.
- getFourth() - Method in Tuple4
-
Returns the fourth element.
- getFourth() - Method in Tuple5
-
Returns the fourth element.
- getFourth() - Method in Tuple6
-
Returns the fourth element.
- getFourth() - Method in Tuple7
-
Returns the fourth element.
- getFourth() - Method in Tuple8
-
Returns the fourth element.
- getFourth() - Method in Tuple9
-
Returns the fourth element.
- getFrom() - Method in BaseDuration
-
Returns a helper for computing dates relative to now.
- getFrom() - Method in DatumDependentDuration
-
Returns a helper for computing dates relative to now.
- getFrom() - Method in Duration
-
Returns a helper for computing dates relative to now.
- getFrom() - Method in EmptyRange
-
The lower value in the range.
- Returns:
- the lower value in the range.
- getFrom() - Method in IntRange
-
The lower value in the range.
- Returns:
- the lower value in the range.
- getFrom() - Method in NumberRange
-
The lower value in the range.
- Returns:
- the lower value in the range.
- getFrom() - Method in ObjectRange
-
The lower value in the range.
- Returns:
- the lower value in the range.
- getFrom() - Method in Range
-
The lower value in the range.
- getFrom() - Method in RangeExpression
-
Returns the starting expression of the range.
- getFrom() - Method in TimeDatumDependentDuration
-
Returns a helper for computing dates relative to now.
- getFrom() - Method in TimeDuration
-
Returns a helper for computing dates relative to now.
- getFromClassCache(java.lang.String) - Method in ClassNodeResolver
-
returns whatever is stored in the class cache for the given name
- getFromExpression() - Method in GinqExpression
-
Returns the from clause.
- getFromInt() - Method in IntRange
-
Gets the 'from' value as a primitive integer.
- getFullName(java.time.ZoneId, java.util.Locale) - Method in DateTimeExtensions
-
Returns the name of this zone formatted according to the
TextStyle.FULL text style
for the provided
Locale.
- getFullPathName() - Method in ArrayClassDocWrapper
-
- getFullPathName() - Method in ExternalGroovyClassDoc
-
- getFullPathName() - Method in GroovyClassDoc
-
- getFullPathName() - Method in SimpleGroovyClassDoc
-
- getGeneratedInnerClass(java.lang.String) - Method in CompileUnit
-
Retrieves a generated inner class by name.
- getGeneratedInnerClasses() - Method in CompileUnit
-
Returns an unmodifiable view of all generated inner classes.
- getGeneratedMethods() - Method in AbstractTypeCheckingExtension
-
- getGenericsBounds(org.codehaus.groovy.ast.ClassNode) - Method in BytecodeHelper
-
- getGenericsMethodSignature(org.codehaus.groovy.ast.MethodNode) - Method in BytecodeHelper
-
- getGenericsSignature(org.codehaus.groovy.ast.ClassNode) - Method in BytecodeHelper
-
- getGenericsTypes() - Method in ClassNode
-
Returns the generic type parameters for this
ClassNode, or
null if none are defined.
- getGenericsTypes() - Method in DecompiledClassNode
-
Returns the generic type parameters of this class.
- getGenericsTypes() - Method in MethodCallExpression
-
Returns the generic type parameters for this method call, if specified.
- getGenericsTypes() - Method in MethodNode
-
Returns the generic type parameters for this method.
- getGetter() - Method in MetaBeanProperty
-
Gets the getter method of this property.
- getGetter() - Method in MultipleSetterProperty
-
- getGetter() - Method in ThreadManagedMetaBeanProperty
-
- getGetterBlock() - Method in PropertyNode
-
Returns the statement block that implements the getter method.
- getGetterMethod(java.lang.String, boolean) - Method in ClassNode
-
Finds a getter
MethodNode matching the given name, optionally searching superclasses
and interfaces.
- getGetterName(java.lang.String) - Method in GeneralUtils
-
WARNING: Avoid this method unless just the name is available.
- getGetterName(java.lang.String, java.lang.Class) - Method in MetaProperty
-
Gets the name for the getter for this property
- getGetterName() - Method in PropertyNode
-
Returns the explicitly set getter method name for this property.
- getGetterNameOrDefault() - Method in PropertyNode
-
Returns the default getter method name for this property.
- getGlobalTransformNames() - Method in ASTTransformationsContext
-
- getGrabUrls() - Method in LoaderConfiguration
-
The extra grab configuration.
- getGrammarFileName() - Method in GroovyLexer
-
- getGrammarFileName() - Method in GroovyParser
-
- getGrapeCacheDir() - Method in GrapeIvy
-
Returns the cache directory used for downloaded artifacts.
- getGrapeCacheDir() - Method in GrapeMaven
-
Returns the cache directory used for downloaded artifacts.
- getGrapeDir() - Method in GrapeIvy
-
Returns the root directory used by grape.
- getGrapeDir() - Method in GrapeMaven
-
Returns the root directory used by grape.
- getGroovyClassDocs() - Method in GroovydocJavaVisitor
-
Returns the collected class documentation, keyed by full path name.
- getGroovyClassDocs() - Method in GroovydocVisitor
-
Returns the collected class documentation, keyed by full path name.
- getGroovyClassLoader() - Method in GroovyScriptEngine
-
Returns the GroovyClassLoader associated with this script engine instance.
- getGroovydoc() - Method in AnnotatedNode
-
Returns the Groovydoc associated with this node.
- getGroovydoc(java.lang.reflect.AnnotatedElement) - Method in DefaultGroovyMethods
-
Gets runtime groovydoc.
- getGroovydoc() - Method in GroovydocHolder
-
Get the groovydoc
- getGroovydoc() - Method in GroovydocTag
-
Returns the owning groovydoc.
- getGroovyObjectField - Field in AsmClassGenerator
-
- getGroovyObjectField(java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getGroovyObjectFieldSafe(java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getGroovyObjectFieldSpreadSafe(java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getGroovyObjectProperty(groovy.lang.GroovyObject, java.lang.String) - Method in InvokerHelper
-
- getGroovyObjectProperty(java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getGroovyObjectPropertySafe(java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getGroovyObjectPropertySpreadSafe(java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getGroovyRoot() - Method in GrapeIvy
-
Returns the configured Groovy home directory for grape state.
- getGroovyRoot() - Method in GrapeMaven
-
Returns the configured Groovy home directory for grape state.
- getGroupExpression() - Method in GinqExpression
-
Returns the groupby clause.
- getGroupOperationResultType(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingVisitor
-
- getHandler() - Method in Reference
-
Returns the handler that should be notified when the reference is processed.
- getHardBundle() - Method in ReferenceBundle
-
Returns the shared hard-reference bundle.
- getHavingExpression() - Method in GroupExpression
-
Returns the optional having clause.
- getHeader(Class<?>) - Method in MetaMethodIndex
-
- getHeadings() - Method in MarkdownDocument
-
All headings anywhere in the document, in document order.
- getHierarchy() - Method in CachedClass
-
Returns the complete type hierarchy for this class, including superclasses and interfaces.
- getHolder() - Method in Groovydoc
-
Get the holder of the groovydoc
- getHour(java.lang.Integer) - Method in TimeCategory
-
- getHours() - Method in BaseDuration
-
Returns the hour component.
- getHours(java.time.ZoneOffset) - Method in DateTimeExtensions
-
Returns the hours component of this offset.
- getHours(java.lang.Integer) - Method in TimeCategory
-
Returns an hour-based duration for the supplied number of hours.
- getHref() - Method in LinkArgument
-
Get the href attribute, with the module name appended when set.
- getHtml() - Method in HttpResult
-
Parses the buffered body as HTML using jsoup when available.
- getIconHeight() - Method in Icons.DynamicSVGIcon
-
Returns the current icon height in pixels.
- getIconWidth() - Method in Icons.DynamicSVGIcon
-
Returns the current icon width in pixels.
- getId() - Method in WindowDefinition
-
Get the id of window definition
- getIdentifierFor(java.lang.String) - Method in ObjectGraphBuilder.DefaultIdentifierResolver
-
{@inheritDoc}
- getIdentifierFor(java.lang.String) - Method in ObjectGraphBuilder.IdentifierResolver
-
Returns the name of the property that will identify the node.
- getIfBlock() - Method in IfStatement
-
Returns the
Statement to execute when the condition is true.
- getImpl() - Method in GroovyResultSetProxy
-
Gets a proxy instance that can be used as GroovyResultSet.
- getImport(java.lang.String) - Method in ModuleNode
-
Looks up an import node by its alias name.
- getImports() - Method in GroovyEngine
-
Returns all import statements mapped to their source definitions.
- getImports() - Method in ModuleNode
-
Returns a copy of the module's regular import declarations.
- getImportsBlacklist() - Method in SecureASTCustomizer
-
- getImportsWhitelist() - Method in SecureASTCustomizer
-
- getImportType(java.lang.String) - Method in ModuleNode
-
Looks up the class type for a regular import by its alias name.
- getIn(java.lang.Process) - Method in ProcessGroovyMethods
-
An alias method so that a process appears similar to System.out, System.in, System.err;
you can use process.in, process.out, process.err in a similar fashion.
- getIncludeantruntime() - Method in Groovyc
-
Gets whether the ant classpath is to be included in the classpath.
- getIncludeExclude(org.codehaus.groovy.transform.BuilderASTTransformation, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.ClassNode, List<String>, List<String>) - Method in BuilderASTTransformation.AbstractBuilderStrategy
-
- getIncludejavaruntime() - Method in Groovyc
-
Gets whether the java runtime should be included in this
task's classpath.
- getInclusive() - Method in IntRange
-
Returns the same as getInclusiveRight, kept here for backwards compatibility.
- getInclusiveLeft() - Method in IntRange
-
Returns the inclusiveLeft flag.
- getInclusiveRight() - Method in IntRange
-
Returns the inclusiveRight flag.
- getIndent() - Method in SerializeOptions
-
The number of spaces to use for indentation.
- getIndentation() - Method in XmlTemplateEngine
-
Returns the indentation string used for pretty-printed XML output.
- getIndentLevel() - Method in IndentPrinter
-
Returns the current indentation level.
- getIndex() - Method in AbstractCallSite
-
- getIndex() - Method in BytecodeVariable
-
- Returns:
- the stack index for this variable
- getIndex() - Method in CallSite
-
- getIndex() - Method in ChannelSelect.Result
-
The zero-based index of the channel that produced the value.
- getIndex() - Method in ExpressionAsVariableSlot
-
returns the index of the bytecode variable
- getIndex() - Method in ObservableList.ElementEvent
-
Returns the affected index.
- getIndex() - Method in VariableSlotLoader
-
- getIndexVariable() - Method in ForStatement
-
Returns the optional index
Parameter for for-in loops with an index variable,
or null if this is a for-in loop without an index or a classic for loop.
- getIndices(T) - Method in ArrayGroovyMethods
-
Returns indices of the array.
- getIndices(T) - Method in DefaultGroovyMethods
-
- getIndy() - Method in Groovyc
-
Get the value of the indy flag (always true).
- getInferredReturnType(org.codehaus.groovy.ast.ASTNode) - Method in StaticTypeCheckingVisitor
-
Returns the inferred return type of a closure or method, if stored on the
AST node.
- getInferredReturnTypeFromWithClosureArgument(org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypeCheckingVisitor
-
In the case of a Object.with { ... } call, this method is supposed to retrieve
the inferred closure return type.
- getInitClosure() - Method in ListWithDefault
-
Returns a clone of the initialization closure.
- getInitialExpression() - Method in DynamicVariable
-
- getInitialExpression() - Method in FieldNode
-
Returns the initial value expression for this field.
- getInitialExpression() - Method in Parameter
-
Returns the default value expression for this parameter, or null if no default is specified.
- getInitialExpression() - Method in PropertyNode
-
Returns the initial value expression for this property (delegated to backing field).
- getInitialExpression() - Method in Variable
-
Returns the initialization expression for this variable, or null if no initialization is present.
- getInitialExpression() - Method in VariableExpression
-
Returns null because variable expressions do not have initial expressions.
- getInitialValue(java.lang.Object) - Method in ThreadManagedMetaBeanProperty
-
- getInitialValueExpression() - Method in FieldNode
-
Returns the initial value expression for this field.
- getInlineModeBlockStatement(org.codehaus.groovy.ast.stmt.BlockStatement) - Method in BaseGenerator
-
Extracts the inline-mode assertion block from the supplied wrapper block.
- getInnerClasses() - Method in ClassGenerator
-
- getInnerClasses() - Method in ClassNode
-
Returns an iterator over the inner classes defined within this
ClassNode.
- getInputBackground() - Method in ThemeManager
-
Returns the active theme's editor background colour.
- getInputStream(java.lang.String) - Method in ClasspathResourceManager
-
Opens the named resource as an input stream.
- getInstance() - Method in AnnotatedNode
-
- getInstance() - Method in Grape
-
Returns the shared grape engine instance.
- getInstance() - Method in GroovydocHolder
-
Get GroovydocHolder instance
- getInstance() - Method in GroovyRunnerRegistry
-
Returns a reference to the one and only registry instance.
- getInstance() - Method in LookAndFeelHelper
-
Returns the shared helper instance.
- getInstance() - Method in MetaClassRegistryChangeEvent
-
Returns the instance this event is for.
- getInstance(int) - Method in MetaClassRegistryImpl
-
Singleton of MetaClassRegistry.
- getInstance(java.lang.Class, java.lang.Object) - Method in MockFor
-
Creates a concrete instance suitable for proxy-style mocking.
- getInstance(java.lang.Class) - Method in ProxyMetaClass
-
convenience factory method for the most usual case.
- getInstanceClass() - Method in MixinInMetaClass
-
Returns the cached class for the expandable metaclass that owns this mixin.
- getInstanceMethods() - Method in MetaClassRegistryImpl
-
- getInstanceMethodsExtensionClasses() - Method in MetaInfExtensionModule
-
- getInstanceMethodsExtensionClasses() - Method in SimpleExtensionModule
-
- Returns:
- the list of classes defining new instance methods.
- getInstanceNonPropertyFieldNames(org.codehaus.groovy.ast.ClassNode) - Method in GeneralUtils
-
- getInstanceNonPropertyFields(org.codehaus.groovy.ast.ClassNode) - Method in GeneralUtils
-
- getInstanceProperties(org.codehaus.groovy.ast.ClassNode) - Method in GeneralUtils
-
- getInstancePropertyFields(org.codehaus.groovy.ast.ClassNode) - Method in GeneralUtils
-
- getInstancePropertyNames(org.codehaus.groovy.ast.ClassNode) - Method in GeneralUtils
-
- getInstructions() - Method in BytecodeSequence
-
- getIntegerSafe(java.lang.String, java.lang.Integer) - Method in SystemUtil
-
Retrieves an Integer System property
- getInterceptor() - Method in ProxyMetaClass
-
- Returns:
- the interceptor in use or null if no interceptor is used
- getInterface(java.lang.Object, Class<T>) - Method in GroovyScriptEngineImpl
-
Creates a dynamic proxy that dispatches interface method calls to the supplied object.
- getInterfaceClassLoadingClass() - Method in DelegatingController
-
- getInterfaceClassLoadingClass() - Method in WriterController
-
Returns the InterfaceHelperClassNode used for interface static method loading,
or null if the compiled class is not an interface or needs no helper class.
- getInterfaces() - Method in CachedClass
-
Returns a set of all interfaces implemented or extended by this class, including inherited interfaces.
- getInterfaces() - Method in ClassNode
-
- Returns:
- the interfaces implemented by this
ClassNode
- getInterfaces() - Method in DecompiledClassNode
-
Returns the interfaces implemented by this class.
- getInterfacesAndSuperInterfaces(org.codehaus.groovy.ast.ClassNode) - Method in GeneralUtils
-
- getInternalBaseClassName() - Method in DelegatingController
-
- getInternalBaseClassName() - Method in WriterController
-
Returns the internal (JVM) name of the immediate superclass.
- getInternalClassName() - Method in DelegatingController
-
- getInternalClassName() - Method in WriterController
-
Returns the internal (JVM) name of the class being compiled.
- getIntoAlias() - Method in GroupExpression
-
Returns the into alias.
- getInvariantMethodName(org.codehaus.groovy.ast.ClassNode) - Method in BaseGenerator
-
- Parameters:
classNode - the ClassNode used to look up the invariant closure field
- getInvariantMethodNode(org.codehaus.groovy.ast.ClassNode) - Method in BaseGenerator
-
- Parameters:
classNode - the ClassNode used to look up the invariant closure field
- getInvocationWriter() - Method in DelegatingController
-
- getInvocationWriter() - Method in StaticTypesWriterController
-
- getInvocationWriter() - Method in WriterController
-
Returns the InvocationWriter for compiling method calls and dynamic
function invocations into appropriate bytecode patterns.
- getInvokeSpecialHandle(java.lang.reflect.Method, java.lang.Object) - Method in Java16
-
- getInvokeSpecialHandle(java.lang.reflect.Method, java.lang.Object) - Method in Java8
-
- getInvokeSpecialHandle(java.lang.reflect.Method, java.lang.Object) - Method in VMPlugin
-
Returns a handle with bound receiver to invokeSpecial the given method.
- getIOCause() - Method in ReadException
-
Returns the underlying I/O cause of this exception.
- getIOException() - Method in StringWriterIOException
-
- getIsCaseMethod() - Method in BinaryExpressionHelper
-
- getIvyParts(java.lang.String) - Method in GrapeUtil
-
- getJavaClass() - Method in ExpandoMetaClass
-
- Returns:
- The Java class enhanced by this MetaClass
- getJavaCompilationUnitSet() - Method in CompilationUnit
-
- getJavaStubCompilationUnitSet() - Method in JavaStubGenerator
-
- getJavaVersion() - Method in VMPlugin
-
Returns java version, e.g. 1.8, 9, 11, 17
- getJoinExpressionList() - Method in GinqExpression
-
Returns the join clauses.
- getJoinName() - Method in JoinExpression
-
Returns the join keyword.
- getJointCompilationOptions() - Method in CompilerConfiguration
-
Gets the joint compilation options for this configuration.
- getJson() - Method in HttpResult
-
Parses the buffered body as JSON.
- getKeepStubs() - Method in Groovyc
-
Gets the keepStubs flag.
- getKey() - Method in ConcurrentReaderHashMap.Entry
-
- getKey() - Method in ConcurrentReferenceHashMap.InitializableEntry
-
{@inheritDoc}
- getKey() - Method in ConcurrentReferenceHashMap.SimpleEntry
-
{@inheritDoc}
- getKey() - Method in GroupResult
-
Returns the group key.
- getKey() - Method in MapEntry
-
- getKey() - Method in MapItemValue
-
- getKeyExpression() - Method in MapEntryExpression
-
- getKeyExtractor() - Method in Queryable.Order
-
Returns the sort key extractor.
- getKeywords() - Method in Types
-
Returns an unmodifiable collection of all recognized keywords.
- getKnownImmutableClasses(org.codehaus.groovy.transform.AbstractASTTransformation, org.codehaus.groovy.ast.ClassNode) - Method in ImmutablePropertyUtils
-
- getKnownImmutables(org.codehaus.groovy.transform.AbstractASTTransformation, org.codehaus.groovy.ast.ClassNode) - Method in ImmutablePropertyUtils
-
- getLabel() - Method in BreakStatement
-
Returns the label associated with this break statement.
- getLabel(java.lang.String) - Method in CompileStack
-
Returns the label for the given name.
- getLabel() - Method in ContinueStatement
-
Returns the label associated with this continue statement.
- getLabel() - Method in JsonTokenType
-
Returns the human-readable description of this token type.
- getLambdaSharedVariables(org.codehaus.groovy.ast.expr.LambdaExpression) - Method in LambdaWriter
-
- getLambdaWriter() - Method in DelegatingController
-
- getLambdaWriter() - Method in StaticTypesWriterController
-
- getLambdaWriter() - Method in WriterController
-
Returns the LambdaWriter for compiling Java-style lambda expressions
(using the -> operator) into functional interfaces.
- getLanguageName() - Method in GroovyScriptEngineFactory
-
This is also different from scripting.dev.java.net which used an
initial lowercase.
- getLanguageVersion() - Method in GroovyScriptEngineFactory
-
Returns the version of the Groovy language available at runtime.
- getLastAction() - Method in FindReplaceUtility
-
- getLastColumnNumber() - Method in ASTNode
-
Returns the column number where this AST node ends in the source file.
- getLastContext() - Method in ContextualClassCodeVisitor
-
Returns the most recently popped traversal context.
- getLastError() - Method in ErrorCollector
-
Returns the last error reported.
- getLastLineNumber() - Method in ASTNode
-
Returns the line number where this AST node ends in the source file.
- getLastMatcher(java.util.regex.Matcher) - Method in DefaultGroovyStaticMethods
-
Get the last hidden matcher that the system used to do a match.
- getLastMatcher() - Method in RegexSupport
-
- getLastResult() - Method in Console
-
Returns the most recent non-null result from execution history.
- getLatestTokenList() - Method in SmartDocumentFilter
-
Returns the tokens produced by the most recent successful parse.
- getLayoutTarget(java.awt.Container) - Method in LayoutFactory
-
Returns the container whose layout should be updated.
- getLeft() - Method in SetOperationExpression
-
Returns the left query.
- getLeftExpression() - Method in BinaryExpression
-
Returns the left operand of this binary expression.
- getLength(java.lang.StringBuffer) - Method in StringGroovyMethods
-
Provides a
getLength alias for
length for
StringBuffer,
supporting assignment arithmetic operator expressions involving
the otherwise write-only length property.
- getLimitExpression() - Method in GinqExpression
-
Returns the limit clause.
- getLine(int, org.codehaus.groovy.control.Janitor) - Method in AbstractReaderSource
-
Returns a line from the source, or null, if unavailable.
- getLine() - Method in GinqSyntaxError
-
Returns the source line of the error.
- getLine() - Method in GroovySyntaxError
-
- getLine() - Method in LineColumnReader
-
Returns the current line number.
- getLine() - Method in PositionInfo
-
- getLine(int, org.codehaus.groovy.control.Janitor) - Method in ReaderSource
-
Returns a line from the source, or null, if unavailable.
- getLine() - Method in SyntaxException
-
Returns the starting line number of the error.
- getLineMark() - Method in LineColumnReader
-
Returns the marked line number.
- getLineNumber() - Method in ASTNode
-
Returns the line number where this AST node begins in the source file.
- getLineNumber() - Method in DelegatingController
-
- getLineNumber() - Method in TemplateExecutionException
-
Returns the line number in the template source where the error occurred
- getLineNumber() - Method in TemplateParseException
-
Returns the line where parsing failed.
- getLineNumber() - Method in WriterController
-
Returns the source line number currently being compiled.
- getLinks() - Method in MarkdownDocument
-
All links anywhere in the document.
- getList() - Method in ClosureRenderer
-
Returns the current list being rendered.
- getListCellRendererComponent(javax.swing.JList, java.lang.Object, int, boolean, boolean) - Method in ClosureRenderer
-
Prepares list-rendering state and delegates component creation to
render().
- getListener() - Method in JmxEventListener
-
Factory method that returns an instance of the listener.
- getListener() - Method in VariableAccessReplacer
-
- getListfiles() - Method in Groovyc
-
Get the listfiles flag.
- getListIterator() - Method in ObservableList.ObservableListIterator
-
Returns the wrapped list iterator.
- getLoadedClass(java.lang.String) - Method in ReflectorLoader
-
try to load one of the defined Reflector classes by name.
- getLoadedClasses() - Method in GroovyClassLoader
-
- getLoadedClasses() - Method in GroovyClassLoader.ClassCollector
-
Returns the classes defined during the current compilation callback.
- getLoadedClasses() - Method in GroovyClassLoader.InnerLoader
-
Returns all Groovy classes loaded by this class loader.
- Returns:
- all classes loaded by this class loader
- getLoadInsnByType(org.objectweb.asm.Type) - Method in TypeUtil
-
- getLocale() - Method in TemplateConfiguration
-
Returns the locale used when resolving localized templates.
- getLocalExplicitMethods() - Method in FactoryBuilderSupport
-
- Returns:
- the explicit methods map (Unmodifiable Map).
- getLocalExplicitProperties() - Method in FactoryBuilderSupport
-
- Returns:
- the explicit properties map (Unmodifiable Map).
- getLocalFactories() - Method in FactoryBuilderSupport
-
- Returns:
- the factory map (Unmodifiable Map).
- getLocalGrapeConfig() - Method in GrapeIvy
-
Returns the local Ivy grape configuration file.
- getLocalizedMessage() - Method in Exceptions.JsonInternalException
-
Returns the localized message.
- getLocalName(groovy.util.Node) - Method in DomToGroovy
-
Returns the trimmed local name for a DOM node, falling back to
Node.getNodeName.
- getLocalPart() - Method in QName
-
Gets the Local part for this QName
- getLocation(java.lang.Class) - Method in DefaultGroovyMethods
-
Gets the url of the jar file/source file containing the specified class.
- getLocationText() - Method in GroovyRuntimeException
-
Builds the source-location suffix appended to this exception's message when location data is available.
- getLogClassgenStackTraceMaxDepth() - Method in CompilerConfiguration
-
Returns stack trace max depth of logging class generation
- getLongSafe(java.lang.String, java.lang.Long) - Method in SystemUtil
-
Retrieves a Long System property
- getLookup() - Method in CacheableCallSite
-
- getLoopBlock() - Method in DoWhileStatement
-
- getLoopBlock() - Method in ForStatement
-
- getLoopBlock() - Method in LoopingStatement
-
Gets the loop block.
- getLoopBlock() - Method in WhileStatement
-
- getLowerBound() - Method in GenericsType
-
Returns the lower bound for this wildcard type (e.g., Bound in "?
- getLubName() - Method in WideningCategories.LowestUpperBoundClassNode
-
- getMacroArguments(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.expr.MethodCallExpression) - Method in MacroGroovyMethods
-
Extracts tuple arguments from a macro-style method call.
- getMacroValue(org.codehaus.groovy.ast.stmt.BlockStatement, boolean) - Method in MacroBuilder
-
Extracts the value represented by a parsed macro closure.
- getMainClass() - Method in LoaderConfiguration
-
Returns the name of the main class for this configuration.
- getMainClassName() - Method in ModuleNode
-
Returns the simple name of the main class for this module.
- getManager() - Method in ReferenceBundle
-
Returns the manager associated with this bundle.
- getMapDelegate() - Method in ObservableMap
-
Returns the mutable backing map.
- getMapEntryExpressions() - Method in MapExpression
-
- getMath(java.lang.Number, java.lang.Number) - Method in NumberMath
-
Determine which NumberMath instance to use, given the supplied operands.
- getMaximumNumberOfParameters() - Method in CachedClosureClass
-
Returns the maximum number of parameters accepted by the closure's doCall methods.
- getMaximumNumberOfParameters() - Method in Closure
-
- Returns:
- the maximum number of parameters a doCall method
of this closure can take
- getMaxRows() - Method in Sql.AbstractQueryCommand
-
Get the maximum number of rows to return in the ResultSet
- getMaxSizeForInMemory() - Method in JsonSlurper
-
Max size before Slurper starts to use windowing buffer parser.
- getMBeanServer() - Method in JmxBuilder
-
Returns the active MBean server connection, creating the default one on demand.
- getMBeanServer() - Method in JmxBuilderTools
-
Returns an MBeanServerConnection instance.
- getMeaning() - Method in CSTNode
-
Returns the current semantic meaning (interpretation) of this node.
- getMeaning() - Method in Token
-
Returns the current meaning (interpretation) of this token.
- getMeaningAs(int[]) - Method in CSTNode
-
Returns the first matching meaning of the specified types.
- getMember(java.lang.String) - Method in AnnotationNode
-
- getMemberClassList(org.codehaus.groovy.ast.AnnotationNode, java.lang.String) - Method in AbstractASTTransformation
-
Retrieves a list of ClassNode values from a list-type annotation member.
- getMemberClassValue(org.codehaus.groovy.ast.AnnotationNode, java.lang.String, org.codehaus.groovy.ast.ClassNode) - Method in AbstractASTTransformation
-
Retrieves the ClassNode value of an annotation member with a default fallback.
- getMemberIntValue(org.codehaus.groovy.ast.AnnotationNode, java.lang.String) - Method in AbstractASTTransformation
-
Retrieves the integer value of an annotation member.
- getMembers() - Method in AnnotationNode
-
- getMemberStringList(org.codehaus.groovy.ast.AnnotationNode, java.lang.String) - Method in AbstractASTTransformation
-
Retrieves a list of string values from a list-type annotation member.
- getMemberStringValue(org.codehaus.groovy.ast.AnnotationNode, java.lang.String) - Method in AbstractASTTransformation
-
Retrieves the string value of an annotation member.
- getMemberValue(org.codehaus.groovy.ast.AnnotationNode, java.lang.String) - Method in AbstractASTTransformation
-
Retrieves the value of an annotation member that is a constant expression.
- getMemoryInitialSize() - Method in Groovyc
-
Gets the memoryInitialSize flag.
- getMemoryMaximumSize() - Method in Groovyc
-
Gets the memoryMaximumSize flag.
- getMenuIconForeground() - Method in ThemeManager
-
Foreground color for menu-item icons — OS-tinted on the mac screen menu bar, app-tinted otherwise.
- getMessage() - Method in Exceptions.JsonInternalException
-
Returns the message, including the wrapped cause summary when present.
- getMessage() - Method in GroovyBugError
-
Returns the detail message string of this error.
- getMessage() - Method in GroovyRuntimeException
-
Returns the message including location information when available.
- getMessage() - Method in InvokerInvocationException
-
- getMessage() - Method in JmxEventEmitter
-
Event message getter
- getMessage(java.lang.String) - Method in MessageSource
-
Get a raw message from the resource bundles using the given code.
- getMessage() - Method in MethodSelectionException
-
- getMessage() - Method in MissingMethodException
-
Returns a detailed message including argument and suggestion information.
- getMessage() - Method in MultipleCompilationErrorsException
-
- getMessage() - Method in ReadException
-
Returns the exception message.
- getMessage() - Method in SimpleMessage
-
- getMessage() - Method in SyntaxException
-
Returns the error message with location information appended.
- getMessageExpression() - Method in AssertStatement
-
Returns the message expression that provides an optional error message.
- getMessageWithoutLocationText() - Method in GroovyRuntimeException
-
Returns the detail message without appended location information.
- getMessageWithoutLocationText() - Method in MissingPropertyException
-
Returns the detail message without any location suffix.
- getMetaClass(java.lang.Object) - Method in ClassInfo
-
Returns the metaclass for an object.
- getMetaClass(groovy.lang.GroovyObject) - Method in DefaultGroovyMethods
-
Obtains a MetaClass for an object either from the registry or in the case of
a GroovyObject from the object itself.
- getMetaClass() - Method in DelegatingMetaClass
-
Returns the metaclass for a given class.
- Returns:
- the metaClass of this instance
- getMetaClass() - Method in ExpandoMetaClass
-
Returns the metaclass for a given class.
- Returns:
- the metaClass of this instance
- getMetaClass() - Method in GroovyObject
-
Returns the metaclass for a given class.
- getMetaClass() - Method in GroovyObjectSupport
-
Returns the metaclass for a given class.
- Returns:
- the metaClass of this instance
- getMetaClass(java.lang.Class) - Method in InvokerHelper
-
- getMetaClass() - Method in IteratorClosureAdapter
-
- getMetaClass(java.lang.Class) - Method in MetaClassRegistry
-
The main function of the registry
If a metaclass exists then return it
otherwise create one, put it in the registry and return it
- getMetaClass(java.lang.Object) - Method in MetaClassRegistryImpl
-
- getMetaClass(Class<T>) - Method in Realm
-
- getMetaClass() - Method in Sequence
-
Returns the metaclass for a given class.
- Returns:
- the metaClass of this instance
- getMetaClass() - Method in Wrapper
-
- getMetaClassCreationHandler() - Method in MetaClassRegistry
-
Retrieves the MetaClassCreationHandle that is responsible for constructing MetaClass instances
- getMetaClassCreationHandler() - Method in MetaClassRegistryImpl
-
Gets a handle internally used to create MetaClass implementations
WARNING: experimental code, likely to change soon
- getMetaClassForClass() - Method in ClassInfo
-
Returns the most appropriate metaclass for this class.
- getMetaClassRegistry() - Method in GroovySystem
-
- getMetaClassRegistryChangeEventListeners() - Method in MetaClassRegistry
-
Returns all registered class change listener for constant metaclasses.
- getMetaClassRegistryChangeEventListeners() - Method in MetaClassRegistryImpl
-
Gets an array of all registered ConstantMetaClassListener instances.
- getMetaDataMap() - Method in ASTNode
-
Returns the metadata map for this node.
- getMetaDataMap() - Method in CompileUnit
-
Returns the metadata map for storing compilation-phase metadata.
- getMetaDataMap() - Method in GroovyParser.GroovyParserRuleContext
-
- getMetaDataMap() - Method in NodeMetaDataHandler
-
Returns the underlying metadata map.
- getMetaMethod(java.lang.String, java.lang.Object) - Method in DelegatingMetaClass
-
Retrieves an instance MetaMethod for the given name and argument values, using the types of the
argument values to establish the chosen MetaMethod
- Parameters:
name - The name of the MetaMethodargs - Array containing - 1) the argument values (using which their types are then inferred), or 2) the corresponding argument types
- Returns:
- A MetaMethod or null if it doesn't exist
- getMetaMethod(java.lang.String, java.lang.Object) - Method in MetaClassImpl
-
- getMetaMethod(java.lang.String, java.lang.Object) - Method in MetaObjectProtocol
-
Retrieves an instance MetaMethod for the given name and argument values, using the types of the
argument values to establish the chosen MetaMethod
- getMetaMethod() - Method in MethodMetaProperty
-
- getMetaMethod(java.lang.String, java.lang.Class) - Method in OwnedMetaClass
-
- getMetaMethod() - Method in StaticMethodCallExpression
-
- getMetaMethods() - Method in ClosureMetaClass
-
- getMetaMethods() - Method in DelegatingMetaClass
-
Retrieves a list of MetaMethods held by this class. This list includes MetaMethods added by groovy.lang.ExpandoMetaClass.
- Returns:
- A list of MetaMethods
- getMetaMethods() - Method in ExtensionModule
-
- getMetaMethods() - Method in Inspector
-
Get info about instance and class Methods that are dynamically added through Groovy.
- getMetaMethods() - Method in MetaClass
-
Retrieves a list of MetaMethods held by this class.
- getMetaMethods() - Method in MetaClassImpl
-
Retrieves the list of MetaMethods held by this class.
- getMetaMethods() - Method in OwnedMetaClass
-
- getMetaMethods() - Method in SimpleExtensionModule
-
- getMetaMethodsWithInfo() - Method in Inspector
-
Get info about instance and class Methods that are dynamically added through Groovy.
- getMetaProperty(java.lang.String) - Method in ClosureMetaClass
-
- getMetaProperty(java.lang.String) - Method in DelegatingMetaClass
-
Returns a MetaProperty for the given name or null if it doesn't exist
- Parameters:
name - The name of the MetaProperty
- Returns:
- A MetaProperty or null
- getMetaProperty(java.lang.String) - Method in ExpandoMetaClass
-
Looks up an existing MetaProperty by name
- getMetaProperty(java.lang.String) - Method in MetaClassImpl
-
- getMetaProperty(java.lang.String) - Method in MetaObjectProtocol
-
Returns a MetaProperty for the given name or null if it doesn't exist
- getMetaProperty(java.lang.String) - Method in OwnedMetaClass
-
- getMetaPropertyValues(java.lang.Object) - Method in DefaultGroovyMethods
-
Retrieves the list of
MetaProperty objects for 'self' and wraps it
in a list of
PropertyValue objects that additionally provide
the value for each property of 'self'.
- getMetaPropertyValues() - Method in Expando
-
Returns meta-properties representing the current dynamic properties.
- getMetaRegistry() - Method in InvokerHelper
-
- getMethod(java.lang.String, org.codehaus.groovy.ast.Parameter) - Method in ClassNode
-
Finds a
MethodNode matching the given name and parameter signature in this class
or any of its superclasses.
- getMethod(org.codehaus.groovy.ast.ClassNode, java.lang.String, Predicate<? super MethodNode>) - Method in ClassNodeUtils
-
Searches the class for a method that matches specified name and test.
- getMethod(java.lang.String, java.lang.Class) - Method in MetaClass
-
- getMethod(java.lang.String, java.lang.Class) - Method in MetaClassConstant
-
- getMethod() - Method in MethodCaller
-
- getMethod() - Method in MethodCallExpression
-
Returns the method name or reference expression.
- getMethod() - Method in MethodClosure
-
- getMethod() - Method in MissingMethodException
-
- Returns:
- the name of the method that could not be found
- getMethod() - Method in StaticMethodCallExpression
-
- getMethodAsString() - Method in ConstructorCallExpression
-
- getMethodAsString() - Method in MethodCall
-
- getMethodAsString() - Method in MethodCallExpression
-
Returns the method name as a string if it is a constant static name, or null if the
method name is computed dynamically.
- getMethodAsString() - Method in StaticMethodCallExpression
-
- getMethodCallSyntax(java.lang.String, java.lang.String, java.lang.String) - Method in GroovyScriptEngineFactory
-
Formats a Groovy method call using the supplied receiver, method name, and arguments.
- getMethodDescriptor(java.lang.Class, java.lang.Class) - Method in BytecodeHelper
-
- Returns:
- the ASM method type descriptor
- getMethodDescriptor() - Method in MethodCaller
-
- getMethodFilter() - Method in AbstractExtensionMethodCache
-
- getMethodFilter() - Method in ExtensionMethodCache
-
- getMethodMapper() - Method in AbstractExtensionMethodCache
-
- getMethodMapper() - Method in ExtensionMethodCache
-
- GetMethodMetaProperty(java.lang.String, groovy.lang.MetaMethod) - Constructor in MethodMetaProperty.GetMethodMetaProperty
-
- getMethodMissingDelegate() - Method in FactoryBuilderSupport
-
Returns the method-missing fallback closure.
- getMethodName() - Method in GroovyTestCase
-
Returns the underlying JUnit method name before any AgileDox formatting is applied.
- getMethodName(org.codehaus.groovy.ast.expr.Expression) - Method in InvocationWriter
-
- getMethodName() - Method in MethodPointerExpression
-
- getMethodNames() - Method in GroovyEngine
-
Returns the set of defined method names.
- getMethodNode() - Method in DelegatingController
-
- getMethodNode() - Method in Verifier
-
- getMethodNode() - Method in WriterController
-
Returns the MethodNode for the method currently being compiled, or null
if no method is active or a constructor is being compiled instead.
- getMethodPointer(java.lang.Object, java.lang.String) - Method in InvokerHelper
-
Returns a method closure for the given object and name.
- getMethodPointer(java.lang.Object, java.lang.String) - Method in MetaClassHelper
-
Returns a callable object for the given method name on the object.
- getMethodPointer(java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
Returns a method closure for the given object and name.
- getMethodPointerExpressionWriter() - Method in DelegatingController
-
- getMethodPointerExpressionWriter() - Method in WriterController
-
Returns the MethodPointerExpressionWriter for compiling method pointer
expressions (e.g., {@code String.
- getMethodReferenceExpressionWriter() - Method in DelegatingController
-
- getMethodReferenceExpressionWriter() - Method in StaticTypesWriterController
-
- getMethodReferenceExpressionWriter() - Method in WriterController
-
Returns the MethodReferenceExpressionWriter for compiling method reference
expressions compatible with Java functional interface targets.
- getMethods() - Method in CachedClass
-
Returns all public and protected methods of this class and its superclasses.
- getMethods(java.lang.String) - Method in ClassNode
-
Returns a list of all
MethodNodes with the given name from this class and its superclasses.
- getMethods() - Method in ClosureMetaClass
-
- getMethods() - Method in DecompiledClassNode
-
Returns all methods and constructors declared by this class (excluding inherited methods).
- getMethods() - Method in DelegatingMetaClass
-
Retrieves a list of MetaMethods held by the class. This list does not include MetaMethods added by groovy.lang.ExpandoMetaClass.
- Returns:
- A list of MetaMethods
- getMethods() - Method in ExpandoMetaClass
-
Overrides the behavior of parent getMethods() method to make MetaClass aware of added Expando methods
- getMethods() - Method in GroovyEngine
-
Returns all defined methods mapped to their source definitions.
- getMethods() - Method in Inspector
-
Get info about usual Java instance and class Methods as well as Constructors.
- getMethods() - Method in MetaClass
-
Retrieves a list of MetaMethods held by the class.
- getMethods() - Method in MetaClassImpl
-
Retrieves the list of MetaMethods held by the class.
- getMethods(Class<?>, java.lang.String) - Method in MetaMethodIndex
-
- getMethods() - Method in MetaObjectProtocol
-
Obtain a list of all the meta methods available on this metaclass
- getMethods() - Method in ModuleNode
-
Returns the module's top-level method definitions.
- getMethods() - Method in OwnedMetaClass
-
- getMethods(Class<?>, java.lang.String, Class<?>) - Method in ReflectionUtils
-
- getMethodSuggestionString(java.lang.String, java.lang.Class, java.lang.Object) - Method in MethodRankHelper
-
Returns a string detailing possible solutions to a missing method
if no good solutions can be found an empty string is returned.
- getMethodsWithInfo() - Method in Inspector
-
Get info about usual Java instance and class Methods as well as Constructors.
- getMethodTarget() - Method in MethodCallExpression
-
Returns the target
MethodNode if this method call has been resolved to a specific method.
- getMethodVisitor() - Method in DelegatingController
-
- getMethodVisitor() - Method in WriterController
-
Returns the ASM MethodVisitor for emitting bytecode instructions within
the currently-active method or constructor.
- getMethodWithCaching(java.lang.Class, java.lang.String, java.lang.Object, boolean) - Method in MetaClassImpl
-
Resolves a method and caches the selection for the supplied argument types.
- getMethodWithoutCaching(int, java.lang.Class, java.lang.String, java.lang.Class, boolean) - Method in ClosureMetaClass
-
- getMethodWithoutCaching(java.lang.Class, java.lang.String, java.lang.Class, boolean) - Method in MetaClassImpl
-
Resolves a method without populating the method cache.
- getMillis() - Method in BaseDuration
-
Returns the millisecond component.
- getMillisecond(java.lang.Integer) - Method in TimeCategory
-
- getMilliseconds(java.lang.Integer) - Method in TimeCategory
-
Returns a millisecond-based duration for the supplied number of milliseconds.
- getMimeTypes() - Method in GroovyScriptEngineFactory
-
Returns the MIME types associated with Groovy scripts.
- getMinimumRecompilationInterval() - Method in CompilerConfiguration
-
- getMinute(java.lang.Integer) - Method in TimeCategory
-
- getMinutes() - Method in BaseDuration
-
Returns the minute component.
- getMinutes(java.time.ZoneOffset) - Method in DateTimeExtensions
-
Returns the minutes component of this offset.
- getMinutes(java.lang.Integer) - Method in TimeCategory
-
Returns a minute-based duration for the supplied number of minutes.
- getMixinClass() - Method in MixinInMetaClass
-
Returns the cached class of the mixin class itself.
- getMixinInstance(java.lang.Object) - Method in MixinInMetaClass
-
Returns or creates a mixin instance for the given object.
- getMixins() - Method in ClassNode
-
- Returns:
- the mixins associated with this
ClassNode
- getMkp() - Method in MarkupBuilder
-
- getMode() - Method in JmxBuilder
-
Returns the current builder mode.
- getMode() - Method in ShutdownExpression
-
Returns the shutdown mode.
- getModel() - Method in BaseTemplate
-
Returns the model currently exposed to the template.
- getModel() - Method in BindingProxy
-
Returns the current model object.
- getModel(java.lang.String) - Method in FormModel
-
Looks up the model associated with the supplied field name.
- getModel() - Method in TableMap
-
Returns the wrapped table model.
- getModelMBeanInfoFromMap(java.util.Map) - Method in JmxBeanInfoManager
-
Returns a fully-realized ModelMBeanInfo object from info gathered from the associated meta map.
- getModeNames() - Method in GroovyLexer
-
- getModifiedExpando() - Method in ClassInfo
-
Returns the modified ExpandoMetaClass for this class, if one exists.
- getModifier() - Method in Visibility
-
Returns the JVM modifier flag for this visibility.
- getModifiers() - Method in ArrayMetaMethod
-
- getModifiers() - Method in CachedClass
-
Returns the access modifier flags for this class.
- getModifiers() - Method in CachedConstructor
-
Returns the modifiers of this constructor (e.g., public, private, protected).
- getModifiers() - Method in CachedField
-
- getModifiers() - Method in CachedMethod
-
Returns the modifiers of this method (e.g., public, static, synchronized).
- getModifiers() - Method in ClassNode
-
Returns the modifier flags for this
ClassNode, combining visibility and behavioral modifiers.
- getModifiers() - Method in ClosureMetaMethod
-
- getModifiers() - Method in ClosureStaticMetaMethod
-
- getModifiers() - Method in DynamicVariable
-
- getModifiers() - Method in FieldNode
-
Returns the ASM modifier flags for this field.
- getModifiers() - Method in GeneratedMetaMethod
-
- getModifiers() - Method in MetaArrayLengthProperty
-
- getModifiers() - Method in MetaBeanProperty
-
Gets the visibility modifiers of the property as defined by the getter, setter and field.
- getModifiers() - Method in MetaClassImpl.MetaConstructor
-
Returns the modifiers of this method.
- Returns:
- modifiers as an int.
- getModifiers() - Method in MetaMember
-
Returns the Java modifier bit set for this meta member.
- getModifiers() - Method in MetaMethod
-
Returns the modifiers of this method.
- getModifiers() - Method in MetaProperty
-
Returns the access modifiers.
- getModifiers() - Method in MethodNode
-
Returns the ASM modifier flags for this method.
- getModifiers() - Method in MixinInstanceMetaMethod
-
- getModifiers() - Method in NewInstanceMetaMethod
-
- getModifiers() - Method in NewStaticMetaMethod
-
- getModifiers() - Method in NumberNumberMetaMethod
-
- getModifiers() - Method in Parameter
-
Returns the modifiers (access flags) for this parameter as per org.objectweb.asm.Opcodes.
- getModifiers() - Method in PropertyNode
-
Returns the ASM modifier flags for this property.
- getModifiers() - Method in ReflectionMetaMethod
-
- getModifiers() - Method in TransformMetaMethod
-
- getModifiers() - Method in Variable
-
Returns the modifiers (access flags) for this variable as per org.objectweb.asm.Opcodes.
- getModifiers() - Method in VariableExpression
-
Returns the access modifiers for this variable.
- getModifiersText(int) - Method in AstToTextHelper
-
- getModule() - Method in ClassNode
-
- getModule(java.lang.String) - Method in ExtensionModuleRegistry
-
- getModule() - Method in GroovyRuntimeException
-
Returns the related module, if any.
- getModule() - Method in LinkArgument
-
Get the module attribute.
- getModuleRegistry() - Method in MetaClassRegistryImpl
-
- getModules() - Method in CompileUnit
-
Returns all modules being compiled in this unit.
- getModules() - Method in ExtensionModuleRegistry
-
- getModuleStarImports() - Method in ModuleNode
-
Registers a module-level star import (e.g., import module java.base).
- getMonth(java.lang.Integer) - Method in TimeCategory
-
- getMonths() - Method in BaseDuration
-
Returns the month component.
- getMonths() - Method in DatumDependentDuration
-
Returns the month component.
- Returns:
- the month component
- getMonths(java.lang.Integer) - Method in TimeCategory
-
Returns a month-based duration for the supplied number of months.
- getMopMethodName(org.codehaus.groovy.ast.MethodNode, boolean) - Method in MopWriter
-
Creates a MOP method name from a method.
- getMopName() - Method in MetaMethod
-
Returns the method name used by Groovy's MOP bridge methods.
- getMY_TYPE_NAME() - Method in TailRecursiveASTTransformation
-
- getName() - Method in AbstractCallSite
-
- getName() - Method in ArrayGetAtMetaMethod
-
- getName() - Method in ArrayPutAtMetaMethod
-
- getName() - Method in BuilderASTTransformation.AbstractBuilderStrategy.PropertyInfo
-
Gets the property name.
- getName(java.lang.String) - Method in BuilderSupport
-
A hook to allow names to be converted into some other object
such as a QName in XML or ObjectName in JMX.
- getName() - Method in BytecodeVariable
-
- getName() - Method in CachedClass
-
Returns the fully qualified name of this class.
- getName() - Method in CachedConstructor
-
Returns the name of the constructor (same as the declaring class name).
- getName() - Method in CachedMethod
-
Returns the name of this method.
- getName() - Method in CallSite
-
- getName() - Method in ClassNode
-
Returns the fully-qualified name of this class after following any redirects.
- getName() - Method in ClosureMetaMethod
-
- getName() - Method in ClosureStaticMetaMethod
-
- getName() - Method in DynamicVariable
-
- getName() - Method in ExtensionModule
-
- getName(java.lang.String) - Method in FactoryBuilderSupport
-
A hook to allow names to be converted into some other object such as a
QName in XML or ObjectName in JMX.
- getName() - Method in FieldNode
-
Returns the field name.
- getName() - Method in GeneratedMetaMethod
-
- getName() - Method in GenericsType
-
Returns the name of this generic type.
- getName() - Method in GenericsType.GenericsTypeName
-
Returns the generic type name.
- getName() - Method in GroovyClass
-
- getName() - Method in GroovyCodeSource
-
Returns the logical name used for the script.
- getName() - Method in GroovydocTag
-
Returns the tag name.
- getName() - Method in GroovyTestCase
-
Overload the getName() method to make the test cases look more like AgileDox
(thanks to Joe Walnes for this tip!)
- getName(java.lang.String) - Method in MarkupBuilder
-
Resolves a builder method name to the element name that should be emitted.
- getName() - Method in MetaClassImpl.MetaConstructor
-
Returns the name of this method.
- Returns:
- name of this method
- getName() - Method in MetaMember
-
Returns the simple name of this meta member.
- getName() - Method in MetaMethod
-
Returns the name of this method.
- getName() - Method in MetaProperty
-
Returns the name of the property.
- getName() - Method in MethodKey
-
- getName() - Method in MethodNode
-
Returns the method name.
- getName() - Method in MixinInstanceMetaMethod
-
- getName() - Method in NamedValue
-
Returns the name.
- getName(java.lang.String) - Method in NamespaceBuilderSupport
-
Resolves a builder method name into a namespace-aware node name.
- getName(java.nio.file.Path) - Method in NioExtensions
-
Provide the name of the file or directory.
- getName() - Method in NumberNumberDiv
-
- getName() - Method in NumberNumberMinus
-
- getName() - Method in NumberNumberMultiply
-
- getName() - Method in NumberNumberPlus
-
- getName() - Method in PackageNode
-
- getName() - Method in Parameter
-
Returns the parameter name.
- getName() - Method in PropertyNode
-
Returns the property name (delegated to backing field).
- getName() - Method in PropertyValue
-
Returns the property name.
- getName() - Method in RecordComponentNode
-
Returns the name of this record component.
- getName() - Method in ReflectionMetaMethod
-
- getName() - Method in SourceUnit
-
Returns the name for the SourceUnit.
- getName() - Method in TransformMetaMethod
-
- getName() - Method in Variable
-
Returns the name of the variable.
- getName() - Method in VariableExpression
-
Returns the variable name represented by this expression.
- getName() - Method in WideningCategories.LowestUpperBoundClassNode
-
- getName(int) - Method in WritablePath
-
{@inheritDoc}
- getName(java.lang.Object) - Method in XmlNodePrinter
-
Resolves the printable name for a node, qualified name or plain string.
- getNameCount() - Method in WritablePath
-
{@inheritDoc}
- getNamedBreakLabel(java.lang.String) - Method in CompileStack
-
- Returns:
- the
break label for name
- getNamedContinueLabel(java.lang.String) - Method in CompileStack
-
- Returns:
- the
continue label for name
- getNameMappingClosure() - Method in FactoryBuilderSupport
-
Returns the closure that maps method names to builder names.
- getNames() - Method in GroovyScriptEngineFactory
-
Returns the short and display names accepted when locating this engine.
- getNamespace(java.lang.String) - Method in XmlNodePrinter.NamespaceContext
-
Returns the namespace URI currently registered for the supplied prefix.
- getNamespaceClosure - Property in AbstractStreamingBuilder
-
Closure backing mkp.getNamespaces to expose active and pending namespace mappings.
- getNamespaceTagHints() - Method in NamespaceAwareHashMap
-
Returns the prefix hints used for key normalization.
- getNamespaceURI() - Method in QName
-
Gets the Namespace URI for this QName
- getNameWithoutPackage() - Method in ClassNode
-
- getNameWithTypeArgs() - Method in SimpleGroovyClassDoc
-
Returns the rendered class name including any type arguments.
- getNativeParameterTypes() - Method in ParameterTypes
-
Returns the native Java Class objects for the parameter types.
- getNestHost(org.codehaus.groovy.ast.ClassNode) - Method in ClassNodeUtils
-
Returns the nest host of the given class, which may be the class itself.
- getNewConstantMetaClassVersioning() - Method in DefaultMetaClassInfo
-
- getNewInstanceResolver() - Method in ObjectGraphBuilder
-
Returns the current NewInstanceResolver.
- getNewLineString() - Method in TemplateConfiguration
-
- getNewMetaClass() - Method in MetaClassRegistryChangeEvent
-
Get the new MetaClass
- getNewMetaMethods() - Method in CachedClass
-
Returns a list of new meta-methods added to this class's meta-class.
- getNextClosureInnerName(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in GeneratorContext
-
- getNextConstructorReferenceSyntheticMethodName(org.codehaus.groovy.ast.MethodNode) - Method in GeneratorContext
-
- getNextHelperMethodIndex() - Method in WriterController
-
Returns the next sequential index for an internally-generated helper method.
- getNextInnerClassIdx() - Method in GeneratorContext
-
- getNextLambdaInnerName(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in GeneratorContext
-
- getNextNode(java.util.Iterator) - Method in NodeIterator
-
Returns the next node visible to callers, or null when iteration is exhausted.
- getNextSuperClass(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
Returns a super class or interface for a given class depending on supplied
target.
- getNimbusLAFName() - Method in LookAndFeelHelper
-
Finds the first available Nimbus look and feel implementation.
- getNinth() - Method in Tuple9
-
Returns the ninth element.
- getNode() - Method in GroovyRuntimeException
-
Returns the related AST node, if any.
- getNode() - Method in TreeContext
-
Returns the AST node represented by this context.
- getNodeIcon() - Method in Console
-
Returns the icon used for AST and object browser tree nodes.
- getNodeMetaData() - Method in NodeMetaDataHandler
-
Returns an unmodifiable snapshot of the current node metadata.
- getNodes() - Method in MarkdownDocument
-
The raw top-level nodes of the document.
- getNonClosureOuter(Class<?>) - Method in MetaClassImpl
-
- getNormalizedColumn(int, int) - Method in SourceText
-
Returns the column in getNormalizedText() corresponding
to the given line and column in the original source text.
- getNormalizedEncoding() - Method in EncodingAwareBufferedWriter
-
The encoding as returned by the underlying OutputStreamWriter.
- getNormalizedText() - Method in SourceText
-
Returns the assertion's source text after removing line breaks.
- getNormalizedType(java.lang.String) - Method in JmxBuilderTools
-
Returns the proper type's class name when a short version is provided (i.e.
- getNormalOpResultType() - Method in BinaryBooleanExpressionHelper
-
- getNormalOpResultType() - Method in BinaryDoubleExpressionHelper
-
- getNormalOpResultType() - Method in BinaryExpressionWriter
-
- getNormalOpResultType() - Method in BinaryFloatExpressionHelper
-
- getNormalOpResultType() - Method in BinaryIntExpressionHelper
-
- getNormalOpResultType() - Method in BinaryLongExpressionHelper
-
- getNormalOpResultType() - Method in BinaryObjectExpressionHelper
-
- getNow() - Method in BaseDuration.From
-
Returns the computed date relative to now.
- getNullObject() - Method in NullObject
-
Returns the NullObject reference.
- getNumberOfPages() - Method in TextEditor
-
{@inheritDoc}
- getObject() - Method in ExpandedVariable
-
Returns the value that should be expanded directly into the SQL text.
- getObject() - Method in Inspector
-
Gets the object being inspected.
- getObject(Supplier<? extends T>) - Method in ObjectHolder
-
Returns the currently held object, initializing it from the supplier when needed.
- getObjectCloner() - Method in GroovyEngine
-
Returns the current object cloner.
- getObjectDistance(org.codehaus.groovy.ast.ClassNode) - Method in InnerClassVisitorHelper
-
- getObjectExpression() - Method in CompareToNullExpression
-
- getObjectExpression() - Method in MethodCallExpression
-
Returns the object (receiver) on which this method is invoked.
- getObjectExpression() - Method in PropertyExpression
-
- getObjectInitializerStatements() - Method in ClassNode
-
- getObjectProperties(java.lang.Object) - Method in DefaultJsonGenerator
-
Collects the public readable properties of the given object for JSON object serialization.
- getOffset(java.time.ZoneId, java.time.Instant) - Method in DateTimeExtensions
-
- getOffsetAndSizeExpr() - Method in LimitExpression
-
Returns the offset-and-size expression.
- getOldMetaClass() - Method in MetaClassRegistryChangeEvent
-
Get the old MetaClass
- getOnExpression() - Method in JoinExpression
-
Returns the optional on clause.
- getOnPopHandlers() - Method in TreeContext
-
Returns handlers invoked when this context is popped.
- getOpcode() - Method in ModifierNode
-
Returns the ASM opcode corresponding to this modifier.
- getOperandStack() - Method in DelegatingController
-
- getOperandStack() - Method in WriterController
-
Returns the OperandStack managing the JVM operand stack, tracking stack
depth and type information for bytecode verification and optimization.
- getOperandType(org.codehaus.groovy.ast.ClassNode) - Method in BinaryExpressionMultiTypeDispatcher
-
- getOperation() - Method in BinaryExpression
-
Returns the operation token representing the binary operation.
- getOperation() - Method in PostfixExpression
-
Returns the operator token.
- getOperation() - Method in PrefixExpression
-
Returns the operator token.
- getOperation() - Method in SetOperationExpression
-
Returns the operation name.
- getOperationInfoFromMap(java.util.Map) - Method in JmxOperationInfoManager
-
Generates a ModelMBeanOperationInfo object from a meta map provided.
- getOperationInfosFromMap(java.util.Map) - Method in JmxOperationInfoManager
-
This method extracts an array of MBeanOperationInfo from a list of meta maps.
- getOptimizationOptions() - Method in CompilerConfiguration
-
Gets the optimization options for this configuration.
- getOptionProperties(java.lang.String) - Method in OptionAccessor
-
Returns properties collected for a map-style option.
- getOptions() - Method in GroovyTypeCheckingExtensionSupport
-
- getOptions() - Method in TypeCheckingExtension
-
Returns the options passed to this extension via the parameterized extension syntax,
e.g.
- getOptionValue(TypedOption<T>, T) - Method in OptionAccessor
-
Returns the value of the specified typed option.
- getOrAddClosureClass(org.codehaus.groovy.ast.expr.ClosureExpression, int) - Method in ClosureWriter
-
- getOrCreateMetaDataMap() - Method in NodeMetaDataHandler
-
Returns the existing metadata map, creating one via
newMetaDataMap()
on first use.
- getOrderBy() - Method in SqlOrderByVisitor
-
Returns the SQL ORDER BY fragment built so far.
- getOrderExpression() - Method in GinqExpression
-
Returns the orderby clause.
- getOrderNumber() - Method in IndyInterface.CallType
-
- getOrdersExpr() - Method in OrderExpression
-
Returns the order expression.
- getOrElse(Function<Throwable,? extends T>) - Method in AwaitResult
-
Returns the value if successful, or applies the given function to
the error to produce a fallback value.
- getOriginalCondition(org.codehaus.groovy.ast.AnnotationNode) - Method in BaseVisitor
-
Returns the original closure expression stored on the annotation, if it has not yet been replaced.
- getOriginalDeclarationType(org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypeCheckingVisitor
-
- getOriginalMessage() - Method in SyntaxException
-
Returns the original error message without location information.
- getOriginType() - Method in DynamicVariable
-
- getOriginType() - Method in FieldNode
-
Returns the original declared type of this field before any transformations.
- getOriginType() - Method in Parameter
-
Returns the original type of this parameter before any wrapping of primitive types.
- getOriginType() - Method in PropertyNode
-
Returns the original property type before any transformations (delegated to backing field).
- getOriginType() - Method in Variable
-
Returns the original type of this variable before any type wrapping or transformation.
- getOriginType() - Method in VariableExpression
-
Returns the original type used when this variable expression was created.
- getOrPut(K, V) - Method in ManagedIdentityConcurrentMap
-
Get the key specified value, or put the default value and return it if the key is absent
- getOut() - Method in BaseTemplate
-
Convenience method to return the current writer instance.
- getOut(java.lang.Process) - Method in ProcessGroovyMethods
-
An alias method so that a process appears similar to System.out, System.in, System.err;
you can use process.in, process.out, process.err in a similar fashion.
- getOut() - Method in ProcessResult
-
Returns the standard output of the process as a String.
- getOuter() - Method in SimpleGroovyClassDoc
-
Returns the enclosing class when this class is nested.
- getOuterClass() - Method in ClassNode
-
Returns the outer class of this
ClassNode, or
null if this is not an inner class.
- getOuterClass() - Method in InnerClassNode
-
Returns the class that encloses this inner class, or null if this is a top-level class.
- getOuterClasses() - Method in ClassNode
-
Returns a list of all outer classes enclosing this
ClassNode in hierarchical order.
- getOuterField(java.lang.String) - Method in ClassNode
-
- Returns:
- the field on the outer class or
null if this is not an inner class
- getOuterField(java.lang.String) - Method in InnerClassNode
-
Retrieves a field from the enclosing class by name, enabling access to outer class fields
from within the inner class scope.
- getOutermostClass() - Method in DelegatingController
-
- getOuterMostClass() - Method in InnerClassNode
-
Returns the outermost class in the nesting hierarchy by recursively traversing outer class references
until reaching a class that has no outer class.
- getOutermostClass() - Method in WriterController
-
Returns the outermost enclosing class in the nesting hierarchy.
- getOutput() - Method in CompilerConfiguration
-
Gets the currently configured output writer.
- getOutputBackground() - Method in ThemeManager
-
Returns the active theme's output background colour.
- getOutputStatement(java.lang.String) - Method in GroovyScriptEngineFactory
-
Produces a Groovy statement that prints the supplied text.
- getOutputStyle() - Method in ConsoleSupport
-
Returns the style used for evaluated output.
- getOverride() - Method in ProxyGenerator
-
Returns the override class loader used for proxy generation.
- getOwner() - Method in Closure
-
- Returns:
- the owner Object to which method calls will go which is
typically the outer class when the closure is constructed
- getOwner() - Method in CurriedClosure
-
- getOwner() - Method in FieldNode
-
Returns the class that declares this field.
- getOwner() - Method in MethodClosure
-
- getOwner() - Method in MixedInMetaClass
-
- getOwner() - Method in OwnedMetaClass
-
- getOwnerClass() - Method in MethodClosure
-
- getOwnerClass() - Method in NewMetaMethod
-
- getOwnerMetaClass(java.lang.Object) - Method in MixedInMetaClass
-
- getOwnerMetaClass(java.lang.Object) - Method in OwnedMetaClass
-
- getOwnerType() - Method in StaticMethodCallExpression
-
- getPackage() - Method in ClassNode
-
- getPackage() - Method in ModuleNode
-
Returns the package node for this module.
- getPackageName() - Method in ASTHelper
-
Returns the package name in which this module is located.
- getPackageName() - Method in ClassNode
-
- getPackageName() - Method in ImportNode
-
Returns the package name for a wildcard import, or the package containing
the imported type or static member.
- getPackageName() - Method in ModuleNode
-
Returns the module's package name.
- getPackages() - Method in GroovyEngine.EngineClassLoader
-
Returns all packages loaded by this class loader.
- getPackages() - Method in LinkArgument
-
Get the packages attribute.
- getPackageTemplates() - Method in Groovydoc
-
Creates and returns an array of package template classpath entries.
- getPageFormat(int) - Method in TextEditor
-
{@inheritDoc}
- getParameter(java.lang.String) - Method in GroovyScriptEngineFactory
-
Resolves a standard JSR-223 metadata key for this engine.
- getParameterCount() - Method in DefaultCachedMethodKey
-
- getParameterCount() - Method in DefaultMethodKey
-
- getParameterCount() - Method in MethodKey
-
- getParameterCount() - Method in TemporaryMethodKey
-
- getParameters() - Method in ClosureExpression
-
Returns the parameter definitions for this closure.
- getParameters() - Method in CompilerConfiguration
-
Returns true if parameter metadata generation has been enabled.
- getParameters() - Method in DataSet
-
Returns the positional parameter values corresponding to
getSql().
- getParameters() - Method in Groovy
-
Returns true if parameter metadata generation has been enabled.
- getParameters() - Method in Groovyc
-
Returns true if parameter metadata generation has been enabled.
- getParameters() - Method in MethodNode
-
Returns the parameter list for this method.
- getParameters(groovy.lang.GString) - Method in Sql
-
Hook to allow derived classes to override behavior associated with
extracting params from a GString.
- getParameters() - Method in SqlWhereVisitor
-
Returns the positional parameters collected while building the SQL fragment.
- getParametersSafe(org.codehaus.groovy.ast.expr.ClosureExpression) - Method in ClosureUtils
-
- Returns:
- the parameters for the ClosureExpression
- getParametersText(org.codehaus.groovy.ast.Parameter) - Method in AstToTextHelper
-
- getParameterText(org.codehaus.groovy.ast.Parameter) - Method in AstToTextHelper
-
- getParameterType(int) - Method in DefaultCachedMethodKey
-
- getParameterType(int) - Method in DefaultMethodKey
-
- getParameterType(int) - Method in MethodKey
-
- getParameterType(int) - Method in TemporaryMethodKey
-
- getParameterTypes() - Method in CachedClosureClass
-
Returns the parameter types of the closure's doCall method with maximum parameters.
- getParameterTypes() - Method in Closure
-
- Returns:
- the parameter types of the longest doCall method
of this closure
- getParameterTypes() - Method in ComposedClosure
-
- getParameterTypes() - Method in CurriedClosure
-
- getParameterTypes(org.codehaus.groovy.ast.MethodNode, java.lang.String, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.CompilationUnit, org.codehaus.groovy.ast.ASTNode) - Method in FirstParam.Component
-
Returns the single parameter signature accepted by the hinted closure.
- Parameters:
node - the annotated method nodeoptions - the hint optionssourceUnit - the current source unitunit - the current compilation unitusage - the closure expression or related AST node
- Returns:
- the inferred parameter types
- getParameterTypes() - Method in ParameterTypes
-
Returns the cached class representations of the parameter types.
- getParameterTypes(org.codehaus.groovy.ast.MethodNode, java.lang.String, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.CompilationUnit, org.codehaus.groovy.ast.ASTNode) - Method in PickAnyArgumentHint
-
Returns the single parameter signature accepted by the hinted closure.
- Parameters:
node - the annotated method nodeoptions - the hint optionssourceUnit - the current source unitunit - the current compilation unitusage - the closure expression or related AST node
- Returns:
- the inferred parameter types
- getParameterTypes(org.codehaus.groovy.ast.MethodNode, java.lang.String, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.CompilationUnit, org.codehaus.groovy.ast.ASTNode) - Method in SecondParam.Component
-
Returns the single parameter signature accepted by the hinted closure.
- Parameters:
node - the annotated method nodeoptions - the hint optionssourceUnit - the current source unitunit - the current compilation unitusage - the closure expression or related AST node
- Returns:
- the inferred parameter types
- getParameterTypes(org.codehaus.groovy.ast.MethodNode, java.lang.String, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.CompilationUnit, org.codehaus.groovy.ast.ASTNode) - Method in SimpleType
-
Returns the single parameter signature accepted by the hinted closure.
- Parameters:
node - the annotated method nodeoptions - the hint optionssourceUnit - the current source unitunit - the current compilation unitusage - the closure expression or related AST node
- Returns:
- the inferred parameter types
- getParameterTypes(org.codehaus.groovy.ast.MethodNode, java.lang.String, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.CompilationUnit, org.codehaus.groovy.ast.ASTNode) - Method in SingleSignatureClosureHint
-
Returns the single parameter signature accepted by the hinted closure.
- getParameterTypes(org.codehaus.groovy.ast.MethodNode, java.lang.String, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.CompilationUnit, org.codehaus.groovy.ast.ASTNode) - Method in ThirdParam.Component
-
Returns the single parameter signature accepted by the hinted closure.
- Parameters:
node - the annotated method nodeoptions - the hint optionssourceUnit - the current source unitunit - the current compilation unitusage - the closure expression or related AST node
- Returns:
- the inferred parameter types
- getParams() - Method in SqlWithParams
-
Returns the positional parameters.
- getParamsCount() - Method in CachedMethod
-
Returns the number of parameters this method accepts.
- getParamterTypes() - Method in MethodKey
-
- getParamTypes() - Method in CachedMethod
-
Returns the parameter type information for this method.
- getParent() - Method in AbstractTypeCheckingExtension.TypeCheckingScope
-
- getParent() - Method in AsyncScope
-
Returns the parent scope, or null if this is a root scope.
- getParent() - Method in DefaultAsyncScope
-
- getParent() - Method in TreeContext
-
Returns the parent traversal context.
- getParent() - Method in VariableScope
-
Returns the parent scope, or null if this is a root scope.
- getParent() - Method in WritablePath
-
{@inheritDoc}
- getParentClasses() - Method in SimpleGroovyClassDoc
-
Returns this class together with its resolved superclass chain.
- getParentClassLoader() - Method in GroovyScriptEngine
-
Get the
ClassLoader that will serve as the parent ClassLoader of the
GroovyClassLoader in which scripts will be executed.
- getParentContext() - Method in FactoryBuilderSupport
-
- Returns:
- the context of the parent of the current node.
- getParentFactory() - Method in FactoryBuilderSupport
-
- Returns:
- the factory of the parent of the current node.
- getParentInterfaces() - Method in SimpleGroovyClassDoc
-
Returns this class and all interfaces reachable from its direct interfaces.
- getParentName() - Method in FactoryBuilderSupport
-
- Returns:
- the name of the parent of the current node.
- getParentNode() - Method in FactoryBuilderSupport
-
- Returns:
- the node of the parent of the current node.
- getParsed() - Method in HttpResult
-
Parses the buffered body according to the Content-Type header when possible.
- getParser(java.lang.String, java.lang.String) - Method in GroovyCommands
-
Creates the parser implementation backing a named slurper format.
- getParserFlavor() - Method in Preferences
-
- getPath(java.lang.String) - Method in GroovyDocUtil
-
Returns the package-style path for the supplied source file name.
- getPayload() - Method in ReevaluatingReference
-
- getPerInstanceMetaClass(java.lang.Object) - Method in ClassInfo
-
Returns the per-instance metaclass for the given object, if one has been set.
- getPermissions(java.security.CodeSource) - Method in GroovyClassLoader
-
{@inheritDoc}
- getPermittedSubclasses() - Method in ClassNode
-
- Returns:
- permitted subclasses of sealed type, may initially be empty in early compiler phases
- getPermittedSubclasses(Class<?>) - Method in ReflectionUtils
-
- getPhantomBundle() - Method in ReferenceBundle
-
Returns the shared phantom-reference bundle.
- getPhase() - Method in CompilationCustomizer
-
- getPhase() - Method in ProcessingUnit
-
Returns the current phase.
- getPhaseDescription() - Method in ProcessingUnit
-
Returns the description for the current phase.
- getPhaseNumber() - Method in CompilePhase
-
Returns the underlying integer Phase number.
- getPid(java.lang.Runtime) - Method in PluginDefaultGroovyMethods
-
Gets the pid of the current Java process.
- getPipeNames() - Method in SystemRegistryImpl
-
Returns the names of all pipe operators.
- getPlainNodeReference(boolean) - Method in ClassNode
-
- getPlainNodeReference() - Method in WideningCategories.LowestUpperBoundClassNode
-
- getPlugin() - Method in VMPluginFactory
-
- getPluginDefaultGroovyMethods() - Method in Java10
-
- getPluginDefaultGroovyMethods() - Method in Java8
-
- getPluginDefaultGroovyMethods() - Method in Java9
-
- getPluginDefaultGroovyMethods() - Method in VMPlugin
-
- getPluginFactory() - Method in CompilerConfiguration
-
- getPluginStaticGroovyMethods() - Method in Java8
-
- getPluginStaticGroovyMethods() - Method in VMPlugin
-
- getPoolSize() - Method in DefaultPool
-
- getPoolSize() - Method in Pool
-
Returns the configured pool size.
- getPostInstantiateDelegates() - Method in FactoryBuilderSupport
-
Returns the active post-instantiation delegates.
- getPostNodeCompletionDelegates() - Method in FactoryBuilderSupport
-
Returns the active post-node-completion delegates.
- getPrecedence(int, boolean) - Method in Types
-
Returns the operator precedence level for the specified type.
- getPrefix() - Method in Namespace
-
Returns the prefix mapped to this namespace
- getPrefix() - Method in QName
-
Gets the Prefix for this QName
- getPreInstantiateDelegates() - Method in FactoryBuilderSupport
-
Returns the active pre-instantiation delegates.
- getPreviewFeatures() - Method in Groovyc
-
Returns true if preview features has been enabled.
- getPrevIndex() - Method in BytecodeVariable
-
- getPrintable(int) - Method in TextEditor
-
{@inheritDoc}
- getPrintAction() - Method in ConsoleTextEditor
-
Returns the action that prints the editor content.
- getPrinter() - Method in MarkupBuilder
-
Returns the printer used to emit markup.
- getProgram(java.lang.String) - Method in GroovyScriptEngineFactory
-
Joins multiple Groovy statements into a single program.
- getProgressCallback() - Method in CompilationUnit
-
- getProject() - Method in AntBuilder
-
#
Gets the Ant project in which the tasks are executed
- getProjectionExpr() - Method in SelectExpression
-
Returns the projection expression.
- getPromptStyle() - Method in ConsoleSupport
-
Returns the style used for prompts.
- getProperties() - Method in ClassNode
-
- getProperties() - Method in ClosureMetaClass
-
- getProperties(java.lang.Object) - Method in DefaultGroovyMethods
-
- getProperties() - Method in DelegatingMetaClass
-
Retrieves a list of MetaProperty instances that the MetaClass has
- See Also:
- MetaProperty
- Returns:
- A list of MetaProperty instances
- getProperties() - Method in Expando
-
- Returns:
- the dynamically expanded properties
- getProperties() - Method in ExpandoMetaClass
-
Returns the available properties for this type.
- Returns:
- a list of
MetaProperty objects
- getProperties() - Method in MetaClass
-
Retrieves a list of MetaProperty instances that the MetaClass has
- getProperties() - Method in MetaClassImpl
-
Returns the available properties for this type.
- getProperties() - Method in MetaObjectProtocol
-
Obtain a list of all meta properties available on this metaclass
- getProperties() - Method in OwnedMetaClass
-
- getPropertiesWithInfo() - Method in Inspector
-
Gets properties together with their values and formatted metadata.
- getProperty(java.lang.Object) - Method in AbstractCallSite
-
- getProperty(java.lang.String) - Method in Binding
-
Overloaded to make variables appear as bean properties or via the subscript operator
- getProperty(java.lang.String) - Method in BindingProxy
-
Lazily creates and returns a half binding for the requested model property.
- getProperty(java.lang.Object) - Method in CachedField
-
- throws:
- RuntimeException if the property could not be evaluated
- Returns:
- the property of the given object
- getProperty(java.lang.Object) - Method in CallSite
-
- getProperty(java.lang.String) - Method in ClassNode
-
Finds a
PropertyNode matching the given name in this ClassNode.
- getProperty(java.lang.String) - Method in Closure
-
Retrieves a property value.
- Parameters:
propertyName - the name of the property of interest
- Returns:
- the given property
- getProperty(java.lang.Class, java.lang.Object, java.lang.String, boolean, boolean) - Method in ClosureMetaClass
-
- getProperty(java.lang.String) - Method in ConfigObject
-
Overrides the default getProperty implementation to create nested ConfigObject instances on demand
for non-existent keys
- getProperty(java.lang.String) - Method in DelegatingMetaClass
-
Retrieves a property value.
- Parameters:
propertyName - the name of the property of interest
- Returns:
- the given property
- getProperty(java.lang.String) - Method in DelegatingScript
-
Resolves properties against the delegate before the script binding.
- getProperty(java.lang.String) - Method in Expando
-
Resolves a property from the dynamic property map before normal lookup.
- getProperty(java.lang.Object, java.lang.String) - Method in ExpandoMetaClass
-
Overrides default implementation just in case getProperty method has been overridden by ExpandoMetaClass
- getProperty(java.lang.String) - Method in ExpandoMetaClass.ExpandoMetaProperty
-
Retrieves a property value.
- Parameters:
propertyName - the name of the property of interest
- Returns:
- the given property
- getProperty(java.lang.String) - Method in FactoryBuilderSupport
-
Overloaded to make variables appear as bean properties or via the subscript operator
- getProperty(java.lang.Object) - Method in GetEffectivePogoFieldSite
-
- getProperty(java.lang.Object) - Method in GetEffectivePojoPropertySite
-
- getProperty(java.lang.String) - Method in GPathResult
-
Returns the specified Property of this GPathResult.
- getProperty(java.lang.String) - Method in GroovyMBean
-
Reads an attribute from the wrapped MBean.
- getProperty(java.lang.String) - Method in GroovyObjectWrapper
-
- getProperty(java.lang.String) - Method in GroovyResultSetExtension
-
Gets the value of the designated column in the current row
of as an Object.
- getProperty(java.lang.String) - Method in GroovyRowResult
-
Retrieve the value of the property by its (case-insensitive) name.
- getProperty(java.lang.String) - Method in GroovyShell
-
Retrieves a property value.
- Parameters:
propertyName - the name of the property of interest
- Returns:
- the given property
- getProperty(java.lang.String) - Method in GroovyTypeCheckingExtensionSupport.TypeCheckingDSL
-
- getProperty(java.lang.String) - Method in HandleMetaClass
-
- getProperty(java.lang.Object, java.lang.String) - Method in InvokerHelper
-
- getProperty(java.lang.String) - Method in MessageSource
-
- getProperty(java.lang.Object) - Method in MetaArrayLengthProperty
-
- throws:
- RuntimeException if the property could not be evaluated
- Returns:
- the property of the given object
- getProperty(java.lang.Object) - Method in MetaBeanProperty
-
Gets the property of the given object.
- getProperty(java.lang.Class, java.lang.Object, java.lang.String, boolean, boolean) - Method in MetaClass
-
- getProperty(java.lang.Object, java.lang.String) - Method in MetaClassImpl
-
- getProperty(java.lang.Object) - Method in MetaExpandoProperty
-
- Returns:
- the property of the given object
- getProperty(java.lang.Object, java.lang.String) - Method in MetaObjectProtocol
-
Retrieves a property of an instance of the class returned by the getTheClass() method.
- getProperty(java.lang.Object) - Method in MetaProperty
-
- Returns:
- the property of the given object
- getProperty(java.lang.String) - Method in MethodClosure
-
- getProperty(java.lang.Object) - Method in MethodMetaProperty
-
- getProperty(java.lang.Object) - Method in MethodMetaProperty.GetBeanMethodMetaProperty
-
- getProperty(java.lang.Object) - Method in MethodMetaProperty.GetMethodMetaProperty
-
- getProperty() - Method in MissingPropertyException
-
- Returns:
- the name of the property that could not be found
- getProperty(java.lang.Class, java.lang.Object, java.lang.String, boolean, boolean) - Method in MockProxyMetaClass
-
Intercepts a property read and delegates to the adaptee when no custom value is supplied.
- getProperty(java.lang.Object) - Method in MultipleSetterProperty
-
- getProperty(java.lang.Object) - Method in NullCallSite
-
- getProperty(java.lang.String) - Method in NullObject
-
Tries to get a property on null, which fails except for "class" and "metaClass".
- getProperty(java.lang.String) - Method in OptionAccessor
-
Resolves dynamic property lookups to parsed option values, defaults, or multi-value views.
- getProperty(java.lang.Class, java.lang.Object, java.lang.String, boolean, boolean) - Method in OwnedMetaClass
-
- getProperty(java.lang.Object) - Method in PogoGetPropertySite
-
- getProperty(java.lang.Object) - Method in PogoMetaClassGetPropertySite
-
- getProperty(java.lang.Object) - Method in PojoMetaClassGetPropertySite
-
- getProperty(java.lang.String) - Method in PojoWrapper
-
- getProperty() - Method in PropertyExpression
-
- getProperty() - Method in PropertyModel
-
Returns the property name represented by this model.
- getProperty(java.lang.Class, java.lang.Object, java.lang.String, boolean, boolean) - Method in ProxyMetaClass
-
Interceptors the call to getProperty if a PropertyAccessInterceptor is
available
- getProperty(java.lang.String) - Method in Reference
-
Retrieves a property value.
- Parameters:
propertyName - the name of the property of interest
- Returns:
- the given property
- getProperty(java.lang.String) - Method in ResultSetMetaDataWrapper
-
Resolves a metadata property by invoking the corresponding getter for this wrapper's column.
- getProperty(java.lang.String) - Method in Script
-
Retrieves a property value.
- Parameters:
propertyName - the name of the property of interest
- Returns:
- the given property
- getProperty(java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getProperty(java.lang.String) - Method in Sequence
-
Retrieves a property value.
- Parameters:
propertyName - the name of the property of interest
- Returns:
- the given property
- getProperty(java.lang.String) - Method in XmlParser
-
Looks up a SAX property on the underlying reader.
- getProperty(java.lang.String) - Method in XmlSlurper
-
Looks up a SAX property on the underlying reader.
- getPropertyAsString() - Method in PropertyExpression
-
- getPropertyCategoryGetterName(java.lang.String) - Method in GroovyCategorySupport
-
- getPropertyCategorySetterName(java.lang.String) - Method in GroovyCategorySupport
-
- getPropertyChangeListeners(java.lang.String) - Method in ObservableList
-
Returns listeners registered for a named property.
- getPropertyChangeListeners(java.lang.String) - Method in ObservableMap
-
Returns listeners registered for a named property.
- getPropertyChangeListeners(java.lang.String) - Method in ObservableSet
-
Returns listeners registered for a named property.
- getPropertyForSetter(java.lang.String) - Method in ExpandoMetaClass
-
Returns a property name equivalent for the given setter name or null if it is not a getter
- getPropertyInfo() - Method in Inspector
-
Get info about Properties (Java and Groovy alike).
- getPropertyInfoFromBeanInfo(org.codehaus.groovy.ast.ClassNode, List<String>, List<String>, boolean) - Method in BuilderASTTransformation.AbstractBuilderStrategy
-
- getPropertyInfoFromClassNode(org.codehaus.groovy.transform.BuilderASTTransformation, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.ClassNode, List<String>, List<String>, boolean, boolean) - Method in BuilderASTTransformation.AbstractBuilderStrategy
-
- getPropertyInfos(org.codehaus.groovy.transform.BuilderASTTransformation, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.ClassNode, List<String>, List<String>, boolean, boolean) - Method in BuilderASTTransformation.AbstractBuilderStrategy
-
- getPropertyMethod - Field in MetaClassImpl
-
Effective getProperty handler discovered for this meta class.
- getPropertyMissingDelegate() - Method in FactoryBuilderSupport
-
Returns the property-missing fallback closure.
- getPropertyName() - Method in ExpandoMetaClass.ExpandoMetaProperty
-
Returns the expando member name currently being configured.
- getPropertyName(org.codehaus.groovy.ast.MethodNode) - Method in MethodNodeUtils
-
For a method node potentially representing a property, returns the name of the property.
- getPropertyName() - Method in PropertyBinding
-
Returns the name of the bound property.
- getPropertyOnSuper(java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getPropertyOnSuperSafe(java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getPropertyOnSuperSpreadSafe(java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getPropertySafe(java.lang.Object, java.lang.String) - Method in InvokerHelper
-
- getPropertySafe(java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getPropertySpreadSafe(java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- getPropertySuggestionString(java.lang.String, java.lang.Class) - Method in MethodRankHelper
-
Returns a string detailing possible solutions to a missing field/property
if no good solutions can be found an empty string is returned.
- getPropertyValue(java.lang.String) - Method in TreeNodeWithProperties
-
Returns the value of the named property.
- getPropNameForAccessor(java.lang.String) - Method in ClassNodeUtils
-
Returns the property name, e.g. age, given an accessor name, e.g. getAge.
- getProxyBuilder() - Method in FactoryBuilderSupport
-
Proxy builders are useful for changing the building context, thus
enabling mix & match builders.
- getProxyTarget() - Method in GeneratedGroovyProxy
-
- Returns:
- the proxy target.
- getPT() - Method in CachedConstructor
-
- getPT() - Method in CachedMethod
-
Returns the native Java parameter types of this method.
- getPT() - Method in MixinInstanceMetaMethod
-
- getPT() - Method in ParameterTypes
-
Protected method subclasses override to provide parameter types.
- getPT() - Method in ReflectionMetaMethod
-
- getPublicFields() - Method in Inspector
-
Get info about usual Java public fields incl. constants.
- getQt() - Method in StreamingMarkupBuilder
-
Returns the quote character currently preferred for generated XML.
- getQualifiedName() - Method in ClassTree.Node
-
Returns the fully qualified name of this node's type.
- getQualifiedName() - Method in QName
-
Returns the fully qualified name of this QName
- getQuietly(java.lang.Object) - Method in ConcurrentLinkedHashMap
-
Returns the value to which the specified key is mapped, or null
if this map contains no mapping for the key.
- getQuote() - Method in XmlNodePrinter
-
Get Quote to use when printing attributes.
- getRawCommentText() - Method in ArrayClassDocWrapper
-
Returns the raw documentation comment for this element.
- Returns:
- the raw comment text
- getRawCommentText() - Method in ExternalGroovyClassDoc
-
Returns the raw documentation comment for this element.
- Returns:
- the raw comment text
- getRawCommentText() - Method in GroovyDoc
-
Returns the raw documentation comment for this element.
- getRawCommentText() - Method in SimpleGroovyDoc
-
Returns the raw documentation comment for this element.
- Returns:
- the raw comment text
- getReader() - Method in CharsetToolkit
-
Gets a BufferedReader (indeed a LineNumberReader) from the File
specified in the constructor of CharsetToolkit using the charset discovered or the default
charset if an 8-bit Charset is encountered.
- getReader(java.lang.String) - Method in ClasspathResourceManager
-
Returns a reader for the named resource.
- throws:
- IOException if the resource cannot be opened
- Parameters:
resourceName - the resource to open
- Returns:
- a reader for the resource
- getReader() - Method in FileReaderSource
-
Returns a new Reader on the underlying source object.
- getReader(java.lang.String) - Method in FileSystemResourceManager
-
Returns a reader for the named resource.
- throws:
- IOException if the resource cannot be opened
- Parameters:
resourceName - the resource to open
- Returns:
- a reader for the resource
- getReader() - Method in InputStreamReaderSource
-
Returns a new Reader on the underlying source object.
- getReader() - Method in JsonLexer
-
Underlying reader from which to read the JSON tokens.
- getReader() - Method in ReaderSource
-
Returns a new Reader on the underlying source object.
- getReader(java.lang.String) - Method in ResourceManager
-
Returns a reader for the named resource.
- getReader() - Method in StringReaderSource
-
Returns a new Reader on the underlying source object.
- getReader() - Method in URLReaderSource
-
Returns a new Reader on the underlying source object.
- getReaderSource(org.codehaus.groovy.control.SourceUnit) - Method in BaseASTTransformation
-
Reads the protected
source1 instance variable of
SourceUnit.
- getReceiver() - Method in ConstructorCallExpression
-
- getReceiver() - Method in MethodCall
-
- getReceiver() - Method in MethodCallExpression
-
Returns the receiver as an
ASTNode.
- getReceiver() - Method in StaticMethodCallExpression
-
- getReceiversBlackList() - Method in SecureASTCustomizer
-
- getReceiversWhiteList() - Method in SecureASTCustomizer
-
- getRecompileGroovySource() - Method in CompilerConfiguration
-
- getRecordComponentNames(Class<?>) - Method in Java16
-
- getRecordComponentNames(Class<?>) - Method in VMPlugin
-
Returns the list of record component names or the empty list if
the class is not a record or running on a pre16 JDK.
- getRecordComponents() - Method in ClassNode
-
Gets the record components of record type.
- getRecordComponents() - Method in DecompiledClassNode
-
Returns the record components of this record class (Java 16+).
- getRecurStatement() - Method in ReturnStatementToIterationConverter
-
- getRedoAction() - Method in ConsoleTextEditor
-
Returns the action that redoes the most recently undone edit.
- getReferencedClassVariable(java.lang.String) - Method in VariableScope
-
Returns a class variable referenced by this scope by name, or null if not found.
- getReferencedClassVariables() - Method in VariableScope
-
Returns an unmodifiable map of class variables referenced by this scope.
- getReferencedClassVariablesIterator() - Method in VariableScope
-
Returns an unmodifiable iterator over class variables referenced by this scope.
- getReferencedLocalVariable(java.lang.String) - Method in VariableScope
-
Returns a local variable referenced by this scope by name, or null if not found.
- getReferencedLocalVariablesCount() - Method in VariableScope
-
Returns the count of local variables referenced by this scope.
- getReferencedLocalVariablesIterator() - Method in VariableScope
-
Returns a modifiable iterator over local variables referenced by this scope.
- getReferenceFor(java.lang.String) - Method in ObjectGraphBuilder.DefaultReferenceResolver
-
{@inheritDoc}
- getReferenceFor(java.lang.String) - Method in ObjectGraphBuilder.ReferenceResolver
-
Returns the name of the property that references another node.
- getReferenceQueue() - Method in ReferenceManager
-
Returns the queue monitored by this manager.
- getRegisteredExtensions(java.lang.ClassLoader) - Method in SourceExtensionHandler
-
- getRegistrationGroupItems(java.lang.String) - Method in FactoryBuilderSupport
-
Returns the names registered in the supplied group.
- getRegistrationGroups() - Method in FactoryBuilderSupport
-
Returns the available registration group names.
- getRegistry() - Method in MetaClassImpl
-
Returns the registry for this metaclass
- getRegistry() - Method in MetaClassRegistryChangeEvent
-
Get the MetaClassRegistry that originates this change
- getRegularCallSiteWriter() - Method in StaticTypesWriterController
-
- getRegularInvocationWriter() - Method in StaticTypesWriterController
-
- getRelationNameResolver() - Method in ObjectGraphBuilder
-
Returns the current RelationNameResolver.
- getRelativeDaylightSavingsOffset(java.util.Date, java.util.Date) - Method in TimeCategory
-
Return a Duration representing the DST difference (if any) between two
dates.
- getRelativeRootPath() - Method in ArrayClassDocWrapper
-
- getRelativeRootPath() - Method in ExternalGroovyClassDoc
-
- getRelativeRootPath() - Method in GroovyClassDoc
-
- getRelativeRootPath() - Method in GroovyPackageDoc
-
- getRelativeRootPath() - Method in SimpleGroovyClassDoc
-
- getRelativeRootPath() - Method in SimpleGroovyPackageDoc
-
- getRenderRange() - Method in SmartDocumentFilter
-
Returns the character range scheduled for selective re-rendering.
- getReplacedCondition(org.codehaus.groovy.ast.AnnotationNode) - Method in BaseVisitor
-
Returns the rewritten annotation value once the original closure has been replaced.
- getReplacement() - Method in TreeContext
-
Returns the replacement expression for this context.
- getReplacementCount() - Method in FindReplaceUtility
-
- Returns:
- the replacement count
- getReplaceWith() - Method in StatementReplacer
-
- getReplaceWith() - Method in VariableExpressionReplacer
-
- getReplaceWith() - Method in VariableExpressionTransformer
-
- getResolvedClasses() - Method in GroovyRootDoc
-
Returns the classes that have already been resolved for the current documentation run.
- getResolvedClasses() - Method in SimpleGroovyRootDoc
-
Returns the classes that have already been resolved for the current documentation run.
- Returns:
- a map of resolved class names to class documentation
- getResolveStrategy() - Method in Closure
-
Gets the strategy which the closure uses to resolve methods and properties
- getResolveStrategy() - Method in ComposedClosure
-
- getResolveStrategy() - Method in CurriedClosure
-
- getResolveStrategyName(int) - Method in ClosureUtils
-
Returns the constant name associated with the given resolve strategy.
- getResource(java.lang.String) - Method in GroovyClassLoader.InnerLoader
-
{@inheritDoc}
- getResource(java.lang.String) - Method in RootLoader
-
{@inheritDoc}
- getResourceAsStream(java.lang.String) - Method in GroovyClassLoader.InnerLoader
-
{@inheritDoc}
- getResourceConnection(java.lang.String) - Method in AbstractHttpServlet
-
Interface method for ResourceContainer.
- getResourceConnection(java.lang.String) - Method in GroovyScriptEngine
-
Get a resource connection as a URLConnection to retrieve a script
from the ResourceConnector.
- getResourceConnection(java.lang.String) - Method in ResourceConnector
-
Retrieve a URLConnection to a script referenced by name.
- getResourceLoader() - Method in GroovyClassLoader
-
Returns the resource loader used to resolve Groovy source by script name.
- getResourceLoader() - Method in GroovyClassLoader.InnerLoader
-
Returns the resource loader used to resolve Groovy source by script name.
- Returns:
- the current resource loader
- getResources(java.lang.String) - Method in GroovyClassLoader.InnerLoader
-
{@inheritDoc}
- getResources(java.lang.String) - Method in RootLoader
-
{@inheritDoc}
- getResourceStatement(int) - Method in TryCatchStatement
-
Returns the resource
ExpressionStatement at the specified index,
representing a try-with-resources variable declaration.
- getResourceStatements() - Method in TryCatchStatement
-
- getResultSet() - Method in GroovyResultSetExtension
-
Gets the current result set.
- getResultSetConcurrency() - Method in Sql
-
Gets the resultSetConcurrency for statements created using the connection.
- getResultSetHoldability() - Method in Sql
-
Gets the resultSetHoldability for statements created using the connection.
- getResultSetType() - Method in Sql
-
Gets the resultSetType for statements created using the connection.
- getResultType(org.codehaus.groovy.ast.ClassNode, int, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.BinaryExpression) - Method in StaticTypeCheckingVisitor
-
- getReturnInsnByType(org.objectweb.asm.Type) - Method in TypeUtil
-
- getReturnStatements(org.codehaus.groovy.ast.MethodNode) - Method in AssertStatementCreationUtility
-
- getReturnStatements() - Method in AssertStatementCreationUtility.ReturnStatementVisitor
-
Returns the collected return statements.
- getReturnType() - Method in ArrayPutAtMetaMethod
-
- getReturnType() - Method in BooleanArrayGetAtMetaMethod
-
- getReturnType() - Method in ByteArrayGetAtMetaMethod
-
- getReturnType() - Method in CachedMethod
-
Returns the return type of this method.
- getReturnType() - Method in CharacterArrayGetAtMetaMethod
-
- getReturnType() - Method in ClosureMetaMethod
-
- getReturnType() - Method in ClosureStaticMetaMethod
-
- getReturnType() - Method in DelegatingController
-
- getReturnType() - Method in DoubleArrayGetAtMetaMethod
-
- getReturnType() - Method in FloatArrayGetAtMetaMethod
-
- getReturnType() - Method in GeneratedMetaMethod
-
- getReturnType() - Method in IntegerArrayGetAtMetaMethod
-
- getReturnType() - Method in LongArrayGetAtMetaMethod
-
- getReturnType() - Method in MetaClassImpl.MetaConstructor
-
Returns the return type for this method.
- Returns:
- the return type of this method
- getReturnType() - Method in MetaMethod
-
Returns the return type for this method.
- getReturnType() - Method in MethodNode
-
Returns the method's return type as a
ClassNode.
- getReturnType() - Method in MixinInstanceMetaMethod
-
- getReturnType() - Method in NumberNumberMetaMethod
-
- getReturnType() - Method in ObjectArrayGetAtMetaMethod
-
- getReturnType() - Method in ReflectionMetaMethod
-
- getReturnType() - Method in ShortArrayGetAtMetaMethod
-
- getReturnType() - Method in TransformMetaMethod
-
- getReturnType() - Method in WriterController
-
Returns the declared return type of the current method or constructor.
- getReturnTypes() - Method in TypeCheckingContext.EnclosingClosure
-
- getReverseConverter() - Method in AbstractFullBinding
-
Returns the reverse converter.
- getReverseConverter() - Method in FullBinding
-
Returns the reverse converter used during reverse updates.
- getReverseConverter() - Method in MutualPropertyBinding
-
Returns the converter applied from target to source.
- getRight() - Method in SetOperationExpression
-
Returns the right query.
- getRightExpression() - Method in BinaryExpression
-
Returns the right operand of this binary expression.
- getRoot(boolean) - Method in CSTNode
-
Returns the root token of this node, returning
Token.NULL if
the actual root is
null and
safe is
true.
- getRoot() - Method in Reduction
-
Returns the root token of this reduction.
- getRoot() - Method in Token
-
Returns the root token of this node, which is always this token itself.
- getRoot() - Method in WritablePath
-
{@inheritDoc}
- getRootDoc() - Method in GroovyDocTool
-
Returns the root documentation object built from all added source files.
- getRootDoc() - Method in GroovyRootDocBuilder
-
Resolves inter-class references and returns the completed root doc.
- getRootLoader(java.lang.ClassLoader) - Method in DefaultGroovyMethods
-
Iterates through the classloader parents until it finds a loader with a class
named "org.codehaus.groovy.tools.RootLoader".
- getRootNode() - Method in StructuredSyntaxDocumentFilter
-
Get the root node for lexing the document.
- getRootText() - Method in CSTNode
-
Returns the text content of the root token.
- getRootText() - Method in Token
-
Returns the text content of this token.
- getRow() - Method in ClosureRenderer
-
Returns the current row index.
- getRowCount() - Method in DefaultTableModel
-
Returns the number of rows currently exposed by the rows model.
- getRowCount() - Method in TableMap
-
Returns the current row count from the wrapped model.
- getRowIndex() - Method in TableLayoutRow
-
- Returns:
- the row index of this row
- getRowModel() - Method in DefaultTableModel
-
Returns the value model representing the current row object.
- getRows() - Method in DefaultTableModel
-
- getRowsModel() - Method in DefaultTableModel
-
Returns the model that supplies the backing row collection.
- getRowspan() - Method in TableLayoutCell
-
Returns the number of rows spanned by this cell.
- getRuleIndex() - Method in GroovyParser.AnnotatedQualifiedClassNameContext
-
- getRuleIndex() - Method in GroovyParser.AnnotationContext
-
- getRuleIndex() - Method in GroovyParser.AnnotationNameContext
-
- getRuleIndex() - Method in GroovyParser.AnnotationsOptContext
-
- getRuleIndex() - Method in GroovyParser.AnonymousInnerClassDeclarationContext
-
- getRuleIndex() - Method in GroovyParser.ArgumentsContext
-
- getRuleIndex() - Method in GroovyParser.ArrayInitializerContext
-
- getRuleIndex() - Method in GroovyParser.AssertStatementContext
-
- getRuleIndex() - Method in GroovyParser.BlockContext
-
- getRuleIndex() - Method in GroovyParser.BlockStatementContext
-
- getRuleIndex() - Method in GroovyParser.BlockStatementsContext
-
- getRuleIndex() - Method in GroovyParser.BlockStatementsOptContext
-
- getRuleIndex() - Method in GroovyParser.BreakStatementContext
-
- getRuleIndex() - Method in GroovyParser.BuiltInTypeContext
-
- getRuleIndex() - Method in GroovyParser.CastParExpressionContext
-
- getRuleIndex() - Method in GroovyParser.CatchClauseContext
-
- getRuleIndex() - Method in GroovyParser.CatchTypeContext
-
- getRuleIndex() - Method in GroovyParser.ClassBodyContext
-
- getRuleIndex() - Method in GroovyParser.ClassBodyDeclarationContext
-
- getRuleIndex() - Method in GroovyParser.ClassDeclarationContext
-
- getRuleIndex() - Method in GroovyParser.ClassNameContext
-
- getRuleIndex() - Method in GroovyParser.ClassOrInterfaceModifierContext
-
- getRuleIndex() - Method in GroovyParser.ClassOrInterfaceModifiersContext
-
- getRuleIndex() - Method in GroovyParser.ClassOrInterfaceModifiersOptContext
-
- getRuleIndex() - Method in GroovyParser.ClosureContext
-
- getRuleIndex() - Method in GroovyParser.ClosureOrLambdaExpressionContext
-
- getRuleIndex() - Method in GroovyParser.CommandArgumentContext
-
- getRuleIndex() - Method in GroovyParser.CommandExpressionContext
-
- getRuleIndex() - Method in GroovyParser.CompactConstructorDeclarationContext
-
- getRuleIndex() - Method in GroovyParser.CompilationUnitContext
-
- getRuleIndex() - Method in GroovyParser.ConditionalStatementContext
-
- getRuleIndex() - Method in GroovyParser.ContinueStatementContext
-
- getRuleIndex() - Method in GroovyParser.CreatedNameContext
-
- getRuleIndex() - Method in GroovyParser.CreatorContext
-
- getRuleIndex() - Method in GroovyParser.Dim0Context
-
- getRuleIndex() - Method in GroovyParser.Dim1Context
-
- getRuleIndex() - Method in GroovyParser.DynamicMemberNameContext
-
- getRuleIndex() - Method in GroovyParser.ElementValueArrayInitializerContext
-
- getRuleIndex() - Method in GroovyParser.ElementValueContext
-
- getRuleIndex() - Method in GroovyParser.ElementValuePairContext
-
- getRuleIndex() - Method in GroovyParser.ElementValuePairNameContext
-
- getRuleIndex() - Method in GroovyParser.ElementValuePairsContext
-
- getRuleIndex() - Method in GroovyParser.ElementValuesContext
-
- getRuleIndex() - Method in GroovyParser.EnhancedArgumentListElementContext
-
- getRuleIndex() - Method in GroovyParser.EnhancedArgumentListInParContext
-
- getRuleIndex() - Method in GroovyParser.EnhancedExpressionContext
-
- getRuleIndex() - Method in GroovyParser.EnhancedForControlContext
-
- getRuleIndex() - Method in GroovyParser.EnhancedStatementExpressionContext
-
- getRuleIndex() - Method in GroovyParser.EnumConstantContext
-
- getRuleIndex() - Method in GroovyParser.EnumConstantsContext
-
- getRuleIndex() - Method in GroovyParser.ExpressionContext
-
- getRuleIndex() - Method in GroovyParser.ExpressionInParContext
-
- getRuleIndex() - Method in GroovyParser.ExpressionListContext
-
- getRuleIndex() - Method in GroovyParser.ExpressionListElementContext
-
- getRuleIndex() - Method in GroovyParser.FieldDeclarationContext
-
- getRuleIndex() - Method in GroovyParser.FinallyBlockContext
-
- getRuleIndex() - Method in GroovyParser.ForControlContext
-
- getRuleIndex() - Method in GroovyParser.ForInitContext
-
- getRuleIndex() - Method in GroovyParser.FormalParameterContext
-
- getRuleIndex() - Method in GroovyParser.FormalParameterListContext
-
- getRuleIndex() - Method in GroovyParser.FormalParametersContext
-
- getRuleIndex() - Method in GroovyParser.ForUpdateContext
-
- getRuleIndex() - Method in GroovyParser.GstringContext
-
- getRuleIndex() - Method in GroovyParser.GstringPathContext
-
- getRuleIndex() - Method in GroovyParser.GstringValueContext
-
- getRuleIndex() - Method in GroovyParser.IdentifierContext
-
- getRuleIndex() - Method in GroovyParser.IfElseStatementContext
-
- getRuleIndex() - Method in GroovyParser.ImportDeclarationContext
-
- getRuleIndex() - Method in GroovyParser.IndexPropertyArgsContext
-
- getRuleIndex() - Method in GroovyParser.IndexVariableContext
-
- getRuleIndex() - Method in GroovyParser.KeyedPairContext
-
- getRuleIndex() - Method in GroovyParser.KeywordsContext
-
- getRuleIndex() - Method in GroovyParser.LambdaBodyContext
-
- getRuleIndex() - Method in GroovyParser.ListContext
-
- getRuleIndex() - Method in GroovyParser.LiteralContext
-
- getRuleIndex() - Method in GroovyParser.LocalVariableDeclarationContext
-
- getRuleIndex() - Method in GroovyParser.LoopStatementContext
-
- getRuleIndex() - Method in GroovyParser.MapContext
-
- getRuleIndex() - Method in GroovyParser.MapEntryContext
-
- getRuleIndex() - Method in GroovyParser.MapEntryLabelContext
-
- getRuleIndex() - Method in GroovyParser.MapEntryListContext
-
- getRuleIndex() - Method in GroovyParser.MatchingTypeContext
-
- getRuleIndex() - Method in GroovyParser.MemberDeclarationContext
-
- getRuleIndex() - Method in GroovyParser.MethodBodyContext
-
- getRuleIndex() - Method in GroovyParser.MethodDeclarationContext
-
- getRuleIndex() - Method in GroovyParser.MethodNameContext
-
- getRuleIndex() - Method in GroovyParser.ModifierContext
-
- getRuleIndex() - Method in GroovyParser.ModifiersContext
-
- getRuleIndex() - Method in GroovyParser.ModifiersOptContext
-
- getRuleIndex() - Method in GroovyParser.NamedPropertyArgsContext
-
- getRuleIndex() - Method in GroovyParser.NamePartContext
-
- getRuleIndex() - Method in GroovyParser.NlsContext
-
- getRuleIndex() - Method in GroovyParser.NonWildcardTypeArgumentsContext
-
- getRuleIndex() - Method in GroovyParser.OriginalForControlContext
-
- getRuleIndex() - Method in GroovyParser.PackageDeclarationContext
-
- getRuleIndex() - Method in GroovyParser.ParExpressionContext
-
- getRuleIndex() - Method in GroovyParser.PathElementContext
-
- getRuleIndex() - Method in GroovyParser.PathExpressionContext
-
- getRuleIndex() - Method in GroovyParser.PostfixExpressionContext
-
- getRuleIndex() - Method in GroovyParser.PrimaryContext
-
- getRuleIndex() - Method in GroovyParser.PrimitiveTypeContext
-
- getRuleIndex() - Method in GroovyParser.QualifiedClassNameContext
-
- getRuleIndex() - Method in GroovyParser.QualifiedClassNameListContext
-
- getRuleIndex() - Method in GroovyParser.QualifiedNameContext
-
- getRuleIndex() - Method in GroovyParser.QualifiedNameElementContext
-
- getRuleIndex() - Method in GroovyParser.QualifiedNameElementsContext
-
- getRuleIndex() - Method in GroovyParser.QualifiedStandardClassNameContext
-
- getRuleIndex() - Method in GroovyParser.ReferenceTypeContext
-
- getRuleIndex() - Method in GroovyParser.ResourceContext
-
- getRuleIndex() - Method in GroovyParser.ResourceListContext
-
- getRuleIndex() - Method in GroovyParser.ResourcesContext
-
- getRuleIndex() - Method in GroovyParser.ReturnTypeContext
-
- getRuleIndex() - Method in GroovyParser.ScriptStatementContext
-
- getRuleIndex() - Method in GroovyParser.ScriptStatementsContext
-
- getRuleIndex() - Method in GroovyParser.SepContext
-
- getRuleIndex() - Method in GroovyParser.StandardLambdaExpressionContext
-
- getRuleIndex() - Method in GroovyParser.StandardLambdaParametersContext
-
- getRuleIndex() - Method in GroovyParser.StatementContext
-
- getRuleIndex() - Method in GroovyParser.StatementExpressionContext
-
- getRuleIndex() - Method in GroovyParser.StringLiteralContext
-
- getRuleIndex() - Method in GroovyParser.SwitchBlockStatementExpressionGroupContext
-
- getRuleIndex() - Method in GroovyParser.SwitchBlockStatementGroupContext
-
- getRuleIndex() - Method in GroovyParser.SwitchExpressionContext
-
- getRuleIndex() - Method in GroovyParser.SwitchExpressionLabelContext
-
- getRuleIndex() - Method in GroovyParser.SwitchLabelContext
-
- getRuleIndex() - Method in GroovyParser.SwitchStatementContext
-
- getRuleIndex() - Method in GroovyParser.ThisFormalParameterContext
-
- getRuleIndex() - Method in GroovyParser.TryCatchStatementContext
-
- getRuleIndex() - Method in GroovyParser.TypeArgumentContext
-
- getRuleIndex() - Method in GroovyParser.TypeArgumentsContext
-
- getRuleIndex() - Method in GroovyParser.TypeArgumentsOrDiamondContext
-
- getRuleIndex() - Method in GroovyParser.TypeBoundContext
-
- getRuleIndex() - Method in GroovyParser.TypeContext
-
- getRuleIndex() - Method in GroovyParser.TypeDeclarationContext
-
- getRuleIndex() - Method in GroovyParser.TypeListContext
-
- getRuleIndex() - Method in GroovyParser.TypeNamePairContext
-
- getRuleIndex() - Method in GroovyParser.TypeNamePairsContext
-
- getRuleIndex() - Method in GroovyParser.TypeParameterContext
-
- getRuleIndex() - Method in GroovyParser.TypeParametersContext
-
- getRuleIndex() - Method in GroovyParser.VariableDeclarationContext
-
- getRuleIndex() - Method in GroovyParser.VariableDeclaratorContext
-
- getRuleIndex() - Method in GroovyParser.VariableDeclaratorIdContext
-
- getRuleIndex() - Method in GroovyParser.VariableDeclaratorsContext
-
- getRuleIndex() - Method in GroovyParser.VariableInitializerContext
-
- getRuleIndex() - Method in GroovyParser.VariableModifierContext
-
- getRuleIndex() - Method in GroovyParser.VariableModifiersContext
-
- getRuleIndex() - Method in GroovyParser.VariableModifiersOptContext
-
- getRuleIndex() - Method in GroovyParser.VariableNamesContext
-
- getRuleIndex() - Method in GroovyParser.YieldStatementContext
-
- getRuleNames() - Method in GroovyLexer
-
- getRuleNames() - Method in GroovyParser
-
- getSAMMethod(Class<?>) - Method in CachedSAMClass
-
Finds the abstract method of given class, if it is a SAM type.
- getSample(int, int, org.codehaus.groovy.control.Janitor) - Method in SourceUnit
-
Returns a sampling of the source at the specified line and column,
or null if it is unavailable.
- getSanitizeStackTrace() - Method in Preferences
-
- getScheduler() - Method in AsyncSupport
-
Returns the shared scheduler for delays, timeouts, and scope deadlines.
- getScope() - Method in CompileStack
-
- getScriptBaseClass() - Method in CompilerConfiguration
-
Gets the name of the base class for scripts.
- getScriptBaseClass() - Method in Groovyc
-
Get the base script class name for the scripts (must derive from Script)
- getScriptClassDummy() - Method in ModuleNode
-
Returns a synthetic class wrapping this module's statements and methods.
- getScriptCompleter() - Method in GroovyEngine
-
Returns the completer for Groovy script completions.
- getScriptEngine() - Method in GroovyScriptEngineFactory
-
Creates a new Groovy script engine backed by this factory.
- getScriptExtension() - Method in Groovyc
-
Get the extension to use when searching for Groovy source files.
- getScriptExtensions() - Method in CompilerConfiguration
-
- getScriptSource(boolean, java.lang.String) - Method in GroovyMain
-
Get a new GroovyCodeSource for a script which may be given as a location
(isScript is true) or as text (isScript is false).
- getScriptSourceLocation(java.lang.String) - Method in CompileUnit
-
Retrieves the source file location for a class by name.
- getScriptText() - Method in GroovyCodeSource
-
Returns the Groovy source text.
- getScriptUri(jakarta.servlet.http.HttpServletRequest) - Method in AbstractHttpServlet
-
Returns the include-aware uri of the script or template file.
- getScriptUriAsFile(jakarta.servlet.http.HttpServletRequest) - Method in AbstractHttpServlet
-
Parses the http request for the real script or template source file.
- getScrollableTracksViewportWidth() - Method in TextEditor
-
{@inheritDoc}
- getSearchText() - Method in FindReplaceUtility
-
- getSecond(java.lang.Integer) - Method in TimeCategory
-
- getSecond() - Method in Tuple2
-
Returns the second element.
- getSecond() - Method in Tuple3
-
Returns the second element.
- getSecond() - Method in Tuple4
-
Returns the second element.
- getSecond() - Method in Tuple5
-
Returns the second element.
- getSecond() - Method in Tuple6
-
Returns the second element.
- getSecond() - Method in Tuple7
-
Returns the second element.
- getSecond() - Method in Tuple8
-
Returns the second element.
- getSecond() - Method in Tuple9
-
Returns the second element.
- getSeconds() - Method in BaseDuration
-
Returns the second component.
- getSeconds(java.time.ZoneOffset) - Method in DateTimeExtensions
-
Returns the seconds component of this offset.
- getSeconds(java.lang.Integer) - Method in TimeCategory
-
Returns a second-based duration for the supplied number of seconds.
- getSelectExpression() - Method in GinqExpression
-
Returns the select clause.
- getSelector(org.codehaus.groovy.vmplugin.v8.CacheableCallSite, Class<?>, java.lang.String, int, boolean, boolean, boolean, java.lang.Object) - Method in Selector
-
Returns a Selector or throws a GroovyBugError.
- getSerializationFormats() - Method in GroovyEngine
-
Returns the list of supported serialization formats.
- getSerializedATN() - Method in GroovyLexer
-
- getSerializedATN() - Method in GroovyParser
-
- getService() - Method in DefaultFastStringServiceFactory
-
Returns the default fast string service.
- getService() - Method in FastStringServiceFactory
-
Returns a fast string service, or null when the implementation is unavailable.
- getSetter() - Method in MetaBeanProperty
-
Gets the setter method of this property.
- getSetter() - Method in ThreadManagedMetaBeanProperty
-
- getSetterBlock() - Method in PropertyNode
-
Returns the statement block that implements the setter method.
- getSetterMethod(java.lang.String, boolean) - Method in ClassNode
-
Finds a setter
MethodNode matching the given name.
- getSetterName(java.lang.String, java.lang.String) - Method in BuilderASTTransformation.AbstractBuilderStrategy
-
- getSetterName(java.lang.String) - Method in GeneralUtils
-
- getSetterName(java.lang.String) - Method in MetaProperty
-
Gets the setter for the getter for this property.
- getSetterName() - Method in PropertyNode
-
Returns the explicitly set setter method name for this property.
- getSetterNameOrDefault() - Method in PropertyNode
-
Returns the default setter method name for this property.
- getSeventh() - Method in Tuple7
-
Returns the seventh element.
- getSeventh() - Method in Tuple8
-
Returns the seventh element.
- getSeventh() - Method in Tuple9
-
Returns the seventh element.
- getShell() - Method in ConsoleSupport
-
Returns the shell used for script evaluation.
- getShiftOperationBytecode(int) - Method in BinaryBooleanExpressionHelper
-
- getShiftOperationBytecode(int) - Method in BinaryDoubleExpressionHelper
-
- getShiftOperationBytecode(int) - Method in BinaryExpressionWriter
-
- getShiftOperationBytecode(int) - Method in BinaryFloatExpressionHelper
-
- getShiftOperationBytecode(int) - Method in BinaryIntExpressionHelper
-
- getShiftOperationBytecode(int) - Method in BinaryLongExpressionHelper
-
- getShiftOperationBytecode(int) - Method in BinaryObjectExpressionHelper
-
- getShortName(java.time.ZoneId, java.util.Locale) - Method in DateTimeExtensions
-
Returns the name of this zone formatted according to the
TextStyle.SHORT text style
for the provided
Locale.
- getShortVersion() - Method in GroovySystem
-
Returns the major and minor part of the groovy version excluding the point/patch part of the version.
- getShowLastResult() - Method in Preferences
-
- getSiblings() - Method in TreeContext
-
Returns the child contexts created from this node.
- getSignature() - Method in CachedMethod
-
Returns the complete method signature (name + bytecode descriptor).
- getSignature() - Method in MetaMethod
-
Returns the signature of this method.
- getSignatureFromParamInfo(java.lang.Object) - Method in JmxBuilderTools
-
Returns method signature (as Class[]) given the meta map that describes the method.
- getSilent(KEY) - Method in Cache
-
Retrieves a value using implementation-specific silent access semantics.
- getSilent(K) - Method in SimpleCache
-
{@inheritDoc}
- getSixth() - Method in Tuple6
-
Returns the sixth element.
- getSixth() - Method in Tuple7
-
Returns the sixth element.
- getSixth() - Method in Tuple8
-
Returns the sixth element.
- getSixth() - Method in Tuple9
-
Returns the sixth element.
- getSize() - Method in ListWrapperListModel
-
Returns the number of elements currently exposed by the backing list.
- getSize() - Method in ObservableList
-
Returns the current list size as a bound property value.
- getSize() - Method in ObservableMap
-
Returns the current map size as a bound property value.
- getSizeExpression() - Method in ArrayExpression
-
Returns the size expressions for each dimension of the array.
- getSoftBundle() - Method in ReferenceBundle
-
Returns the shared soft-reference bundle.
- getSource() - Method in GroovySyntaxError
-
- getSource() - Method in SourceUnit
-
- getSource() - Method in TypeCheckingContext
-
- getSourceBinding() - Method in AbstractFullBinding
-
Returns the current source binding.
- getSourceBinding() - Method in FullBinding
-
Returns the source side of the binding.
- getSourceBinding() - Method in MutualPropertyBinding
-
Returns the forward source-side property binding.
- getSourceEncoding() - Method in CompilerConfiguration
-
Gets the currently configured source file encoding.
- getSourceLocator() - Method in SyntaxException
-
Returns the optional source locator string.
- getSourceModel() - Method in ClosureModel
-
Returns the model that supplies the source object consumed by the closures.
- getSourceModel() - Method in NestedValueModel
-
Returns the upstream model that supplies the backing object for this nested model.
- getSourceModel() - Method in PropertyModel
-
Returns the model that supplies the owning object for the bound property.
- getSourcepath() - Method in Groovyc
-
Gets the sourcepath to be used for this compilation.
- getSourcepaths() - Method in SimpleGroovyRootDoc
-
Returns the source paths used to build this root document.
- getSourceUnit() - Method in AbstractInterruptibleASTTransformation
-
- getSourceUnit() - Method in AnnotationConstantsVisitor
-
- getSourceUnit() - Method in AsmClassGenerator
-
- getSourceUnit() - Method in AssertStatementCreationUtility.AddAssertionCallStatementToReturnStatementVisitor
-
This visitor is source-independent.
- getSourceUnit() - Method in AssertStatementCreationUtility.AddResultReturnStatementVisitor
-
This visitor is source-independent.
- getSourceUnit() - Method in AssertStatementCreationUtility.ReturnStatementVisitor
-
This visitor is source-independent.
- getSourceUnit() - Method in ASTMatcher
-
Returns no source unit because AST matching is source-independent.
- getSourceUnit() - Method in ASTTransformationCollectorCodeVisitor
-
- getSourceUnit() - Method in ASTTransformationVisitor
-
- getSourceUnit() - Method in BaseVisitor
-
Returns the source unit associated with this visitor.
- getSourceUnit() - Method in CheckingVisitor
-
Returns no backing source unit because subclasses report errors through the enclosing
type-checking extension rather than this visitor.
- getSourceUnit() - Method in ClassCodeVisitorSupport
-
Provides access to the
SourceUnit for error reporting during visitation.
- getSourceUnit() - Method in ClassCompletionVerifier
-
- getSourceUnit() - Method in ClassGenerator
-
- getSourceUnit() - Method in ClassNodeResolver.LookupResult
-
returns the SourceUnit
- getSourceUnit() - Method in DelegatingController
-
- getSourceUnit() - Method in DependencyTracker
-
- getSourceUnit() - Method in EnumCompletionVisitor
-
- getSourceUnit() - Method in EnumVisitor
-
- getSourceUnit() - Method in ExtendedVerifier
-
- getSourceUnit() - Method in FieldASTTransformation
-
- getSourceUnit() - Method in FinalVariableAnalyzer
-
- getSourceUnit() - Method in GenericsVisitor
-
- getSourceUnit() - Method in GinqAstBuilder
-
Returns the source unit used for syntax reporting.
- getSourceUnit() - Method in GrabAnnotationTransformation
-
Provides access to the
SourceUnit for error reporting during visitation.
Implementations must override this method.
- Returns:
- the source unit for this visitor
- getSourceUnit() - Method in GroovydocVisitor
-
Provides access to the
SourceUnit for error reporting during visitation.
Implementations must override this method.
- Returns:
- the source unit for this visitor
- getSourceUnit() - Method in InnerClassCompletionVisitor
-
- getSourceUnit() - Method in InnerClassVisitor
-
- getSourceUnit() - Method in LabelVerifier
-
- getSourceUnit() - Method in MacroContext
-
- Returns:
- current source unit
- getSourceUnit() - Method in NewifyASTTransformation
-
- getSourceUnit() - Method in OperatorRenameASTTransformation
-
- getSourceUnit() - Method in OptimizerVisitor
-
- getSourceUnit() - Method in PlaceholderVisitor
-
- getSourceUnit() - Method in ResolveVisitor
-
- getSourceUnit() - Method in SharedVariableCollector
-
- getSourceUnit() - Method in StaticCompilationTransformer
-
- getSourceUnit() - Method in StaticImportVisitor
-
- getSourceUnit() - Method in StaticTypeCheckingVisitor
-
- getSourceUnit() - Method in StaticTypeCheckingVisitor.VariableExpressionTypeMemoizer
-
- getSourceUnit() - Method in StaticVerifier
-
- getSourceUnit() - Method in SyntaxErrorReportable
-
Returns the source unit collecting syntax errors.
- getSourceUnit() - Method in VariableScopeVisitor
-
- getSourceUnit() - Method in WriterController
-
Returns the SourceUnit containing the source code being compiled.
- getSourceURI(org.codehaus.groovy.ast.AnnotationNode) - Method in SourceURIASTTransformation
-
- getSourceValue() - Method in ClosureSourceBinding
-
Invokes the configured closure with the current argument list.
- getSourceValue() - Method in ClosureTriggerBinding
-
Evaluates the configured closure to obtain the current source value.
- getSourceValue() - Method in PropertyBinding
-
Reads the current value of the bound property from the bean.
- getSourceValue() - Method in SourceBinding
-
Reads the current source value.
- getSql() - Method in DataSet
-
Returns the lazily assembled SQL query represented by this DataSet.
- getSql() - Method in SqlWithParams
-
Returns the SQL text.
- getSqlOrderByVisitor() - Method in DataSet
-
Returns the lazily initialized visitor used to derive the SQL ORDER BY clause.
- getSqlWhereVisitor() - Method in DataSet
-
Returns the lazily initialized visitor used to derive the SQL WHERE clause.
- getSrcdir() - Method in CompileTaskSupport
-
Returns the configured source roots.
- getSrcdir() - Method in Groovyc
-
Gets the source dirs to find the source java files.
- getSrcdir() - Method in UberCompileTask
-
Returns the configured source roots.
- getStackLength() - Method in OperandStack
-
- getStackTrace() - Method in Exceptions.JsonInternalException
-
Returns the wrapped stack trace when a cause is present.
- getStandardOperationBytecode(int) - Method in BinaryBooleanExpressionHelper
-
- getStandardOperationBytecode(int) - Method in BinaryDoubleExpressionHelper
-
- getStandardOperationBytecode(int) - Method in BinaryExpressionWriter
-
- getStandardOperationBytecode(int) - Method in BinaryFloatExpressionHelper
-
- getStandardOperationBytecode(int) - Method in BinaryIntExpressionHelper
-
- getStandardOperationBytecode(int) - Method in BinaryLongExpressionHelper
-
- getStandardOperationBytecode(int) - Method in BinaryObjectExpressionHelper
-
- getStarImports() - Method in ModuleNode
-
Returns wildcard (star) import declarations (e.g., import java.util.*).
- getStarImportsBlacklist() - Method in SecureASTCustomizer
-
- getStarImportsWhitelist() - Method in SecureASTCustomizer
-
- getStartColumn() - Method in CSTNode
-
Returns the starting column number of this node in the source.
- getStartColumn() - Method in JsonToken
-
Returns the starting column of this token.
- getStartColumn() - Method in SyntaxException
-
Returns the starting column number of the error.
- getStartColumn() - Method in Token
-
Returns the starting column number of this token in the source.
- getStartLabel() - Method in BytecodeVariable
-
- getStartLine() - Method in CSTNode
-
Returns the starting line number of this node in the source.
- getStartLine() - Method in JsonToken
-
Returns the starting line of this token.
- getStartLine() - Method in SyntaxException
-
Returns the starting line number of the error.
- getStartLine() - Method in Token
-
Returns the starting line number of this token in the source.
- getStatementAnnotations() - Method in Statement
-
Returns the list of statement-level annotations attached to this statement.
- getStatementBlock() - Method in ModuleNode
-
Returns the block of statements defined at module scope.
- getStatementLabel() - Method in Statement
-
Returns the first label attached to this statement (added last by the parser), or null if no labels are present.
- getStatementLabels() - Method in Statement
-
Returns the list of labels attached to this statement, or null if no labels are present.
- getStatements() - Method in BlockStatement
-
Returns the list of
Statements in this block.
- getStatementsBlacklist() - Method in SecureASTCustomizer
-
- getStatementsWhitelist() - Method in SecureASTCustomizer
-
- getStatementWriter() - Method in DelegatingController
-
- getStatementWriter() - Method in StaticTypesWriterController
-
- getStatementWriter() - Method in WriterController
-
Returns the StatementWriter for compiling Groovy statements into bytecode.
- getStaticImports() - Method in ModuleNode
-
Returns static import declarations (e.g., import static java.lang.Math.PI).
- getStaticImportsBlacklist() - Method in SecureASTCustomizer
-
- getStaticImportsWhitelist() - Method in SecureASTCustomizer
-
- getStaticMetaMethod(java.lang.String, java.lang.Class) - Method in ClosureMetaClass
-
- getStaticMetaMethod(java.lang.String, java.lang.Class) - Method in DelegatingMetaClass
-
Finds a static meta method using explicit parameter types.
- getStaticMetaMethod(java.lang.String, java.lang.Object) - Method in MetaClassImpl
-
- getStaticMetaMethod(java.lang.String, java.lang.Object) - Method in MetaObjectProtocol
-
Retrieves a static MetaMethod for the given name and argument values, using the types of the arguments
to establish the chosen MetaMethod
- getStaticMetaMethod(java.lang.String, java.lang.Class) - Method in OwnedMetaClass
-
- getStaticMethods() - Method in MetaClassRegistryImpl
-
- getStaticMethodsExtensionClasses() - Method in MetaInfExtensionModule
-
- getStaticMethodsExtensionClasses() - Method in SimpleExtensionModule
-
- Returns:
- the list of classes defining new static methods.
- getStaticProperty(org.codehaus.groovy.ast.ClassNode, java.lang.String) - Method in ClassNodeUtils
-
Finds static property within the class or super class.
- getStaticStarImports() - Method in ModuleNode
-
Returns static wildcard import declarations (e.g., import static java.lang.Math.*).
- getStaticStarImportsBlacklist() - Method in SecureASTCustomizer
-
- getStaticStarImportsWhitelist() - Method in SecureASTCustomizer
-
- getStepSize() - Method in NumberRange
-
Returns the increment used when traversing this range.
- getStreamAsync(java.lang.Object, Closure<?>) - Method in HttpBuilder
-
Executes an asynchronous streaming GET request.
- getStrings() - Method in GString
-
Returns the string segments surrounding the interpolated values.
- getStrings() - Method in GStringExpression
-
Returns the constant string parts of this GString.
- getStrings() - Method in GStringImpl
-
Get the strings of this GString.
- getStrongMetaClass() - Method in ClassInfo
-
Returns the strong (immutable) metaclass for this class, if one has been set.
- getStubCount() - Method in JavaStubCompilationUnit
-
- getStubdir() - Method in Groovyc
-
Gets the stub directory into which the Java source stub
files should be generated
- getStyleAttrs(java.lang.String) - Method in ThemeManager
-
Returns the attributes for a single theme style key as a plain map
(foreground/background Colors plus bold/italic/underline Booleans).
- getStyles(java.lang.String) - Method in ThemeManager
-
Builds the Swing style map for the active theme and font family.
- getSubclassMetaMethods(java.lang.String) - Method in ExpandoMetaClass
-
Returns subclass-scoped meta methods contributed by specialized meta classes.
- Parameters:
methodName - the method name
- Returns:
- subclass methods for the name, or
null if none are registered
- getSubclassMetaMethods(java.lang.String) - Method in MetaClassImpl
-
Returns subclass-scoped meta methods contributed by specialized meta classes.
- getSubscriberCount() - Method in BroadcastChannel
-
Returns the number of current subscribers.
- getSubstanceLAFName() - Method in LookAndFeelHelper
-
Finds the first available Substance look and feel implementation.
- getSuperClass() - Method in ClassNode
-
- Returns:
- the
ClassNode of the super class of this type
- getSuperClass(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in GenericsUtils
-
- getSuperClassDistance() - Method in CachedClass
-
Computes the distance from this class to the superclass hierarchy, used for type matching.
- getSuperClasses() - Method in MetaClassImpl
-
Returns the cached super-class chain used while building method and property indexes.
- getSuperClassName() - Method in SimpleGroovyClassDoc
-
Returns the unresolved superclass name parsed from source.
- getSuperMethodNames() - Method in WriterController
-
Returns the list of method names defined by the superclass.
- getSuperNonPropertyFields(org.codehaus.groovy.ast.ClassNode) - Method in GeneralUtils
-
- getSuperPropertyFields(org.codehaus.groovy.ast.ClassNode) - Method in GeneralUtils
-
- getSwitchPoint() - Method in MetaClassConstant
-
- getSyntaxError(int) - Method in ErrorCollector
-
Returns the specified error's underlying SyntaxException, or null if it isn't one.
- getSyntaxErrorSource() - Method in GroovyLexer
-
- getSyntaxErrorSource() - Method in GroovyParser
-
- getSyntaxErrorSource() - Method in SyntaxErrorReportable
-
- getSyntaxHighlighter() - Method in GroovyEngine
-
Returns the syntax highlighter for Groovy code.
- getSyntheticProperties() - Method in AbstractButtonProperties
-
- getSyntheticProperties() - Method in JComboBoxProperties
-
Returns the synthetic trigger bindings exposed for
JComboBox.
- getSyntheticProperties() - Method in JComponentProperties
-
Returns the synthetic trigger bindings exposed for
JComponent.
- getSyntheticProperties() - Method in JListProperties
-
Returns trigger bindings keyed by synthetic JList property name.
- getSyntheticProperties() - Method in JScrollBarProperties
-
Returns the synthetic trigger bindings exposed for
JScrollBar.
- getSyntheticProperties() - Method in JSliderProperties
-
Returns the synthetic trigger bindings exposed for
JSlider.
- getSyntheticProperties() - Method in JSpinnerProperties
-
Returns the synthetic trigger bindings exposed for
JSpinner.
- getSyntheticProperties() - Method in JTableProperties
-
Returns the synthetic trigger bindings exposed for
JTable.
- getSyntheticProperties() - Method in JTextComponentProperties
-
- getSyntheticTriggerBinding(java.lang.Object) - Method in BindPath
-
Resolves the synthetic trigger binding that matches the supplied object and property.
- getSystemPropertySafe(java.lang.String) - Method in SystemUtil
-
Retrieves a System property, or null if:
- the property isn't found
- the property name is null or empty
- getTable() - Method in ClosureRenderer
-
Returns the current table being rendered.
- getTableCellEditorComponent(javax.swing.JTable, java.lang.Object, boolean, int, int) - Method in ButtonOrTextEditor
-
Returns an editor component that matches the current cell value.
- getTableCellEditorComponent(javax.swing.JTable, java.lang.Object, boolean, int, int) - Method in ClosureCellEditor
-
Prepares the editor context for table editing and returns the editor component.
- getTableCellRendererComponent(javax.swing.JTable, java.lang.Object, boolean, boolean, int, int) - Method in ButtonOrDefaultRenderer
-
Returns the supplied component directly when possible, otherwise delegates to the default renderer.
- getTableCellRendererComponent(javax.swing.JTable, java.lang.Object, boolean, boolean, int, int) - Method in ClosureRenderer
-
Prepares table-rendering state and delegates component creation to
render().
- getTableForReading() - Method in ConcurrentReaderHashMap
-
Get ref to table; the reference and the cells it
accesses will be at least as fresh as from last
use of barrierLock
- getTables() - Method in MarkdownDocument
-
All tables anywhere in the document.
- getTagList() - Method in Groovydoc
-
TODO Get list of groovydoc tags
- getTargetAnnotationList(org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.control.SourceUnit) - Method in AnnotationCollectorTransform
-
Returns a list of AnnotationNodes for the value attribute of the given
AnnotationNode.
- getTargetBinding() - Method in AbstractFullBinding
-
Returns the current target binding.
- getTargetBinding() - Method in FullBinding
-
Returns the target side of the binding.
- getTargetBinding() - Method in MutualPropertyBinding
-
Returns the forward target-side property binding.
- getTargetBytecode() - Method in CompilerConfiguration
-
Retrieves the compiler bytecode compatibility level.
- getTargetBytecode() - Method in Groovyc
-
Retrieves the compiler bytecode compatibility level.
- getTargetDirectory() - Method in CompilerConfiguration
-
Gets the target directory for writing classes.
- getTargetMethod(org.codehaus.groovy.ast.expr.Expression) - Method in TypeCheckingExtension
-
- getTaskSuccess() - Method in Groovyc
-
Get the result of the groovyc task (success or failure).
- getTemplate(java.net.URL) - Method in TemplateServlet
-
Gets the template created by the underlying engine parsing the request.
- getTemplateConfiguration() - Method in MarkupTemplateEngine
-
Returns the rendering configuration used by this engine.
- getTemplateLoader() - Method in MarkupTemplateEngine
-
Returns the class loader used to compile generated template classes.
- getTemporaryTypesForExpression(org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypeCheckingVisitor
-
- getterThisX(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.PropertyNode) - Method in GeneralUtils
-
This method is similar to
propX(Expression, Expression) but will make sure that if the property
being accessed is defined inside the classnode provided as a parameter, then a getter call is generated
instead of a field access.
- getterX(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.PropertyNode) - Method in GeneralUtils
-
This method is similar to
propX(Expression, Expression) but will make sure that if the property
being accessed is defined inside the classnode provided as a parameter, then a getter call is generated
instead of a field access.
- getTest() - Method in ObservableList
-
Returns the optional event filter closure.
- getTest() - Method in ObservableMap
-
Returns the optional event filter closure.
- getTest() - Method in ObservableSet
-
Returns the optional event filter closure.
- getTestClassName() - Method in GroovyTestCase
-
Builds a unique script name for the current test method.
- getText() - Method in AnnotationConstantExpression
-
- getText() - Method in AnnotationNode
-
- getText() - Method in ArrayExpression
-
- getText() - Method in ASTNode
-
Returns a human-readable text representation of this AST node.
- getText() - Method in AttributeExpression
-
- getText() - Method in BinaryExpression
-
- getText() - Method in BitwiseNegationExpression
-
- getText() - Method in BlockStatement
-
- getText() - Method in BooleanExpression
-
- getText() - Method in BytecodeExpression
-
- getText() - Method in CastExpression
-
- getText() - Method in ClassExpression
-
- getText() - Method in ClassNode
-
- getText() - Method in ClosureExpression
-
- getText() - Method in ClosureListExpression
-
- getText() - Method in ConstantExpression
-
- getText() - Method in ConstructorCallExpression
-
- getText() - Method in DeclarationExpression
-
- getText() - Method in ExpressionAsVariableSlot
-
- getText() - Method in ExpressionStatement
-
- getText() - Method in FieldExpression
-
- getText() - Method in FromExpression
-
Returns the textual GINQ form of this clause.
- getText() - Method in GinqExpression
-
Returns the textual GINQ form of this expression.
- getText(java.lang.String) - Method in GroovyMain
-
Get the text of the Groovy script at the given location.
- getText() - Method in GroupExpression
-
Returns the textual GINQ form of this clause.
- getText() - Method in GStringExpression
-
- getText() - Method in HavingExpression
-
Returns the textual GINQ form of this clause.
- getText() - Method in IfStatement
-
- getText() - Method in ImportNode
-
Generates the text representation of this import statement as it would appear in source code.
- getText(java.io.BufferedReader) - Method in IOGroovyMethods
-
Read the content of the BufferedReader and return it as a String.
- getText() - Method in JoinExpression
-
Returns the textual GINQ form of this clause.
- getText() - Method in JsonOutput.JsonUnescaped
-
Returns the raw JSON text.
- getText() - Method in JsonToken
-
Returns the token text.
- getText() - Method in LambdaExpression
-
- getText() - Method in LimitExpression
-
Returns the textual GINQ form of this clause.
- getText() - Method in ListExpression
-
- getText() - Method in MapExpression
-
- getText() - Method in MarkdownDocument
-
Plain-text projection of the document — formatting markers are stripped
and block-level elements are separated by newlines.
- getText() - Method in MethodCall
-
- getText() - Method in MethodCallExpression
-
- getText() - Method in MethodNode
-
- getText() - Method in MethodPointerExpression
-
- getText() - Method in MethodReferenceExpression
-
- getText(java.lang.String) - Method in MockOutputTool
-
Returns the content written to the given filename by
writeToOutput, or
null if no content has been written.
- getText() - Method in ModifierNode
-
Returns the source text representation of this modifier.
- getText(java.nio.file.Path) - Method in NioExtensions
-
Read the content of the Path and returns it as a String.
- getText() - Method in NotExpression
-
- getText() - Method in OnExpression
-
Returns the textual GINQ form of this clause.
- getText() - Method in OrderExpression
-
Returns the textual GINQ form of this clause.
- getText() - Method in PackageNode
-
- Returns:
- the text display of this package definition
- getText() - Method in PostfixExpression
-
Returns a string representation of this postfix expression.
- getText() - Method in PrefixExpression
-
Returns a string representation of this prefix expression.
- getText(java.lang.Process) - Method in ProcessGroovyMethods
-
Read the text of the output stream of the Process.
- getText() - Method in PropertyExpression
-
- getText() - Method in RangeExpression
-
- getText(java.net.URL, Map<String,?>, java.lang.String) - Method in ResourceGroovyMethods
-
Read the data from this URL and return it as a String.
- getText() - Method in ReturnStatement
-
- getText() - Method in SelectExpression
-
Returns the textual GINQ form of this clause.
- getText() - Method in SetOperationExpression
-
Returns the textual GINQ form of this expression.
- getText() - Method in ShutdownExpression
-
Returns the textual form of the shutdown expression.
- getText() - Method in SpreadExpression
-
- getText() - Method in SpreadMapExpression
-
- getText() - Method in StaticMethodCallExpression
-
- getText() - Method in TernaryExpression
-
- getText() - Method in ThrowStatement
-
- getText() - Method in Token
-
Returns the text content of this token.
- getText() - Method in TupleExpression
-
- getText(int) - Method in Types
-
Returns the text representation for the specified token type.
- getText() - Method in UnaryMinusExpression
-
- getText() - Method in UnaryPlusExpression
-
- getText() - Method in VariableExpression
-
Returns the variable name as a string representation of this expression.
- getText() - Method in WhereExpression
-
Returns the textual GINQ form of this clause.
- getText() - Method in WideningCategories.LowestUpperBoundClassNode
-
- getTextAsync(java.nio.file.Path, java.lang.String) - Method in NioExtensions
-
Asynchronously read the content of the Path and return it as a String
using the specified charset.
- getTextEditor() - Method in ConsoleTextEditor
-
Returns the wrapped text editor component.
- getTextNodeData(org.w3c.dom.Text) - Method in DomToGroovy
-
Returns the trimmed text content used when emitting a DOM text node.
- getTextToRun(boolean) - Method in HistoryRecord
-
Returns the text that should be executed for this history entry.
- getTheCachedClass() - Method in MetaClassImpl
-
Returns the cached class for this metaclass
- getTheClass() - Method in CachedClass
-
Returns the underlying Java Class object wrapped by this cached class.
- getTheClass() - Method in ClassInfo
-
Returns the Class associated with this ClassInfo.
- getTheClass() - Method in DelegatingMetaClass
-
Retrieves that Java Class that the attached Meta behaviours apply to
- Returns:
- The java.lang.Class instance
- getTheClass() - Method in MetaClassImpl
-
Returns the class this metaclass represents.
- getTheClass() - Method in MetaObjectProtocol
-
Retrieves that Java Class that the attached Meta behaviours apply to
- getTheClass() - Method in OwnedMetaClass
-
- getThemeLabel() - Method in ThemeManager
-
Returns a user-facing label for the current theme mode.
- getThird() - Method in Tuple3
-
Returns the third element.
- getThird() - Method in Tuple4
-
Returns the third element.
- getThird() - Method in Tuple5
-
Returns the third element.
- getThird() - Method in Tuple6
-
Returns the third element.
- getThird() - Method in Tuple7
-
Returns the third element.
- getThird() - Method in Tuple8
-
Returns the third element.
- getThird() - Method in Tuple9
-
Returns the third element.
- getThisObject() - Method in Closure
-
Returns the lexical this object for this closure.
- getThisType() - Method in WriterController
-
Returns the type of the 'this' reference in the current context.
- getThrowsClauseText(org.codehaus.groovy.ast.ClassNode) - Method in AstToTextHelper
-
- getTimeStamp(java.lang.Class) - Method in GroovyClassLoader
-
Gets the time stamp of a given class.
- getTimeStamp() - Method in GroovyClassLoader.InnerLoader
-
Returns the creation timestamp of this inner loader.
- getTimestamp(Class<?>) - Method in Verifier
-
- getTimestampFromFieldName(java.lang.String) - Method in Verifier
-
- getTimeString(java.time.ZonedDateTime) - Method in DateTimeExtensions
-
- getTimeString(java.util.Date) - Method in DateUtilExtensions
-
- getTimeZone(java.util.Date) - Method in TimeCategory
-
Retrieves the default TimeZone for a date by using the default Locale
settings.
- getTo() - Method in EmptyRange
-
The upper value in the range.
- Returns:
- the upper value in the range
- getTo() - Method in IntRange
-
The upper value in the range.
- Returns:
- the upper value in the range
- getTo() - Method in NumberRange
-
The upper value in the range.
- Returns:
- the upper value in the range
- getTo() - Method in ObjectRange
-
The upper value in the range.
- Returns:
- the upper value in the range
- getTo() - Method in Range
-
The upper value in the range.
- getTo() - Method in RangeExpression
-
Returns the ending expression of the range.
- getToday() - Method in BaseDuration.From
-
Returns the computed date relative to today.
- getToInt() - Method in IntRange
-
Gets the 'to' value as a primitive integer.
- getTokenNames() - Method in GroovyLexer
-
- getTokenNames() - Method in GroovyParser
-
- getTokensBlacklist() - Method in SecureASTCustomizer
-
- getTokensWhitelist() - Method in SecureASTCustomizer
-
- getTolerance() - Method in CompilerConfiguration
-
Returns the requested error tolerance.
- getToolTipText(java.awt.event.MouseEvent) - Method in CellValueToolTipJTable
-
Returns the hovered cell value as tooltip text.
- getTopOperand() - Method in OperandStack
-
- getTotal() - Method in PermutationGenerator
-
Returns the total number of permutations.
- getTransformedMethod() - Method in CachedMethod
-
Returns the transformed version of this method, if one exists.
- getTransformer(org.codehaus.groovy.ast.ASTNode, org.codehaus.groovy.control.SourceUnit) - Method in AstBuilderTransformation
-
Creates the visitor that rewrites AstBuilder closure invocations into string-based
builder calls.
- getTransformer(org.codehaus.groovy.ast.ASTNode, org.codehaus.groovy.control.SourceUnit) - Method in MacroClassTransformation
-
Creates the visitor that rewrites
MacroClass constructor calls.
- getTransformer(org.codehaus.groovy.ast.ASTNode, org.codehaus.groovy.control.SourceUnit) - Method in MacroTransformation
-
Creates the visitor that rewrites macro method calls.
- getTransformer(org.codehaus.groovy.ast.ASTNode, org.codehaus.groovy.control.SourceUnit) - Method in MethodCallTransformation
-
- getTransformLoader() - Method in ASTTransformationsContext
-
- getTransformLoader() - Method in CompilationUnit
-
Returns the class loader for loading AST transformations.
- getTransformLoader() - Method in RecordTypeASTTransformation
-
- getTransforms(org.codehaus.groovy.control.CompilePhase) - Method in ClassNode
-
- getTree() - Method in ClosureRenderer
-
Returns the current tree being rendered.
- getTreeCellEditorComponent(javax.swing.JTree, java.lang.Object, boolean, boolean, boolean, int) - Method in ClosureCellEditor
-
Prepares the editor context for tree editing and returns the editor component.
- getTreeCellRendererComponent(javax.swing.JTree, java.lang.Object, boolean, boolean, boolean, int, boolean) - Method in ClosureRenderer
-
Prepares tree-rendering state and delegates component creation to
render().
- getTreeContext() - Method in ContextualClassCodeVisitor
-
Returns the current traversal context.
- getTreePath() - Method in ContextualClassCodeVisitor
-
Returns the current traversal path, starting with the last completed context.
- getTriggerBean() - Method in EventTriggerBinding
-
Returns the bean that exposes the event handler property.
- getTriggerBinding(org.apache.groovy.swing.binding.PropertyBinding) - Method in BindFactory
-
Resolves a synthetic trigger binding for the supplied property binding when one is available.
- getTrueExpression() - Method in TernaryExpression
-
- getTryStatement() - Method in TryCatchStatement
-
Returns the try block
Statement, which is executed when the try-catch is entered.
- getTupleExpression() - Method in DeclarationExpression
-
This method returns the left hand side of the declaration cast to the TupleExpression type.
- getType() - Method in BitwiseNegationExpression
-
- getType() - Method in BuilderASTTransformation.AbstractBuilderStrategy.PropertyInfo
-
Gets the property type.
- getType() - Method in BytecodeVariable
-
- getType() - Method in ClosureModel
-
Returns the declared value type for this derived model.
- getType() - Method in CSTNode
-
Returns the actual syntactic type of this node as determined by the parser.
- getType() - Method in DeclarationExpression
-
- getType() - Method in DefaultTableColumn
-
- getType() - Method in DynamicVariable
-
- getType() - Method in Expression
-
Returns the type of this expression.
- getType() - Method in FieldExpression
-
- getType() - Method in FieldNode
-
Returns the declared type of this field as a
ClassNode.
- getType() - Method in GenericsType
-
Returns the underlying
ClassNode for this generic type.
- getType() - Method in ImportNode
-
Returns the
ClassNode being imported or providing static members.
- getType() - Method in InParameter
-
The JDBC data type.
- getType() - Method in JsonSlurper
-
Parser type.
- getType() - Method in JsonToken
-
Returns the token type.
- getType() - Method in MetaProperty
-
Returns the ntypeame of the property.
- getType() - Method in MissingClassException
-
- Returns:
- The type that could not be resolved
- getType() - Method in MissingFieldException
-
- Returns:
- The type on which the field was attempted to be called
- getType() - Method in MissingMethodException
-
- Returns:
- The type on which the method was attempted to be called
- getType() - Method in MissingPropertyException
-
- Returns:
- the class which cannot answer the property
- getType() - Method in ModifierNode
-
Returns the modifier type constant (parser token type).
- getType() - Method in ObservableList.ElementEvent
-
Returns the specialized event type ordinal.
- getType() - Method in ObservableMap.PropertyEvent
-
Returns the specialized event type ordinal.
- getType() - Method in ObservableSet.ElementEvent
-
Returns the specialized event type ordinal.
- getType() - Method in OutParameter
-
Get the JDBC datatype for this parameter.
- getType() - Method in Parameter
-
Returns the type of this parameter.
- getType() - Method in PostfixExpression
-
Returns the type of this postfix expression, which is the type of the operand.
- getType() - Method in PrefixExpression
-
Returns the type of this prefix expression, which is the type of the operand.
- getType() - Method in PropertyModel
-
Returns the declared property type.
- getType() - Method in PropertyNode
-
Returns the property type (delegated to backing field).
- getType() - Method in PropertyValue
-
Returns the property type.
- getType() - Method in Receiver
-
- getType() - Method in RecordComponentNode
-
Returns the type of this record component.
- getType() - Method in ReferenceBundle
-
Returns the reference kind represented by this bundle.
- getType() - Method in SpreadExpression
-
- getType() - Method in SpreadMapExpression
-
- getType(org.codehaus.groovy.ast.ASTNode) - Method in StaticTypeCheckingVisitor
-
- getType() - Method in TemporaryVariableExpression
-
- getType() - Method in TernaryExpression
-
- getType() - Method in Token
-
Returns the actual type of this token as determined by the lexer.
- getType(org.codehaus.groovy.ast.ASTNode) - Method in TypeCheckingExtension
-
Returns the inferred type of an expression.
- getType() - Method in UnaryMinusExpression
-
- getType() - Method in UnaryPlusExpression
-
- getType() - Method in ValueHolder
-
Returns the declared value type for this holder.
- getType() - Method in ValueModel
-
Returns the declared value type for this model.
- getType() - Method in Variable
-
Returns the type of the variable.
- getType() - Method in VariableExpression
-
Returns the type of this variable.
- getType() - Method in Wrapper
-
- getTypeAnnotations(org.codehaus.groovy.ast.ClassNode) - Method in ClassNode
-
- getTypeAsString() - Method in ObservableList.ElementEvent
-
Returns the specialized event type name.
- getTypeAsString() - Method in ObservableMap.PropertyEvent
-
Returns the specialized event type name.
- getTypeAsString() - Method in ObservableSet.ElementEvent
-
Returns the specialized event type name.
- getTypeCheckingAnnotations() - Method in StaticCompilationVisitor
-
- getTypeCheckingAnnotations() - Method in StaticTypeCheckingVisitor
-
Returns array of type checking annotations.
- getTypeCheckingContext() - Method in StaticTypeCheckingVisitor
-
Returns the current type checking context.
- getTypeChooser() - Method in DelegatingController
-
- getTypeChooser() - Method in StaticCompilationTransformer
-
- getTypeChooser() - Method in StaticTypesWriterController
-
- getTypeChooser() - Method in WriterController
-
Returns the TypeChooser used to select appropriate type representations
for expressions during compilation, supporting both dynamic and typed paths.
- getTypeClass() - Method in ClassNode
-
Returns the concrete class this classnode relates to.
- getTypeClass() - Method in DecompiledClassNode
-
Resolves the runtime JVM
Class object for this decompiled class node.
- getTypeClass() - Method in MethodPointerExpression
-
- getTypeClass() - Method in WideningCategories.LowestUpperBoundClassNode
-
- getTypeDescription(org.codehaus.groovy.ast.ClassNode) - Method in BytecodeHelper
-
array types are special:
eg.: String[]: classname: [Ljava/lang/String;
int[]: [I
- getTypeDescription() - Method in CachedClass
-
Returns the bytecode type descriptor for this class.
- getTypeDescription() - Method in SimpleGroovyDoc
-
Returns a human-readable description of this element's kind.
- getTypeDescriptor(boolean) - Method in MethodNode
-
- getTypeGenericsSignature(org.codehaus.groovy.ast.ClassNode) - Method in BytecodeHelper
-
- getTypes() - Method in GroovyEngine
-
Returns all defined types mapped to their source definitions.
- getTypeSourceDescription() - Method in ExternalGroovyClassDoc
-
Returns "interface" if the external class is an interface; otherwise "class".
- getTypeSourceDescription() - Method in SimpleGroovyDoc
-
Returns the source-level keyword used to declare this element.
- getUnaryExpressionHelper() - Method in DelegatingController
-
- getUnaryExpressionHelper() - Method in StaticTypesWriterController
-
- getUnaryExpressionHelper() - Method in WriterController
-
Returns the appropriate UnaryExpressionHelper for the current code path.
- getUnboxedType(Class<?>) - Method in TypeHelper
-
- getUncurriedArguments(java.lang.Object) - Method in CurriedClosure
-
- getUndoAction() - Method in ConsoleTextEditor
-
Returns the action that undoes the most recent edit.
- getUndoManager() - Method in ConsoleTextEditor
-
Returns the undo manager backing this editor.
- getUnexpectedToken() - Method in TokenMismatchException
-
Returns the unexpected token that triggered this exception.
- getUnit() - Method in CompilationFailedException
-
- getUnit() - Method in ModuleNode
-
Returns the compile unit managing this module (batch compilation context).
- getUnresolvedInterfaces(boolean) - Method in ClassNode
-
Returns the unresolved interfaces implemented by this
ClassNode with optional redirect resolution.
- getUnresolvedInterfaces(boolean) - Method in DecompiledClassNode
-
Returns the unresolved (not yet redirected) interfaces implemented by this class.
- getUnresolvedName() - Method in ClassNode
-
- getUnresolvedSuperClass(boolean) - Method in ClassNode
-
Returns the unresolved super class of this
ClassNode with optional redirect resolution.
- getUnresolvedSuperClass(boolean) - Method in DecompiledClassNode
-
Returns the unresolved (not yet redirected) superclass of this class.
- getUnwrapper(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- getUpdate() - Method in ClosureRenderer
-
Returns the update closure invoked during rendering.
- getUpdateCount() - Method in Sql
-
- Returns:
- Returns the updateCount.
- getUpdatedParams(List<?>, List<Tuple>) - Method in Sql
-
Resolves the positional parameter list required by a named-parameter query.
- getUpdateStrategy() - Method in PropertyBinding
-
Returns the threading strategy used when applying target updates.
- getUpperBounds() - Method in GenericsType
-
Returns the upper bounds for this wildcard or placeholder type
(e.g., Bound in {@code ?
- getURI() - Method in FileReaderSource
-
Returns a URI for the file of this source.
- getURI() - Method in InputStreamReaderSource
-
TODO: Should return the URI for this source, but we can't know what it is here.
- getUri() - Method in Namespace
-
Returns the URI of this namespace
- getURI() - Method in ReaderSource
-
Returns a URI for this source.
- getURI() - Method in StringReaderSource
-
Returns a Data URI (RFC 2397) containing the literal value of this source string.
- getURI() - Method in URLReaderSource
-
Returns a URI for the URL of this source.
- getURL() - Method in GroovyCodeSource
-
Returns the backing URL when this code source was created from a URL.
- getURLs() - Method in GroovyClassLoader.InnerLoader
-
{@inheritDoc}
- getUsedVariableNames() - Method in UsedVariableTracker
-
- getUserdata(java.lang.Object, boolean) - Method in TreeContext
-
Returns user data for the supplied key.
- getUserStateDirectory() - Method in Main
-
Returns the user state directory used by groovysh for persisted files.
- getV10() - Method in Tuple10
-
Returns the tenth element.
- getV10() - Method in Tuple11
-
Returns the tenth element.
- getV10() - Method in Tuple12
-
Returns the tenth element.
- getV10() - Method in Tuple13
-
Returns the tenth element.
- getV10() - Method in Tuple14
-
Returns the tenth element.
- getV10() - Method in Tuple15
-
Returns the tenth element.
- getV10() - Method in Tuple16
-
Returns the tenth element.
- getV11() - Method in Tuple11
-
Returns the eleventh element.
- getV11() - Method in Tuple12
-
Returns the eleventh element.
- getV11() - Method in Tuple13
-
Returns the eleventh element.
- getV11() - Method in Tuple14
-
Returns the eleventh element.
- getV11() - Method in Tuple15
-
Returns the eleventh element.
- getV11() - Method in Tuple16
-
Returns the eleventh element.
- getV12() - Method in Tuple12
-
Returns the twelfth element.
- getV12() - Method in Tuple13
-
Returns the twelfth element.
- getV12() - Method in Tuple14
-
Returns the twelfth element.
- getV12() - Method in Tuple15
-
Returns the twelfth element.
- getV12() - Method in Tuple16
-
Returns the twelfth element.
- getV13() - Method in Tuple13
-
Returns the thirteenth element.
- getV13() - Method in Tuple14
-
Returns the thirteenth element.
- getV13() - Method in Tuple15
-
Returns the thirteenth element.
- getV13() - Method in Tuple16
-
Returns the thirteenth element.
- getV14() - Method in Tuple14
-
Returns the fourteenth element.
- getV14() - Method in Tuple15
-
Returns the fourteenth element.
- getV14() - Method in Tuple16
-
Returns the fourteenth element.
- getV15() - Method in Tuple15
-
Returns the fifteenth element.
- getV15() - Method in Tuple16
-
Returns the fifteenth element.
- getV16() - Method in Tuple16
-
Returns the sixteenth element.
- getV1() - Method in Tuple1
-
Returns the first element.
- getV1() - Method in Tuple10
-
Returns the first element.
- getV1() - Method in Tuple11
-
Returns the first element.
- getV1() - Method in Tuple12
-
Returns the first element.
- getV1() - Method in Tuple13
-
Returns the first element.
- getV1() - Method in Tuple14
-
Returns the first element.
- getV1() - Method in Tuple15
-
Returns the first element.
- getV1() - Method in Tuple16
-
Returns the first element.
- getV1() - Method in Tuple2
-
Returns the first element.
- getV1() - Method in Tuple3
-
Returns the first element.
- getV1() - Method in Tuple4
-
Returns the first element.
- getV1() - Method in Tuple5
-
Returns the first element.
- getV1() - Method in Tuple6
-
Returns the first element.
- getV1() - Method in Tuple7
-
Returns the first element.
- getV1() - Method in Tuple8
-
Returns the first element.
- getV1() - Method in Tuple9
-
Returns the first element.
- getV2() - Method in Tuple10
-
Returns the second element.
- getV2() - Method in Tuple11
-
Returns the second element.
- getV2() - Method in Tuple12
-
Returns the second element.
- getV2() - Method in Tuple13
-
Returns the second element.
- getV2() - Method in Tuple14
-
Returns the second element.
- getV2() - Method in Tuple15
-
Returns the second element.
- getV2() - Method in Tuple16
-
Returns the second element.
- getV2() - Method in Tuple2
-
Returns the second element.
- getV2() - Method in Tuple3
-
Returns the second element.
- getV2() - Method in Tuple4
-
Returns the second element.
- getV2() - Method in Tuple5
-
Returns the second element.
- getV2() - Method in Tuple6
-
Returns the second element.
- getV2() - Method in Tuple7
-
Returns the second element.
- getV2() - Method in Tuple8
-
Returns the second element.
- getV2() - Method in Tuple9
-
Returns the second element.
- getV3() - Method in Tuple10
-
Returns the third element.
- getV3() - Method in Tuple11
-
Returns the third element.
- getV3() - Method in Tuple12
-
Returns the third element.
- getV3() - Method in Tuple13
-
Returns the third element.
- getV3() - Method in Tuple14
-
Returns the third element.
- getV3() - Method in Tuple15
-
Returns the third element.
- getV3() - Method in Tuple16
-
Returns the third element.
- getV3() - Method in Tuple3
-
Returns the third element.
- getV3() - Method in Tuple4
-
Returns the third element.
- getV3() - Method in Tuple5
-
Returns the third element.
- getV3() - Method in Tuple6
-
Returns the third element.
- getV3() - Method in Tuple7
-
Returns the third element.
- getV3() - Method in Tuple8
-
Returns the third element.
- getV3() - Method in Tuple9
-
Returns the third element.
- getV4() - Method in Tuple10
-
Returns the fourth element.
- getV4() - Method in Tuple11
-
Returns the fourth element.
- getV4() - Method in Tuple12
-
Returns the fourth element.
- getV4() - Method in Tuple13
-
Returns the fourth element.
- getV4() - Method in Tuple14
-
Returns the fourth element.
- getV4() - Method in Tuple15
-
Returns the fourth element.
- getV4() - Method in Tuple16
-
Returns the fourth element.
- getV4() - Method in Tuple4
-
Returns the fourth element.
- getV4() - Method in Tuple5
-
Returns the fourth element.
- getV4() - Method in Tuple6
-
Returns the fourth element.
- getV4() - Method in Tuple7
-
Returns the fourth element.
- getV4() - Method in Tuple8
-
Returns the fourth element.
- getV4() - Method in Tuple9
-
Returns the fourth element.
- getV5() - Method in Tuple10
-
Returns the fifth element.
- getV5() - Method in Tuple11
-
Returns the fifth element.
- getV5() - Method in Tuple12
-
Returns the fifth element.
- getV5() - Method in Tuple13
-
Returns the fifth element.
- getV5() - Method in Tuple14
-
Returns the fifth element.
- getV5() - Method in Tuple15
-
Returns the fifth element.
- getV5() - Method in Tuple16
-
Returns the fifth element.
- getV5() - Method in Tuple5
-
Returns the fifth element.
- getV5() - Method in Tuple6
-
Returns the fifth element.
- getV5() - Method in Tuple7
-
Returns the fifth element.
- getV5() - Method in Tuple8
-
Returns the fifth element.
- getV5() - Method in Tuple9
-
Returns the fifth element.
- getV6() - Method in Tuple10
-
Returns the sixth element.
- getV6() - Method in Tuple11
-
Returns the sixth element.
- getV6() - Method in Tuple12
-
Returns the sixth element.
- getV6() - Method in Tuple13
-
Returns the sixth element.
- getV6() - Method in Tuple14
-
Returns the sixth element.
- getV6() - Method in Tuple15
-
Returns the sixth element.
- getV6() - Method in Tuple16
-
Returns the sixth element.
- getV6() - Method in Tuple6
-
Returns the sixth element.
- getV6() - Method in Tuple7
-
Returns the sixth element.
- getV6() - Method in Tuple8
-
Returns the sixth element.
- getV6() - Method in Tuple9
-
Returns the sixth element.
- getV7() - Method in Tuple10
-
Returns the seventh element.
- getV7() - Method in Tuple11
-
Returns the seventh element.
- getV7() - Method in Tuple12
-
Returns the seventh element.
- getV7() - Method in Tuple13
-
Returns the seventh element.
- getV7() - Method in Tuple14
-
Returns the seventh element.
- getV7() - Method in Tuple15
-
Returns the seventh element.
- getV7() - Method in Tuple16
-
Returns the seventh element.
- getV7() - Method in Tuple7
-
Returns the seventh element.
- getV7() - Method in Tuple8
-
Returns the seventh element.
- getV7() - Method in Tuple9
-
Returns the seventh element.
- getV8() - Method in Tuple10
-
Returns the eighth element.
- getV8() - Method in Tuple11
-
Returns the eighth element.
- getV8() - Method in Tuple12
-
Returns the eighth element.
- getV8() - Method in Tuple13
-
Returns the eighth element.
- getV8() - Method in Tuple14
-
Returns the eighth element.
- getV8() - Method in Tuple15
-
Returns the eighth element.
- getV8() - Method in Tuple16
-
Returns the eighth element.
- getV8() - Method in Tuple8
-
Returns the eighth element.
- getV8() - Method in Tuple9
-
Returns the eighth element.
- getV9() - Method in Tuple10
-
Returns the ninth element.
- getV9() - Method in Tuple11
-
Returns the ninth element.
- getV9() - Method in Tuple12
-
Returns the ninth element.
- getV9() - Method in Tuple13
-
Returns the ninth element.
- getV9() - Method in Tuple14
-
Returns the ninth element.
- getV9() - Method in Tuple15
-
Returns the ninth element.
- getV9() - Method in Tuple16
-
Returns the ninth element.
- getV9() - Method in Tuple9
-
Returns the ninth element.
- getVal() - Method in NamedValue
-
Returns the value.
- getValidator() - Method in AbstractFullBinding
-
Returns the validator invoked before forward propagation.
- getValidator() - Method in FullBinding
-
Returns the validator used before forward propagation.
- getValidator() - Method in JsonTokenType
-
Returns the validator used to recognize this token type.
- getValidator() - Method in MutualPropertyBinding
-
Returns the validator applied to forward updates.
- getValue() - Method in AwaitResult
-
Returns the value if successful.
- getValue() - Method in ChannelSelect.Result
-
The received value.
- getValue() - Method in ClosureModel
-
Evaluates the current source object through the read closure.
- getValue() - Method in ClosureRenderer
-
Returns the current cell value.
- getValue() - Method in ConcurrentReaderHashMap.Entry
-
Get the value.
- getValue() - Method in ConcurrentReferenceHashMap.InitializableEntry
-
{@inheritDoc}
- getValue() - Method in ConcurrentReferenceHashMap.SimpleEntry
-
{@inheritDoc}
- getValue() - Method in ConstantExpression
-
Returns the constant value represented by this expression.
- getValue(java.lang.Object, int, int) - Method in DefaultTableColumn
-
Evaluates the value of a cell
- getValue(int) - Method in GString
-
Returns the interpolated value at the supplied index.
- getValue(int) - Method in GStringExpression
-
Returns the interpolated expression at the specified index.
- getValue() - Method in HistoryRecord
-
Returns the execution result or captured exception.
- getValue() - Method in InParameter
-
The object holding the data value.
- getValue(java.lang.reflect.Field) - Method in Java8
-
Returns the initial expression for given field.
- getValue() - Method in JsonToken
-
Return the value represented by this token (i.e. a number, a string, a boolean or null).
- getValue() - Method in MapEntry
-
- getValue() - Method in MapItemValue
-
- getValue() - Method in PropertyModel
-
Reads the current property value from the source object.
- getValue() - Method in PropertyValue
-
Returns the current property value.
- getValue() - Method in Value
-
- getValue() - Method in ValueHolder
-
Returns the current stored value.
- getValue() - Method in ValueModel
-
Returns the current value exposed by this model.
- getValueAt(int, int) - Method in DefaultTableModel
-
Reads the value for the supplied row and column.
- getValueAt(int, int) - Method in TableMap
-
Returns the value from the wrapped model at the supplied coordinates.
- getValueAt(int, int) - Method in TableSorter
-
Returns the value from the source row mapped to the supplied view row.
- getValueCount() - Method in GString
-
Returns the number of interpolated values.
- getValueExpression() - Method in MapEntryExpression
-
- getValueModel() - Method in DefaultTableColumn
-
Returns the value model used by this column.
- getValues() - Method in GString
-
Returns the interpolated values.
- getValues() - Method in GStringExpression
-
Returns the interpolated expressions in this GString.
- getValues() - Method in GStringImpl
-
- getValues() - Method in InListParameter
-
Returns the values that should be expanded into positional placeholders.
- getValues() - Method in ObservableList.ElementClearedEvent
-
Returns the removed elements.
- getValues() - Method in ObservableList.MultiElementAddedEvent
-
Returns the added elements.
- getValues() - Method in ObservableList.MultiElementRemovedEvent
-
Returns the removed elements.
- getValues() - Method in ObservableMap.PropertyClearedEvent
-
Returns the removed entries.
- getValues() - Method in ObservableSet.ElementClearedEvent
-
Returns the removed elements.
- getValues() - Method in ObservableSet.MultiElementAddedEvent
-
Returns the added elements.
- getValues() - Method in ObservableSet.MultiElementRemovedEvent
-
Returns the removed elements.
- getValues() - Method in ValueRecorder
-
- getValueVariable() - Method in ForStatement
-
Returns the value
Parameter for for-in loops,
or null if this is a classic for loop (represented internally with a dummy parameter).
- getVar(java.lang.String) - Method in QueryableHelper
-
Returns a named execution variable from the thread-local context.
- getVariable(java.lang.String) - Method in Binding
-
- Parameters:
name - the name of the variable to lookup
- getVariable() - Method in CatchStatement
-
Returns the parameter that declares the caught exception variable.
- getVariable(java.lang.String, boolean) - Method in CompileStack
-
Returns a normal variable.
- getVariable(java.lang.String) - Method in Dataflows
-
- getVariable(java.lang.String) - Method in FactoryBuilderSupport
-
- Parameters:
name - the name of the variable to lookup
- getVariable() - Method in ForStatement
-
- getVariable(java.lang.String) - Method in GroovyShell
-
Returns the value of a variable from the shell binding.
- getVariable(java.lang.String) - Method in ServletBinding
-
- Returns:
- a writer, an output stream, a markup builder or another requested object
- getVariableExpression() - Method in DeclarationExpression
-
This method returns the left hand side of the declaration cast to the VariableExpression type.
- getVariables() - Method in Binding
-
Returns the variables map, creating it on first access.
- getVariables() - Method in FactoryBuilderSupport
-
Returns the variables map, creating it on first access.
- Returns:
- the backing variables map
- getVariables() - Method in GroovyEngine
-
Returns all defined variables mapped to their source definitions.
- getVariables() - Method in ServletBinding
-
Returns the current binding variables after initializing the lazy servlet helpers.
- getVariableScope() - Method in BlockStatement
-
Returns the
VariableScope associated with this block, which contains
variable declarations, type information, and scope metadata.
- getVariableScope() - Method in ClosureExpression
-
Returns the variable scope associated with this closure.
- getVariableScope() - Method in ClosureListExpression
-
- getVariableScope() - Method in ForStatement
-
Returns the
VariableScope associated with this for loop,
containing loop variable bindings and type information.
- getVariableScope() - Method in InnerClassNode
-
Returns the variable scope associated with this inner class, tracking declarations and
references for closure and method boundary analysis.
- getVariableScope() - Method in MethodNode
-
Returns the variable scope for this method.
- getVariableType() - Method in ForStatement
-
- getVerbose() - Method in CompilerConfiguration
-
Returns true if verbose operation has been requested.
- getVerbose() - Method in Groovyc
-
Gets the verbose flag.
- getVerbosity() - Method in IO
-
Returns the verbosity level.
- getVersion() - Method in ClassInfo
-
Returns the version number of this class information.
- getVersion() - Method in ExtensionModule
-
- getVersion() - Method in FileSystemCompiler.VersionProvider
-
- getVersion() - Method in GroovyMain.VersionProvider
-
Returns the CLI version lines.
- getVersion() - Method in GroovySystem
-
Returns the groovy version
- getVersion() - Method in Java10
-
- getVersion() - Method in Java16
-
- getVersion() - Method in Java17
-
- getVersion() - Method in Java8
-
- getVersion() - Method in Java9
-
- getVersion() - Method in MetaClassImpl
-
Returns version of the contained Class
- getVersion() - Method in ReleaseInfo
-
Returns Groovy's implementation version from the bundled release metadata.
- getVersion() - Method in VMPlugin
-
Gives the version the plugin is made for
- getVisibility(org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.AnnotatedNode, Class<? extends AnnotatedNode>, int) - Method in VisibilityUtils
-
Determine the correct modifiers by looking for a potential
- VisibilityOptions:
- annotation.
- getVisibleClasses(java.util.List) - Method in GroovyRootDoc
-
Returns the classes visible from a set of imports.
- getVisibleClasses(java.util.List) - Method in SimpleGroovyRootDoc
-
Returns the classes visible from a set of imports.
- Parameters:
importedClassesAndPackages - the imported classes and packages to evaluate
- Returns:
- a map of visible class names to class documentation
- getVocabulary() - Method in GroovyLexer
-
- getVocabulary() - Method in GroovyParser
-
- getWarning(int) - Method in ErrorCollector
-
Returns the specified warning message, or null.
- getWarningCount() - Method in ErrorCollector
-
Returns the number of warnings.
- getWarningLevel() - Method in CompilerConfiguration
-
Gets the currently configured warning level.
- getWarnings() - Method in ErrorCollector
-
Returns the list of warnings, or null if there are none.
- getWeakBundle() - Method in ReferenceBundle
-
Returns the shared weak-reference bundle.
- getWeakMetaClass() - Method in ClassInfo
-
Returns the weak (mutable) metaclass for this class, if one has been set.
- getWeek(java.lang.Integer) - Method in TimeCategory
-
- getWeeks(java.lang.Integer) - Method in TimeCategory
-
Returns a week-based duration for the supplied number of weeks.
- getWhen() - Method in StatementReplacer
-
- getWhen() - Method in VariableExpressionReplacer
-
- getWhen() - Method in VariableExpressionTransformer
-
- getWhere() - Method in SqlWhereVisitor
-
Returns the SQL WHERE fragment built so far.
- getWhereExpression() - Method in GinqExpression
-
Returns the where clause.
- getWrapped() - Method in GroovyObjectWrapper
-
- getWrapped() - Method in PojoWrapper
-
- getWrapped() - Method in Wrapper
-
- getWrappedClassDescriptor(org.objectweb.asm.Type) - Method in TypeUtil
-
- getWrapper(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
Creates a ClassNode containing the wrapper of a ClassNode
of primitive type.
- getWrapperClass(Class<?>) - Method in TypeHelper
-
Gets wrapper class for a given class.
- getWriter() - Method in StreamingJsonBuilder.StreamingJsonDelegate
-
- Returns:
- Obtains the current writer
- getWriter() - Method in TracingInterceptor
-
Returns the writer associated with this interceptor.
- getXml() - Method in HttpResult
-
Parses the buffered body as XML.
- getXMLReader() - Method in XmlParser
-
Returns the configured XML reader after registering this parser as its content handler.
- getYear(java.lang.Integer) - Method in TimeCategory
-
- getYearOfEra(java.time.Year) - Method in DateTimeExtensions
-
- getYears() - Method in BaseDuration
-
Returns the year component.
- getYears() - Method in DatumDependentDuration
-
Returns the year component.
- Returns:
- the year component
- getYears(java.lang.Integer) - Method in TimeCategory
-
Returns a year-based duration for the supplied number of years.
- getZoneId(java.util.Date) - Method in DateTimeExtensions
-
Returns the Time Zone of the Date as a
ZoneId.
- getZoneOffset(java.util.Date) - Method in DateTimeExtensions
-
Returns the Time Zone offset of the Date as a
ZoneOffset,
which will typically be system's default offset.
- geX(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- GINQ_SELECT_DISTINCT - Field in GinqAstBuilder
-
Metadata key marking select distinct.
- GinqAstBaseVisitor - Class in org.apache.groovy.ginq.dsl
The default base visitor for GINQ AST
- GinqAstBuilder - Class in org.apache.groovy.ginq.dsl
Build the AST for GINQ
- GinqAstBuilder(org.codehaus.groovy.control.SourceUnit) - Constructor in GinqAstBuilder
-
Creates a builder for the supplied source unit.
- GinqAstOptimizer - Class in org.apache.groovy.ginq.dsl
Optimize the execution plan of GINQ through transforming AST.
- GinqAstOptimizer() - Constructor in GinqAstOptimizer
-
- GinqASTTransformation - Class in org.apache.groovy.ginq.transform
Handles generation of code for the @GQ annotation.
- GinqAstVisitor - Interface in org.apache.groovy.ginq.dsl
Represents the visitor for AST of GINQ
- GinqAstWalker - Class in org.apache.groovy.ginq.provider.collection
Visit AST of GINQ to generate target method calls for GINQ.
- GinqAstWalker(org.codehaus.groovy.control.SourceUnit) - Constructor in GinqAstWalker
-
Creates a walker for the supplied source unit.
- GinqExpression - Class in org.apache.groovy.ginq.dsl.expression
Represents GINQ expression, which has the following structure:
ginq
|__ from
|__ [innerjoin/leftjoin/rightjoin/fulljoin/crossjoin]*
| |__ on
|__ [where]
|__ [groupby] [into]
| |__ [having]
|__ [orderby]
|__ [limit]
|__ select
(
Note: [ ] means optional)
- GinqGroovyMethods - Class in org.apache.groovy.ginq
Declare GINQ macro methods
- GinqSyntaxError - Class in org.apache.groovy.ginq.dsl
Represents GINQ syntax error
- GinqSyntaxError(java.lang.String, int, int) - Constructor in GinqSyntaxError
-
Creates a syntax error at the supplied source position.
- GLOBAL_META_METHODS - Field in ObjectInspector
-
Meta-method names that are treated as globally available and hidden from results.
- globalTransformNames - Field in ASTTransformationsContext
-
- GlueFactory - Class in groovy.swing.factory
Factory for creating glue components that expand in both directions.
- GlueFactory() - Constructor in GlueFactory
-
- go(java.util.function.Supplier<T>) - Method in AsyncSupport
-
Lightweight task spawn.
- go(Supplier<T>) - Method in Awaitable
-
Spawns a lightweight task on the default executor.
- GOTO() - Method in GroovyParser.KeywordsContext
-
- gotoPhase(int) - Method in JavaAwareCompilationUnit
-
- gotoPhase(int) - Method in ProcessingUnit
-
Wraps up any pending operations for the current phase and switches to the given phase.
- GotoRecurHereException - Class in org.codehaus.groovy.transform.tailrec
Exception will be thrown by recursive calls in closures and caught in while loop to continue to LOOP_LABEL
- GPathResult - Class in groovy.xml.slurpersupport
Base class for representing lazy evaluated GPath expressions.
- GPathResult(groovy.xml.slurpersupport.GPathResult, java.lang.String, java.lang.String, Map<String,String>) - Constructor in GPathResult
-
Creates a new GPathResult named name with the parent parent,
the namespacePrefix namespacePrefix and the namespaceTagHints specified in
the namespaceTagHints Map.
- GQ - Annotation Type in groovy.ginq.transform
Method annotation to make a method call returning GINQ result
- GQ(org.codehaus.groovy.macro.runtime.MacroContext, org.codehaus.groovy.ast.expr.MapExpression, org.codehaus.groovy.ast.expr.ClosureExpression) - Method in GinqGroovyMethods
-
Transform GINQ code to target method invocation
- GQL(org.codehaus.groovy.macro.runtime.MacroContext, org.codehaus.groovy.ast.expr.MapExpression, org.codehaus.groovy.ast.expr.ClosureExpression) - Method in GinqGroovyMethods
-
Represents the abbreviation of GQ {....toList()}, which is very useful when used as list comprehension
- Grab - Annotation Type in groovy.lang
Used to grab the referenced artifact and its dependencies and make it available on the Classpath.
- grab(Map<String,Object>, java.util.Map) - Method in Grape
-
Grabs one or more dependencies using the supplied arguments.
- grab(java.util.Map, java.util.Map) - Method in GrapeEngine
-
Grabs one or more dependencies using the supplied arguments.
- grab(java.util.Map, java.util.Map) - Method in GrapeIvy
-
Grabs one or more dependencies and adds them to the target class loader.
- grab(java.util.Map, java.util.Map) - Method in GrapeMaven
-
Grabs one or more dependencies and adds them to the target class loader.
- grab(org.jline.console.CommandInput) - Method in GroovyCommands
-
Lists cached grapes or grabs the supplied dependency coordinates.
- GrabAnnotationTransformation - Class in groovy.grape
Transformation for declarative dependency management.
- GrabConfig - Annotation Type in groovy.lang
Used to modify the grape configuration for grab requests.
- GrabExclude - Annotation Type in groovy.lang
Used to exclude an indirectly referenced artifact (a transitive dependency) from the classpath.
- grabRecordsForCurrDependencies - Property in GrapeIvy
-
Stores the IvyGrabRecord(s) for all dependencies in each grab() call.
- grabRecordsForCurrDependencies - Property in GrapeMaven
-
Stores the MavenGrabRecord(s) for all dependencies in each grab() call.
- GrabResolver - Annotation Type in groovy.lang
Used to add a repository for resolving Grape dependencies.
- Grape - Class in groovy.grape
Facade to GrapeEngine.
- GrapeEngine - Interface in groovy.grape
Contract for Grape dependency resolution engines.
- GrapeIvy - Class in groovy.grape.ivy
Implementation supporting @Grape and @Grab annotations based on Ivy.
- GrapeIvy() - Constructor in GrapeIvy
-
Creates an Ivy-backed grape engine.
- GrapeMain - Class in org.codehaus.groovy.tools
Command-line entry point for inspecting and managing the local Grape cache.
- GrapeMain() - Constructor in GrapeMain
-
- GrapeMaven - Class in groovy.grape.maven
Implementation supporting @Grape and @Grab annotations based on Maven.
- GrapeMaven() - Constructor in GrapeMaven
-
- Grapes - Annotation Type in groovy.lang
Sometimes we will need more than one grab per class, but we can only add
one annotation type per annotatable node.
- GrapeUtil - Class in groovy.grape
Utility methods shared between GrapeIvy and GrapeMaven implementations.
- GrapeUtil() - Constructor in GrapeUtil
-
- green(java.lang.String) - Method in Icons
-
Returns a green app-themed icon at the fixed menu size.
- grep(T, java.lang.Object) - Method in ArrayGroovyMethods
-
Iterates over the array of items and returns a collection of items that match
the given filter - calling the
DefaultGroovyMethods.isCase
method used by switch statements.
- grep(T, java.lang.Object) - Method in DefaultGroovyMethods
-
- grep(org.jline.builtins.PosixCommands.Context, java.lang.Object) - Method in GroovyPosixCommands
-
Searches the selected inputs for lines matching the supplied pattern.
- grepParallel(Collection<T>, java.lang.Object) - Method in ParallelCollectionExtensions
-
Filters elements using Groovy's isCase pattern matching
in parallel.
- grepping(Iterator<T>) - Method in DefaultGroovyMethods
-
Lazily returns an Iterator of elements which satisfy Groovy truth.
- GridBagFactory - Class in groovy.swing.factory
Factory for creating
GridBagLayout nodes and collecting matching constraints.
- GridBagFactory() - Constructor in GridBagFactory
-
- Groovy - Class in org.codehaus.groovy.ant
Executes a series of Groovy statements.
- GROOVY_COLORS - Field in GroovyEngine
-
Environment variable for Groovy color settings
- GROOVY - Enum Constant in GroovyEngine.Format
-
Groovy format
- GROOVY - Field in Inspector
-
Origin label for Groovy members.
- GroovyAnnotationRef - Interface in org.codehaus.groovy.groovydoc
Describes an annotation reference attached to a documented element.
- GroovyAssert - Class in groovy.test
- GroovyASTTransformation - Annotation Type in org.codehaus.groovy.transform
- GroovyASTTransformationClass - Annotation Type in org.codehaus.groovy.transform
- GroovyBugError - Class in org.codehaus.groovy
This class represents an error that is thrown when a bug is
recognized inside the runtime.
- GroovyBugError(java.lang.String, java.lang.Exception) - Constructor in GroovyBugError
-
Constructs a bug error using the given exception and
a text with additional information about the cause
- GroovyBuiltins - Class in org.apache.groovy.groovysh.jline
Registers console built-ins that integrate JLine commands with the Groovy shell buffer.
- GroovyBuiltins(org.apache.groovy.groovysh.jline.GroovyEngine, Supplier<Path>, org.jline.builtins.ConfigurationPath, org.jline.reader.LineReader, Function<String, Widget>) - Constructor in GroovyBuiltins
-
Creates the built-in command registry used by groovysh.
- Groovyc - Class in org.codehaus.groovy.ant
Compiles Groovy source files using Ant.
- GroovyCallable - Interface in groovy.lang
A special "marker" style interface allowing Groovy classes to implement both
Runnable and Callable yet give preference to Runnable (for backwards compatibility)
for APIs having both Runnable and Callable methods.
- GroovyCastException - Class in org.codehaus.groovy.runtime.typehandling
- GroovyCastException(java.lang.String) - Constructor in GroovyCastException
-
- Parameters:
message - custom problem message
- GroovyCategorySupport - Class in org.codehaus.groovy.runtime
Support methods for Groovy category usage
- GroovyCategorySupport.CategoryMethod - Class in org.codehaus.groovy.runtime
- GroovyCategorySupport.CategoryMethodList - Class in org.codehaus.groovy.runtime
- GroovyCategorySupport.ThreadCategoryInfo - Class in org.codehaus.groovy.runtime
- GroovyClass - Class in org.codehaus.groovy.tools
- GroovyClass(java.lang.String, byte[]) - Constructor in GroovyClass
-
- GroovyClassDoc - Interface in org.codehaus.groovy.groovydoc
Describes a Groovy type together with the members and relationships needed to render its documentation.
- GroovyClassLoader - Class in groovy.lang
A ClassLoader which can load Groovy classes.
- GroovyClassLoader.ClassCollector - Class in groovy.lang
Collects classes defined during a compilation unit callback.
- GroovyClassLoader.InnerLoader - Class in groovy.lang
Loader used while defining classes during a compilation round.
- GroovyClassLoader(java.lang.ClassLoader, org.codehaus.groovy.control.CompilerConfiguration, boolean, FlexibleCache<String,Class>) - Constructor in GroovyClassLoader
-
Creates a GroovyClassLoader with a custom sourceCache.
- GroovyClassValue - Interface in org.codehaus.groovy.reflection
Abstraction for Java version dependent ClassValue implementations.
- GroovyClassValue.ComputeValue - Interface in org.codehaus.groovy.reflection
- GroovyClassValueJava7 - Class in org.codehaus.groovy.reflection.v7
GroovyClassValue implementation that simply delegates to Java 7's java.lang.ClassValue
- GroovyClassValueJava7(ComputeValue<T>) - Constructor in GroovyClassValueJava7
-
- GroovyClassVisitor - Interface in org.codehaus.groovy.ast
A special visitor for working with the structure of a class.
- GroovyCodeSource - Class in groovy.lang
CodeSource wrapper class that allows specific security policies to be associated with a class
compiled from groovy source.
- GroovyCodeSource(java.net.URL) - Constructor in GroovyCodeSource
-
Creates a code source from the Groovy source available at the supplied URL.
- GroovyCodeSourcePermission - Class in groovy.security
Permission required to explicitly specify a codebase for a groovy script whose
codebase cannot be determined.
- GroovyCodeSourcePermission(java.lang.String, java.lang.String) - Constructor in GroovyCodeSourcePermission
-
Creates a permission with the supplied name and actions.
- GroovyCodeVisitor - Interface in org.codehaus.groovy.ast
Defines the visitor interface for traversing and processing Groovy AST nodes using the visitor pattern.
- GroovyCodeVisitorAdapter - Class in org.codehaus.groovy.ast
Adapter class providing default no-op implementations of all methods in the
GroovyCodeVisitor interface.
- GroovyCollections - Class in groovy.util
Utility methods for working with combinations, subsequences, and aggregate collection operations.
- GroovyCommands - Class in org.apache.groovy.groovysh.jline
Registers the Groovy-specific commands exposed by the groovysh JLine console.
- GroovyCommands(org.apache.groovy.groovysh.jline.GroovyEngine, Supplier<Path>, org.jline.console.Printer, org.jline.builtins.SyntaxHighlighter) - Constructor in GroovyCommands
-
Creates the Groovy-specific command registry for groovysh.
- GroovyCompiledScript - Class in org.codehaus.groovy.jsr223
Used to represent compiled Groovy scripts.
- GroovyCompiledScript(org.codehaus.groovy.jsr223.GroovyScriptEngineImpl, Class<?>) - Constructor in GroovyCompiledScript
-
Creates a compiled-script wrapper for a Groovy class produced by an engine instance.
- GroovyConditionExtension - Class in groovy.junit6.plugin
- GroovyConditionExtension() - Constructor in GroovyConditionExtension
-
- GroovyConsoleEngine - Class in org.apache.groovy.groovysh.jline
Adapts the generic JLine console engine to groovysh command naming and printing behavior.
- GroovyConsoleEngine(org.jline.console.ScriptEngine, org.jline.console.Printer, Supplier<Path>, org.jline.builtins.ConfigurationPath, org.jline.reader.LineReader) - Constructor in GroovyConsoleEngine
-
Creates the console-engine adapter used by groovysh.
- GroovyConstructorDoc - Interface in org.codehaus.groovy.groovydoc
Describes a constructor in the Groovydoc model.
- GroovycTask - Class in org.codehaus.groovy.ant
Compiles Groovy source files.
- GroovyDisabledIf - Annotation Type in groovy.junit6.plugin
Disables the annotated test class or method if the Groovy closure evaluates to true.
- Groovydoc - Class in org.codehaus.groovy.ant
Access to the GroovyDoc tool from Ant.
- Groovydoc.AddStylesheet - Class in org.codehaus.groovy.ant
Nested-element holder populated by Ant introspection for <addStylesheet file="..."/>.
- GROOVYDOC - Field in CompilerConfiguration
-
Optimization Option for enabling attaching groovydoc as AST node metadata.
- Groovydoc() - Constructor in Groovydoc
-
Creates a Groovydoc Ant task with the default option set.
- GroovydocAnnotationUtils - Class in org.codehaus.groovy.tools.groovydoc
Utilities shared between GroovydocVisitor (Groovy AST) and
GroovydocJavaVisitor (JavaParser AST).
- GroovyDocErrorReporter - Interface in org.codehaus.groovy.groovydoc
Reports errors, warnings, and notices discovered while building documentation.
- GroovydocHolder - Interface in groovy.lang.groovydoc
Represents Groovydoc Holder
- GroovydocJavaVisitor - Class in org.codehaus.groovy.tools.groovydoc.antlr4
JavaParser AST visitor that extracts Groovydoc information from Java source files, producing
a map of
GroovyClassDoc instances keyed by full path.
- GroovydocJavaVisitor(java.lang.String, List<LinkArgument>, java.util.Properties) - Constructor in GroovydocJavaVisitor
-
Creates a visitor for the given package path, link arguments, and generation properties.
- GroovydocManager - Class in org.apache.groovy.parser.antlr4
A utilities for managing groovydoc, e.g.
1) extracting groovydoc from groovy AST;
2) TODO extracting tags from groovydoc;
3) attach groovydoc to AST node as metadata
- GroovydocManager(boolean, boolean) - Constructor in GroovydocManager
-
- GroovyDocParser - Class in org.codehaus.groovy.tools.groovydoc.antlr4
- GroovyDocParser(com.github.javaparser.JavaParser, List<LinkArgument>, java.util.Properties) - Constructor in GroovyDocParser
-
Creates a parser with the supplied com.github.javaparser.JavaParser instance.
- GroovyDocParserI - Interface in org.codehaus.groovy.tools.groovydoc
Parses a single source unit into Groovydoc class documentation objects.
- GroovydocTag - Class in groovy.lang.groovydoc
TODO parse groovydoc to get tag content
- GroovydocTag(java.lang.String, java.lang.String, groovy.lang.groovydoc.Groovydoc) - Constructor in GroovydocTag
-
Creates a tag backed by the supplied groovydoc.
- GroovyDocTemplateEngine - Class in org.codehaus.groovy.tools.groovydoc
Process Groovydoc templates.
- GroovyDocTemplateEngine(org.codehaus.groovy.tools.groovydoc.GroovyDocTool, org.codehaus.groovy.tools.groovydoc.ResourceManager, java.lang.String, java.lang.String, java.lang.String, java.util.Properties) - Constructor in GroovyDocTemplateEngine
-
Creates a template engine with separate sets of documentation, package, and class templates.
- GroovyDocTemplateInfo - Class in org.codehaus.groovy.tools.groovydoc.gstringTemplates
Defines the default GString template paths used by GroovyDoc for generating HTML documentation.
- GroovyDocTool - Class in org.codehaus.groovy.tools.groovydoc
Coordinates source parsing and template-driven rendering for GroovyDoc generation.
- GroovyDocTool(org.codehaus.groovy.tools.groovydoc.ResourceManager, java.lang.String, java.lang.String, java.lang.String, java.lang.String, List<LinkArgument>, java.lang.String, java.util.Properties) - Constructor in GroovyDocTool
-
Constructs a GroovyDocTool instance with the specified parameters.
- GroovyDocUtil - Class in org.apache.groovy.groovydoc.tools
Utility methods for deriving package and file names from source paths.
- GroovydocVisitor - Class in org.apache.groovy.antlr
A visitor which collects Groovydoc information.
- GroovydocVisitor(org.codehaus.groovy.control.SourceUnit, java.lang.String, List<LinkArgument>, java.util.Properties) - Constructor in GroovydocVisitor
-
Creates a visitor that collects Groovydoc for classes in the given package, using the supplied generation properties.
- GroovyDocWriter - Class in org.codehaus.groovy.tools.groovydoc
Write GroovyDoc resources to destination.
- GroovyDocWriter(org.codehaus.groovy.tools.groovydoc.OutputTool, org.codehaus.groovy.tools.groovydoc.GroovyDocTemplateEngine, java.util.Properties, java.lang.String) - Constructor in GroovyDocWriter
-
Creates a writer with source-path information used to locate and mirror resource directories.
- GroovyEnabledIf - Annotation Type in groovy.junit6.plugin
Enables the annotated test class or method if the Groovy closure evaluates to true.
- GroovyEngine - Class in org.apache.groovy.groovysh.jline
Implements Groovy ScriptEngine.
- GroovyEngine.AccessRules - Class in org.apache.groovy.groovysh.jline
Encapsulates access rules for code completion.
- GroovyEngine.Cloner - Interface in org.apache.groovy.groovysh.jline
Strategy used to clone session values for completion and inspection workflows.
- GroovyEngine.EngineClassLoader - Class in org.apache.groovy.groovysh.jline
Custom class loader for dynamically loaded Groovy classes.
- GroovyEngine.Format - Enum in org.apache.groovy.groovysh.jline
Serialization/deserialization format options.
- GroovyEngine() - Constructor in GroovyEngine
-
Constructs a new GroovyEngine with default configuration.
- GroovyException - Class in org.codehaus.groovy
Base exception class for Groovy compiler errors and warnings.
- GroovyException(java.lang.String, boolean) - Constructor in GroovyException
-
Constructs a GroovyException with the specified detail message and fatality flag.
- GroovyExceptionInterface - Interface in org.codehaus.groovy
An interface for use by all Groovy compiler exceptions.
- GroovyExecutableMemberDoc - Interface in org.codehaus.groovy.groovydoc
Describes an executable member such as a method or constructor.
- GroovyFieldDoc - Interface in org.codehaus.groovy.groovydoc
Describes a field or property in the Groovydoc model.
- GroovyFileFilter - Class in groovy.console.ui
File filter for Groovy source files recognized by the console.
- groovyFileFilter - Property in Console
-
File filter used for Groovy script open/save dialogs.
- GroovyFileFilter() - Constructor in GroovyFileFilter
-
- GroovyFilter - Class in groovy.console.ui.text
Regex-based syntax-highlighting filter for Groovy source text.
- GroovyFilter(javax.swing.text.DefaultStyledDocument) - Constructor in GroovyFilter
-
Creates a new instance of GroovyFilter
- GroovyInterceptable - Interface in groovy.lang
Marker interface used to notify that all methods should be intercepted through the invokeMethod mechanism
of GroovyObject.
- GroovyJUnitRunnerHelper - Class in groovy.junit6.plugin
Helper for launching a single JUnit Platform test class from Groovy's JUnit 6 runner.
- GroovyJUnitRunnerHelper() - Constructor in GroovyJUnitRunnerHelper
-
- GroovyLangLexer - Class in org.apache.groovy.parser.antlr4
The lexer for Groovy programming language, which is based on the lexer generated by Antlr4
- GroovyLangLexer(org.antlr.v4.runtime.CharStream) - Constructor in GroovyLangLexer
-
- GroovyLangParser - Class in org.apache.groovy.parser.antlr4
The parser for Groovy programming language, which is based on the parser generated by Antlr4
- GroovyLangParser(org.antlr.v4.runtime.TokenStream) - Constructor in GroovyLangParser
-
- GroovyLexer - Class in org.apache.groovy.parser.antlr4
- GroovyLexer(org.antlr.v4.runtime.CharStream) - Constructor in GroovyLexer
-
- GroovyLogTestCase - Class in groovy.test
Helper class to spoof log entries as produced by calling arbitrary code.
- GroovyLogTestCase() - Constructor in GroovyLogTestCase
-
- GroovyMain - Class in groovy.ui
A Command line to execute groovy.
- GroovyMain.VersionProvider - Class in groovy.ui
Supplies version text for the command-line interface.
- GroovyMBean - Class in groovy.jmx
A GroovyObject facade for an underlying MBean which acts like a normal
groovy object but which is actually implemented via
an underlying JMX MBean.
- GroovyMBean(javax.management.MBeanServerConnection, javax.management.ObjectName, boolean) - Constructor in GroovyMBean
-
Creates a facade for the named MBean.
- GroovyMemberDoc - Interface in org.codehaus.groovy.groovydoc
Describes a member declared within a documented type.
- GroovyMethodDoc - Interface in org.codehaus.groovy.groovydoc
Describes a method in the Groovydoc model.
- GroovyObject - Interface in groovy.lang
The interface implemented by all Groovy objects.
- GroovyObjectSupport - Class in groovy.lang
Base class for Java objects wishing to be Groovy objects.
- GroovyObjectWrapper - Class in org.codehaus.groovy.runtime.wrappers
- GroovyObjectWrapper(groovy.lang.GroovyObject, java.lang.Class) - Constructor in GroovyObjectWrapper
-
- groovyOption(Map<String,Object>, java.lang.String, T) - Method in GroovyEngine
-
Returns the value of a specific option from the given options map.
- groovyOptions() - Method in GroovyEngine
-
Returns the current Groovy options map.
- GroovyPackageDoc - Interface in org.codehaus.groovy.groovydoc
Describes a documented package and the types it contains.
- GroovyParameter - Interface in org.codehaus.groovy.groovydoc
Describes a parameter declared by a documented executable member.
- GroovyParser - Class in org.apache.groovy.parser.antlr4
- GroovyParser.AdditiveExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.AndExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.AnnotatedQualifiedClassNameContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.AnnotationContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.AnnotationNameContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.AnnotationsOptContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.AnonymousInnerClassDeclarationContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ArgumentsContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ArrayInitializerContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.AssertStatementContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.AssertStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.AssignmentExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.AsyncClosureExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.AwaitExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.BlockContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.BlockStatementContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.BlockStatementsContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.BlockStatementsOptContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.BlockStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.BooleanLiteralAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.BreakStatementContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.BreakStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.BuiltInTypeContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.BuiltInTypePrmrAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.CastExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.CastParExpressionContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.CatchClauseContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.CatchTypeContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ClassBodyContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ClassBodyDeclarationContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ClassDeclarationContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ClassNameContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ClassOrInterfaceModifierContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ClassOrInterfaceModifiersContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ClassOrInterfaceModifiersOptContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ClosureContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ClosureOrLambdaExpressionContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ClosureOrLambdaExpressionPrmrAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.CommandArgumentContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.CommandExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.CommandExpressionContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.CompactConstructorDeclarationContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.CompilationUnitContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ConditionalExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ConditionalStatementContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ConditionalStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ContinueStatementContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ContinueStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.CreatedNameContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.CreatorContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.DeferStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.Dim0Context - Class in org.apache.groovy.parser.antlr4
- GroovyParser.Dim1Context - Class in org.apache.groovy.parser.antlr4
- GroovyParser.DoWhileStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.DynamicMemberNameContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ElementValueArrayInitializerContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ElementValueContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ElementValuePairContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ElementValuePairNameContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ElementValuePairsContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ElementValuesContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.EmptyStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.EnhancedArgumentListElementContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.EnhancedArgumentListInParContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.EnhancedExpressionContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.EnhancedForControlContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.EnhancedStatementExpressionContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.EnumConstantContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.EnumConstantsContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.EqualityExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ExclusiveOrExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ExpressionContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ExpressionInParContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ExpressionListContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ExpressionListElementContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ExpressionStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.FieldDeclarationContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.FinallyBlockContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.FloatingPointLiteralAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ForControlContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ForInitContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.FormalParameterContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.FormalParameterListContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.FormalParametersContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ForStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ForUpdateContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.GroovyParserRuleContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.GstringContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.GstringPathContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.GstringPrmrAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.GstringValueContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.IdentifierContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.IdentifierPrmrAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.IfElseStatementContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ImplicationExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ImportDeclarationContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.InclusiveOrExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.IndexPropertyArgsContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.IndexVariableContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.IntegerLiteralAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.KeyedPairContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.KeywordsContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.LabeledStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.LambdaBodyContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ListContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ListPrmrAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.LiteralContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.LiteralPrmrAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.LocalVariableDeclarationContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.LocalVariableDeclarationStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.LogicalAndExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.LogicalOrExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.LoopStatementContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.LoopStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.MapContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.MapEntryContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.MapEntryLabelContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.MapEntryListContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.MapPrmrAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.MatchingTypeContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.MemberDeclarationContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.MethodBodyContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.MethodDeclarationContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.MethodNameContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ModifierContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ModifiersContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ModifiersOptContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.MultipleAssignmentExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.MultiplicativeExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.NamedPropertyArgsContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.NamePartContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.NewPrmrAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.NlsContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.NonWildcardTypeArgumentsContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.NullLiteralAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.OriginalForControlContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.PackageDeclarationContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ParenPrmrAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ParExpressionContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.PathElementContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.PathExpressionContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.PostfixExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.PostfixExpressionContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.PowerExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.PrimaryContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.PrimitiveTypeContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.QualifiedClassNameContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.QualifiedClassNameListContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.QualifiedNameContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.QualifiedNameElementContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.QualifiedNameElementsContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.QualifiedStandardClassNameContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ReferenceTypeContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.RegexExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.RelationalExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ResourceContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ResourceListContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ResourcesContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ReturnStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ReturnTypeContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ScriptStatementContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ScriptStatementsContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.SepContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ShiftExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.StandardLambdaExpressionContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.StandardLambdaParametersContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.StatementContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.StatementExpressionContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.StringLiteralAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.StringLiteralContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.SuperPrmrAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.SwitchBlockStatementExpressionGroupContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.SwitchBlockStatementGroupContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.SwitchExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.SwitchExpressionContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.SwitchExpressionLabelContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.SwitchLabelContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.SwitchStatementContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.SynchronizedStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ThisFormalParameterContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ThisPrmrAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.ThrowStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.TryCatchStatementContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.TryCatchStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.TypeArgumentContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.TypeArgumentsContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.TypeArgumentsOrDiamondContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.TypeBoundContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.TypeContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.TypeDeclarationContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.TypeListContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.TypeNamePairContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.TypeNamePairsContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.TypeParameterContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.TypeParametersContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.UnaryAddExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.UnaryNotExprAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.VariableDeclarationContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.VariableDeclaratorContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.VariableDeclaratorIdContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.VariableDeclaratorsContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.VariableInitializerContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.VariableModifierContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.VariableModifiersContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.VariableModifiersOptContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.VariableNamesContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.WhileStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.YieldReturnStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.YieldStatementContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser.YieldStmtAltContext - Class in org.apache.groovy.parser.antlr4
- GroovyParser(org.antlr.v4.runtime.TokenStream) - Constructor in GroovyParser
-
- GroovyParserBaseVisitor - Class in org.apache.groovy.parser.antlr4
This class provides an empty implementation of
GroovyParserVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.
- GroovyParserRuleContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.GroovyParserRuleContext
-
- GroovyParserVisitor - Interface in org.apache.groovy.parser.antlr4
This interface defines a complete generic visitor for a parse tree produced
by
GroovyParser.
- GroovyPosixCommands - Class in org.apache.groovy.groovysh.jline
Groovy-aware implementations of groovysh POSIX-style commands.
- GroovyPosixContext - Class in org.apache.groovy.groovysh.jline
Extends the JLine POSIX context with groovysh-specific working-directory tracking.
- GroovyPosixContext(java.io.InputStream, java.io.PrintStream, java.io.PrintStream, java.nio.file.Path, org.jline.terminal.Terminal, Function<String, Object>) - Constructor in GroovyPosixContext
-
Creates a POSIX command context backed by groovysh state.
- GroovyPrintStream - Class in groovy.io
A PrintStream that outputs objects in Groovy style.
- GroovyPrintStream(java.io.File, java.lang.String) - Constructor in GroovyPrintStream
-
Creates a new print stream, without automatic line flushing, with the
specified file and charset.
- GroovyPrintWriter - Class in groovy.io
A PrintWriter that outputs objects in Groovy style.
- GroovyPrintWriter(java.lang.String, java.lang.String) - Constructor in GroovyPrintWriter
-
Creates a writer for the supplied file name using the given charset name.
- GroovyProgramElementDoc - Interface in org.codehaus.groovy.groovydoc
Describes a documented program element that can appear within a package or type.
- GroovyPromise - Class in org.apache.groovy.runtime.async
- GroovyPromise(CompletableFuture<T>) - Constructor in GroovyPromise
-
- GroovyResourceLoader - Interface in groovy.lang
Allows frameworks that integrate with Groovy to determine how Groovy files are resolved.
- GroovyResultSet - Interface in groovy.sql
Represents an extent of objects
- GroovyResultSetExtension - Class in groovy.sql
GroovyResultSetExtension implements additional logic for ResultSet.
- GroovyResultSetExtension(java.sql.ResultSet) - Constructor in GroovyResultSetExtension
-
Creates a GroovyResultSet implementation.
- GroovyResultSetProxy - Class in groovy.sql
GroovyResultSetProxy is used to create a proxy for GroovyResultSet.
- GroovyResultSetProxy(groovy.sql.GroovyResultSetExtension) - Constructor in GroovyResultSetProxy
-
Creates a new proxy instance with a custom extension.
- GroovyRootDoc - Interface in org.codehaus.groovy.groovydoc
Root object for a Groovydoc run, exposing the discovered packages, classes, and diagnostics APIs.
- GroovyRootDocBuilder - Class in org.codehaus.groovy.tools.groovydoc
Builds a
SimpleGroovyRootDoc from source files by dispatching each file to either the
Groovy AST visitor or the Java parser.
- GroovyRootDocBuilder(java.lang.String, List<LinkArgument>, java.util.Properties) - Constructor in GroovyRootDocBuilder
-
Creates a builder for the given source paths, link arguments, and generation properties.
- GroovyRowResult - Class in groovy.sql
Represents an extent of objects.
- GroovyRowResult(Map<String,Object>) - Constructor in GroovyRowResult
-
Creates a row wrapper backed by the supplied map.
- GroovyRunner - Interface in org.apache.groovy.plugin
Classes which can run scripts should implement this interface.
- GroovyRunnerRegistry - Class in org.apache.groovy.plugin
Registry of services that implement the
GroovyRunner interface.
- GroovyRuntimeException - Class in groovy.lang
An exception thrown by the interpreter
- GroovyRuntimeException(java.lang.Throwable) - Constructor in GroovyRuntimeException
-
Creates a runtime exception with the supplied cause.
- GroovyScriptEngine - Class in groovy.util
Specific script engine able to reload modified scripts as well as dealing properly
with dependent scripts.
- GroovyScriptEngine(groovy.util.ResourceConnector, java.lang.ClassLoader) - Constructor in GroovyScriptEngine
-
Creates a script engine that delegates resource lookup to the supplied connector.
- GroovyScriptEngineFactory - Class in org.codehaus.groovy.jsr223
A factory class conforming to JSR-223 which is used to instantiate
Groovy ScriptEngines and also exposes metadata describing
Groovy's engine class.
- GroovyScriptEngineImpl - Class in org.codehaus.groovy.jsr223
JSR-223 Engine implementation.
- GroovyScriptEngineImpl(groovy.lang.GroovyClassLoader) - Constructor in GroovyScriptEngineImpl
-
Creates an engine backed by the supplied class loader.
- GroovyServlet - Class in groovy.servlet
This servlet will run Groovy scripts as Groovlets.
- GroovyShell - Class in groovy.lang
Represents a groovy shell capable of running arbitrary groovy scripts
- GroovyShell(groovy.lang.GroovyShell) - Constructor in GroovyShell
-
Creates a child shell using a new ClassLoader which uses the parent shell's
class loader as its parent
- GroovyShellTestCase - Class in groovy.test
Groovy test case, which recreates internal GroovyShell in each setUp()
- GroovyShellTestCase() - Constructor in GroovyShellTestCase
-
- GroovySocketServer - Class in groovy.ui
Simple server that executes supplied script against a socket.
- GroovySocketServer(groovy.lang.GroovyShell, groovy.lang.GroovyCodeSource, boolean, int) - Constructor in GroovySocketServer
-
This creates and starts the socket server on a new Thread.
- GroovyStarter - Class in org.codehaus.groovy.tools
Helper class to initialize the Groovy runtime.
- GroovySyntaxError - Class in org.apache.groovy.parser.antlr4
Represents a syntax error of groovy program
- GroovySyntaxError(java.lang.String, int, int, int) - Constructor in GroovySyntaxError
-
- GroovySystem - Class in groovy.lang
Central access point for Groovy runtime-wide services and configuration.
- GroovySystemRegistry - Class in org.apache.groovy.groovysh.jline
Specializes the JLine system registry for groovysh pipeline syntax and assignments.
- GroovySystemRegistry(org.jline.reader.Parser, org.jline.terminal.Terminal, Supplier<Path>, org.jline.builtins.ConfigurationPath) - Constructor in GroovySystemRegistry
-
Creates the system registry used by groovysh.
- GroovyTag - Interface in org.codehaus.groovy.groovydoc
Describes a block tag extracted from a documentation comment.
- GroovyTestCase - Class in groovy.test
A JUnit 3
TestCase base class in Groovy.
- GroovyTestSuite - Class in groovy.test
A TestSuite which will run a Groovy unit test case inside any Java IDE
either as a unit test case or as an application.
- groovyToString(double[]) - Method in ArrayGroovyMethods
-
Returns Groovy's list-like string representation for a double array.
- groovyToString(org.w3c.dom.Element) - Method in DefaultGroovyMethods
-
Returns Groovy's default string representation for an XML Element.
- GroovyType - Interface in org.codehaus.groovy.groovydoc
Describes a type reference used throughout the Groovydoc model.
- GroovyTypeCheckingExtensionSupport - Class in org.codehaus.groovy.transform.stc
Base class for type checking extensions written in Groovy.
- GroovyTypeCheckingExtensionSupport.TypeCheckingDSL - Class in org.codehaus.groovy.transform.stc
Event handler registration:
- setup
- Registers closure that runs after the type checker finishes initialization
- finish
- Registers closure that runs after the type checker completes type checking
- beforeVisitClass
- Registers closure that runs before type checking a class
- afterVisitClass
- Registers closure that runs after having finished the visit of a type checked class
- beforeVisitMethod
- Registers closure that runs before type checking a method body
- afterVisitMethod
- Registers closure that runs after type checking a method body
- beforeMethodCall
- Registers closure that runs before the type checker starts type checking a method call
- afterMethodCall
- Registers closure that runs once the type checker has finished type checking a method call
- methodNotFound
- Registers closure that runs when it fails to find an appropriate method for a method call
- ambiguousMethods
- Registers closure that runs when the type checker cannot choose between several candidate methods
- onMethodSelection
- Registers closure that runs when it finds a method appropriate for a method call
- unresolvedVariable
- Registers closure that runs when the type checker finds an unresolved variable
- unresolvedProperty
- Registers closure that runs when the type checker cannot find a property on the receiver
- unresolvedAttribute
- Registers closure that runs when the type checker cannot find an attribute on the receiver
- incompatibleAssignment
- Registers closure that runs when the type checker thinks that the right-hand side of an assignment is incompatible with the left-hand side
- incompatibleReturnType
- Registers closure that runs when the type checker thinks that a return value is incompatibe with the return type
- GroovyTypeCheckingExtensionSupport(org.codehaus.groovy.transform.stc.StaticTypeCheckingVisitor, java.lang.String, org.codehaus.groovy.control.CompilationUnit) - Constructor in GroovyTypeCheckingExtensionSupport
-
Builds a type checking extension relying on a Groovy script (type checking DSL).
- Group - Interface in org.apache.groovy.ginq.provider.collection.runtime
Represents group
- group - Field in Grab
-
The organisation or group, e.g.: "org.apache.ant".
- group - Field in GrabExclude
-
The organisation or group, e.g.: "org.apache.ant"; required unless the compact form is used.
- groupAnswer(Map<K,List<T>>, T, K) - Method in DefaultGroovyMethods
-
Groups the current element according to the value
- groupBy(java.lang.Object, List<Closure<?>>) - Method in ArrayGroovyMethods
-
Sorts all array members into (sub)groups determined by the supplied
mapping closures as per the list variant of this method.
- groupBy(java.lang.Object, List<Closure>) - Method in DefaultGroovyMethods
-
- groupBy(Function<? super T,?>) - Method in Queryable
-
Group by
Queryable instance without
having clause, similar to SQL's
group by
- groupByInto(Function<? super T,? extends K>) - Method in Queryable
-
- groupByMany(T, Closure<? extends U>, Closure<? extends Iterable<? extends K>>) - Method in ArrayGroovyMethods
-
Groups all members from the array into (sub)groups determined by the supplied key mapping closure.
- groupByMany(Map<T,List<K>>) - Method in DefaultGroovyMethods
-
Groups all keys from the map into (sub)groups determined by the values.
- groupByParallel(Collection<T>, Function<T,K>) - Method in ParallelCollectionExtensions
-
Groups elements by the classifier function in parallel.
- groupCommandsInHelp(boolean) - Method in SystemRegistryImpl
-
Sets whether commands should be grouped by registry in help output.
- groupEntriesBy(Map<K,V>, Closure<G>) - Method in DefaultGroovyMethods
-
Groups all map entries into groups determined by the
supplied mapping closure.
- GroupExpression - Class in org.apache.groovy.ginq.dsl.expression
Represents group by expression
- GroupExpression(org.codehaus.groovy.ast.expr.Expression) - Constructor in GroupExpression
-
Creates a groupby clause.
- groupId - Property in MavenGrabRecord
-
Value object describing a grabbed Maven dependency.
- GroupResult - Interface in org.apache.groovy.ginq.provider.collection.runtime
Represents a group result from a groupby...into clause.
- grow(char[]) - Method in Chr
-
Doubles the size of an array.
- grow(V) - Method in LazyMap
-
Doubles the capacity of the supplied array while preserving its component type.
- GString - Class in groovy.lang
Represents a String which contains embedded values such as "hello there
${user} how are you?"
- gString(java.lang.String, groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a gString.
- GSTRING_END - Field in Types
-
- GSTRING_EXPRESSION_END - Field in Types
-
- GSTRING_EXPRESSION_START - Field in Types
-
- gstring() - Method in GroovyParser
-
- gstring() - Method in GroovyParser.DynamicMemberNameContext
-
- gstring() - Method in GroovyParser.GstringPrmrAltContext
-
- GString(java.lang.Object) - Constructor in GString
-
Creates a GString from the supplied values.
- GSTRING_START - Field in Types
-
- GSTRING_STRING_CLASSNODE - Field in StaticTypeCheckingSupport
-
- GStringBegin() - Method in GroovyParser.GstringContext
-
- GstringContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.GstringContext
-
- GStringEnd() - Method in GroovyParser.GstringContext
-
- GStringExpression - Class in org.codehaus.groovy.ast.expr
Represents a GString (interpolated string) expression containing embedded values.
- GStringExpression(java.lang.String, List<ConstantExpression>, List<Expression>) - Constructor in GStringExpression
-
Creates a GString expression with pre-populated strings and values.
- GStringImpl - Class in org.codehaus.groovy.runtime
Default implementation of a GString used by the compiler.
- GStringImpl(java.lang.Object, java.lang.String, boolean, java.lang.String, boolean) - Constructor in GStringImpl
-
Create a new GString with values and strings.
- GStringPart(int) - Method in GroovyParser.GstringContext
-
- gstringPath() - Method in GroovyParser
-
- gstringPath() - Method in GroovyParser.GstringValueContext
-
- GstringPathContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.GstringPathContext
-
- GStringPathPart(int) - Method in GroovyParser.GstringPathContext
-
- GstringPrmrAltContext(PrimaryContext) - Constructor in GroovyParser.GstringPrmrAltContext
-
- GStringTemplateEngine - Class in groovy.text
Processes template source files substituting variables and expressions into
placeholders in a template source text to produce the desired output using
a streaming approach.
- GStringTemplateEngine(java.lang.ClassLoader) - Constructor in GStringTemplateEngine
-
Creates an engine that parses template scripts with the supplied parent loader.
- GStringUtil - Class in org.codehaus.groovy.runtime
This class is primarily intended for INTERNAL USE.
- gstringValue() - Method in GroovyParser
-
- gstringValue(int) - Method in GroovyParser.GstringContext
-
- GstringValueContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.GstringValueContext
-
- gt - Field in Entity
-
Entity reference >.
- GT - Field in GeneralUtils
-
- GT() - Method in GroovyParser.NonWildcardTypeArgumentsContext
-
- GT() - Method in GroovyParser.RelationalExprAltContext
-
- GT(int) - Method in GroovyParser.ShiftExprAltContext
-
- GT() - Method in GroovyParser.TypeArgumentsContext
-
- GT() - Method in GroovyParser.TypeArgumentsOrDiamondContext
-
- GT() - Method in GroovyParser.TypeParametersContext
-
- gtX(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- iacute - Field in Entity
-
Entity reference í.
- icirc - Field in Entity
-
Entity reference î.
- ICON_ARGS - Property in RichActionWidgetFactory
-
Parameter types used to locate the icon constructor.
- ICON_ATTRIBUTE - Field in StructuredSyntaxHandler
-
Style attribute name for embedded icons.
- ICON_ELEMENT_NAME - Field in StructuredSyntaxHandler
-
Style attribute name for icon element names.
- ICON_PATH - Field in Console
-
Console window icon resource.
- iconCtor - Property in RichActionWidgetFactory
-
Cached constructor that accepts an
Icon.
- Icons - Class in groovy.console.ui
Loads Material Symbols SVG icons and maps their fill color to the
active Look-and-Feel foreground.
- Icons.DynamicSVGIcon - Class in groovy.console.ui
Icon proxy whose inner FlatSVGIcon can be rebuilt at a new size
without changing the outer reference held by Swing components.
- Icons() - Constructor in Icons
-
- iconSize - Property in ConsolePreferences
-
Selected icon size for console actions.
- id - Field in VisibilityOptions
-
Returns the identifier used to match other annotations that reference these options.
- IDENT - Field in GroovyFilter
-
Pattern matching identifiers.
- IDENTICAL() - Method in GroovyParser.EqualityExprAltContext
-
- identifier() - Method in GroovyParser
-
- identifier() - Method in GroovyParser.BreakStatementContext
-
- identifier() - Method in GroovyParser.CatchClauseContext
-
- identifier() - Method in GroovyParser.ClassDeclarationContext
-
- identifier() - Method in GroovyParser.ContinueStatementContext
-
- identifier() - Method in GroovyParser.ElementValuePairNameContext
-
- identifier() - Method in GroovyParser.EnhancedForControlContext
-
- identifier() - Method in GroovyParser.EnumConstantContext
-
- identifier() - Method in GroovyParser.GstringPathContext
-
- Identifier() - Method in GroovyParser.IdentifierContext
-
- identifier() - Method in GroovyParser.IdentifierPrmrAltContext
-
- identifier() - Method in GroovyParser.ImportDeclarationContext
-
- identifier() - Method in GroovyParser.IndexVariableContext
-
- identifier() - Method in GroovyParser.KeyedPairContext
-
- identifier() - Method in GroovyParser.LabeledStmtAltContext
-
- identifier() - Method in GroovyParser.MatchingTypeContext
-
- identifier() - Method in GroovyParser.MethodNameContext
-
- identifier() - Method in GroovyParser.NamePartContext
-
- identifier() - Method in GroovyParser.QualifiedClassNameContext
-
- identifier() - Method in GroovyParser.QualifiedNameElementContext
-
- identifier() - Method in GroovyParser.VariableDeclaratorIdContext
-
- IDENTIFIER - Field in Types
-
- IdentifierContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.IdentifierContext
-
- IdentifierPrmrAltContext(PrimaryContext) - Constructor in GroovyParser.IdentifierPrmrAltContext
-
- IDENTIFIERS_COMPLETION - Field in GroovyEngine
-
Option key to enable identifier completion
- IDENTITY - Field in Closure
-
Identity closure returning its single argument.
- IDENTITY_COMPARISONS - Enum Constant in ConcurrentReferenceHashMap.Option
-
Indicates that referential-equality (== instead of .equals()) should
be used when locating keys.
- identity(U, Closure<T>) - Method in DefaultGroovyMethods
-
Allows the closure to be called for the object reference self.
- identity() - Method in FloatUnaryOperator
-
Returns the identity float unary operator.
- iexcl - Field in Entity
-
Entity reference ¡.
- IF() - Method in GroovyParser.IfElseStatementContext
-
- IF() - Method in GroovyParser.KeywordsContext
-
- ifConstraint(T, Closure<T>) - Method in ASTMatcher
-
Executes the supplied closure with the current matching constraints as delegate.
- ifElseForWhileAssignmentTracker - Field in TypeCheckingContext
-
This field is used to track assignments in if/else branches, for loops and
while loops.
- ifElseS(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.stmt.Statement, org.codehaus.groovy.ast.stmt.Statement) - Method in GeneralUtils
-
- ifElseStatement() - Method in GroovyParser
-
- ifElseStatement() - Method in GroovyParser.ConditionalStatementContext
-
- IfElseStatementContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.IfElseStatementContext
-
- IFileNameFinder - Interface in groovy.util
Locates file names matching Ant-style include and exclude patterns.
- ifS(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.stmt.Statement) - Method in GeneralUtils
-
- IfStatement - Class in org.codehaus.groovy.ast.stmt
Represents an if (condition) { then-block } else { else-block } conditional statement in Groovy.
- ifStatement(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates an IfStatement.
- IfStatement(org.codehaus.groovy.ast.expr.BooleanExpression, org.codehaus.groovy.ast.stmt.Statement, org.codehaus.groovy.ast.stmt.Statement) - Constructor in IfStatement
-
Constructs an IfStatement with a condition and then/else code blocks.
- ignorableWhitespace(char[], int, int) - Method in XmlParser
-
Receives ignorable whitespace and optionally preserves it as text content.
- ignorableWhitespace(char[], int, int) - Method in XmlSlurper
-
Receives ignorable whitespace and optionally preserves it as text content.
- Ignore - Class in groovy.mock.interceptor
Helper object to support convenience "ignore.methodName" notation similar to demand notation.
- ignore - Property in Demand
-
Filters for ignored methods mapped to their optional replacement behavior.
- Ignore() - Constructor in Ignore
-
- ignore - Property in MockFor
-
Helper supporting the ignore.methodName(...) shorthand.
- ignore - Property in StubFor
-
Helper supporting the ignore.methodName(...) shorthand.
- ignoreNulls - Field in ToString
-
Don't display any fields or properties with value null.
- igrave - Field in Entity
-
Entity reference ì.
- IllegalPropertyAccessException - Class in groovy.lang
An exception occurred if a dynamic property dispatch fails with a
field not accessible.
- IllegalPropertyAccessException(java.lang.reflect.Field, java.lang.Class) - Constructor in IllegalPropertyAccessException
-
Creates an exception for an inaccessible field-backed property.
- ImageIconFactory - Class in groovy.swing.factory
Factory for creating ImageIcon instances from several input forms.
- ImageIconFactory() - Constructor in ImageIconFactory
-
- Immutable - Annotation Type in groovy.transform
Meta annotation used when defining immutable classes.
- IMMUTABLE_BREADCRUMB - Field in ImmutableASTTransformation
-
- IMMUTABLE_OPTIONS_TYPE - Field in ImmutablePropertyUtils
-
The
ImmutableOptions annotation type used to configure immutable-property handling.
- ImmutableASTTransformation - Class in org.codehaus.groovy.transform
Handles generation of code for the
- Immutable:
- annotation.
- ImmutableBase - Annotation Type in groovy.transform
Class annotation used to assist in the creation of immutable classes.
- ImmutableOptions - Annotation Type in groovy.transform
Class annotation used to assist in the creation of immutable classes.
- ImmutableProperties - Annotation Type in groovy.transform
Meta annotation used when just the immutable properties part of @Immutable is desired.
- ImmutablePropertyHandler - Class in groovy.transform.options
Property handler used by immutable-style transforms.
- ImmutablePropertyUtils - Class in org.apache.groovy.ast.tools
Utility methods for immutable-property analysis and code generation.
- IMPLEMENTED_CLASSNODE - Field in Traits
-
- IMPLEMENTS() - Method in GroovyParser.ClassDeclarationContext
-
- IMPLEMENTS() - Method in GroovyParser.KeywordsContext
-
- implementsAnyInterfaces(org.codehaus.groovy.ast.ClassNode) - Method in ClassNode
-
- Parameters:
classNodes - the class nodes for the interfaces
- implementsCloneable(org.codehaus.groovy.ast.ClassNode) - Method in ImmutablePropertyUtils
-
Checks whether the supplied type implements
Cloneable.
- implementsInterface(org.codehaus.groovy.ast.ClassNode) - Method in ClassNode
-
- Parameters:
classNode - the class node for the interface
- implementsInterfaceOrIsSubclassOf(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingSupport
-
- implementsInterfaceOrSubclassOf(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in WideningCategories
-
Determines if the source class implements an interface or subclasses the
target type.
- ImplicationExprAltContext(ExpressionContext) - Constructor in GroovyParser.ImplicationExprAltContext
-
- IMPLICIT_RECEIVER - Enum Constant in StaticTypesMarker
-
if the receiver is implicit but not "this", store the name of the receiver (delegate or owner)
- implies(java.lang.Boolean, java.lang.Boolean) - Method in DefaultGroovyMethods
-
Logical implication of two boolean operands.
- IMPLIES() - Method in GroovyParser.ImplicationExprAltContext
-
- IMPLIES - Field in Types
-
- IMPORT - Enum Constant in ExtendedElementType
-
Import statement.
- IMPORT() - Method in GroovyParser.ImportDeclarationContext
-
- IMPORT() - Method in GroovyParser.KeywordsContext
-
- IMPORT - Enum Constant in SnippetType
-
Import statement snippet.
- IMPORT_TARGET - Field in AnnotationNode
-
Groovy-only target for annotations on import statements.
- ImportCustomizer - Class in org.codehaus.groovy.control.customizers
This compilation customizer allows adding various types of imports to the compilation unit.
- ImportCustomizer() - Constructor in ImportCustomizer
-
- ImportCustomizerFactory - Class in org.codehaus.groovy.control.customizers.builder
- importDeclaration() - Method in GroovyParser
-
- importDeclaration() - Method in GroovyParser.ScriptStatementContext
-
- ImportDeclarationContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ImportDeclarationContext
-
- importedClasses() - Method in ArrayClassDocWrapper
-
Returns the explicitly imported classes visible to this type.
- Returns:
- the imported classes
- importedClasses() - Method in ExternalGroovyClassDoc
-
Returns the explicitly imported classes visible to this type.
- Returns:
- the imported classes
- importedClasses() - Method in GroovyClassDoc
-
Returns the explicitly imported classes visible to this type.
- importedClasses() - Method in SimpleGroovyClassDoc
-
Returns the explicitly imported classes visible to this type.
- Returns:
- the imported classes
- importedPackages() - Method in ArrayClassDocWrapper
-
Returns the imported packages visible to this type.
- Returns:
- the imported packages
- importedPackages() - Method in ExternalGroovyClassDoc
-
Returns the imported packages visible to this type.
- Returns:
- the imported packages
- importedPackages() - Method in GroovyClassDoc
-
Returns the imported packages visible to this type.
- importedPackages() - Method in SimpleGroovyClassDoc
-
Returns the imported packages visible to this type.
- Returns:
- the imported packages
- ImportNode - Class in org.codehaus.groovy.ast
Represents an import statement in Groovy source code, supporting single-type imports,
wildcard imports, and static imports.
- importNode(java.lang.Class, java.lang.String) - Method in AstSpecificationCompiler
-
Creates an ImportNode.
- ImportNode(org.codehaus.groovy.ast.ClassNode, java.lang.String, java.lang.String) - Constructor in ImportNode
-
Creates a static import for a specific field or method of a type (e.g., import static pack.Type.name
or import static pack.Type.name as alias).
- importsCommand(org.jline.console.CommandInput) - Method in GroovyCommands
-
Lists or removes import statements tracked by the shell.
- in(char, int, int, char[]) - Method in Chr
-
Tests whether the supplied character occurs in the specified array range.
- IN() - Method in GroovyParser.EnhancedForControlContext
-
- IN() - Method in GroovyParser.IdentifierContext
-
- IN() - Method in GroovyParser.KeywordsContext
-
- IN() - Method in GroovyParser.QualifiedNameElementContext
-
- IN() - Method in GroovyParser.RelationalExprAltContext
-
- in - Field in IO
-
Preferred input reader.
- in(int, java.lang.Object) - Method in Sql
-
Create a new InParameter
- INC() - Method in GroovyParser.PostfixExpressionContext
-
- INC() - Method in GroovyParser.UnaryAddExprAltContext
-
- INC_PATH_INFO - Field in AbstractHttpServlet
-
Servlet API include key name: path_info
- INC_REQUEST_URI - Field in AbstractHttpServlet
-
Servlet API include key name for the original request URI.
- INC_SERVLET_PATH - Field in AbstractHttpServlet
-
Servlet API include key name: servlet_path
- include(java.lang.String) - Method in ServletBinding
-
Includes another resource in the current response.
- includeEscaped(java.lang.String) - Method in BaseTemplate
-
Includes contents of another file, not as a template but as escaped text.
- includeFields - Field in AutoClone
-
Include fields as well as properties when cloning.
- includeFields - Field in EqualsAndHashCode
-
Include fields as well as properties in equals and hashCode calculations.
- includeFields - Field in ExternalizeMethods
-
Include fields as well as properties when externalizing.
- includeFields - Field in ExternalizeVerifier
-
Include fields as well as properties when verifying externalization properties.
- includeFields - Field in MapConstructor
-
Include fields in the constructor.
- includeFields - Field in ToString
-
Include fields as well as properties in the generated toString.
- includeFields - Field in TupleConstructor
-
Include fields in the constructor.
- includeGenerated - Field in NullCheck
-
Whether to try to add null checking to generated methods/constructors such as those added by other transforms.
- includeGroovy(java.lang.String) - Method in BaseTemplate
-
Includes another template inside this template.
- includeNames - Field in ToString
-
Whether to include names of properties/fields in the generated toString.
- includePackage - Field in ToString
-
Whether to include the fully-qualified class name (i.e. including
the package) or just the simple class name in the generated toString.
- includeProperties - Field in MapConstructor
-
Include properties in the constructor.
- includeProperties - Field in TupleConstructor
-
Include properties in the constructor.
- includes - Field in Builder
-
List of field and/or property names to include within the generated builder methods.
- includes - Field in Delegate
-
List of method and/or property names to include when delegating.
- includes - Field in EqualsAndHashCode
-
List of property names (and field names if includeFields is true) to include within the equals and hashCode calculations.
- includes - Field in MapConstructor
-
List of field and/or property names to include within the constructor.
- includes - Field in Sortable
-
Property names to include in the comparison algorithm.
- includes - Field in ToString
-
List of field and/or property names to include within the generated toString.
- includes - Field in TupleConstructor
-
List of field and/or property names to include within the constructor.
- includeStatic - Field in MapConstructor
-
Whether to include static properties in the constructor.
- includeSuper - Field in ToString
-
Whether to include the toString() of super in the generated toString.
- includeSuperFields - Field in MapConstructor
-
Include fields from super classes in the constructor.
- includeSuperFields - Field in ToString
-
Include super fields in the generated toString.
- includeSuperFields - Field in TupleConstructor
-
Include visible fields from super classes in the constructor.
- includeSuperProperties - Field in Builder
-
Generate builder methods for properties from super classes.
- includeSuperProperties - Field in MapConstructor
-
Include properties from super classes in the constructor.
- includeSuperProperties - Field in Sortable
-
Whether to include super properties in the comparison algorithm.
- includeSuperProperties - Field in ToString
-
Whether to include super properties in the generated toString.
- includeSuperProperties - Field in TupleConstructor
-
Include properties from super classes in the constructor.
- includeTypes - Field in Delegate
-
List of interfaces containing method signatures to include when delegating.
- includeUnescaped(java.lang.String) - Method in BaseTemplate
-
Includes contents of another file, not as a template but as unescaped text.
- inclusive(boolean) - Method in AstSpecificationCompiler
-
Creates a boolean value.
- InclusiveOrExprAltContext(ExpressionContext) - Constructor in GroovyParser.InclusiveOrExprAltContext
-
- IncorrectClosureArgumentsException - Class in groovy.lang
An exception occurred when invoking a Closure with the wrong number and/or
types of arguments
- IncorrectClosureArgumentsException(groovy.lang.Closure, java.lang.Object, java.lang.Class) - Constructor in IncorrectClosureArgumentsException
-
Creates an exception describing mismatched closure arguments.
- IncorrectTypeHintException - Class in groovy.transform.stc
- IncorrectTypeHintException(org.codehaus.groovy.ast.MethodNode, java.lang.String, int, int) - Constructor in IncorrectTypeHintException
-
Creates an exception describing an invalid hint message.
- increment(java.lang.Object) - Method in ObjectRange
-
Increments by one
- incrementBatchCount() - Method in BatchingStatementWrapper
-
Increments batch count (after addBatch(..) has been called)
and execute delegate.executeBatch() if batchSize has been reached.
- incrementFallbackCount() - Method in CacheableCallSite
-
- incrementIndent() - Method in IndentPrinter
-
Increases the indentation level by one.
- Incubating - Annotation Type in org.apache.groovy.lang.annotation
Indicates experimental and still-to-be-refined API, which may change at any time.
- incVersion() - Method in ClassInfo
-
Increments the version number and invalidates call sites.
- incVersion() - Method in MetaClassImpl
-
Increments version of the contained Class
- indented(groovy.lang.Closure) - Method in AstNodeToScriptVisitor
-
Executes the supplied block one indentation level deeper.
- IndentPrinter - Class in groovy.util
A helper class for printing indented text.
- IndentPrinter(java.io.Writer, java.lang.String, boolean, boolean) - Constructor in IndentPrinter
-
Create an IndentPrinter to the given PrintWriter
- index - Field in AbstractCallSite
-
- index - Field in ConcurrentReaderHashMap.HashIterator
-
- INDEX_OVERLAY - Enum Constant in JsonParserType
-
Fastest parser, but has pointers (indexes really) to original char buffer.
- indexed(T, int) - Method in ArrayGroovyMethods
-
Zips an object array with indices in (index, value) order starting from a given index.
- indexed(double[], int) - Method in DefaultGroovyMethods
-
- IndexedProperty - Annotation Type in groovy.transform
Field annotation used with properties to provide an indexed getter and setter for the property.
- IndexedPropertyASTStubber - Class in org.codehaus.groovy.transform
- IndexedPropertyASTTransformation - Class in org.codehaus.groovy.transform
Handles generation of code for the @IndexedProperty annotation.
- indexMap - Field in MetaMethodIndex
-
a map of the starter class plus its super classes to save method lists for
static/normal/super method calls.
- indexOf(java.lang.Object, java.lang.Object) - Method in ArrayGroovyMethods
-
Returns the index of the first occurrence of the specified element in the
array.
- indexOf(java.lang.String, int) - Method in GStringImpl
-
- indexOf(java.lang.Object) - Method in ListWithDefault
-
{@inheritDoc}
- indexOf(java.lang.Object) - Method in ListWrapperListModel
-
Returns the first index of the supplied element in the backing list.
- indexOf(java.lang.Object) - Method in ObservableList
-
{@inheritDoc}
- indexPropertyArgs() - Method in GroovyParser
-
- indexPropertyArgs() - Method in GroovyParser.PathElementContext
-
- IndexPropertyArgsContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.IndexPropertyArgsContext
-
- indexVariable() - Method in GroovyParser
-
- indexVariable() - Method in GroovyParser.EnhancedForControlContext
-
- IndexVariableContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.IndexVariableContext
-
- indexX(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- IndyArrayAccess - Class in org.codehaus.groovy.vmplugin.v8
Class for handling array access through invokedynamic using static callsite information
- IndyBinHelper - Class in org.codehaus.groovy.classgen.asm.indy
- IndyBinHelper(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in IndyBinHelper
-
- IndyCallSiteWriter - Class in org.codehaus.groovy.classgen.asm.indy
Dummy class used by the indy implementation.
- IndyCallSiteWriter(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in IndyCallSiteWriter
-
- IndyGuardsFiltersAndSignatures - Class in org.codehaus.groovy.vmplugin.v8
This class contains guards, runtime filters and
MethodType signatures used by indy.
- IndyInterface - Class in org.codehaus.groovy.vmplugin.v8
Bytecode level interface for bootstrap methods used by invokedynamic.
- IndyInterface.CallType - Enum in org.codehaus.groovy.vmplugin.v8
Enum for easy differentiation between call types.
- IndyMath - Class in org.codehaus.groovy.vmplugin.v8
This class contains math operations used by indy instead of the normal
meta method and call site caching system.
- IndyStaticTypesMultiTypeDispatcher - Class in org.codehaus.groovy.classgen.asm.indy.sc
Multi type dispatcher for binary expression backend combining indy and static compilation
- IndyStaticTypesMultiTypeDispatcher(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in IndyStaticTypesMultiTypeDispatcher
-
- inferClosureParameterTypes(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.ClosureExpression, org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.MethodNode) - Method in StaticTypeCheckingVisitor
-
Performs type inference on closure argument types whenever code like this
is found: foo.collect { it.toUpperCase() }.
- inferComponentType(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingVisitor
-
- inferDiamondType(org.codehaus.groovy.ast.expr.ConstructorCallExpression, org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingVisitor
-
- inferListExpressionType(org.codehaus.groovy.ast.expr.ListExpression) - Method in StaticTypeCheckingVisitor
-
- inferLoopElementType(org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingVisitor
-
Returns the inferred loop element type given a loop collection type.
- inferMapExpressionType(org.codehaus.groovy.ast.expr.MapExpression) - Method in StaticTypeCheckingVisitor
-
- inferRangeSliceType(org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingVisitor
-
GEP-20: probe the static return type of rhs.getAt(IntRange) on
receiverType, so the rest binder can be typed against the actual
slice type rather than a hard-coded List<T>.
- INFERRED_NON_NULL_RETURN_VIOLATIONS - Enum Constant in StaticTypesMarker
-
list of return null statements recorded on a method before its body is rewritten, so a downstream checker can still report them as non-null violations
- INFERRED_NON_NULL - Enum Constant in StaticTypesMarker
-
indicates a parameter or method return is known to be non-null (e.g., inferred from @Requires/@Ensures contracts)
- INFERRED_RETURN_TYPE - Enum Constant in StaticTypesMarker
-
used to store inferred return type for methods and closures
- INFERRED_TYPE - Enum Constant in StaticTypesMarker
-
used to store type information on class nodes
- inferredType - Field in TypeChecked.TypeCheckingInfo
-
An encoded type information.
- inferReturnTypeGenerics(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.GenericsType) - Method in StaticTypeCheckingVisitor
-
If a method call returns a parameterized type, then perform additional
inference on the return type, so that the type gets actual type arguments.
- INFIX_OPERATOR - Field in Types
-
- info() - Method in GroovyMBean
-
Returns cached metadata for the wrapped MBean.
- INFO - Field in IO.Verbosity
-
- info(java.lang.String) - Method in LoggingHelper
-
Logs an informational message.
- info(java.lang.System$Logger, java.lang.String, java.lang.Object) - Method in PluginDefaultGroovyMethods
-
Convenience method for logging info level messages with the platform logger.
- InheritConstructors - Annotation Type in groovy.transform
Class annotation to make constructors from a super class available in a subclass.
- InheritConstructorsASTStubber - Class in org.codehaus.groovy.transform
- InheritConstructorsASTTransformation - Class in org.codehaus.groovy.transform
Handles generation of code for the @InheritConstructors annotation.
- init(org.codehaus.groovy.ast.ASTNode, org.codehaus.groovy.control.SourceUnit) - Method in AbstractASTTransformation
-
Initializes the transformation with the annotation and source unit context.
- init(jakarta.servlet.ServletConfig) - Method in AbstractHttpServlet
-
Overrides the generic init method to set some debug flags.
- init(T) - Method in ArrayGroovyMethods
-
Returns the items from the Object array excluding the last item.
- init() - Method in CharBuf
-
Allocates the backing array from the current capacity.
- init(org.codehaus.groovy.ast.VariableScope, org.codehaus.groovy.ast.Parameter) - Method in CompileStack
-
initializes this class for a MethodNode.
- init(K, V) - Method in ConcurrentReferenceHashMap.InitializableEntry
-
Reinitializes this entry with the supplied key and value.
- init(org.codehaus.groovy.ast.ClassNode) - Method in ConfigurationSetup
-
Adds an instance field which allows to control whether GContract assertions
are enabled or not.
- init(T) - Method in DefaultGroovyMethods
-
- init(org.codehaus.groovy.classgen.AsmClassGenerator, org.codehaus.groovy.classgen.GeneratorContext, org.objectweb.asm.ClassVisitor, org.codehaus.groovy.ast.ClassNode) - Method in DelegatingController
-
- init(jakarta.servlet.ServletConfig) - Method in GroovyServlet
-
Initialize the GroovyServlet.
- INIT - Enum Constant in IndyInterface.CallType
-
Constructor invocation type.
- INIT_PARAM_RESOURCE_NAME_REGEX - Field in AbstractHttpServlet
-
Init parameter defining the regular expression used to rewrite resource names.
- INIT_PARAM_RESOURCE_NAME_REGEX_FLAGS - Field in AbstractHttpServlet
-
Init parameter defining the numeric
Pattern compile flags for the resource name regex.
- init(org.codehaus.groovy.classgen.AsmClassGenerator, org.codehaus.groovy.classgen.GeneratorContext, org.objectweb.asm.ClassVisitor, org.codehaus.groovy.ast.ClassNode) - Method in StaticTypesWriterController
-
- init(jakarta.servlet.ServletConfig) - Method in TemplateServlet
-
Initializes the servlet from hints the container passes.
- init() - Method in ViolationTracker
-
Installs a fresh tracker for the current thread.
- init(org.codehaus.groovy.classgen.AsmClassGenerator, org.codehaus.groovy.classgen.GeneratorContext, org.objectweb.asm.ClassVisitor, org.codehaus.groovy.ast.ClassNode) - Method in WriterController
-
Initializes this controller with compilation context and ASM infrastructure.
- initActions() - Method in ConsoleTextEditor
-
Installs actions exposed by this editor on its action map.
- initAuxViews() - Method in AstBrowser
-
Resets the auxiliary source views to their default placeholder text.
- initClass - Field in Grab
-
By default, when a @Grab annotation is used, a Grape.grab() call is added
to the static initializers of the class the annotatable node appears in.
- initClass - Field in GrabResolver
-
By default, when a @GrabResolver annotation is used, a Grape.addResolver() call is added
to the static initializers of the class the annotatable node appears in.
- initClass - Field in Grapes
-
This will be pushed into the child grab annotations if the value is not
set in the child annotation already.
- initContextClassLoader - Field in GrabConfig
-
Set to true if you want the context classloader to be initialised to the classloader
of the current class or script.
- initHash() - Method in HashCodeHelper
-
Returns the initial seed for a hash-code calculation sequence.
- INITIAL_EXPRESSION - Enum Constant in StaticTypesMarker
-
used to store the default expression for a parameter
- INITIAL_EXPRESSION - Field in Verifier
-
- initialCapacity(int) - Method in ConcurrentLinkedHashMap.Builder
-
Specifies the initial capacity of the hash table (default 16).
- initialCapacity(int) - Method in InvokerHelper
-
According to the initial entry count, calculate the initial capacity of hash map, which is power of 2
(SEE https://stackoverflow.com/questions/8352378/why-does-hashmap-require-that-the-initial-capacity-be-a-power-of-two)
- INITIALIZATION - Enum Constant in CompilePhase
-
source files are opened and environment configured
- INITIALIZATION - Enum Constant in CompilePhaseAdapter
-
- INITIALIZATION - Field in Phases
-
Opening of files and such
- initialize() - Method in ClosureMetaClass
-
- initialize() - Method in DelegatingMetaClass
-
Complete the initialisation process. After this method
is called no methods should be added to the metaclass.
Invocation of methods or access to fields/properties is
forbidden unless this method is called. This method
should contain any initialisation code, taking a longer
time to complete. An example is the creation of the
Reflector. It is suggested to synchronize this
method.
- initialize() - Method in ExpandoMetaClass
-
Complete the initialisation process. After this method
is called no methods should be added to the metaclass.
Invocation of methods or access to fields/properties is
forbidden unless this method is called. This method
should contain any initialisation code, taking a longer
time to complete. An example is the creation of the
Reflector. It is suggested to synchronize this
method.
- initialize() - Method in HandleMetaClass
-
- initialize() - Method in MetaClass
-
Complete the initialisation process.
- initialize() - Method in MetaClassImpl
-
Complete the initialisation process.
- initialize() - Method in ProxyMetaClass
-
Complete the initialisation process. After this method
is called no methods should be added to the metaclass.
Invocation of methods or access to fields/properties is
forbidden unless this method is called. This method
should contain any initialisation code, taking a longer
time to complete. An example is the creation of the
Reflector. It is suggested to synchronize this
method.
- initialize() - Method in StaticTypeCheckingVisitor
-
- initialize(java.io.File) - Method in SystemRegistryImpl
-
Initializes the system by executing a startup script.
- initializeDelegateHelpers() - Method in BinaryExpressionMultiTypeDispatcher
-
- initializeDelegateHelpers() - Method in IndyStaticTypesMultiTypeDispatcher
-
- InitializerStrategy - Class in groovy.transform.builder
This strategy is used with the
Builder AST transform to create a builder helper class
for the fluent and type-safe creation of instances of a specified class.
- InitializerStrategy.SET - Class in groovy.transform.builder
Internal phantom type used by the InitializerStrategy to indicate that a property has been set.
- InitializerStrategy.UNSET - Class in groovy.transform.builder
Internal phantom type used by the InitializerStrategy to indicate that a property remains unset.
- initMetaClass(java.lang.Object) - Method in ScriptBytecodeAdapter
-
- inits(Iterable<T>) - Method in DefaultGroovyMethods
-
Calculates the init values of this Iterable: the first value will be this list of all items from the iterable and the final one will be an empty list, with the intervening values the results of successive applications of init on the items.
- inits(Iterable<T>) - Method in GroovyCollections
-
- initTemplateEngine(jakarta.servlet.ServletConfig) - Method in TemplateServlet
-
Creates the template engine.
- initValue() - Method in LazyReference
-
Computes the value to cache for future
get() calls.
- inject(E, U, Closure<V>) - Method in ArrayGroovyMethods
-
Iterates through the given array, passing in the initial value and the
first element to the closure.
- inject(Collection<E>, U, Closure<V>) - Method in DefaultGroovyMethods
-
- injectAll(E, U, Closure<V>) - Method in ArrayGroovyMethods
-
Iterates through the given array, injecting values as per inject
but returns the list of all calculated values instead of just the final result.
- injectAll(Map<K,V>, U, Closure<W>) - Method in DefaultGroovyMethods
-
Iterates through the given map, passing in the initial value to
the 2-arg Closure along with the first item (or 3-arg Closure along with the first key and value)
and then similarly for other map entries.
- injectClassInvariant(org.codehaus.groovy.ast.ClassNode, org.apache.groovy.contracts.domain.ClassInvariant) - Method in DomainModelInjectionVisitor
-
Generates AST support for the supplied class invariant.
- injectGenParamIntoYieldReturnCalls(org.codehaus.groovy.ast.stmt.Statement, org.codehaus.groovy.ast.Parameter) - Method in AsyncTransformHelper
-
Rewrites yieldReturn(expr) calls to yieldReturn($__asyncGen__, expr)
by injecting the generator parameter reference.
- injectParallel(Collection<T>, T, BinaryOperator<T>) - Method in ParallelCollectionExtensions
-
Reduces the collection in parallel with a seed value.
- injectPostcondition(org.codehaus.groovy.ast.MethodNode, org.apache.groovy.contracts.domain.Postcondition) - Method in DomainModelInjectionVisitor
-
Generates AST support for the supplied postcondition.
- injectPrecondition(org.codehaus.groovy.ast.MethodNode, org.apache.groovy.contracts.domain.Precondition) - Method in DomainModelInjectionVisitor
-
Generates AST support for the supplied precondition.
- injectResultVariableReturnStatementAndAssertionCallStatement(org.codehaus.groovy.ast.stmt.BlockStatement, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.stmt.ReturnStatement, org.codehaus.groovy.ast.stmt.BlockStatement) - Method in AssertStatementCreationUtility
-
Rewrites the target return statement so it stores the result value, executes the assertion block,
and then returns the stored result.
- InlinedASTCustomizerFactory - Class in org.codehaus.groovy.control.customizers.builder
This factory lets a user define a compilation customizer without having to define
an anonymous inner class.
- inList(Collection<?>) - Method in Sql
-
Wraps a collection so that it expands to a comma-separated list of
positional placeholders when bound to a SQL IN clause.
- InListParameter - Interface in groovy.sql
Marker that expands a collection into a comma-separated list of
positional placeholders when bound to a SQL IN clause.
- inMixed - Field in DomToGroovy
-
Whether the current element contains mixed text and element content.
- INNER_HASH_JOIN - Field in JoinExpression
-
Clause name for an inner hash join.
- INNER_JOIN - Field in JoinExpression
-
Clause name for a regular inner join.
- innerClass(java.lang.String, int, groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates an inner class.
- InnerClassCompletionVisitor - Class in org.codehaus.groovy.classgen
- InnerClassCompletionVisitor(org.codehaus.groovy.control.CompilationUnit, org.codehaus.groovy.control.SourceUnit) - Constructor in InnerClassCompletionVisitor
-
- innerClasses(boolean) - Method in ArrayClassDocWrapper
-
Returns the nested classes declared by this type, optionally applying the active visibility filter.
- Parameters:
filter - true to include only visible nested classes, false to include all nested classes
- Returns:
- the matching nested classes
- innerClasses - Field in ClassGenerator
-
- innerClasses(boolean) - Method in ExternalGroovyClassDoc
-
Returns the nested classes declared by this type, optionally applying the active visibility filter.
- Parameters:
filter - true to include only visible nested classes, false to include all nested classes
- Returns:
- the matching nested classes
- innerClasses(boolean) - Method in GroovyClassDoc
-
Returns the nested classes declared by this type, optionally applying the active visibility filter.
- innerClasses(boolean) - Method in SimpleGroovyClassDoc
-
Returns the nested classes declared by this type, optionally applying the active visibility filter.
- Parameters:
filter - true to include only visible nested classes, false to include all nested classes
- Returns:
- the matching nested classes
- InnerClassNode - Class in org.codehaus.groovy.ast
Represents a nested (inner) class definition within an outer class.
- InnerClassNode(org.codehaus.groovy.ast.ClassNode, java.lang.String, int, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MixinNode) - Constructor in InnerClassNode
-
Creates an inner class with the specified outer class, name, modifiers, superclass, interfaces, and mixins.
- InnerClassVisitor - Class in org.codehaus.groovy.classgen
- InnerClassVisitor(org.codehaus.groovy.control.CompilationUnit, org.codehaus.groovy.control.SourceUnit) - Constructor in InnerClassVisitor
-
- InnerClassVisitorHelper - Class in org.codehaus.groovy.classgen
- innerHashJoin(Queryable<? extends U>, Function<? super T,?>, Function<? super U,?>) - Method in Queryable
-
Inner hash join another
Queryable instance, similar to SQL's
inner hash join.
- innerJoin(Queryable<? extends U>, BiPredicate<? super T,? super U>) - Method in Queryable
-
Inner join another
Queryable instance, similar to SQL's
inner join
- InnerLoader(groovy.lang.GroovyClassLoader) - Constructor in GroovyClassLoader.InnerLoader
-
Creates an inner loader delegating to the supplied outer Groovy class loader.
- inout(groovy.sql.InParameter) - Method in Sql
-
Create an inout parameter using this in parameter.
- InOutParameter - Interface in groovy.sql
A typed parameter passed to, and returned from a CallableStatement.
- InParameter - Interface in groovy.sql
A typed parameter to pass to a query
- inputArea - Property in Console
-
Raw text component used for script editing.
- inputAreaContentHash - Property in Console
-
Hash of the last script text scheduled for execution.
- inputEditor - Property in Console
-
Styled text editor used for script input.
- inputStream - Field in IO
-
Raw input stream.
- InputStreamReaderSource - Class in org.codehaus.groovy.control.io
A ReaderSource for source strings.
- InputStreamReaderSource(java.io.InputStream, org.codehaus.groovy.control.CompilerConfiguration) - Constructor in InputStreamReaderSource
-
Creates the ReaderSource from a File descriptor.
- inRegistry - Field in ExpandoMetaClass
-
Indicates whether this expando meta class is registered in the global registry.
- inSamePackage(Class<?>, Class<?>) - Method in GeneralUtils
-
- insertString(javax.swing.text.Document, int, java.lang.String, javax.swing.text.AttributeSet, boolean) - Method in Console
-
Inserts text into a document and optionally mirrors it to the output log file.
- insertString(javax.swing.text.DocumentFilter$FilterBypass, int, java.lang.String, javax.swing.text.AttributeSet) - Method in SmartDocumentFilter
-
{@inheritDoc}
- insertString(javax.swing.text.DocumentFilter$FilterBypass, int, java.lang.String, javax.swing.text.AttributeSet) - Method in StructuredSyntaxDocumentFilter
-
Insert a string into the document, and then parse it if the parser has been
set.
- inspect(java.lang.Object) - Method in DefaultGroovyMethods
-
Inspects returns the String that matches what would be typed into a
terminal to create this object.
- inspect() - Method in EmptyRange
-
- Returns:
- the verbose String representation of this Range as would be typed into a console to create the Range instance
- inspect(java.lang.Object) - Method in FormatHelper
-
- inspect(org.jline.console.CommandInput) - Method in GroovyCommands
-
Displays object details in the terminal or object browser.
- inspect() - Method in IntRange
-
- Returns:
- the verbose String representation of this Range as would be typed into a console to create the Range instance
- inspect(java.lang.Object) - Method in InvokerHelper
-
- inspect() - Method in NumberRange
-
- Returns:
- the verbose String representation of this Range as would be typed into a console to create the Range instance
- inspect(java.lang.Object, java.lang.String) - Method in ObjectBrowser
-
Opens an object browser for the supplied object.
- inspect() - Method in ObjectRange
-
- Returns:
- the verbose String representation of this Range as would be typed into a console to create the Range instance
- inspect() - Method in Range
-
- Returns:
- the verbose String representation of this Range as would be typed into a console to create the Range instance
- inspectAlso(java.lang.Object, java.lang.String) - Method in ObjectBrowser
-
Adds another inspected object as a new card in the current window.
- inspectAst(java.util.EventObject) - Method in Console
-
Opens the AST browser for the current editor contents.
- inspectChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.util.Map) - Method in TabbedPaneFactory
-
Collects tab metadata from a child component before it is added to the pane.
- inspectCst(java.util.EventObject) - Method in Console
-
Opens the CST viewer for the current editor contents.
- inspectLast(java.util.EventObject) - Method in Console
-
Opens the object browser for the last non-null result.
- Inspector - Class in groovy.inspect
The Inspector provides a unified access to an object's
information that can be determined by introspection.
- Inspector.MemberComparator - Class in groovy.inspect
Comparator for member information arrays.
- Inspector.MemberComparatorWithValue - Class in groovy.inspect
Comparator for property tuples that include values.
- Inspector(java.lang.Object) - Constructor in Inspector
-
- Parameters:
objectUnderInspection - must not be null
- inspector - Property in ObjectBrowser
-
Inspector backing the currently displayed object.
- inspector - Property in ObjectInspector
-
Groovy inspector backing the extracted metadata.
- inspectTokens(java.util.EventObject) - Method in Console
-
Opens the lexer token inspector for the current editor contents.
- inspectVariables(java.util.EventObject) - Method in Console
-
Opens the object browser for the current shell variables.
- installAutoTabAction(javax.swing.text.JTextComponent) - Method in GroovyFilter
-
Installs the auto-indent action on the supplied text component.
- installInterceptor() - Method in Console
-
Starts interceptors that route standard output and error into the console.
- INSTANCE - Field in AnyTokenMatch
-
Shared instance.
- INSTANCE - Field in BigDecimalMath
-
- INSTANCE - Field in BigIntegerMath
-
- INSTANCE - Field in CachedClass.CachedMethodComparatorByName
-
Singleton instance of this comparator.
- INSTANCE - Field in CachedClass.CachedMethodComparatorWithString
-
Singleton instance of this comparator.
- INSTANCE - Field in DefaultPropertyAccessor
-
Shared accessor instance.
- INSTANCE - Field in DefaultPropertyReader
-
Shared property reader instance.
- INSTANCE - Field in DefaultPropertyWriter
-
Shared property writer instance.
- INSTANCE - Field in EmptyExpression
-
Immutable singleton that is recommended for use when source range or any
other occurrence-specific metadata is not needed.
- INSTANCE - Field in EmptyStatement
-
Immutable singleton that is recommended for use when source range or any
other occurrence-specific metadata is not needed.
- instance - Field in ExpandoMetaClassCreationHandle
-
Shared creation handle instance used when expando meta classes are globally enabled.
- INSTANCE - Field in ExtensionMethodCache
-
- INSTANCE - Field in FloatingPointMath
-
- instance - Field in Grape
-
Lazily created grape engine instance.
- INSTANCE - Field in IntegerMath
-
- INSTANCE - Field in LexerAtnManager
-
- INSTANCE - Field in LongMath
-
- instance - Field in LookAndFeelHelper
-
- INSTANCE - Enum Constant in MacroBuilder
-
Shared macro builder instance.
- INSTANCE - Enum Constant in MacroStub
-
Shared macro stub instance.
- instance - Field in NumberMathModificationInfo
-
- INSTANCE - Field in ParserAtnManager
-
- INSTANCE - Field in ProxyGenerator
-
Shared proxy generator instance used by Groovy's coercion helpers.
- INSTANCE - Field in Tuple0
-
Shared empty tuple instance.
- INSTANCE - Field in ViolationTracker
-
Stores the tracker bound to the current thread while a contract is being evaluated.
- instanceExpectations - Property in MockFor
-
Per-instance expectations created for proxy-style usage.
- instanceExpectations - Property in StubFor
-
Per-instance expectations created for proxy-style usage.
- INSTANCEOF - Field in GeneralUtils
-
- INSTANCEOF() - Method in GroovyParser.KeywordsContext
-
- INSTANCEOF() - Method in GroovyParser.RelationalExprAltContext
-
- INSTANCEOF_OPERATOR - Field in Types
-
- InstanceOfVerifier - Class in org.codehaus.groovy.control
- instantiateAggregate(java.util.Map, List<Class>, java.lang.Class, java.lang.Object) - Method in ProxyGenerator
-
Creates an aggregate proxy with optional interfaces, base class and constructor arguments.
- instantiateAggregateFromBaseClass(java.util.Map, java.lang.Class, java.lang.Object) - Method in ProxyGenerator
-
Creates an aggregate proxy with closures and constructor arguments.
- instantiateAggregateFromInterface(java.util.Map, java.lang.Class) - Method in ProxyGenerator
-
Creates an aggregate proxy that implements a single interface.
- instantiateDelegate(java.util.Map, List<Class>, java.lang.Object) - Method in ProxyGenerator
-
Creates a delegating proxy with supplemental closure implementations.
- instantiateDelegateWithBaseClass(java.util.Map, List<Class>, java.lang.Object, java.lang.Class, java.lang.String) - Method in ProxyGenerator
-
Creates a proxy with a delegate object.
- INSTRUCTION_SELECTION - Enum Constant in CompilePhase
-
instruction set is chosen, for example java5 or pre java5
- INSTRUCTION_SELECTION - Enum Constant in CompilePhaseAdapter
-
- INSTRUCTION_SELECTION - Field in Phases
-
Class generation (pt.1)
- int_and - Field in NumberMathModificationInfo
-
- int_div - Field in NumberMathModificationInfo
-
- int_intdiv - Field in NumberMathModificationInfo
-
- int_leftShift - Field in NumberMathModificationInfo
-
- int_minus - Field in NumberMathModificationInfo
-
- int_mod - Field in NumberMathModificationInfo
-
- int_multiply - Field in NumberMathModificationInfo
-
- int_or - Field in NumberMathModificationInfo
-
- int_plus - Field in NumberMathModificationInfo
-
- int_remainder - Field in NumberMathModificationInfo
-
- int_rightShift - Field in NumberMathModificationInfo
-
- int_rightShiftUnsigned - Field in NumberMathModificationInfo
-
- int_xor - Field in NumberMathModificationInfo
-
- intArrayGet(int[], int) - Method in BytecodeInterface8
-
Gets value from int[] using normalized index.
- IntArrayIterable - Class in org.codehaus.groovy.util
Allows an int array to be used where an Iterable is expected.
- IntArrayIterable(int[]) - Constructor in IntArrayIterable
-
Creates an iterable view that traverses the supplied array in index order.
- IntArrayIterator - Class in org.codehaus.groovy.util
Allows an int array to be used where an Iterator is expected.
- IntArrayIterator(int[]) - Constructor in IntArrayIterator
-
Creates an iterator that traverses the supplied array in index order.
- intArraySet(int[], int, int) - Method in BytecodeInterface8
-
Sets value into int[] using normalized index.
- IntComparator - Interface in groovy.util.function
A comparator of two int values.
- intdiv(java.lang.Number, java.lang.Number) - Method in DefaultGroovyMethods
-
Integer Divide two Numbers.
- INTDIV_EQUAL - Field in Types
-
- intdiv(java.lang.Number, java.lang.Number) - Method in NumberMath
-
- intdiv(long, long) - Method in NumberMathModificationInfo
-
- INTDIV - Field in Types
-
- intdivImpl(java.lang.Number, java.lang.Number) - Method in BigIntegerMath
-
- intdivImpl(java.lang.Number, java.lang.Number) - Method in IntegerMath
-
- intdivImpl(java.lang.Number, java.lang.Number) - Method in LongMath
-
- intdivImpl(java.lang.Number, java.lang.Number) - Method in NumberMath
-
- INTEGER_CLASS_ARR - Field in ArrayMetaMethod
-
- INTEGER_CLASS - Field in ArrayMetaMethod
-
- INTEGER_NUMBER - Field in Types
-
- INTEGER - Field in Sql
-
Stored procedure OUT parameter marker for JDBC type
INTEGER.
- INTEGER - Enum Constant in Type
-
Integer numeric token.
- IntegerArrayGetAtMetaMethod - Class in org.codehaus.groovy.runtime.dgmimpl.arrays
- IntegerArrayPutAtMetaMethod - Class in org.codehaus.groovy.runtime.dgmimpl.arrays
- IntegerCachedClass - Class in org.codehaus.groovy.reflection.stdclasses
Provides optimized reflection caching for
int and
Integer.
- IntegerCachedClass(java.lang.Class, org.codehaus.groovy.reflection.ClassInfo, boolean) - Constructor in IntegerCachedClass
-
Constructs a cached class representation for the given integer class.
- IntegerLiteral() - Method in GroovyParser.IntegerLiteralAltContext
-
- IntegerLiteralAltContext(LiteralContext) - Constructor in GroovyParser.IntegerLiteralAltContext
-
- IntegerMath - Class in org.codehaus.groovy.runtime.typehandling
Integer NumberMath operations
- interceptConstruction - Field in MockProxyMetaClass
-
Indicates whether constructor invocations should be intercepted.
- Interceptor - Interface in groovy.lang
Implementers of this interface can be registered in the ProxyMetaClass for
notifications about method calls for objects managed by the ProxyMetaClass.
- interceptor - Field in ProxyMetaClass
-
Optional interceptor applied around meta-object protocol calls.
- INTERFACE_DEF - Field in SimpleGroovyDoc
-
Token type used for interfaces.
- INTERFACE() - Method in GroovyParser.ClassDeclarationContext
-
- INTERFACE() - Method in GroovyParser.KeywordsContext
-
- INTERFACE - Enum Constant in IndyInterface.CallType
-
Interface method invocation type.
- InterfaceHelperClassNode - Class in org.codehaus.groovy.ast
Represents an inner class defined as helper for an interface.
- InterfaceHelperClassNode(org.codehaus.groovy.ast.ClassNode, java.lang.String, int, org.codehaus.groovy.ast.ClassNode, List<String>) - Constructor in InterfaceHelperClassNode
-
- Parameters:
name - is the full name of the class
- interfaces() - Method in ArrayClassDocWrapper
-
Returns the interfaces directly implemented or extended by this type.
- Returns:
- the direct interfaces
- interfaces(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a ClassNode[].
- interfaces - Field in Delegate
-
- Returns:
- true if owner class should implement interfaces implemented by delegate type
- Default:
- true
- interfaces() - Method in ExternalGroovyClassDoc
-
Returns the interfaces directly implemented or extended by this type.
- Returns:
- the direct interfaces
- interfaces() - Method in GroovyClassDoc
-
Returns the interfaces directly implemented or extended by this type.
- interfaces() - Method in GroovyPackageDoc
-
Included interfaces in this package.
- interfaces() - Method in SimpleGroovyClassDoc
-
Returns the interfaces directly implemented or extended by this type.
- Returns:
- the direct interfaces
- interfaces() - Method in SimpleGroovyPackageDoc
-
Included interfaces in this package.
- Returns:
- array of interfaces found or empty array if none found
- interfaceTypes() - Method in ArrayClassDocWrapper
-
Returns the interface types directly implemented or extended by this type.
- Returns:
- the direct interface types
- interfaceTypes() - Method in ExternalGroovyClassDoc
-
Returns the interface types directly implemented or extended by this type.
- Returns:
- the direct interface types
- interfaceTypes() - Method in GroovyClassDoc
-
Returns the interface types directly implemented or extended by this type.
- interfaceTypes() - Method in SimpleGroovyClassDoc
-
Returns the interface types directly implemented or extended by this type.
- Returns:
- the direct interface types
- interleave(Iterator<U>, Iterator<V>, boolean) - Method in DefaultGroovyMethods
-
An iterator of the elements from two Iterators interleaved.
- intern() - Method in GStringImpl
-
- Internal - Annotation Type in groovy.transform
Marks class members that are intended for internal use.
- internalError(java.lang.String) - Method in AbstractInterruptibleASTTransformation
-
- InternalFrameFactory - Class in groovy.swing.factory
Factory for creating internal frames.
- InternalFrameFactory() - Constructor in InternalFrameFactory
-
- internedKeysCache - Field in BaseJsonParser
-
Cache used when key interning is enabled.
- internedKeysCache - Field in MapItemValue
-
Shared cache for optional key interning.
- internKeys - Field in BaseJsonParser
-
Whether parsed object keys should be interned.
- INTERPRETER_MODE_PREFERENCE_KEY - Field in Main
-
Preference key that controls whether groovysh starts in interpreter mode.
- interruptAction - Property in Console
-
Action that interrupts the active script thread.
- intersect(Map<K,V>, Map<K,V>) - Method in DefaultGroovyMethods
-
Create a Map composed of the intersection of both maps.
- intersect(Queryable<? extends T>) - Method in Queryable
-
Intersect another
Queryable instance, similar to SQL's
intersect
- intervalAdded(javax.swing.event.ListDataEvent) - Method in JListElementsBinding
-
Updates the target when items are inserted into the model.
- intervalRemoved(javax.swing.event.ListDataEvent) - Method in JListElementsBinding
-
Updates the target when items are removed from the model.
- IntIntArrayColumnIterator - Class in org.codehaus.groovy.util
An iterator providing the columns of an int[][].
- IntIntArrayColumnIterator(int[][]) - Constructor in IntIntArrayColumnIterator
-
Creates an iterator over the columns of the supplied matrix.
- IntRange - Class in groovy.lang
Represents a list of Integer objects starting at and potentially including a specified
from value up (or down) to and potentially including a given to value.
- IntRange(boolean, boolean, int, int) - Constructor in IntRange
-
Creates a new inclusive aware IntRange
- intStream(int[]) - Method in PluginDefaultGroovyMethods
-
- intStream(int[]) - Method in StreamGroovyMethods
-
Returns a sequential
IntStream with the specified array as its
source.
- intUnbox(java.lang.Object) - Method in DefaultTypeTransformation
-
- intValue() - Method in CharBuf
-
Parses the buffered characters as an int.
- intValue() - Method in CharSequenceValue
-
Converts this token to an int value.
- Returns:
- the int representation
- intValue() - Method in NumberValue
-
Converts this token to an int value.
- Returns:
- the int representation
- intValue() - Method in Value
-
Converts this token to an int value.
- intValue() - Method in ValueContainer
-
Unsupported for these literal and container wrappers.
- IntWrapper - Class in org.codehaus.groovy.runtime.wrappers
- IntWrapper(int) - Constructor in IntWrapper
-
- invalidateCallSites() - Method in Java8
-
- invalidateCallSites() - Method in VMPlugin
-
- invalidateSwitchPoints() - Method in IndyInterface
-
Callback for constant metaclass update change
- InvalidOptionException - Class in org.apache.groovy.ginq
Represents invalid options, e.g. unsupported options
- InvalidOptionException(java.lang.String) - Constructor in InvalidOptionException
-
Creates an invalid-option exception with the supplied message.
- Invariant - Annotation Type in groovy.contracts
- INVARIANT_CLOSURE_PREFIX - Field in BaseGenerator
-
Prefix used for synthetic methods that evaluate class invariants.
- Invariants - Annotation Type in groovy.contracts
Represents multiple invariants
- inverse(Map<K,V>, boolean) - Method in Maps
-
Returns the inverse view of this map
- InvocationWriter - Class in org.codehaus.groovy.classgen.asm
- InvocationWriter(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in InvocationWriter
-
- invoke(java.lang.Object, java.lang.Object) - Method in BooleanArrayGetAtMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in BooleanArrayPutAtMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in BooleanReturningMethodInvoker
-
- invoke(java.lang.Object, java.lang.Object) - Method in ByteArrayGetAtMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in ByteArrayPutAtMetaMethod
-
- invoke(java.lang.Object) - Method in CachedConstructor
-
Invokes this constructor with the specified arguments.
- invoke(java.lang.Object, java.lang.Object) - Method in CachedMethod
-
Invokes this method on the given object with the specified arguments.
- invoke(java.lang.Object, java.lang.Object) - Method in CharacterArrayGetAtMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in CharacterArrayPutAtMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in ClosureMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in ClosureStaticMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in ConstructorMetaMethodSite
-
- invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object) - Method in ConversionHandler
-
This method is a default implementation for the invoke method given in
InvocationHandler.
- invoke(java.lang.Object, java.lang.Object) - Method in DoubleArrayGetAtMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in DoubleArrayPutAtMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in FloatArrayGetAtMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in FloatArrayPutAtMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in GeneratedMetaMethod.Proxy
-
- invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object) - Method in GroovyResultSetProxy
-
Invokes a method for the GroovyResultSet.
- invoke(java.lang.Object, java.lang.Object) - Method in IntegerArrayGetAtMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in IntegerArrayPutAtMetaMethod
-
- invoke(java.lang.String, java.lang.Object, java.lang.String) - Method in JmxBuilderModelMBean
-
Invokes the named operation and emits any configured call notifications.
- invoke(java.lang.Object, java.lang.Object) - Method in LongArrayGetAtMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in LongArrayPutAtMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in MetaClassImpl.MetaConstructor
-
Invokes this method.
- Parameters:
object - The object this method should be invoked onarguments - The arguments for the method if applicable
- Returns:
- The return value of the invocation
- invoke(java.lang.Object, java.lang.Object) - Method in MetaMethod
-
Invokes this method.
- INVOKE_METHOD_METHOD - Field in MetaClassImpl
-
Conventional Groovy instance invokeMethod hook name.
- invoke(java.lang.Object, java.lang.Object) - Method in MixinInstanceMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in NewInstanceMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in NewStaticMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in NumberNumberDiv
-
- invoke(java.lang.Object, java.lang.Object) - Method in NumberNumberMinus
-
- invoke(java.lang.Object, java.lang.Object) - Method in NumberNumberMultiply
-
- invoke(java.lang.Object, java.lang.Object) - Method in NumberNumberPlus
-
- invoke(java.lang.Object, java.lang.Object) - Method in ObjectArrayGetAtMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in ObjectArrayPutAtMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in PogoInterceptableSite
-
- invoke(java.lang.Object, java.lang.Object) - Method in PogoMetaMethodSite
-
- invoke(java.lang.Object, java.lang.Object) - Method in PogoMetaMethodSite.PogoCachedMethodSite
-
- invoke(java.lang.Object, java.lang.Object) - Method in PogoMetaMethodSite.PogoCachedMethodSiteNoUnwrap
-
- invoke(java.lang.Object, java.lang.Object) - Method in PogoMetaMethodSite.PogoCachedMethodSiteNoUnwrapNoCoerce
-
- invoke(java.lang.Object, java.lang.Object) - Method in PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrap
-
- invoke(java.lang.Object, java.lang.Object) - Method in PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrapNoCoerce
-
- invoke(java.lang.Object, java.lang.Object) - Method in PojoMetaMethodSite
-
- invoke(java.lang.Object, java.lang.Object) - Method in PojoMetaMethodSite.PojoCachedMethodSite
-
- invoke(java.lang.Object, java.lang.Object) - Method in PojoMetaMethodSite.PojoCachedMethodSiteNoUnwrap
-
- invoke(java.lang.Object, java.lang.Object) - Method in PojoMetaMethodSite.PojoCachedMethodSiteNoUnwrapNoCoerce
-
- invoke(java.lang.Object, java.lang.Object) - Method in PojoMetaMethodSite.PojoMetaMethodSiteNoUnwrap
-
- invoke(java.lang.Object, java.lang.Object) - Method in PojoMetaMethodSite.PojoMetaMethodSiteNoUnwrapNoCoerce
-
- invoke(java.lang.Object, java.lang.Object) - Method in ReflectionMetaMethod
-
- invoke(java.lang.Object, java.lang.String, java.lang.Object) - Method in ReflectionMethodInvoker
-
Invoke a method through reflection.
- invoke(org.codehaus.groovy.reflection.CachedMethod, java.lang.Object, java.lang.Object) - Method in Reflector
-
- invoke(java.lang.Object, java.lang.Object) - Method in ShortArrayGetAtMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in ShortArrayPutAtMetaMethod
-
- invoke(java.lang.Object, java.lang.Object) - Method in StaticMetaMethodSite
-
- invoke(java.lang.Object, java.lang.Object) - Method in StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrap
-
- invoke(java.lang.Object, java.lang.Object) - Method in StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrapNoCoerce
-
- invoke(java.lang.String, java.lang.Object) - Method in SystemRegistryImpl
-
Invokes a command with the given arguments.
- invoke(java.lang.Object, java.lang.Object) - Method in TransformMetaMethod
-
- invokeClosure(java.lang.Object, java.lang.Object) - Method in InvokerHelper
-
- invokeClosure(java.lang.Object, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- invokeClosureMethod - Field in InvocationWriter
-
- invokeConstructor(java.lang.Object) - Method in DelegatingMetaClass
-
Invokes a constructor for the given arguments. The MetaClass will attempt to pick the best argument which
matches the types of the objects passed within the arguments array
- Parameters:
arguments - The arguments to the constructor
- Returns:
- An instance of the java.lang.Class that this MetaObjectProtocol object applies to
- invokeConstructor(java.lang.Object) - Method in ExpandoMetaClass
-
Invokes a constructor for the given arguments. The MetaClass will attempt to pick the best argument which
matches the types of the objects passed within the arguments array
- Parameters:
arguments - The arguments to the constructor
- Returns:
- An instance of the java.lang.Class that this MetaObjectProtocol object applies to
- invokeConstructor(java.lang.Object) - Method in MetaClassImpl
-
Invokes a constructor for the given arguments. The MetaClass will attempt to pick the best argument which
matches the types of the objects passed within the arguments array
- Parameters:
arguments - The arguments to the constructor
- Returns:
- An instance of the java.lang.Class that this MetaObjectProtocol object applies to
- invokeConstructor(java.lang.Object) - Method in MetaObjectProtocol
-
Invokes a constructor for the given arguments.
- invokeConstructor(java.lang.Object) - Method in MockProxyMetaClass
-
- invokeConstructor(java.lang.Object) - Method in OwnedMetaClass
-
- invokeConstructor(java.lang.Object) - Method in ProxyMetaClass
-
Call invokeConstructor on adaptee with logic like in MetaClass unless we have an Interceptor.
- invokeConstructorOf(java.lang.Class, java.lang.Object) - Method in InvokerHelper
-
- invokeCustom(java.lang.Object, java.lang.reflect.Method, java.lang.Object) - Method in ConversionHandler
-
This method is called for all Methods not defined on Object.
- invokeCustom(java.lang.Object, java.lang.reflect.Method, java.lang.Object) - Method in ConvertedClosure
-
- invokeCustom(java.lang.Object, java.lang.reflect.Method, java.lang.Object) - Method in ConvertedMap
-
- INVOKEDYNAMIC - Field in CompilerConfiguration
-
Optimization Option for enabling invokedynamic compilation.
- InvokeDynamicWriter - Class in org.codehaus.groovy.classgen.asm.indy
This Writer is used to generate the call invocation byte codes
for usage by invokedynamic.
- InvokeDynamicWriter(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in InvokeDynamicWriter
-
- invokeFunction(java.lang.String, java.lang.Object) - Method in GroovyScriptEngineImpl
-
Invokes a previously defined global function by name.
- invokeGroovyObjectInvoker(groovy.lang.MissingMethodException, java.lang.Object, java.lang.String, java.lang.Object) - Method in IndyGuardsFiltersAndSignatures
-
- invokeHandle(java.lang.Object, java.lang.Object) - Method in Java16
-
- invokeHandle(java.lang.Object, java.lang.Object) - Method in Java8
-
- invokeHandle(java.lang.Object, java.lang.Object) - Method in VMPlugin
-
Invokes a handle produced by #getInvokeSpecialdHandle
- invokeMethod0(java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- invokeMethod0Safe(java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- invokeMethod0SpreadSafe(java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- invokeMethod(java.lang.String, java.lang.Object) - Method in BatchingStatementWrapper
-
Delegates unknown method calls to the wrapped
Statement.
- invokeMethod(java.lang.String, java.lang.Object) - Method in BuilderSupport
-
Invokes the given method.
- Parameters:
name - the name of the method to callargs - the arguments to use for the method call
- Returns:
- the result of invoking the method
- invokeMethod(java.lang.String, java.lang.Object) - Method in CliBuilder
-
Internal method: Detect option specification method calls.
- invokeMethod(java.lang.String, java.lang.Object) - Method in CliBuilderInternal
-
Internal method: Detect option specification method calls.
- invokeMethod(java.lang.String, java.lang.Object) - Method in ClosureCellEditor
-
Dispatches method invocations to registered callbacks before falling back to the normal meta-class lookup.
- invokeMethod(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in ClosureMetaClass
-
- invokeMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in DefaultGroovyMethods
-
Provide a dynamic method invocation method which can be overloaded in
classes to implement dynamic proxies easily.
- invokeMethod(java.lang.String, java.lang.Object) - Method in DelegatingMetaClass
-
Invokes the given method.
- Parameters:
name - the name of the method to callargs - the arguments to use for the method call
- Returns:
- the result of invoking the method
- invokeMethod(java.lang.String, java.lang.Object) - Method in DelegatingScript
-
Delegates method invocation before falling back to normal script dispatch.
- invokeMethod(java.lang.String, java.lang.Object) - Method in Demand
-
Records an expected method call together with its cardinality and behavior.
- invokeMethod(java.lang.String, java.lang.Object) - Method in Expando
-
Invokes a declared method or a closure stored as a dynamic property.
- invokeMethod(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in ExpandoMetaClass
-
Overrides default implementation just in case invokeMethod has been overridden by ExpandoMetaClass
- invokeMethod(java.lang.String, java.lang.Object) - Method in FactoryBuilderSupport
-
Invokes the given method.
- Parameters:
name - the name of the method to callargs - the arguments to use for the method call
- Returns:
- the result of invoking the method
- invokeMethod(java.lang.String, java.lang.Object) - Method in GroovyMBean
-
Invokes an operation on the wrapped MBean.
- invokeMethod(java.lang.String, java.lang.Object) - Method in GroovyObjectWrapper
-
- invokeMethod(java.lang.String, java.lang.Object) - Method in GroovyResultSetExtension
-
Delegates the method call to the underlying
ResultSet.
- invokeMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in GroovyScriptEngineImpl
-
Invokes a method on a script object or other Groovy object.
- invokeMethod(java.lang.String, java.lang.Object) - Method in GString
-
Overloaded to implement duck typing for Strings
so that any method that can't be evaluated on this
object will be forwarded to the toString() object instead.
- invokeMethod(java.lang.String, java.lang.Object) - Method in HandleMetaClass
-
- invokeMethod(java.lang.String, java.lang.Object) - Method in Ignore
-
Registers an ignored method using the ignore.methodName(...) shorthand.
- invokeMethod - Field in InvocationWriter
-
- invokeMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in InvokerHelper
-
Invokes the given method on the object.
- invokeMethod(java.lang.String, java.lang.Object) - Method in JsonBuilder
-
A method call on the JSON builder instance will create a root object with only one key
whose name is the name of the method being called.
- invokeMethod(java.lang.String, java.lang.Object) - Method in JsonDelegate
-
Intercepts calls for setting a key and value for a JSON object
- invokeMethod(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in MetaClass
-
- invokeMethod(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in MetaClassImpl
-
Invokes a method on the given receiver for the specified arguments.
- invokeMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in MetaObjectProtocol
-
Invokes a method on the given object, with the given name and single argument.
- invokeMethod(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in MixedInMetaClass
-
- invokeMethod(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in MockProxyMetaClass
-
Intercepts an instance method invocation with sender metadata and delegates when requested.
- invokeMethod(java.lang.String, java.lang.Object) - Method in NamespaceBuilderSupport
-
Allow automatic detection of namespace declared in the attributes
- invokeMethod(java.lang.String, java.lang.Object) - Method in NullObject
-
Tries to invoke a method on null, which fails.
- invokeMethod(java.lang.String, java.lang.Object) - Method in OptionAccessor
-
Provides limited Apache Commons CLI compatibility by delegating selected method calls to the underlying parse result.
- invokeMethod(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in OwnedMetaClass
-
- invokeMethod(java.lang.String, java.lang.Object) - Method in PojoWrapper
-
- invokeMethod(java.lang.String, java.lang.Object) - Method in Proxy
-
Invokes a proxy method or forwards the call to the adaptee.
- invokeMethod(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in ProxyMetaClass
-
Call invokeMethod on adaptee with logic like in MetaClass unless we have an Interceptor.
- invokeMethod(java.lang.String, java.lang.Object) - Method in Reference
-
Invokes the given method.
- Parameters:
name - the name of the method to callargs - the arguments to use for the method call
- Returns:
- the result of invoking the method
- invokeMethod(java.lang.String, java.lang.Object) - Method in ResultSetMetaDataWrapper
-
Invokes a metadata method after prepending this wrapper's column index.
- invokeMethod(java.lang.String, java.lang.Object) - Method in Script
-
Invoke a method (or closure in the binding) defined.
- invokeMethod(java.lang.String, java.lang.Object) - Method in Sequence
-
Invokes the given method.
- Parameters:
name - the name of the method to callargs - the arguments to use for the method call
- Returns:
- the result of invoking the method
- invokeMethod(java.lang.String, java.lang.Object) - Method in StreamingJsonBuilder
-
A method call on the JSON builder instance will create a root object with only one key
whose name is the name of the method being called.
- invokeMethod(java.lang.String, java.lang.Object) - Method in StreamingJsonBuilder.StreamingJsonDelegate
-
Handles builder-style method calls for nested JSON output.
- invokeMethod(java.lang.String, java.lang.Object) - Method in TomlBuilder
-
A method call on the TOML builder instance will create a root object with only one key
whose name is the name of the method being called.
- invokeMethod(java.lang.String, java.lang.Object) - Method in YamlBuilder
-
A method call on the YAML builder instance will create a root object with only one key
whose name is the name of the method being called.
- invokeMethodMethod - Field in MetaClassImpl
-
Effective invokeMethod handler discovered for this meta class.
- invokeMethodN(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- invokeMethodNSafe(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- invokeMethodNSpreadSafe(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- invokeMethodOnCurrent0(java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- invokeMethodOnCurrent0Safe(java.lang.Class, groovy.lang.GroovyObject, java.lang.String, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- invokeMethodOnCurrent0SpreadSafe(java.lang.Class, groovy.lang.GroovyObject, java.lang.String, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- invokeMethodOnCurrent - Field in InvocationWriter
-
- invokeMethodOnCurrentN(java.lang.Class, groovy.lang.GroovyObject, java.lang.String, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- invokeMethodOnCurrentNSafe(java.lang.Class, groovy.lang.GroovyObject, java.lang.String, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- invokeMethodOnCurrentNSpreadSafe(java.lang.Class, groovy.lang.GroovyObject, java.lang.String, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- invokeMethodOnSuper0(java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- invokeMethodOnSuper0Safe(java.lang.Class, groovy.lang.GroovyObject, java.lang.String, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- invokeMethodOnSuper0SpreadSafe(java.lang.Class, groovy.lang.GroovyObject, java.lang.String, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- invokeMethodOnSuper - Field in InvocationWriter
-
- invokeMethodOnSuperN(java.lang.Class, groovy.lang.GroovyObject, java.lang.String, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- invokeMethodOnSuperNSafe(java.lang.Class, groovy.lang.GroovyObject, java.lang.String, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- invokeMethodOnSuperNSpreadSafe(java.lang.Class, groovy.lang.GroovyObject, java.lang.String, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- invokeMethodSafe(java.lang.Object, java.lang.String, java.lang.Object) - Method in InvokerHelper
-
- invokeMissingMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in DelegatingMetaClass
-
Attempts to invoke the methodMissing method otherwise throws a MissingMethodException
- See Also:
- MissingMethodException
- Parameters:
instance - The instance to invoke methodMissing onmethodName - The name of the methodarguments - The arguments to the method
- Returns:
- The results of methodMissing or throws MissingMethodException
- invokeMissingMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in MetaClass
-
- invokeMissingMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in MetaClassImpl
-
Invoke a missing method on the given object with the given arguments.
- invokeMissingMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in OwnedMetaClass
-
- invokeMissingProperty(java.lang.Object, java.lang.String, java.lang.Object, boolean) - Method in DelegatingMetaClass
-
Invokes the propertyMissing method otherwise throws a MissingPropertyException
- Parameters:
instance - The instance of the classpropertyName - The name of the propertyoptionalValue - The value of the property which could be null in the case of a getterisGetter - Whether the missing property event was the result of a getter or a setter
- Returns:
- The result of the propertyMissing method or throws MissingPropertyException
- invokeMissingProperty(java.lang.Object, java.lang.String, java.lang.Object, boolean) - Method in MetaClass
-
Invokes the propertyMissing method otherwise throws a MissingPropertyException
- invokeMissingProperty(java.lang.Object, java.lang.String, java.lang.Object, boolean) - Method in MetaClassImpl
-
Invoke a missing property on the given object with the given arguments.
- invokeMissingProperty(java.lang.Object, java.lang.String, java.lang.Object, boolean) - Method in OwnedMetaClass
-
- invokeNew0(java.lang.Class, java.lang.Class) - Method in ScriptBytecodeAdapter
-
- invokeNewN(java.lang.Class, java.lang.Class, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- invokeNoArgumentsConstructorOf(java.lang.Class) - Method in InvokerHelper
-
- InvokerHelper - Class in org.codehaus.groovy.runtime
A static helper class to make bytecode generation easier and act as a facade over the Invoker
- InvokerInvocationException - Class in org.codehaus.groovy.runtime
An exception thrown if a method is called and an exception occurred
- InvokerInvocationException(java.lang.Throwable) - Constructor in InvokerInvocationException
-
- invokeStaticMethod0(java.lang.Class, java.lang.Class, java.lang.String) - Method in ScriptBytecodeAdapter
-
- invokeStaticMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in ClosureMetaClass
-
- invokeStaticMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in DelegatingMetaClass
-
Invokes a static method on the given Object with the given name and arguments.
The Object can either be an instance of the class that this
MetaObjectProtocol instance applies to or the java.lang.Class instance itself. If a method cannot be invoked
a MissingMethodException is will be thrown
- See Also:
- MissingMethodException
- Parameters:
object - An instance of the class returned by the getTheClass() method or the class itselfmethodName - The name of the methodarguments - The arguments to the method
- Returns:
- The return value of the method which is null if the return type is void
- invokeStaticMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in ExpandoMetaClass
-
Overrides default implementation just in case a static invoke method has been set on ExpandoMetaClass
- invokeStaticMethod - Field in InvocationWriter
-
- invokeStaticMethod(java.lang.Class, java.lang.String, java.lang.Object) - Method in InvokerHelper
-
- invokeStaticMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in MetaClassImpl
-
Invokes a static method on the given Object with the given name and arguments.
The Object can either be an instance of the class that this
MetaObjectProtocol instance applies to or the java.lang.Class instance itself. If a method cannot be invoked
a MissingMethodException is will be thrown
- See Also:
- MissingMethodException
- Parameters:
object - An instance of the class returned by the getTheClass() method or the class itselfmethodName - The name of the methodarguments - The arguments to the method
- Returns:
- The return value of the method which is null if the return type is void
- invokeStaticMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in MetaObjectProtocol
-
Invokes a static method on the given Object with the given name and arguments.
- invokeStaticMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in MockProxyMetaClass
-
Intercepts a static method invocation and delegates to the adaptee when requested.
- invokeStaticMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in OwnedMetaClass
-
- invokeStaticMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in ProxyMetaClass
-
Call invokeStaticMethod on adaptee with logic like in MetaClass unless we have an Interceptor.
- invokeStaticMethodN(java.lang.Class, java.lang.Class, java.lang.String, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- invokeStaticMissingProperty(java.lang.Object, java.lang.String, java.lang.Object, boolean) - Method in MetaClassImpl
-
Hook to deal with the case of missing property for static properties.
- invokeStaticNoArgumentsMethod(java.lang.Class, java.lang.String) - Method in InvokerHelper
-
- invokeSuperMethod(java.lang.Object, java.lang.String, java.lang.Object) - Method in InvokerHelper
-
- invokeTextAction(java.lang.Object, java.lang.Object, java.lang.Object) - Method in Console
-
Invokes a text action against the active source component when present.
- invokeTransformsForClass(org.codehaus.groovy.control.CompilePhase, org.codehaus.groovy.control.ASTTransformationsContext, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.ClassNode) - Method in ASTTransformationVisitor
-
Invokes any AST transformations registered for phase on the given class
using the standard ASTTransformationVisitor walk.
- involvedTypes - Field in OptimizingStatementWriter.StatementMeta
-
- InWhileLoopWrapper - Class in org.codehaus.groovy.transform.tailrec
Wrap the body of a method in a while loop, nested in a try-catch.
- IO - Class in org.apache.groovy.json.internal
Reader and writer helpers used by the JSON parser internals.
- IO.Verbosity - Class in org.codehaus.groovy.tools.shell
Verbosity for simple logging: QUIET, INFO, VERBOSE, DEBUG
- io() - Method in DefaultPool
-
Creates a pool for I/O-bound work.
- IO() - Constructor in IO
-
Construct a new IO container using system streams.
- io - Field in Logger
-
- io() - Method in Pool
-
Creates a larger pool suitable for I/O-bound or blocking operations.
- IOGroovyMethods - Class in org.codehaus.groovy.runtime
This class defines new groovy methods for Readers, Writers, InputStreams and
OutputStreams which appear on normal JDK classes inside the Groovy environment.
- iquest - Field in Entity
-
Entity reference ¿.
- is(java.lang.Object, java.lang.Object) - Method in DefaultGroovyMethods
-
Identity check.
- is - Field in GroovyParser.ClassDeclarationContext
-
- is(java.lang.Object) - Method in NullObject
-
Tests for equal references.
- isA(int) - Method in CSTNode
-
Returns true if this node's meaning matches the specified type.
- isAbsolute() - Method in WritablePath
-
{@inheritDoc}
- isAbstract() - Method in ArrayClassDocWrapper
-
Indicates whether this type is declared abstract.
- Returns:
true if this type is abstract
- isAbstract() - Method in ClassNode
-
Returns whether this
ClassNode represents an abstract class.
- isAbstract() - Method in ExternalGroovyClassDoc
-
Indicates whether this type is declared abstract.
- Returns:
true if this type is abstract
- isAbstract() - Method in GroovyClassDoc
-
Indicates whether this type is declared abstract.
- isAbstract() - Method in GroovyMethodDoc
-
Indicates whether this method is declared abstract.
- isAbstract() - Method in MetaMethod
-
Returns whether this method is abstract.
- isAbstract() - Method in MethodNode
-
Checks whether this method is declared as abstract.
- isAbstract() - Method in SimpleGroovyAbstractableElementDoc
-
Indicates whether this element is abstract.
- isActive() - Method in Actor
-
Returns true if this actor is running and accepting messages.
- isActive() - Method in DefaultActor
-
- isAllOf(int[]) - Method in CSTNode
-
Returns true if this node's meaning matches all of the specified types.
- isAllowDocTypeDeclaration() - Method in SerializeOptions
-
Whether to allow DOCTYPE declarations during serialization.
- isAllowDocTypeDeclaration() - Method in XmlParser
-
Determine if DOCTYPE declarations are allowed.
- isAllowDocTypeDeclaration() - Method in XmlSlurper
-
Determine if DOCTYPE declarations are allowed.
- isAllowExternalResources() - Method in SerializeOptions
-
Whether the underlying
TransformerFactory
may resolve external DTDs and stylesheets (e.g. via
<xsl:import>
or
<xsl:include>).
- isAllWhitespace(java.lang.CharSequence) - Method in StringGroovyMethods
-
Returns true if a CharSequence only contains whitespace characters.
- isAnExpression() - Method in CSTNode
-
Returns true if this node represents a complete expression.
- isAnExpression() - Method in Reduction
-
Returns true if this node represents a complete expression.
- isAnnotated() - Method in ClassNode
-
Returns whether this
ClassNode has been marked as annotated.
- isAnnotatedBy(org.codehaus.groovy.ast.ASTNode, org.codehaus.groovy.ast.ClassNode) - Method in AbstractTypeCheckingExtension
-
- isAnnotatedWithTrait(org.codehaus.groovy.ast.ClassNode) - Method in Traits
-
Returns true if the specified class node is annotated with the
Trait interface.
- isAnnotation() - Method in ModifierNode
-
Checks whether this node represents an annotation (pseudo-modifier).
- isAnnotationDefinition() - Method in ClassNode
-
Returns whether this
ClassNode represents an annotation type (annotation definition).
- isAnnotationPresent(Class<? extends java.lang.annotation.Annotation>) - Method in CachedField
-
Checks whether the underlying field has the specified annotation.
- isAnnotationType() - Method in ArrayClassDocWrapper
-
Indicates whether this element represents an annotation type.
- Returns:
true if this element is an annotation type
- isAnnotationType() - Method in ExternalGroovyClassDoc
-
Indicates whether this element represents an annotation type.
- Returns:
true if this element is an annotation type
- isAnnotationType() - Method in GroovyDoc
-
Indicates whether this element represents an annotation type.
- isAnnotationType() - Method in SimpleGroovyDoc
-
Indicates whether this element represents an annotation type.
- Returns:
true if this element is an annotation type
- isAnnotationTypeElement() - Method in ArrayClassDocWrapper
-
Indicates whether this element represents an annotation type member.
- Returns:
true if this element is an annotation type element
- isAnnotationTypeElement() - Method in ExternalGroovyClassDoc
-
Indicates whether this element represents an annotation type member.
- Returns:
true if this element is an annotation type element
- isAnnotationTypeElement() - Method in GroovyDoc
-
Indicates whether this element represents an annotation type member.
- isAnnotationTypeElement() - Method in SimpleGroovyDoc
-
Indicates whether this element represents an annotation type member.
- Returns:
true if this element is an annotation type element
- isAnonymous() - Method in InnerClassNode
-
Returns whether this inner class represents an anonymous class (created with inline expressions).
- isApplicationClass(java.lang.String) - Method in StackTraceUtils
-
- isArray - Field in CachedClass
-
true if the cached class is an array type, false otherwise.
- isArray() - Method in ClassNode
-
Determines whether this ClassNode represents an array type.
- isArrayAccessExpression(org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypeCheckingSupport
-
Returns true for expressions of the form x[...]
- isAsc() - Method in Queryable.Order
-
Indicates whether this rule sorts ascending.
- isAssignableFrom(java.lang.Class) - Method in BigIntegerCachedClass
-
Determines if the given class can be transformed to
BigInteger.
- isAssignableFrom(java.lang.Class) - Method in BooleanCachedClass
-
Determines if the given class can be transformed to boolean/Boolean.
- isAssignableFrom(java.lang.Class) - Method in ByteCachedClass
-
Determines if the given class can be transformed to byte/Byte.
- isAssignableFrom(Class<?>) - Method in CachedClass
-
Returns whether the argument class is assignable to this class.
- isAssignableFrom(java.lang.Class) - Method in CachedSAMClass
-
Determines if the given class is assignable to this SAM type.
- isAssignableFrom(java.lang.Class) - Method in CharacterCachedClass
-
Determines if the given class can be transformed to char/Character.
- isAssignableFrom(java.lang.Class) - Method in DoubleCachedClass
-
Determines if the given class can be transformed to double/Double.
- isAssignableFrom(java.lang.Class) - Method in FloatCachedClass
-
Determines if the given class can be transformed to float/Float.
- isAssignableFrom(java.lang.Class) - Method in IntegerCachedClass
-
Determines if the given class can be transformed to int/Integer.
- isAssignableFrom(java.lang.Class) - Method in LongCachedClass
-
Determines if the given class can be transformed to long/Long.
- isAssignableFrom(java.lang.Class, java.lang.Class) - Method in MetaClassHelper
-
- isAssignableFrom(java.lang.Class) - Method in NumberCachedClass
-
Determines if the given class can be transformed to this numeric type.
- isAssignableFrom(java.lang.Class) - Method in ObjectCachedClass
-
Accepts any class as assignable to
Object.
- isAssignableFrom(java.lang.Class) - Method in ShortCachedClass
-
Determines if the given class can be transformed to short/Short.
- isAssignableFrom(java.lang.Class) - Method in StringCachedClass
-
Determines if the given class can be transformed to
String.
- isAssignableTo(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingSupport
-
Checks if a class node is assignable to another.
- isAssignment(int) - Method in StaticTypeCheckingSupport
-
- isAssignment(int) - Method in Types
-
Returns true if the specified type represents an assignment operator.
- isAtLeast(java.math.BigDecimal, java.lang.String) - Method in DefaultGroovyMethods
-
Compare a BigDecimal to a String representing a number.
- isAtLeast(java.lang.String, java.lang.String) - Method in StringGroovyMethods
-
Compares a String representing a number to another.
- isAtLeastJdk(java.lang.String) - Method in GroovyAssert
-
- Returns:
- true if the JDK version is at least the version given by specVersion (e.g. "1.8", "9.0")
- isAuthorized(org.codehaus.groovy.ast.expr.Expression) - Method in SecureASTCustomizer.ExpressionChecker
-
- isAuthorized(org.codehaus.groovy.ast.stmt.Statement) - Method in SecureASTCustomizer.StatementChecker
-
- isAutoEscape() - Method in TemplateConfiguration
-
- Returns:
- true if variables in the model which are assignable to CharSequence should be
automatically escaped.
- isAutoIndent() - Method in TemplateConfiguration
-
- Returns:
- true if the template engine should handle indents automatically
- isAutoNewLine() - Method in TemplateConfiguration
-
Indicates whether source layout should automatically insert line separators.
- isBeanConstructor() - Method in MetaClassImpl.MetaConstructor
-
Indicates whether this constructor performs Groovy bean-style map population.
- isBeingCompiled(org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingSupport
-
- isBigDecCategory(Class<?>) - Method in TypeHelper
-
- isBigDecCategory(org.codehaus.groovy.ast.ClassNode) - Method in WideningCategories
-
Checks if type is a BigDecimal, BigInteger, long, int, byte, char or short.
- isBigDecimal(java.lang.Number) - Method in NumberMath
-
- isBigDecimal(java.lang.CharSequence) - Method in StringGroovyMethods
-
Determines if a CharSequence can be parsed as a BigDecimal.
- isBigDecimalType(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isBigIntCategory(org.codehaus.groovy.ast.ClassNode) - Method in WideningCategories
-
Checks if type is a BigInteger, long, int, byte, char or short.
- isBigInteger(java.lang.Number) - Method in NumberMath
-
- isBigInteger(java.lang.CharSequence) - Method in StringGroovyMethods
-
Determines if a CharSequence can be parsed as a BigInteger.
- isBigIntegerType(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isBlank() - Method in GStringImpl
-
Returns true if the string is empty or contains only
{@linkplain Character#isWhitespace(int) white space} codepoints,
otherwise false.
- isBlank(java.lang.CharSequence) - Method in StringGroovyMethods
-
Tests if this CharSequence is blank.
- isBound(java.lang.String) - Method in Dataflows
-
Returns true if the named variable has been bound.
- isBound() - Method in DataflowVariable
-
Returns true if this variable has been bound to a value
or an error.
- isBound() - Method in ScopedLocal
-
Returns true if an explicit binding is active or
an initial supplier is configured.
- isBridgeMethod(java.lang.reflect.Method) - Method in Traits
-
Reflection API to indicate whether some method is a bridge method to the default implementation
of a trait.
- isBuildInvocation(org.codehaus.groovy.ast.expr.MethodCallExpression) - Method in MethodInvocationTrap
-
Determines whether a method call expression is a target invocation for special handling.
- isBuiltIn() - Method in AnnotationNode
-
- isBuiltinImmutable(java.lang.String) - Method in ImmutablePropertyUtils
-
Checks whether the supplied type name is one of the built-in immutable types.
- isByte(java.lang.Number) - Method in NumberMath
-
- isCachable() - Method in GroovyCodeSource
-
Indicates whether classes compiled from this source may be cached.
- isCacheable() - Method in GroovyCategorySupport.CategoryMethod
-
- isCacheable() - Method in MetaMethod
-
Returns whether this object is cacheable.
- isCachedType(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isCacheNamedQueries() - Method in Sql
-
- Returns:
- boolean true if caching is enabled (the default is true)
- isCacheStatements() - Method in Sql
-
- Returns:
- boolean true if cache is enabled (default is false)
- isCacheTemplates() - Method in TemplateConfiguration
-
Indicates whether templates resolved from external resources are cached.
- isCallingClassReflectionAvailable() - Method in ReflectionUtils
-
Determines whether the getCallingClass methods will return
any sensible results.
- isCancelled() - Method in Awaitable
-
Returns true if the computation was cancelled before completing normally.
- isCancelled() - Method in DataflowVariable
-
Returns
true if the computation was cancelled before completing normally.
- Returns:
true if cancelled
- isCancelled() - Method in GroovyPromise
-
Returns
true if the computation was cancelled before completing normally.
- Returns:
true if cancelled
- isCase(java.lang.Object) - Method in Closure
-
Evaluates this closure for Groovy switch/case matching.
- isCase(java.lang.Number, java.lang.Number) - Method in DefaultGroovyMethods
-
Special 'case' implementation for all numbers, which delegates to the
compareTo() method for comparing numbers of different
types.
- isCase(java.lang.Object, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- isCase(java.util.regex.Pattern, java.lang.Object) - Method in StringGroovyMethods
-
'Case' implementation for the
Pattern class, which allows
testing a String against a number of regular expressions.
- isCellEditable(int, int) - Method in DefaultTableModel
-
Indicates whether the supplied cell can be edited through its column model.
- isCellEditable(int, int) - Method in TableMap
-
Indicates whether the delegate model allows editing for the supplied cell.
- isCheckDates() - Method in JsonSlurper
-
Determine if slurper will automatically parse strings it recognizes as dates.
- isChop() - Method in JsonSlurper
-
Turns on buffer chopping for index overlay.
- isClass() - Method in ArrayClassDocWrapper
-
Indicates whether this element represents a class.
- Returns:
true if this element is a class
- isClass() - Method in ExternalGroovyClassDoc
-
Indicates whether this element represents a class.
- Returns:
true if this element is a class
- isClass() - Method in GroovyDoc
-
Indicates whether this element represents a class.
- isClass() - Method in SimpleGroovyDoc
-
Indicates whether this element represents a class.
- Returns:
true if this element is a class
- isClassClassNodeWrappingConcreteType(org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingSupport
-
Returns true if the class node represents a class node for the Class class
and if the parametrized type is a neither a placeholder nor a wildcard.
- isClassInnerClassOrEqualTo(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingVisitor
-
- isClassInvariantCandidate(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in CandidateChecks
-
Decides whether the given method is a candidate for class invariants.
- isClassInvariantsEnabled() - Method in ProcessingContextInformation
-
Indicates whether class invariant processing is currently enabled.
- isClassLiteralPossible(org.codehaus.groovy.ast.ClassNode) - Method in BytecodeHelper
-
Tells if a class node is candidate for class literal bytecode optimization.
- isClassMBean(java.lang.Class) - Method in JmxBuilderTools
-
Tests whether the provided class implements MBean.
- isClassNode() - Method in ClassNodeResolver.LookupResult
-
returns true if a ClassNode is stored
- isClassNode() - Method in TreeNodeWithProperties
-
Indicates whether this node represents a class node.
- isClassScope() - Method in VariableScope
-
Returns true if this scope corresponds to a class body scope (as opposed to a method,
block statement, or other non-class scope).
- isClassType(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isClosed() - Method in AsyncChannel
-
Returns true if this channel has been closed.
- isClosed() - Method in BroadcastChannel
-
Returns true if this broadcast channel has been closed.
- isClosed() - Method in DefaultAsyncChannel
-
- isClosuresAllowed() - Method in SecureASTCustomizer
-
- isClosureSharedVariable() - Method in DynamicVariable
-
- isClosureSharedVariable() - Method in Parameter
-
Returns true if this parameter is a closure-shared variable, meaning it is captured
and accessed by nested closures.
- isClosureSharedVariable() - Method in Variable
-
Returns true if this variable is shared with and accessed by nested closures.
- isClosureSharedVariable() - Method in VariableExpression
-
Indicates whether this variable or the accessed variable is shared in a closure context.
- isCoerce() - Method in CastExpression
-
Indicates whether this is a coercion expression (using as) rather than a strict cast.
- isColfill() - Method in TableLayoutCell
-
Returns the colfill.
- isCollectionWithClosure(java.lang.Object) - Method in StreamingJsonBuilder.StreamingJsonDelegate
-
Indicates whether the supplied arguments represent a collection and closure pair.
- isCommandAlias(java.lang.String) - Method in SystemRegistryImpl
-
Checks if the command is an alias.
- isCommandOrScript(java.lang.String) - Method in GroovySystemRegistry
-
Determines whether the token should be handled as a command or script name.
- isCommandOrScript(java.lang.String) - Method in SystemRegistryImpl
-
Checks if the given string represents a command or script.
- isCompareToBoolean(int) - Method in StaticTypeCheckingSupport
-
- isCompatibleWith(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in ClassNodeUtils
-
Determines if the source ClassNode is compatible with the target ClassNode.
- isCompatibleWith(org.codehaus.groovy.ast.ClassNode) - Method in GenericsType
-
Determines if the provided type is compatible with this generic type specification.
- isCompilable(org.codehaus.groovy.reflection.CachedMethod) - Method in CallSiteGenerator
-
- isCompletedExceptionally() - Method in Awaitable
-
Returns true if this computation completed exceptionally
(including cancellation).
- isCompletedExceptionally() - Method in DataflowVariable
-
Returns
true if this computation completed exceptionally
(including cancellation).
- Returns:
true if completed with an error or cancellation
- isCompletedExceptionally() - Method in GroovyPromise
-
Returns
true if this computation completed exceptionally
(including cancellation).
- Returns:
true if completed with an error or cancellation
- isConstantString() - Method in GStringExpression
-
Indicates whether this GString contains no interpolated values (only constant strings).
- isConstructor() - Method in ArrayClassDocWrapper
-
Indicates whether this element represents a constructor.
- Returns:
true if this element is a constructor
- isConstructor() - Method in DelegatingController
-
- isConstructor() - Method in ExternalGroovyClassDoc
-
Indicates whether this element represents a constructor.
- Returns:
true if this element is a constructor
- isConstructor() - Method in GroovyDoc
-
Indicates whether this element represents a constructor.
- isConstructor() - Method in MethodNode
-
Checks whether this method is a constructor (<init>).
- isConstructor() - Method in SimpleGroovyDoc
-
Indicates whether this element represents a constructor.
- Returns:
true if this element is a constructor
- isConstructor() - Method in WriterController
-
Returns true if a constructor is currently being compiled.
- isConstructorAssertionsEnabled() - Method in ProcessingContextInformation
-
Indicates whether constructor assertions are currently enabled.
- isContainer() - Method in CharSequenceValue
-
Indicates whether this value wraps a map or a collection.
- Returns:
true for container values
- isContainer() - Method in NumberValue
-
Indicates whether this value wraps a map or a collection.
- Returns:
true for container values
- isContainer() - Method in Value
-
Indicates whether this value wraps a map or a collection.
- isContainer() - Method in ValueContainer
-
Indicates whether this value wraps a map or a collection.
- Returns:
true for container values
- isContractsCandidate(org.codehaus.groovy.ast.ClassNode) - Method in CandidateChecks
-
Checks whether the given
ClassNode is a candidate
for applying contracts.
- isCoreObjectMethod(java.lang.reflect.Method) - Method in ConversionHandler
-
Checks whether a method is a core method from java.lang.Object.
- isCoreObjectMethod(java.lang.reflect.Method) - Method in ConvertedMap
-
Checks whether a method is a core method from java.lang.Object.
- isCrossJoin() - Method in JoinExpression
-
Indicates whether this clause is a cross join.
- isDark() - Method in ThemeManager
-
Returns whether the active console theme currently resolves to dark.
- isDebug() - Method in IO
-
Check if the verbosity level is set to Verbosity#DEBUG#DEBUG.
- isDebug() - Method in Logger
-
- isDebugEnabled() - Method in Logger
-
- isDecimalChar(int) - Method in BaseJsonParser
-
Checks whether a character can appear in a decimal JSON number.
- isDecimalChar(int) - Method in CharScanner
-
Tests whether the supplied code point is decimal punctuation.
- isDecimalDigit(int) - Method in CharScanner
-
Tests whether the supplied code point can appear in a decimal number.
- isDef() - Method in ModifierNode
-
Checks whether this node represents a property or variable declaration modifier
(def, val, or var).
- isDefault() - Method in MetaMethod
-
Returns whether this method is interface-default.
- isDefault() - Method in MethodNode
-
Checks whether this method is a default method.
- isDefaultMethod(java.lang.reflect.Method) - Method in ConversionHandler
-
- isDefaultRenderer() - Method in ClosureRenderer
-
Returns whether the default renderer was used as the base renderer.
- isDefaultVisibility(int) - Method in GeneralUtils
-
- isDelimiter(int) - Method in BaseJsonParser
-
Checks whether a character terminates the current JSON value.
- isDelimiter(int) - Method in CharScanner
-
Tests whether the supplied code point terminates a JSON number token.
- isDeprecated() - Method in ArrayClassDocWrapper
-
Indicates whether this element is marked as deprecated.
- Returns:
true if this element is deprecated
- isDeprecated() - Method in ExternalGroovyClassDoc
-
Indicates whether this element is marked as deprecated.
- Returns:
true if this element is deprecated
- isDeprecated() - Method in GroovyDoc
-
Indicates whether this element is marked as deprecated.
- isDeprecated() - Method in SimpleGroovyDoc
-
Indicates whether this element is marked as deprecated.
- Returns:
true if this element is deprecated
- isDerivedFrom(org.codehaus.groovy.ast.ClassNode) - Method in ClassNode
-
- Parameters:
type - the ClassNode of interest
- isDerivedFromGroovyObject() - Method in ClassNode
-
Returns whether this
ClassNode represents a type that implements the
GroovyObject interface.
- isDigit(int) - Method in CharScanner
-
Tests whether the supplied code point is an ASCII digit.
- isDigit(java.lang.Character) - Method in DefaultGroovyMethods
-
Determines if a character is a digit.
- isDigit(char) - Method in Numbers
-
Returns true if the specified character is a decimal digit (0-9).
- isDirectlyAssignable(java.lang.Object) - Method in BigDecimalCachedClass
-
Checks if the given argument is directly assignable to
BigDecimal.
- isDirectlyAssignable(java.lang.Object) - Method in BigIntegerCachedClass
-
Checks if the given argument is directly assignable to
BigInteger.
- isDirectlyAssignable(java.lang.Object) - Method in BooleanCachedClass
-
Checks if the given argument is directly assignable without type conversion.
- isDirectlyAssignable(java.lang.Object) - Method in ByteCachedClass
-
Checks if the given argument is directly assignable without type conversion.
- isDirectlyAssignable(java.lang.Object) - Method in CachedClass
-
Returns whether an object instance is directly assignable to this class.
- isDirectlyAssignable(java.lang.Object) - Method in CharacterCachedClass
-
Checks if the given argument is directly assignable without type conversion.
- isDirectlyAssignable(java.lang.Object) - Method in DoubleCachedClass
-
Checks if the given argument is directly assignable without type conversion.
- isDirectlyAssignable(java.lang.Object) - Method in FloatCachedClass
-
Checks if the given argument is directly assignable without type conversion.
- isDirectlyAssignable(java.lang.Object) - Method in IntegerCachedClass
-
Checks if the given argument is directly assignable without type conversion.
- isDirectlyAssignable(java.lang.Object) - Method in LongCachedClass
-
Checks if the given argument is directly assignable without type conversion.
- isDirectlyAssignable(java.lang.Object) - Method in ShortCachedClass
-
Checks if the given argument is directly assignable without type conversion.
- isDirectlyAssignable(java.lang.Object) - Method in StringCachedClass
-
Checks if the given argument is directly assignable to
String.
- isDisableCustomMetaClassLookup() - Method in MetaClassRegistry.MetaClassCreationHandle
-
Returns whether custom metaclasses are disabled.
- isDone() - Method in Awaitable
-
Returns true if the computation has completed (normally,
exceptionally, or via cancellation).
- isDone() - Method in DataflowVariable
-
Returns
true if the computation has completed (normally,
exceptionally, or via cancellation).
- Returns:
true if complete
- isDone() - Method in GroovyPromise
-
Returns
true if the computation has completed (normally,
exceptionally, or via cancellation).
- Returns:
true if complete
- isDouble(java.lang.CharSequence) - Method in StringGroovyMethods
-
Determines if a CharSequence can be parsed as a Double.
- isDouble(org.codehaus.groovy.ast.ClassNode) - Method in WideningCategories
-
Checks if type is a double.
- isDoubleCategory(Class<?>) - Method in TypeHelper
-
- isDoubleCategory(org.codehaus.groovy.ast.ClassNode) - Method in WideningCategories
-
Checks if type is a float, double or BigDecimal (category).
- isDoubleQuote(int) - Method in BaseJsonParser
-
Checks whether a character code is a double quote.
- isDynamic(org.codehaus.groovy.ast.expr.VariableExpression) - Method in AbstractTypeCheckingExtension
-
- isDynamic() - Method in ArrayExpression
-
- isDynamic() - Method in MapExpression
-
- isDynamic() - Method in MethodPointerExpression
-
- isDynamic() - Method in NotExpression
-
- isDynamic() - Method in PropertyExpression
-
- isDynamic() - Method in UnaryMinusExpression
-
- isDynamic() - Method in UnaryPlusExpression
-
- isDynamicReturnType() - Method in MethodNode
-
Checks whether this method has a dynamically typed return type.
- isDynamicTyped() - Method in BytecodeVariable
-
- isDynamicTyped(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isDynamicTyped() - Method in DynamicVariable
-
- isDynamicTyped() - Method in FieldExpression
-
- isDynamicTyped() - Method in FieldNode
-
Checks whether this field's type is dynamically typed (unresolved type).
- isDynamicTyped() - Method in Parameter
-
Returns true if this parameter has dynamic type information, meaning its type
could not be determined at compile time.
- isDynamicTyped() - Method in PropertyNode
-
Checks whether this property has dynamic typing (delegated to backing field).
- isDynamicTyped() - Method in Variable
-
Returns true if this variable has dynamic type information that could not be resolved at compile time.
- isDynamicTyped() - Method in VariableExpression
-
Indicates whether this variable or the accessed variable uses dynamic typing.
- isEditable() - Method in ClosureModel
-
Indicates whether this model has a write closure.
- isEditable() - Method in PropertyModel
-
Indicates whether writes should be forwarded to the source property.
- isEditable() - Method in ValueHolder
-
Indicates whether callers should treat this holder as writable.
- isEditable() - Method in ValueModel
-
- isEffectivelyFinal(org.codehaus.groovy.ast.Variable) - Method in FinalVariableAnalyzer
-
- isEligible(java.lang.String, int) - Method in LooseExpectation
-
Determines whether the recorded demand at the supplied index can satisfy the current call.
- isEmpty() - Method in AntProjectPropertiesDelegate
-
Indicates whether the delegated property set is empty.
- isEmpty() - Method in BlockStatement
-
Checks whether this block contains no statements.
- isEmpty() - Method in CommonCache
-
- isEmpty() - Method in ConcurrentCommonCache
-
- isEmpty() - Method in ConcurrentLinkedHashMap
-
{@inheritDoc}
- isEmpty() - Method in ConcurrentReaderHashMap
-
Returns true if this map contains no key-value mappings.
- isEmpty() - Method in ConcurrentReferenceHashMap
-
Returns true if this map contains no key-value mappings.
- isEmpty() - Method in ConfigObject
-
{@inheritDoc}
- isEmpty() - Method in CSTNode
-
Returns true if this node is completely empty (no root element).
- isEmpty(java.lang.Iterable) - Method in DefaultGroovyMethods
-
Check whether an
Iterable has elements
def items = [1]
def iterable = { [ hasNext:{ !
- isEmpty(groovy.util.NodeList) - Method in DOMCategory
-
Determines whether the supplied node list is empty.
- isEmpty() - Method in EmptyStatement
-
- isEmpty() - Method in FastArray
-
Indicates whether this array contains any populated elements.
- isEmpty() - Method in GPathResult
-
Returns true if the GPathResult is empty, i.e. if, and only if, size() is 0.
- isEmpty() - Method in GroovyRowResult
-
{@inheritDoc}
- isEmpty() - Method in GroovyRunnerRegistry
-
Returns true if the registry contains no runners, else
false.
- isEmpty() - Method in GStringImpl
-
- isEmpty() - Method in LazyMap
-
Returns whether the map currently contains any entries.
- isEmpty() - Method in ListHashMap
-
{@inheritDoc}
- isEmpty() - Method in ListWithDefault
-
{@inheritDoc}
- isEmpty() - Method in ListWrapperListModel
-
Returns whether the backing list is empty.
- isEmpty() - Method in ManagedConcurrentLinkedQueue
-
Returns true if this queue contains no elements.
- isEmpty() - Method in MapWithDefault
-
{@inheritDoc}
- isEmpty() - Method in ModuleNode
-
Checks whether this module is empty (no classes or statements).
- isEmpty() - Method in ObservableList
-
{@inheritDoc}
- isEmpty() - Method in ObservableMap
-
{@inheritDoc}
- isEmpty() - Method in ObservableSet
-
{@inheritDoc}
- isEmpty() - Method in Reduction
-
Returns true if this reduction is completely empty (no elements, not even a root).
- isEmpty() - Method in StampedCommonCache
-
- isEmpty() - Method in Statement
-
Returns true if this statement is empty or produces no side effects.
- isEmpty(java.lang.CharSequence) - Method in StringUtils
-
Copied from Apache commons-lang3-3.6
- isEmpty() - Method in UnlimitedConcurrentCache
-
- isEmptyStringExpression() - Method in ConstantExpression
-
Indicates whether this constant expression represents an empty string value.
- isEnableNamedQueries() - Method in Sql
-
- Returns:
- boolean true if named query processing is enabled (the default is true)
- isEnum() - Method in ArrayClassDocWrapper
-
Indicates whether this element represents an enum type.
- Returns:
true if this element is an enum
- isEnum() - Method in ClassNode
-
Returns whether this
ClassNode represents an enumeration type.
- isEnum() - Method in ExternalGroovyClassDoc
-
Indicates whether this element represents an enum type.
- Returns:
true if this element is an enum
- isEnum() - Method in FieldNode
-
Checks whether this field is an enum constant.
- isEnum() - Method in GroovyDoc
-
Indicates whether this element represents an enum type.
- isEnum() - Method in SimpleGroovyDoc
-
Indicates whether this element represents an enum type.
- Returns:
true if this element is an enum
- isEnumConstant() - Method in ArrayClassDocWrapper
-
Indicates whether this element represents an enum constant.
- Returns:
true if this element is an enum constant
- isEnumConstant() - Method in ExternalGroovyClassDoc
-
Indicates whether this element represents an enum constant.
- Returns:
true if this element is an enum constant
- isEnumConstant() - Method in GroovyDoc
-
Indicates whether this element represents an enum constant.
- isEnumConstant() - Method in SimpleGroovyDoc
-
Indicates whether this element represents an enum constant.
- Returns:
true if this element is an enum constant
- isEnumSubclass(java.lang.Object) - Method in DefaultTypeTransformation
-
Determines whether the value object is a Class object representing a
subclass of java.lang.Enum.
- isEq() - Method in CompareIdentityExpression
-
- isEqualityCheck() - Method in OrderBy
-
Indicates whether equality-only comparison is enabled for non-comparable values.
- isError() - Method in ArrayClassDocWrapper
-
Indicates whether this element represents an error type.
- Returns:
true if this element is an error
- isError() - Method in ExternalGroovyClassDoc
-
Indicates whether this element represents an error type.
- Returns:
true if this element is an error
- isError() - Method in GroovyDoc
-
Indicates whether this element represents an error type.
- isError() - Method in SimpleGroovyDoc
-
Indicates whether this element represents an error type.
- Returns:
true if this element is an error
- isErrorIgnored() - Method in GroovyLexer
-
- isEscape(int) - Method in BaseJsonParser
-
Checks whether a character code is the JSON escape marker.
- isEscapeAttributes() - Method in MarkupBuilder
-
Returns the escapeAttributes property value.
- isEscapeBackslash() - Method in SimpleTemplateEngine
-
Indicates whether backslashes are escaped while parsing template source.
- isException() - Method in ArrayClassDocWrapper
-
Indicates whether this element represents an exception type.
- Returns:
true if this element is an exception
- isException() - Method in ExternalGroovyClassDoc
-
Indicates whether this element represents an exception type.
- Returns:
true if this element is an exception
- isException() - Method in GroovyDoc
-
Indicates whether this element represents an exception type.
- isException() - Method in SimpleGroovyDoc
-
Indicates whether this element represents an exception type.
- Returns:
true if this element is an exception
- isExcludingFieldsNamed(java.lang.String) - Method in DefaultJsonGenerator
-
Indicates whether this JsonGenerator is configured to exclude fields by
the given name.
- Parameters:
name - of the field
- Returns:
- true if that field is being excluded, else false
- isExcludingFieldsNamed(java.lang.String) - Method in JsonGenerator
-
Indicates whether this JsonGenerator is configured to exclude fields by
the given name.
- isExcludingValues(java.lang.Object) - Method in DefaultJsonGenerator
-
Indicates whether this JsonGenerator is configured to exclude values
of the given object (may be
null).
- Parameters:
value - an instance of an object
- Returns:
- true if values like this are being excluded, else false
- isExcludingValues(java.lang.Object) - Method in JsonGenerator
-
Indicates whether this JsonGenerator is configured to exclude values
of the given object (may be null).
- isExclusiveLeft() - Method in RangeExpression
-
Indicates whether the left endpoint is exclusive (uses <..).
- isExclusiveRight() - Method in RangeExpression
-
Indicates whether the right endpoint is exclusive (uses ..<).
- isExpanded() - Method in ClosureRenderer
-
Returns whether the current tree node is expanded.
- isExpandEmptyElements() - Method in MarkupBuilder
-
Whether empty elements are expanded from <tagName/> to <tagName></tagName>.
- isExpandEmptyElements() - Method in TemplateConfiguration
-
- Returns:
- whether elements without body should be written in the short form (ex: <br/>) or
in an expanded form (ex: <br></br>)
- isExpandEmptyElements() - Method in XmlNodePrinter
-
Whether empty elements are expanded from <tagName/> to <tagName></tagName>.
- isExtensionMethod(org.codehaus.groovy.ast.MethodNode) - Method in AbstractTypeCheckingExtension
-
- isExternalizable() - Method in ArrayClassDocWrapper
-
Indicates whether this type implements
Externalizable.
- Returns:
true if this type is externalizable
- isExternalizable() - Method in ExternalGroovyClassDoc
-
Indicates whether this type implements
Externalizable.
- Returns:
true if this type is externalizable
- isExternalizable() - Method in GroovyClassDoc
-
- isExternalizable() - Method in SimpleGroovyClassDoc
-
Indicates whether this type implements
Externalizable.
- Returns:
true if this type is externalizable
- isFailure() - Method in AwaitResult
-
Returns true if this result represents a failed completion.
- isFalseExpression() - Method in ConstantExpression
-
Indicates whether this constant expression represents the boolean false value.
- isFastPath() - Method in DelegatingController
-
- isFastPath() - Method in StaticTypesWriterController
-
- isFastPath() - Method in WriterController
-
Returns true if the compiler is currently in fast-path mode,
emitting specialized bytecode for primitive type operations.
- isFatal() - Method in ConfigurationException
-
It's always fatal.
- isFatal() - Method in GroovyException
-
Returns whether this exception is fatal.
A fatal exception typically causes compilation to stop.
- Returns:
true if this exception is fatal; false otherwise
- isFatal() - Method in GroovyExceptionInterface
-
Returns whether this exception is fatal.
- isField() - Method in ArrayClassDocWrapper
-
Indicates whether this element represents a field.
- Returns:
true if this element is a field
- isField() - Method in ExternalGroovyClassDoc
-
Indicates whether this element represents a field.
- Returns:
true if this element is a field
- isField() - Method in GroovyDoc
-
Indicates whether this element represents a field.
- isField() - Method in SimpleGroovyDoc
-
Indicates whether this element represents a field.
- Returns:
true if this element is a field
- isFieldDirectlyAccessible(org.codehaus.groovy.ast.FieldNode, org.codehaus.groovy.ast.ClassNode) - Method in AsmClassGenerator
-
Determines if the given field can be directly accessed by the given class
(via GETFIELD, GETSTATIC, etc. bytecode instructions).
- isFinal() - Method in ArrayClassDocWrapper
-
Indicates whether this element is declared
final.
- Returns:
true if this element is final
- isFinal() - Method in ExternalGroovyClassDoc
-
Indicates whether this element is declared
final.
- Returns:
true if this element is final
- isFinal() - Method in GroovyProgramElementDoc
-
Indicates whether this element is declared final.
- isFinal() - Method in MetaMember
-
Indicates whether this member is declared final.
- isFinal() - Method in MethodNode
-
Checks whether this method is declared as final.
- isFinal() - Method in SimpleGroovyProgramElementDoc
-
Indicates whether this element is declared
final.
- Returns:
true if this element is final
- isFinal() - Method in Variable
-
Returns true if this variable is declared with the final modifier.
- isFloat(java.lang.CharSequence) - Method in StringGroovyMethods
-
Determines if a CharSequence can be parsed as a Float.
- isFloat(org.codehaus.groovy.ast.ClassNode) - Method in WideningCategories
-
Checks if type is a float.
- isFloatingCategory(org.codehaus.groovy.ast.ClassNode) - Method in WideningCategories
-
Checks if type is a float or double.
- isFloatingPoint(java.lang.Number) - Method in NumberMath
-
- isFocused() - Method in ClosureRenderer
-
Returns whether the current cell has focus.
- isFollowedBy(org.antlr.v4.runtime.CharStream, char) - Method in SemanticPredicates
-
- isFollowedByJavaLetterInGString(org.antlr.v4.runtime.CharStream) - Method in SemanticPredicates
-
- isFollowedByWhiteSpaces(org.antlr.v4.runtime.CharStream) - Method in SemanticPredicates
-
- isFollowingArgumentsOrClosure(org.apache.groovy.parser.antlr4.GroovyParser.ExpressionContext) - Method in SemanticPredicates
-
Check whether following a method name of command expression.
- isFoundContractElement() - Method in ContractElementVisitor
-
Indicates whether any contract element was detected while traversing the class hierarchy.
- isFunctionalInterface(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isGenerated(org.codehaus.groovy.ast.MethodNode) - Method in AbstractTypeCheckingExtension
-
- isGenerated(org.codehaus.groovy.ast.AnnotatedNode) - Method in AnnotatedNodeUtils
-
Checks whether the supplied node has been marked as generated.
- isGeneratedFunction(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
Checks if the type is a generated function, i.e. closure or lambda.
- isGenericsPlaceHolder() - Method in ClassNode
-
- isGetterCandidate(org.codehaus.groovy.ast.MethodNode) - Method in MethodNodeUtils
-
Determines if given method is a getter candidate.
- isGlobalKeepIgnorableWhitespace() - Method in DOMCategory
-
- Returns:
- true if ignorable whitespace (e.g. whitespace between elements) is kept; default false
- isGlobalTrimWhitespace() - Method in DOMCategory
-
- Returns:
- true if text elements are trimmed before returning; default false
- isGroovy() - Method in Inspector
-
Indicates whether the inspected type implements
GroovyObject.
- isGroovy() - Method in SimpleGroovyClassDoc
-
Indicates whether this class originated from Groovy source.
- isGroovydocEnabled() - Method in CompilerConfiguration
-
Checks if groovydoc is enabled.
- isGroovyObject() - Method in DelegatingMetaClass
-
- isGroovyObject - Field in MetaClassImpl
-
- isGroovyObject() - Method in OwnedMetaClass
-
- isGroovyObjectType(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isGStringOrGStringStringLUB(org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingSupport
-
- Returns:
- true if the class node is either a GString or the LUB of String and GString.
- isGStringType(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isHandlesNodeChildren() - Method in AbstractFactory
-
Does this factory "Own" its child closure.
- Returns:
- true if the factory should have onContentClosure() called,
false if the builder should handle it
- isHandlesNodeChildren() - Method in ActionFactory
-
Indicates whether this factory processes child closures itself.
- isHandlesNodeChildren() - Method in BindFactory
-
Indicates whether this factory processes child closures itself.
- isHandlesNodeChildren() - Method in CellEditorGetValueFactory
-
Indicates whether this factory processes child closures itself.
- isHandlesNodeChildren() - Method in CellEditorPrepareFactory
-
Indicates whether this factory processes child closures itself.
- isHandlesNodeChildren() - Method in Factory
-
Does this factory "Own" its child closure.
- isHandlesNodeChildren() - Method in ImportCustomizerFactory
-
- isHandlesNodeChildren() - Method in InlinedASTCustomizerFactory
-
- isHandlesNodeChildren() - Method in RendererUpdateFactory
-
Indicates whether this factory processes child closures itself.
- isHandlesNodeChildren() - Method in SecureASTCustomizerFactory
-
- isHeldExclusively() - Method in LockableObject
-
{@inheritDoc}
- isHexDigit(char) - Method in Numbers
-
Returns true if the specified character is a hexadecimal digit (0-9, A-F, a-f).
- isHidden() - Method in SimpleGroovyDoc
-
Indicates whether this doc element should be retained for internal model
lookups but excluded from rendered output.
- isHolder() - Method in BytecodeVariable
-
- Returns:
- is this local variable shared in other scopes (and so must use a ValueHolder)
- isHolder() - Method in FieldNode
-
Checks whether this field is a holder field.
- isIgnoringAutoboxing() - Method in CastExpression
-
Indicates whether autoboxing is ignored for this cast.
- isImplicit() - Method in Parameter
-
Returns true if this parameter is implicit in the source code, such as the receiver parameter
in instance methods or parameters generated by the compiler.
- isImplicitThis() - Method in CompileStack
-
- isImplicitThis() - Method in MethodCallExpression
-
Indicates whether this method call implicitly refers to the current object (this).
- isImplicitThis() - Method in PropertyExpression
-
- isIncluded() - Method in ArrayClassDocWrapper
-
Indicates whether this element is included in the generated output.
- Returns:
true if this element is included
- isIncluded() - Method in ExternalGroovyClassDoc
-
Indicates whether this element is included in the generated output.
- Returns:
true if this element is included
- isIncluded() - Method in GroovyDoc
-
Indicates whether this element is included in the generated output.
- isIncluded() - Method in SimpleGroovyDoc
-
Indicates whether this element is included in the generated output.
- Returns:
true if this element is included
- isIncludeDestClasses() - Method in Groovyc
-
Get the value of the includeDestClasses property.
- isInclusive() - Method in RangeExpression
-
Indicates whether this is an inclusive range (no exclusion on the right endpoint).
- isIndirectImportCheckEnabled() - Method in SecureASTCustomizer
-
- isIndyEnabled() - Method in CompilerConfiguration
-
Checks if invoke dynamic is enabled.
- isInfo() - Method in IO
-
Check if the verbosity level is set to Verbosity#INFO#INFO.
- isInGeneratedFunction() - Method in DelegatingController
-
- isInGeneratedFunction() - Method in WriterController
-
Returns true if the class being compiled is a generated function wrapper
(e.g., an inner class synthesized for a closure or lambda expression).
- isInGeneratedFunctionConstructor() - Method in DelegatingController
-
- isInGeneratedFunctionConstructor() - Method in WriterController
-
Returns true if compiling a constructor within a generated function class.
- isInitialized() - Method in ExpandoMetaClass
-
Checks if the metaclass is initialized.
- isInitialized() - Method in LazyInitializable
-
Check if the object is initialized.
- isInitialized() - Method in MetaClassImpl
-
Indicates whether this meta class finished initialization.
- isInitialized() - Method in StructuredSyntaxDocumentFilter.LexerNode
-
- Returns:
- true if initialised
- isInnerClass(org.codehaus.groovy.ast.ClassNode) - Method in ClassNodeUtils
-
Determines if the given ClassNode is a non-static inner class.
- isInnerHashJoin() - Method in JoinExpression
-
Indicates whether this clause is an inner hash join.
- isInnerJoin() - Method in JoinExpression
-
Indicates whether this clause is an inner join.
- isInScriptBody() - Method in DelegatingController
-
- isInScriptBody() - Method in WriterController
-
- Returns:
- true if we are in a script body, where all variables declared are no longer
local variables but are properties
- isInSpecialConstructorCall() - Method in CompileStack
-
- isInstanceOfX(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.ClassNode) - Method in GeneralUtils
-
- isInStaticallyCheckedMethod - Field in StaticTypesWriterController
-
- isInStaticContext() - Method in DynamicVariable
-
- isInStaticContext() - Method in FieldNode
-
Checks whether this field is in a static context.
- isInStaticContext() - Method in Parameter
-
Returns true if this parameter is declared in a static context (static method or static initializer).
- isInStaticContext() - Method in PropertyNode
-
Checks whether this property is in a static context (delegated to backing field).
- isInStaticContext - Field in TypeCheckingContext
-
- isInStaticContext() - Method in Variable
-
Returns true if this variable is declared or used in a static context.
- isInStaticContext() - Method in VariableExpression
-
Indicates whether this variable or the accessed variable is accessed in a static context.
- isInStaticContext() - Method in VariableScope
-
Returns true if this scope is in a static context (static initializers, static methods, etc.).
- isInt(org.codehaus.groovy.ast.ClassNode) - Method in WideningCategories
-
Checks if type is an int.
- isIntCategory(Class<?>) - Method in TypeHelper
-
- isIntCategory(org.codehaus.groovy.ast.ClassNode) - Method in WideningCategories
-
Checks if type is an int, byte, char or short.
- isInteger(char[], int, int) - Method in CharScanner
-
Tests whether the supplied digit range fits in an int.
- isInteger(java.lang.Number) - Method in NumberMath
-
- isInteger(java.lang.CharSequence) - Method in StringGroovyMethods
-
Determines if a CharSequence can be parsed as an Integer.
- isInterface() - Method in ArrayClassDocWrapper
-
Indicates whether this element represents an interface.
- Returns:
true if this element is an interface
- isInterface - Field in CachedClass
-
true if the cached class is an interface, false otherwise.
- isInterface() - Method in ClassNode
-
Returns whether this
ClassNode represents an interface type.
- isInterface() - Method in ExternalGroovyClassDoc
-
Indicates whether this element represents an interface.
- Returns:
true if this element is an interface
- isInterface() - Method in GroovyDoc
-
Indicates whether this element represents an interface.
- isInterface() - Method in SimpleGroovyDoc
-
Indicates whether this element represents an interface.
- Returns:
true if this element is an interface
- isInterfaceContractsCandidate(org.codehaus.groovy.ast.ClassNode) - Method in CandidateChecks
-
Checks whether the given
ClassNode is a candidate
for applying interface contracts.
- isInternal(org.codehaus.groovy.ast.AnnotatedNode) - Method in AnnotatedNodeUtils
-
Checks whether a node is annotated with
@Internal.
- isInvalidLocalVariableDeclaration(org.antlr.v4.runtime.TokenStream) - Method in SemanticPredicates
-
Distinguish between local variable declaration and method call, e.g.
- isInvalidMethodDeclaration(org.antlr.v4.runtime.TokenStream) - Method in SemanticPredicates
-
Distinguish between method declaration and method call/constructor declaration
- isISO8601(char[], int, int) - Method in Dates
-
Checks whether a slice matches the parser's supported ISO-8601 layouts.
- isISO8601QuickCheck(char[], int, int) - Method in Dates
-
Performs a quick length and separator check for ISO-8601-like values.
- isJavaIdentifier(java.lang.String) - Method in Utilities
-
Tells if the given string is a valid Java identifier.
- isJoinExpression(java.lang.String) - Method in JoinExpression
-
Checks whether the supplied method name denotes a join clause.
- isJsonDate(char[], int, int) - Method in Dates
-
Checks whether a slice matches the parser's JSON date layout.
- isKeepIgnorableWhitespace() - Method in XmlParser
-
Returns the current keep ignorable whitespace setting.
- isKeepIgnorableWhitespace() - Method in XmlSlurper
-
- Returns:
- true if ignorable whitespace is kept
- isKeepJavaMetaClasses() - Method in GroovySystem
-
Indicates whether Java meta classes are retained strongly by the runtime.
- isKeyword(java.lang.String) - Method in Types
-
Returns true if the specified text is a recognized keyword.
- isKnownImmutableType(org.codehaus.groovy.ast.ClassNode, List<String>) - Method in ImmutablePropertyUtils
-
Checks whether the supplied type is acceptable for an immutable property.
- isLatest() - Method in SmartDocumentFilter
-
Indicates whether the cached token list reflects the current document text.
- isLazyChop() - Method in JsonSlurper
-
Turns on buffer lazy chopping for index overlay.
- isLazyDefaultValues() - Method in ListWithDefault
-
Indicates whether missing values are initialized lazily.
- isLazyReferencesAllowed() - Method in ObjectGraphBuilder
-
Returns true if references can be resolved lazily
- isLeaf() - Method in AbstractFactory
-
- Returns:
- true if no child closures should be processed
- isLeaf() - Method in ASTTransformationCustomizerFactory
-
Indicates that ast nodes do not accept nested builder content.
- isLeaf() - Method in BeanFactory
-
Indicates whether nodes created by this factory accept children.
- isLeaf() - Method in BindFactory
-
Indicates whether nodes created by this factory accept children.
- isLeaf() - Method in BindProxyFactory
-
Indicates whether nodes created by this factory accept children.
- isLeaf() - Method in ClosureRenderer
-
Returns whether the current tree node is a leaf.
- isLeaf() - Method in Factory
-
- Returns:
- true if no child closures should be processed
- isLeaf() - Method in JmxBeanExportFactory
-
Indicates that the export node may contain children.
- isLeaf() - Method in JmxBeanFactory
-
Indicates that the bean node may contain nested configuration nodes.
- isLeaf() - Method in JmxBeansFactory
-
Indicates that the beans node is terminal.
- isLeaf() - Method in JmxEmitterFactory
-
Indicates that the emitter node is terminal.
- isLeaf() - Method in JmxListenerFactory
-
Indicates that the listener node is terminal.
- isLeaf() - Method in JmxServerConnectorFactory
-
Indicates that the connector server node may contain children.
- isLeaf() - Method in JmxTimerFactory
-
Indicates that the timer node is terminal.
- isLeaf() - Method in LookAndFeelHelper
-
Indicates that look and feel helper nodes are always leaf nodes.
- isLeaf() - Method in SwingBorderFactory
-
Indicates whether nodes created by this factory accept children.
- isLeaf() - Method in WidgetFactory
-
Indicates whether nodes created by this factory accept children.
- isLeftHashJoin() - Method in JoinExpression
-
Indicates whether this clause is a left hash join.
- isLeftJoin() - Method in JoinExpression
-
Indicates whether this clause is a left join.
- isLetter(java.lang.Character) - Method in DefaultGroovyMethods
-
Determines if a character is a letter.
- isLetterOrDigit(java.lang.Character) - Method in DefaultGroovyMethods
-
Determines if a character is a letter or digit.
- isLHS() - Method in CompileStack
-
- isLogClassgen() - Method in CompilerConfiguration
-
Returns whether logging class generation is enabled
- isLoggingMethod(java.lang.String) - Method in LogASTTransformation.LoggingStrategy
-
- isLong(char[], int, int) - Method in CharScanner
-
Tests whether the supplied digit range fits in a long.
- isLong(java.lang.Number) - Method in NumberMath
-
- isLong(java.lang.CharSequence) - Method in StringGroovyMethods
-
Determines if a CharSequence can be parsed as a Long.
- isLongCategory(Class<?>) - Method in TypeHelper
-
- isLongCategory(org.codehaus.groovy.ast.ClassNode) - Method in WideningCategories
-
Checks if type is a long, int, byte, char or short.
- isLowerCase(java.lang.Character) - Method in DefaultGroovyMethods
-
Determines if a Character is lowercase.
- isMap - Field in MetaClassImpl
-
- isMarkdown() - Method in SimpleGroovyDoc
-
Indicates whether this documentation comment should be rendered as Markdown.
- isMemberDirectlyAccessible(int, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in AsmClassGenerator
-
- isMenuDark() - Method in ThemeManager
-
True iff menu-item icons will paint against a dark background.
- isMenuDrawnByOS() - Method in ThemeManager
-
On macOS with apple.laf.useScreenMenuBar=true the menu bar is drawn
by the OS rather than FlatLaf, so menu-item icons need to track the OS
appearance instead of the app theme to stay legible.
- isMethod() - Method in ArrayClassDocWrapper
-
Indicates whether this element represents a method.
- Returns:
true if this element is a method
- isMethod() - Method in ExternalGroovyClassDoc
-
Indicates whether this element represents a method.
- Returns:
true if this element is a method
- isMethod() - Method in GroovyDoc
-
Indicates whether this element represents a method.
- isMethod(groovy.lang.MetaMethod) - Method in MetaMethod
-
Returns true if this metamethod represents the same method as the argument.
- isMethod() - Method in SimpleGroovyDoc
-
Indicates whether this element represents a method.
- Returns:
true if this element is a method
- isMethodCall(java.lang.Object) - Method in AbstractTypeCheckingExtension
-
- isMethodDefinitionAllowed() - Method in SecureASTCustomizer
-
- isMethodNode() - Method in TreeNodeWithProperties
-
Indicates whether this node represents a method or constructor node.
- isModified() - Method in DelegatingMetaClass
-
Return whether the MetaClass has been modified or not
- Returns:
- True if it has
- isModified() - Method in ExpandoMetaClass
-
Returns whether this MetaClassImpl has been modified. Since MetaClassImpl
is not designed for modification this method always returns false
- Returns:
- false
- isModified() - Method in MetaClassImpl
-
Returns whether this MetaClassImpl has been modified.
- isModified() - Method in MutableMetaClass
-
Return whether the MetaClass has been modified or not
- isModifier() - Method in ModifierNode
-
Checks whether this node represents a true modifier (not annotation or def).
- isMopMethod(java.lang.String) - Method in MopWriter
-
Determines if a method is a MOP method.
- isMultiLineTabbed(boolean) - Method in TextEditor
-
Enables or disables indenting all selected lines when tabbing.
- isMultipleAssignmentDeclaration() - Method in DeclarationExpression
-
This method tells you if this declaration is a multiple assignment declaration, which
has the form "def (x, y) = ..." in Groovy.
- isNamespaceAware() - Method in XmlNodePrinter
-
Check if namespace handling is enabled.
- isNamespaceAware() - Method in XmlParser
-
Determine if namespace handling is enabled.
- isNamespaceAware() - Method in XmlSlurper
-
Determine if namespace handling is enabled.
- isNative() - Method in GroovyExecutableMemberDoc
-
Indicates whether this executable is declared native.
- isNative() - Method in SimpleGroovyExecutableMemberDoc
-
Indicates whether this executable is declared
native.
- Returns:
true if this executable is native
- isNonChangeCheck() - Method in PropertyBinding
-
Returns whether value-equality checks should suppress redundant updates.
- isNonnegative(java.time.chrono.ChronoPeriod) - Method in DateTimeExtensions
-
Returns true if this period is zero or positive.
- isNonpositive(java.time.chrono.ChronoPeriod) - Method in DateTimeExtensions
-
Returns true if this period is zero or negative.
- isNonSealed(org.codehaus.groovy.ast.ClassNode) - Method in ClassNodeUtils
-
Determines if the type is declared non-sealed.
- isNonVisibilityModifier() - Method in ModifierNode
-
Checks whether this is a non-visibility modifier (static, final, abstract, etc.).
- isNotCase(Map<?,?>, java.lang.Object) - Method in DefaultGroovyMethods
-
- isNotCase(java.lang.Object, java.lang.Object) - Method in ScriptBytecodeAdapter
-
- isNotCase(java.util.regex.Pattern, java.lang.Object) - Method in StringGroovyMethods
-
- isNotClinit() - Method in DelegatingController
-
- isNotClinit() - Method in WriterController
-
Returns true if the current method is NOT a static class initializer (<clinit>).
- isNull(java.lang.Object) - Method in IndyGuardsFiltersAndSignatures
-
Guard to check if the argument is null.
- isNullConstant(org.codehaus.groovy.ast.expr.Expression) - Method in ExpressionUtils
-
Checks whether the supplied expression is the null literal.
- isNullConstant(org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypeCheckingVisitor
-
- isNullExpression() - Method in ConstantExpression
-
Indicates whether this constant expression represents a null value.
- isNullOrInstanceOfX(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.ClassNode) - Method in GeneralUtils
-
- isNullsLast() - Method in Queryable.Order
-
Indicates whether this rule places null values last.
- isNullX(org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- isNumber - Field in CachedClass
-
true if the cached class is assignable from
Number,
false otherwise.
- isNumber(java.lang.CharSequence) - Method in StringGroovyMethods
-
Determines if a CharSequence can be parsed as a Number.
- isNumberCategory(org.codehaus.groovy.ast.ClassNode) - Method in WideningCategories
-
Checks if type is a BigDecimal (category) or Number.
- isNumberDigit(int) - Method in BaseJsonParser
-
Checks whether a character code is an ASCII digit.
- isNumberDigit(int) - Method in CharScanner
-
Tests whether the supplied code point is a numeric digit.
- isNumberOrArrayOfNumber(org.codehaus.groovy.ast.ClassNode, boolean) - Method in ExpressionUtils
-
Determines if a type is derived from Number (or array thereof).
- isNumberType(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isNumericTypeSpecifier(char, boolean) - Method in Numbers
-
Returns true if the specified character is a valid type suffix for a numeric literal.
- isObject() - Method in Receiver
-
Indicates if receiver is an object instance or a class (static) reference.
- isObjectType(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isOctalDigit(char) - Method in Numbers
-
Returns true if the specified character is an octal digit (0-7).
- isOk() - Method in ProcessResult
-
Returns true if the process exited with code 0.
- isOmitEmptyAttributes() - Method in MarkupBuilder
-
Determine whether empty attributes will appear in the produced markup.
- isOmitNullAttributes() - Method in MarkupBuilder
-
Determine whether null attributes will appear in the produced markup.
- isOneOf(int[]) - Method in CSTNode
-
Returns true if this node's meaning matches any of the specified types.
- isOneX(org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- isOrdinaryClass() - Method in ArrayClassDocWrapper
-
Indicates whether this element represents an ordinary class.
- Returns:
true if this element is an ordinary class
- isOrdinaryClass() - Method in ExternalGroovyClassDoc
-
Indicates whether this element represents an ordinary class.
- Returns:
true if this element is an ordinary class
- isOrdinaryClass() - Method in GroovyDoc
-
Indicates whether this element represents an ordinary class.
- isOrdinaryClass() - Method in SimpleGroovyDoc
-
Indicates whether this element represents an ordinary class.
- Returns:
true if this element is an ordinary class
- isOrigB() - Method in BytecodeInterface8
-
- Returns:
- true if byte has its default MetaClass
- isOrigBArray() - Method in BytecodeInterface8
-
- Returns:
- true if byte array has its default MetaClass
- isOrigBool() - Method in DefaultMetaClassInfo
-
Returns true if no metaclass creation handle is set and if
the original boolean metaclass is used.
- isOrigByte() - Method in DefaultMetaClassInfo
-
Returns true if no metaclass creation handle is set and if
the original byte metaclass is used.
- isOrigC() - Method in BytecodeInterface8
-
- Returns:
- true if char has its default MetaClass
- isOrigCArray() - Method in BytecodeInterface8
-
- Returns:
- true if char array has its default MetaClass
- isOrigChar() - Method in DefaultMetaClassInfo
-
Returns true if no metaclass creation handle is set and if
the original char metaclass is used.
- isOrigD() - Method in BytecodeInterface8
-
- Returns:
- true if double has its default MetaClass
- isOrigDArray() - Method in BytecodeInterface8
-
- Returns:
- true if double array has its default MetaClass
- isOrigDouble() - Method in DefaultMetaClassInfo
-
Returns true if no metaclass creation handle is set and if
the original double metaclass is used.
- isOrigF() - Method in BytecodeInterface8
-
- Returns:
- true if float has its default MetaClass
- isOrigFArray() - Method in BytecodeInterface8
-
- Returns:
- true if float array has its default MetaClass
- isOrigFloat() - Method in DefaultMetaClassInfo
-
Returns true if no metaclass creation handle is set and if
the original float metaclass is used.
- isOrigInt() - Method in BytecodeInterface8
-
- Returns:
- true if integer has its default MetaClass
- isOrigInt() - Method in DefaultMetaClassInfo
-
Returns true if no metaclass creation handle is set and if
the original integer metaclass is used.
- isOrigIntArray() - Method in BytecodeInterface8
-
- Returns:
- true if integer array has its default MetaClass
- isOrigIntArray() - Method in DefaultMetaClassInfo
-
Returns true if no metaclass creation handle is set and if
the original integer array metaclass is used.
- isOrigL() - Method in BytecodeInterface8
-
- Returns:
- true if long has its default MetaClass
- isOrigLArray() - Method in BytecodeInterface8
-
- Returns:
- true if long array has its default MetaClass
- isOrigLong() - Method in DefaultMetaClassInfo
-
Returns true if no metaclass creation handle is set and if
the original long metaclass is used.
- isOrigS() - Method in BytecodeInterface8
-
- Returns:
- true if short has its default MetaClass
- isOrigSArray() - Method in BytecodeInterface8
-
- Returns:
- true if short array has its default MetaClass
- isOrigShort() - Method in DefaultMetaClassInfo
-
Returns true if no metaclass creation handle is set and if
the original short metaclass is used.
- isOrigZ() - Method in BytecodeInterface8
-
- Returns:
- true if boolean has its default MetaClass
- isOrigZArray() - Method in BytecodeInterface8
-
- Returns:
- true if boolean array has its default MetaClass
- isOrImplements(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in GeneralUtils
-
- isOvertypeMode() - Method in TextEditor
-
- Returns:
- true if overtype mode is active, false for insert mode
- isPackageAllowed() - Method in SecureASTCustomizer
-
- isPackagePrivate() - Method in ArrayClassDocWrapper
-
Indicates whether this element has package-private visibility.
- Returns:
true if this element is package-private
- isPackagePrivate() - Method in ExternalGroovyClassDoc
-
Indicates whether this element has package-private visibility.
- Returns:
true if this element is package-private
- isPackagePrivate() - Method in GroovyProgramElementDoc
-
Indicates whether this element has package-private visibility.
- isPackagePrivate() - Method in MetaMember
-
Indicates whether this member has package visibility.
- isPackagePrivate() - Method in SimpleGroovyProgramElementDoc
-
Indicates whether this element has package-private visibility.
- Returns:
true if this element is package-private
- isPackageScope() - Method in MethodNode
-
Checks whether this method has package scope (no explicit visibility modifier).
- isParallel() - Method in QueryableHelper
-
Indicates whether the current query is executing in parallel mode.
- isParameterized() - Method in DecompiledClassNode
-
Determines whether this class has generic type parameters by inspecting the bytecode signature.
- isParameterizedWithGStringOrGStringString(org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingSupport
-
- Parameters:
node - the node to be tested
- isParameterizedWithString(org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingSupport
-
- Parameters:
node - the node to be tested
- isParameterSpecified() - Method in ClosureExpression
-
Indicates whether one or more explicit parameters are specified for this closure.
- isPartOfConstructor() - Method in Postcondition
-
Indicates whether this postcondition was declared for a constructor.
- isPerInstanceMetaClassChange() - Method in MetaClassRegistryChangeEvent
-
Determines if this event is for a change for a single instance or all instances of the Class.
- isPermissivePropertyAccess() - Method in MetaClassImpl
-
Indicates whether permissive property access semantics are enabled.
- isPhaseComplete() - Method in ProcessingUnit
-
- isPlaceholder() - Method in GenericsType
-
Returns true if this generic type represents a type variable placeholder (e.g., T in <T>).
- isPlaceholder(org.codehaus.groovy.ast.ASTNode) - Method in PlaceholderVisitor
-
- isPositive(java.time.chrono.ChronoPeriod) - Method in DateTimeExtensions
-
Returns true if this period is positive, excluding zero.
- isPostconditionCandidate(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in CandidateChecks
-
Decides whether the given method is a candidate for a post-condition.
- isPostconditionsEnabled() - Method in ProcessingContextInformation
-
Indicates whether postcondition processing is currently enabled.
- isPostJDK10(java.lang.String) - Method in CompilerConfiguration
-
Checks if the specified bytecode version string represents a JDK 10+ compatible bytecode version.
- isPostJDK11(java.lang.String) - Method in CompilerConfiguration
-
Checks if the specified bytecode version string represents a JDK 11+ compatible bytecode version.
- isPostJDK12(java.lang.String) - Method in CompilerConfiguration
-
Checks if the specified bytecode version string represents a JDK 12+ compatible bytecode version.
- isPostJDK13(java.lang.String) - Method in CompilerConfiguration
-
Checks if the specified bytecode version string represents a JDK 13+ compatible bytecode version.
- isPostJDK14(java.lang.String) - Method in CompilerConfiguration
-
Checks if the specified bytecode version string represents a JDK 14+ compatible bytecode version.
- isPostJDK15(java.lang.String) - Method in CompilerConfiguration
-
Checks if the specified bytecode version string represents a JDK 15+ compatible bytecode version.
- isPostJDK16(java.lang.String) - Method in CompilerConfiguration
-
Checks if the specified bytecode version string represents a JDK 16+ compatible bytecode version.
- isPostJDK17(java.lang.String) - Method in CompilerConfiguration
-
Checks if the specified bytecode version string represents a JDK 17+ compatible bytecode version.
- isPostJDK18(java.lang.String) - Method in CompilerConfiguration
-
Checks if the specified bytecode version string represents a JDK 18+ compatible bytecode version.
- isPostJDK5(java.lang.String) - Method in CompilerConfiguration
-
Checks if the specified bytecode version string represents a JDK 1.5+ compatible
bytecode version.
- isPostJDK7(java.lang.String) - Method in CompilerConfiguration
-
Checks if the specified bytecode version string represents a JDK 1.7+ compatible
bytecode version.
- isPostJDK8(java.lang.String) - Method in CompilerConfiguration
-
Checks if the specified bytecode version string represents a JDK 1.8+ compatible
bytecode version.
- isPostJDK9(java.lang.String) - Method in CompilerConfiguration
-
Checks if the specified bytecode version string represents a JDK 9+ compatible
bytecode version.
- isPreconditionCandidate(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in CandidateChecks
-
Decides whether the given method is a candidate for a pre-condition.
- isPreconditionsEnabled() - Method in ProcessingContextInformation
-
Indicates whether precondition processing is currently enabled.
- isPrefixRegistered(java.lang.String, java.lang.String) - Method in XmlNodePrinter.NamespaceContext
-
Checks whether a prefix is already registered for the supplied namespace URI.
- isPreOrPostconditionCandidate(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in CandidateChecks
-
Decides whether the given method is a candidate for a pre- or postcondition.
- isPresent() - Method in Groovydoc
-
Tests if groovydoc is present
- isPreserveWhitespace() - Method in XmlNodePrinter
-
Check if whitespace preservation is enabled.
- isPreviewFeatures() - Method in CompilerConfiguration
-
Whether the bytecode version has preview features enabled (JEP 12)
- isPrimaryClassNode() - Method in ClassNode
-
Determines whether this ClassNode is a primary node or redirects to one.
- isPrimaryNode - Field in ClassNode
-
- isPrimitive() - Method in ArrayClassDocWrapper
-
Indicates whether this type is a Java primitive type.
- Returns:
true if this type is primitive
- isPrimitive - Field in CachedClass
-
true if the cached class is a primitive type, false otherwise.
- isPrimitive() - Method in ExternalGroovyClassDoc
-
Indicates whether this type is a Java primitive type.
- Returns:
true if this type is primitive
- isPrimitive() - Method in GroovyType
-
Indicates whether this type is a Java primitive type.
- isPrimitive() - Method in SimpleGroovyClassDoc
-
Indicates whether this type is a Java primitive type.
- Returns:
true if this type is primitive
- isPrimitive() - Method in SimpleGroovyType
-
Indicates whether this type is a Java primitive type.
- Returns:
true if this type is primitive
- isPrimitiveBoolean(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isPrimitiveByte(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isPrimitiveChar(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isPrimitiveDouble(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isPrimitiveFloat(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isPrimitiveInt(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isPrimitiveLong(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isPrimitiveShort(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isPrimitiveType(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
Test to determine if a ClassNode is a primitive type.
- isPrimitiveType(org.codehaus.groovy.ast.ClassNode) - Method in TypeUtil
-
- isPrimitiveVoid(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isPrivate() - Method in ArrayClassDocWrapper
-
Indicates whether this element is declared
private.
- Returns:
true if this element is private
- isPrivate() - Method in ExternalGroovyClassDoc
-
Indicates whether this element is declared
private.
- Returns:
true if this element is private
- isPrivate() - Method in GroovyProgramElementDoc
-
Indicates whether this element is declared private.
- isPrivate() - Method in MetaMember
-
Indicates whether this member is declared private.
- isPrivate() - Method in MethodNode
-
Checks whether this method is declared as private.
- isPrivate() - Method in SimpleGroovyProgramElementDoc
-
Indicates whether this element is declared
private.
- Returns:
true if this element is private
- isPrivate() - Method in Variable
-
Returns true if this variable is declared with the private modifier.
- isPrivateBridgeMethodsCallAllowed(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in StaticInvocationWriter
-
- isProtected() - Method in ArrayClassDocWrapper
-
Indicates whether this element is declared
protected.
- Returns:
true if this element is protected
- isProtected() - Method in ExternalGroovyClassDoc
-
Indicates whether this element is declared
protected.
- Returns:
true if this element is protected
- isProtected() - Method in GroovyProgramElementDoc
-
Indicates whether this element is declared protected.
- isProtected() - Method in MetaMember
-
Indicates whether this member is declared protected.
- isProtected() - Method in MethodNode
-
Checks whether this method is declared as protected.
- isProtected() - Method in SimpleGroovyProgramElementDoc
-
Indicates whether this element is declared
protected.
- Returns:
true if this element is protected
- isProtected() - Method in Variable
-
Returns true if this variable is declared with the protected modifier.
- isPublic() - Method in ArrayClassDocWrapper
-
Indicates whether this element is declared
public.
- Returns:
true if this element is public
- isPublic() - Method in ExternalGroovyClassDoc
-
Indicates whether this element is declared
public.
- Returns:
true if this element is public
- isPublic() - Method in GroovyProgramElementDoc
-
Indicates whether this element is declared public.
- isPublic() - Method in MetaMember
-
Indicates whether this member is declared public.
- isPublic() - Method in MethodNode
-
Checks whether this method is declared as public.
- isPublic() - Method in SimpleGroovyProgramElementDoc
-
Indicates whether this element is declared
public.
- Returns:
true if this element is public
- isPublic() - Method in Variable
-
Returns true if this variable is declared with the public modifier.
- isQuiet() - Method in IO
-
Check if the verbosity level is set to Verbosity#QUIET#QUIET.
- isReceiver() - Method in Parameter
-
Returns true if this parameter represents a receiver parameter (named "this")
as specified by JSR 308.
- isRecompilable(java.lang.Class) - Method in GroovyClassLoader
-
Indicates if a class is recompilable.
- isRecord() - Method in ArrayClassDocWrapper
-
Indicates whether this element represents a record type.
- Returns:
true if this element is a record
- isRecord() - Method in ClassNode
-
Checks if the
ClassNode instance represents a native
record.
- isRecord() - Method in ExternalGroovyClassDoc
-
Indicates whether this element represents a record type.
- Returns:
true if this element is a record
- isRecord() - Method in GroovyDoc
-
Indicates whether this element represents a record type.
- isRecord() - Method in SimpleGroovyDoc
-
Indicates whether this element represents a record type.
- Returns:
true if this element is a record
- isRecursive(org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.ast.expr.StaticMethodCallExpression) - Method in RecursivenessTester
-
- isRedirectNode() - Method in ClassNode
-
Returns whether this
ClassNode is a redirect (proxy) node for another ClassNode.
- isReferencedClassVariable(java.lang.String) - Method in VariableScope
-
Returns true if the specified variable name is in the referenced class variables map.
- isReferencedLocalVariable(java.lang.String) - Method in VariableScope
-
Returns true if the specified variable name is in the referenced local variables map.
- isRelevant(int) - Method in WarningMessage
-
Returns true if this message is as or more important than the
specified importance level.
- isRepeatable() - Method in ModifierNode
-
Checks whether this modifier supports repetition (stacking).
- isResolved() - Method in ClassNode
-
Determines whether this ClassNode has been resolved to an actual Java class.
- isResolved() - Method in DecompiledClassNode
-
Reports that this class node is fully resolved from bytecode.
- isResolved() - Method in GenericsType
-
Returns true if this generic type has been resolved during compilation phases.
- isResource(org.codehaus.groovy.ast.expr.Expression) - Method in TryCatchStatement
-
Checks if an
Expression is marked as a resource in a try-with-resources block.
- isReturningNullOrVoid() - Method in ReturnStatement
-
Checks whether this return statement returns null or void.
- isReverse() - Method in EmptyRange
-
Never true for an empty range.
- isReverse() - Method in IntRange
-
Indicates whether this is a reverse range which iterates backwards
starting from the to value and ending on the from value
- Returns:
true if this is a reverse range
- isReverse() - Method in NumberRange
-
Indicates whether this is a reverse range which iterates backwards
starting from the to value and ending on the from value
- Returns:
true if this is a reverse range
- isReverse() - Method in ObjectRange
-
Indicates whether this is a reverse range which iterates backwards
starting from the to value and ending on the from value
- Returns:
true if this is a reverse range
- isReverse() - Method in Range
-
Indicates whether this is a reverse range which iterates backwards
starting from the to value and ending on the from value
- isRoot() - Method in VariableScope
-
Returns true if this is a root scope (no parent).
- isRowfill() - Method in TableLayoutCell
-
Returns the rowfill.
- isRunningAndroid() - Method in AndroidSupport
-
- isRuntimeClass(org.codehaus.groovy.ast.ClassNode) - Method in CandidateChecks
-
Checks whether the given
ClassNode is part of the Groovy/Java runtime.
- isRuntimeGroovydocEnabled() - Method in CompilerConfiguration
-
Checks if runtime groovydoc is enabled.
- isSafe() - Method in BinaryExpression
-
Indicates whether this binary expression uses safe navigation.
- isSafe() - Method in MethodCallExpression
-
Indicates whether this is a safe method call.
- isSafe() - Method in PropertyExpression
-
- Returns:
- is this a safe navigation, i.e. if true then if the source object
is null then this navigation will return null
- isSame(groovy.lang.MetaMethod) - Method in MetaMethod
-
Determines if the given method has the same name, parameters, return type
and modifiers but may be defined on another type.
- isSameCompilationUnit(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in BytecodeHelper
-
Returns true if the two classes share the same compilation unit.
- isSameMetaClass(groovy.lang.MetaClass, java.lang.Object) - Method in IndyGuardsFiltersAndSignatures
-
called by handle
- isSAMType(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isSaveStreams() - Method in AntBuilder
-
Whether stdin, stdout, stderr streams are saved.
- isScaleIconsWithFont() - Method in Console
-
Returns whether toolbar icons follow the editor font size.
- isScript() - Method in ClassNode
-
Returns whether this
ClassNode represents a Groovy script body.
- isScript() - Method in SimpleGroovyDoc
-
Indicates whether this documented element represents a Groovy script.
- isScriptBody() - Method in ClassNode
-
Returns whether this inner class or closure was declared inside a script body.
- isScriptBody() - Method in MethodNode
-
Checks whether this method is the run method from a script execution.
- isSealed() - Method in ClassNode
-
- Returns:
true for native and emulated (annotation based) sealed classes
- isSealed() - Method in DecompiledClassNode
-
Determines if this class is sealed, checking both Java sealed class annotations
and Groovy @Sealed transform annotations.
- isSealed() - Method in InnerClassNode
-
Checks if this inner class is sealed per JLS 15.9.5, returning false for anonymous classes
since they cannot be further subclassed.
- isSealed(Class<?>) - Method in ReflectionUtils
-
- isSecondPassNeededForControlStructure(Map<VariableExpression,ClassNode>, Map<VariableExpression,List<ClassNode>>) - Method in StaticTypeCheckingVisitor
-
- isSelected() - Method in ClosureRenderer
-
Returns whether the current cell is selected.
- isSerializable() - Method in ArrayClassDocWrapper
-
Indicates whether this type implements
Serializable.
- Returns:
true if this type is serializable
- isSerializable() - Method in ExternalGroovyClassDoc
-
Indicates whether this type implements
Serializable.
- Returns:
true if this type is serializable
- isSerializable() - Method in GroovyClassDoc
-
- isSerializable() - Method in LambdaExpression
-
- isSerializable() - Method in SimpleGroovyClassDoc
-
Indicates whether this type implements
Serializable.
- Returns:
true if this type is serializable
- isSet(java.lang.String) - Method in ConfigObject
-
Checks if a config option is set.
- isSetter(java.lang.String, org.codehaus.groovy.reflection.CachedClass) - Method in ExpandoMetaClass
-
Determines whether the supplied method signature represents a Groovy bean setter.
- isShort(java.lang.Number) - Method in NumberMath
-
- isShouldRecompile() - Method in GroovyClassLoader
-
gets the currently set recompilation mode. null means, the
compiler configuration is used.
- isShouldRecompile() - Method in GroovyClassLoader.InnerLoader
-
gets the currently set recompilation mode. null means, the
compiler configuration is used. False means no recompilation and
true means that recompilation will be done if needed.
- Returns:
- the recompilation mode
- isSkipMode(org.codehaus.groovy.ast.AnnotatedNode) - Method in StaticTypeCheckingVisitor
-
- isSkippedInnerClass(org.codehaus.groovy.ast.AnnotatedNode) - Method in StaticTypeCheckingVisitor
-
Tests if a node is an inner class node, and if it is, then checks if the enclosing method is skipped.
- isSmartInnerJoin() - Method in JoinExpression
-
Indicates whether this clause is a smart inner join.
- isSorted(T, Closure<?>) - Method in ArrayGroovyMethods
-
Determines if the array is sorted using the given Closure to determine order.
- isSorted(Map<K,V>, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
Determines if the Map entries are sorted using the given Closure to determine order.
- isSourceNewer(java.net.URL, java.lang.Class) - Method in GroovyClassLoader
-
Decides if the given source is newer than a class.
- isSourceNewer(groovy.util.GroovyScriptEngine.ScriptCacheEntry) - Method in GroovyScriptEngine
-
Determines whether a cached script or one of its dependencies should be recompiled.
- isSourceUnit() - Method in ClassNodeResolver.LookupResult
-
returns true if a SourceUnit is stored
- isSpecialCall() - Method in ConstructorCallExpression
-
Indicates whether this is a special constructor call (this() or super()).
- isSpreadSafe() - Method in MethodCallExpression
-
Indicates whether this method call uses spread-safe navigation.
- isSpreadSafe() - Method in PropertyExpression
-
- isStar() - Method in ImportNode
-
- isStatic() - Method in ArrayClassDocWrapper
-
Indicates whether this element is declared
static.
- Returns:
true if this element is static
- isStatic - Field in ExpandoMetaClass.ExpandoMetaProperty
-
Indicates whether the current expando member is static.
- isStatic() - Method in ExternalGroovyClassDoc
-
Indicates whether this element is declared
static.
- Returns:
true if this element is static
- isStatic() - Method in GroovyProgramElementDoc
-
Indicates whether this element is declared static.
- isStatic() - Method in ImportNode
-
- isStatic(org.codehaus.groovy.ast.InnerClassNode) - Method in InnerClassVisitorHelper
-
- isStatic() - Method in MetaMember
-
Indicates whether this member is declared static.
- isStatic() - Method in MethodNode
-
Checks whether this method is declared as static.
- isStatic() - Method in MissingMethodException
-
- Returns:
- Whether the method was called in a static way,
i.e. on a class rather than an object.
- isStatic() - Method in NewInstanceMetaMethod
-
- isStatic() - Method in NewStaticMetaMethod
-
- isStatic() - Method in PropertyExpression
-
- isStatic() - Method in SimpleGroovyProgramElementDoc
-
Indicates whether this element is declared
static.
- Returns:
true if this element is static
- isStatic() - Method in Variable
-
Returns true if this variable is declared with the static modifier.
- isStaticallyCompiled(org.codehaus.groovy.ast.AnnotatedNode) - Method in StaticCompilationVisitor
-
- isStaticClass() - Method in ClassNode
-
Returns whether this inner class or closure was declared inside a static method context.
- isStaticConstantInitializerType(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
Test to determine if a ClassNode is a type belongs to the list of types which
are allowed to initialize constants directly in bytecode instead of using <cinit>
- isStaticConstructor() - Method in DelegatingController
-
- isStaticConstructor() - Method in MethodNode
-
Checks whether this method is a static initializer (<clinit>).
- isStaticConstructor() - Method in WriterController
-
Returns true if the current method is a static class initializer (<clinit>).
- isStaticContext() - Method in DelegatingController
-
- isStaticContext() - Method in WriterController
-
Determines whether the current execution context is statically scoped.
- isStaticExtension() - Method in ExtensionMethodNode
-
- isStaticMethod() - Method in DelegatingController
-
- isStaticMethod() - Method in WriterController
-
Returns true if the current method is explicitly declared as static.
- isStaticMethodCallOnClass(org.codehaus.groovy.ast.expr.MethodCall, org.codehaus.groovy.ast.ClassNode) - Method in TypeCheckingExtension
-
Given a method call, checks if it's a static method call and if it is, tells if the receiver matches
the one supplied as an argument.
- isStrict() - Method in CastExpression
-
Indicates whether this uses strict Java cast (CHECKCAST bytecode) instead of Groovy coercion.
- isStringType(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isStub(org.codehaus.groovy.ast.AnnotatedNode) - Method in StubberSupport
-
Returns true when node carries the stubber-placeholder tag.
- isSubtype(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in ClassNodeUtils
-
Determines if given class is, extends or implements a class or interface.
- isSuccess() - Method in AwaitResult
-
Returns true if this result represents a successful completion.
- isSuperCall() - Method in ConstructorCallExpression
-
Indicates whether this is a super() constructor call.
- isSuperclass(java.lang.Class, java.lang.Class) - Method in MetaClassHelper
-
- isSuperExpression(org.codehaus.groovy.ast.expr.Expression) - Method in ExpressionUtils
-
Checks whether the supplied expression references super.
- isSuperExpression(org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypeCheckingVisitor
-
- isSuperExpression() - Method in VariableExpression
-
Indicates whether this variable expression represents the super keyword.
- isSynchronized() - Method in GroovyExecutableMemberDoc
-
Indicates whether this executable is declared synchronized.
- isSynchronized() - Method in SimpleGroovyExecutableMemberDoc
-
Indicates whether this executable is declared
synchronized.
- Returns:
true if this executable is synchronized
- isSynthetic() - Method in AnnotatedNode
-
Checks whether this node was added by the compiler (synthetic).
- isSynthetic() - Method in CachedConstructor
-
Returns whether this constructor is synthetic (generated by the compiler).
- isSynthetic() - Method in CachedMethod
-
Returns whether this method is synthetic (generated by the compiler).
- isSynthetic() - Method in GroovyMemberDoc
-
Indicates whether this member was synthesized rather than declared directly in source.
- isSynthetic() - Method in MetaMember
-
Indicates whether this member is synthetic from the JVM's perspective.
- isSynthetic() - Method in SimpleGroovyMemberDoc
-
Indicates whether this member was synthesized rather than declared directly in source.
- Returns:
true if this member is synthetic
- isSyntheticPublic() - Method in ClassNode
-
Indicates that this class has been "promoted" to public by Groovy when in
fact there was no public modifier explicitly in the source code.
- isSyntheticPublic() - Method in MethodNode
-
Checks whether this method was synthesized as public by Groovy's default visibility rule.
- isSystemDarkMode() - Method in ThemeManager
-
Returns whether the operating system appearance currently resolves to dark.
- isTableHeader() - Method in ClosureRenderer
-
Returns whether table rendering uses the table-header renderer.
- isTabsAsSpaces(boolean) - Method in TextEditor
-
Enables or disables replacing typed tab characters with spaces.
- isTargetAllowed(int) - Method in AnnotationNode
-
- isTargetOfEnclosingAssignment(org.codehaus.groovy.ast.expr.Expression) - Method in TypeCheckingContext
-
- isThisCall() - Method in ConstructorCallExpression
-
Indicates whether this is a this() constructor call.
- isThisExpression(org.codehaus.groovy.ast.expr.Expression) - Method in ExpressionUtils
-
Checks whether the supplied expression references this.
- isThisExpression(org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypeCheckingVisitor
-
- isThisExpression() - Method in VariableExpression
-
Indicates whether this variable expression represents the this keyword.
- isThisOrSuper(org.codehaus.groovy.ast.expr.Expression) - Method in ExpressionUtils
-
Checks whether the supplied expression references this or super.
- isTrait() - Method in SimpleGroovyDoc
-
Indicates whether this documented element represents a trait.
- isTrait(Class<?>) - Method in Traits
-
Returns true if the specified class is a trait.
- isTraitSelf(org.codehaus.groovy.ast.expr.VariableExpression) - Method in StaticTypeCheckingSupport
-
- isTransient() - Method in GroovyFieldDoc
-
Indicates whether this field is declared transient.
- isTransient() - Method in SimpleGroovyFieldDoc
-
Indicates whether this field is declared
transient.
- Returns:
true if this field is transient
- isTrimWhitespace() - Method in XmlParser
-
Returns the current trim whitespace setting.
- isTrue(boolean) - Method in Validate
-
Asserts that the supplied expression evaluates to true.
- isTrueExpression() - Method in ConstantExpression
-
Indicates whether this constant expression represents the boolean true value.
- isTrueX(org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- isTypeAvailable() - Method in SimpleGroovyAnnotationRef
-
Indicates whether the annotation type has been resolved.
- isTypeAvailable() - Method in SimpleGroovyParameter
-
Indicates whether the parameter type has been resolved.
- isTypeOrArrayOfType(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode, boolean) - Method in ExpressionUtils
-
Determines if a type matches another type (or array thereof).
- isUnboundedWildcard(org.codehaus.groovy.ast.GenericsType) - Method in StaticTypeCheckingSupport
-
- isUndefined(org.codehaus.groovy.ast.ClassNode) - Method in Undefined
-
Tests whether the supplied class node is the undefined class sentinel.
- isUndefinedException(org.codehaus.groovy.ast.ClassNode) - Method in Undefined
-
Tests whether the supplied class node is the undefined exception sentinel.
- isUnwrapped() - Method in TextEditor
-
- Returns:
- true if text wrapping is disabled
- isUpperCase(java.lang.Character) - Method in DefaultGroovyMethods
-
Determines if a Character is uppercase.
- isUseDoubleQuotes() - Method in TemplateConfiguration
-
- Returns:
- true if attributes should use double quotes instead of single quotes
- isUseReferenceDirectly() - Method in FieldExpression
-
- isUseReferenceDirectly() - Method in VariableExpression
-
For internal compiler use only.
- isUseReflection() - Method in GroovySystem
-
Indicates whether the legacy reflection-only runtime mode is enabled.
- isUsingAnonymousInnerClass() - Method in ConstructorCallExpression
-
Indicates whether this constructor call uses an anonymous inner class.
- isUsingCustomTheme() - Method in ThemeManager
-
True iff the theme currently in use is loaded from a user-supplied file.
- isUsingGenerics() - Method in ClassNode
-
- isUsingGenerics() - Method in DecompiledClassNode
-
Indicates whether this class is using generic types.
- isUsingGenerics() - Method in MethodCallExpression
-
Indicates whether generic type parameters are specified for this method call.
- isUsingGenericsOrIsArrayUsingGenerics(org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingSupport
-
Returns true if a class makes use of generic types.
- isUsingUncheckedGenerics(org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingSupport
-
Returns true if the provided class node, when considered as a receiver of a message or as a parameter,
is using a placeholder in its generics type.
- isVal() - Method in ModifierNode
-
Checks whether this node specifically represents the 'val' modifier.
- isValid() - Method in DefaultMetaClassInfo.ConstantMetaClassVersioning
-
- isValidAccessorName(java.lang.String) - Method in ClassNodeUtils
-
Determines if the given accessor name starts with "get", "set" or "is"
followed by at least one character.
- isValidating() - Method in XmlParser
-
Determine if the parser validates documents.
- isValidating() - Method in XmlSlurper
-
Determine if the parser validates documents.
- isValidAttribute(org.codehaus.groovy.transform.AbstractASTTransformation, org.codehaus.groovy.ast.AnnotationNode, java.lang.String) - Method in PropertyHandler
-
Checks whether the named annotation attribute is unsupported for this handler.
- isValidExactMethod(java.lang.Class) - Method in ParameterTypes
-
Checks if the given argument types exactly match this method's parameter types.
- isValidExpandoProperty(java.lang.String) - Method in ExpandoMetaClass
-
Checks whether a property name is available for the expando DSL.
- isValidMethod(java.lang.Class) - Method in GeneratedMetaMethod.Proxy
-
- isValidMethod(java.lang.Object) - Method in ParameterTypes
-
Checks if the given actual arguments are valid for this method, considering varargs conversion.
- isValidOutputArea(java.lang.String) - Method in MockOutputTool
-
Returns
true if
makeOutputArea was previously called with the given filename.
- isVarArgs() - Method in GroovyExecutableMemberDoc
-
Indicates whether the executable accepts a variable number of arguments.
- isVarArgs() - Method in SimpleGroovyExecutableMemberDoc
-
Indicates whether the executable accepts a variable number of arguments.
- Returns:
true if this executable is variadic
- isVargs(org.codehaus.groovy.ast.Parameter) - Method in ParameterUtils
-
Checks if the last parameter in the array is a varargs parameter (array type).
- isVargs - Field in Selector
-
- isVargsMethod(java.lang.Object) - Method in ParameterTypes
-
Checks if this varargs method should treat arguments as a varargs invocation.
- isVerbose() - Method in IO
-
Check if the verbosity level is set to Verbosity#VERBOSE#VERBOSE.
- isVerbose() - Method in SimpleTemplateEngine
-
Indicates whether generated template scripts are printed during compilation.
- isVirtualThreadsAvailable() - Method in AsyncSupport
-
Returns true if running on JDK 21+ with virtual thread support.
- isVirtualThreadsAvailable() - Method in Awaitable
-
Returns true if the running JVM supports virtual threads (JDK 21+).
- isVisibilityModifier() - Method in ModifierNode
-
Checks whether this modifier controls visibility (public, protected, private).
- isVoid() - Method in CachedClass
-
Returns whether this class represents the void type.
- isVoidMethod() - Method in MethodNode
-
Checks whether this method returns void.
- isVolatile() - Method in GroovyFieldDoc
-
Indicates whether this field is declared volatile.
- isVolatile() - Method in SimpleGroovyFieldDoc
-
Indicates whether this field is declared
volatile.
- Returns:
true if this field is volatile
- isVolatile() - Method in Variable
-
Returns true if this variable is declared with the volatile modifier,
indicating that memory visibility is required for multi-threaded access.
- isWeekday(java.time.DayOfWeek) - Method in DateTimeExtensions
-
Returns true if the DayOfWeek is a weekday.
- isWeekend(java.time.DayOfWeek) - Method in DateTimeExtensions
-
Returns true if this day of the week is a weekend day (Saturday or Sunday).
- isWhitespace(java.lang.Character) - Method in DefaultGroovyMethods
-
Determines if a character is a whitespace character.
- isWildcard() - Method in GenericsType
-
Returns true if this generic type represents a wildcard (e.g., ?
- isWildcardLeftHandSide(org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingSupport
-
Tells if a class is one of the "accept all" classes as the left hand side of an
assignment.
- isWithCall(java.lang.String, org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypeCheckingSupport
-
Called on method call checks in order to determine if a method call corresponds to the
idiomatic o.with { ... } structure
- isWithinBatch() - Method in Sql
-
Returns true if the current Sql object is currently executing a withBatch
method call.
- isWrapped() - Method in ListExpression
-
- isWrapperBoolean(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isWrapperByte(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isWrapperCharacter(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isWrapperDouble(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isWrapperFloat(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isWrapperInteger(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isWrapperLong(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isWrapperShort(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isWrapperVoid(org.codehaus.groovy.ast.ClassNode) - Method in ClassHelper
-
- isZeroX(org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- ITALIC - Field in StructuredSyntaxHandler
-
Style attribute name for italic text.
- items() - Method in LazyValueMap
-
Give me the items in the map without hydrating the map.
Realize that the array is likely larger than the length so array items can be null.
- items() - Method in ValueMap
-
Give me the items in the map without hydrating the map.
- items() - Method in ValueMapImpl
-
Give me the items in the map without hydrating the map.
Realize that the array is likely larger than the length so array items can be null.
- ITERABLE_TYPE - Field in StaticTypeCheckingVisitor
-
- iterable() - Method in Weighers
-
A weigher where the value is a
Iterable and its weight is the
number of elements.
- Iterables - Class in groovy.util
Provides some iterable based generators.
- iterate(T, UnaryOperator<T>) - Method in Iterators
-
An iterator providing infinite elements using a seed and a UnaryOperator to produce the next element
from the previous one.
- iterateClassNodeToCompile() - Method in CompileUnit
-
Returns an iterator over the names of classes pending compilation.
- iterator(T) - Method in ArrayGroovyMethods
-
Returns an Iterator which traverses the given array in index order.
- iterator() - Method in ArrayIterable
-
{@inheritDoc}
- iterator() - Method in AssertionMap
-
Returns an iterator over the stored method/assertion pairs.
- iterator() - Method in Attribute
-
{@inheritDoc}
- iterator() - Method in Attributes
-
{@inheritDoc}
- iterator() - Method in CompilationUnit
-
Returns an iterator on the unit's SourceUnits.
- iterator() - Method in DefaultAsyncChannel
-
Returns a blocking iterator that receives values until the channel
is closed and drained.
- iterator(T) - Method in DefaultGroovyMethods
-
- iterator() - Method in DoubleArrayIterable
-
{@inheritDoc}
- iterator() - Method in FileScanner
-
Returns an iterator over the files matched by the configured file sets.
- iterator() - Method in FloatArrayIterable
-
{@inheritDoc}
- iterator() - Method in GPathResult
-
{@inheritDoc}
- iterator() - Method in GroovyRunnerRegistry
-
Returns an iterator for all runners that are registered.
- iterator() - Method in IntArrayIterable
-
{@inheritDoc}
- iterator() - Method in IntRange
-
{@inheritDoc}
- iterator(java.io.DataInputStream) - Method in IOGroovyMethods
-
Standard iterator for a data input stream which iterates through the
stream content a Byte at a time.
- iterator() - Method in LifecycleImplementationLoader
-
Returns an iterator over already loaded providers followed by lazily discovered providers.
- iterator() - Method in ListWithDefault
-
{@inheritDoc}
- iterator() - Method in ListWrapperListModel
-
Returns an iterator over the backing list.
- iterator() - Method in LongArrayIterable
-
{@inheritDoc}
- iterator() - Method in ManagedConcurrentLinkedQueue
-
Returns an iterator over all non-null values in this queue.
- iterator() - Method in MarkdownDocument
-
Returns an iterator over the document's top-level nodes.
- iterator() - Method in MetaClassRegistry
-
Gets a snapshot of the current constant metaclasses and returns it as Iterator.
- iterator() - Method in MetaClassRegistryImpl
-
Returns an iterator to iterate over all constant metaclasses.
- iterator() - Method in NoChildren
-
Returns an empty Iterator.
- iterator() - Method in Node
-
Returns an Iterator of the children of the node.
- iterator() - Method in NodeChild
-
{@inheritDoc}
- iterator() - Method in NodeChildren
-
{@inheritDoc}
- iterator() - Method in NullObject
-
iterator() method to be able to iterate on null.
- iterator() - Method in NumberRange
-
{@inheritDoc}
- iterator() - Method in ObjectRange
-
{@inheritDoc}
- iterator() - Method in ObservableList
-
{@inheritDoc}
- iterator() - Method in ObservableSet
-
{@inheritDoc}
- iterator() - Method in Proxy
-
Returns an iterator over the adaptee.
- iterator(java.sql.ResultSetMetaData) - Method in SqlExtensions
-
Return an Iterator given a ResultSetMetaData.
- iterator(java.util.regex.Matcher) - Method in StringGroovyMethods
-
Returns an
Iterator which traverses each match.
- iterator(javax.swing.JTabbedPane) - Method in SwingExtensions
-
Returns an
Iterator which traverses the JTabbedPane one Component tab at a time.
- iterator() - Method in TupleExpression
-
Returns an unmodifiable iterator over the expressions in this tuple.
- iterator() - Method in ValueList
-
Returns an iterator after materializing all pending
Value entries.
- iterator() - Method in WritablePath
-
{@inheritDoc}
- iterator(groovy.util.NodeList) - Method in XmlExtensions
-
Makes NodeList iterable by returning a read-only Iterator which traverses
over each Node.
- IteratorBufferedIterator - Class in org.codehaus.groovy.util
An implementation for BufferedIterator wraps Iterator.
- IteratorBufferedIterator(Iterator<T>) - Constructor in IteratorBufferedIterator
-
Creates a buffered iterator that can peek into the supplied iterator.
- IteratorClosureAdapter - Class in org.codehaus.groovy.runtime
A closure which stores calls in a List so that method calls
can be iterated over in a 'yield' style way
- IteratorClosureAdapter(java.lang.Object) - Constructor in IteratorClosureAdapter
-
- Iterators - Class in groovy.util
Provides some iterator based generators.
- iuml - Field in Entity
-
Entity reference ï.
- IvyGrabRecord - Class in groovy.grape.ivy
Value object describing a grabbed Ivy dependency.
- IvyGrabRecord() - Constructor in IvyGrabRecord
-
- ivyInstance - Property in GrapeIvy
-
Active Ivy instance used for dependency resolution.
- PACKAGE() - Method in GroovyParser.KeywordsContext
-
- PACKAGE() - Method in GroovyParser.PackageDeclarationContext
-
- PACKAGE_POSTFIX - Field in Configurator
-
Suffix used by the JVM to denote package-wide assertion configuration.
- PACKAGE_PREFIX - Field in Configurator
-
Separator between assertion flags and package or class names.
- PACKAGE_PRIVATE - Enum Constant in Visibility
-
Package-private visibility.
- PACKAGE_TARGET - Field in AnnotationNode
-
- packageDeclaration() - Method in GroovyParser
-
- packageDeclaration() - Method in GroovyParser.CompilationUnitContext
-
- PackageDeclarationContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.PackageDeclarationContext
-
- PackageHelper - Class in org.apache.groovy.groovysh.jline
Discovers classes and package entries from file systems, jars, and Groovy class loaders.
- packageNamed(java.lang.String) - Method in GroovyRootDoc
-
Resolves a package by name.
- packageNamed(java.lang.String) - Method in SimpleGroovyRootDoc
-
Resolves a package by name.
- Parameters:
arg0 - the package name to resolve
- Returns:
- the matching package documentation, or
null if none exists
- PackageNode - Class in org.codehaus.groovy.ast
Represents a package in the AST.
- PackageNode(java.lang.String) - Constructor in PackageNode
-
- PackageScope - Annotation Type in groovy.transform
Annotation used for turning off Groovy's auto visibility conventions.
- PackageScopeASTTransformation - Class in org.codehaus.groovy.transform
Handles transformation for the
- PackageScope:
- annotation.
- PackageScopeTarget - Enum in groovy.transform
Intended target when @PackageScope is placed at the class level.
- padLeft(java.lang.CharSequence, java.lang.Number, java.lang.CharSequence) - Method in StringGroovyMethods
-
Pads a CharSequence to a minimum length specified by numberOfChars, adding the supplied
padding CharSequence as many times as needed to the left.
- padRight(java.lang.CharSequence, java.lang.Number, java.lang.CharSequence) - Method in StringGroovyMethods
-
Pads a CharSequence to a minimum length specified by numberOfChars, adding the supplied padding
CharSequence as many times as needed to the right.
- paintIcon(java.awt.Component, java.awt.Graphics, int, int) - Method in Icons.DynamicSVGIcon
-
Paints the enabled or disabled delegate icon for the target component.
- para - Field in Entity
-
Entity reference ¶.
- Parallel - Annotation Type in groovy.transform
Runs each iteration of an annotated for loop in parallel
using the current pool or default executor, with structured completion.
- parallel - Field in GQ
-
Whether to enable parallel querying
- Default:
- false
- PARALLEL_PARSE - Field in CompilerConfiguration
-
Optimization Option for enabling parallel parsing.
- ParallelASTTransformation - Class in org.codehaus.groovy.transform
Local AST transform for
Parallel: rewrites annotated
for-in loops into
collection.eachParallel { item -> body }.
- ParallelCollectionExtensions - Class in org.codehaus.groovy.runtime
DGM-like extension methods that add parallel collection operations
to
Collection.
- ParallelScope - Class in groovy.concurrent
Convenience API for running work within a pool-isolated
AsyncScope.
- param(org.codehaus.groovy.ast.ClassNode, java.lang.String, org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- param() - Method in GroovyTag
-
The optional parameter for tags like "throws" and "param".
- param() - Method in SimpleGroovyTag
-
The optional parameter for tags like "throws" and "param".
- paramCount - Field in DefaultJsonGenerator.ClosureConverter
-
Number of parameters expected by the conversion closure.
- Parameter - Class in org.codehaus.groovy.ast
Represents a parameter in a method or constructor declaration.
- parameter(Map<String, Class>, groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a Parameter.
- Parameter(org.codehaus.groovy.ast.ClassNode, java.lang.String, org.codehaus.groovy.ast.expr.Expression) - Constructor in Parameter
-
Creates a parameter with a type, name, and default value expression.
- PARAMETER_TARGET - Field in AnnotationNode
-
- PARAMETER_TERMINATORS - Field in Types
-
- PARAMETER_TYPE - Enum Constant in StaticTypesMarker
-
used to store the parameter type of method invocation on an expression
- parameterAnnotations - Field in Delegate
-
Whether to carry over annotations from the parameters of delegate
methods to your delegating method.
- parameterAnnotations - Field in InheritConstructors
-
Whether to carry over parameter annotations on the copied constructors.
- parameterizeArguments(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in StaticTypeCheckingSupport
-
Given a receiver and a method node, parameterize the method arguments using
available generic type information.
- parameterizedType(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in TypeCheckingExtension
-
- parameterizeInterfaceGenerics(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in GenericsUtils
-
- parameterizeSAM(org.codehaus.groovy.ast.ClassNode) - Method in GenericsUtils
-
Gets the parameter and return types of the abstract method of SAM.
- parameterizeType(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in GenericsUtils
-
- parameters(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a Parameter[].
- parameters - Field in GeneratedMetaMethod.DgmMethodRecord
-
- parameters() - Method in GroovyExecutableMemberDoc
-
Returns the parameters declared by this executable.
- parameters() - Method in SimpleGroovyExecutableMemberDoc
-
Returns the parameters declared by this executable.
- Returns:
- the declared parameters
- parametersAreCompatible(java.lang.Class, java.lang.Class) - Method in MetaClassHelper
-
- parametersCompatible(org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.Parameter) - Method in ParameterUtils
-
Checks if source parameters are compatible with target parameters using type assignability.
- parametersEqual(org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.Parameter) - Method in ClassNode
-
- parametersEqual(org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.Parameter) - Method in ParameterUtils
-
Checks if two parameter arrays have equal types (exact type matching).
- parametersEqualWithWrapperType(org.codehaus.groovy.ast.Parameter, org.codehaus.groovy.ast.Parameter) - Method in ParameterUtils
-
Checks if two parameter arrays have equal types, treating wrapper and primitive types as equal.
- parameterTypeMatches(Class<?>, Class<?>) - Method in ReflectionUtils
-
- ParameterTypes - Class in org.codehaus.groovy.reflection
Manages parameter type information for methods and constructors, supporting lazy initialization.
- parameterTypes - Field in Closure
-
Parameter types for the longest doCall method.
- ParameterTypes(org.codehaus.groovy.reflection.CachedClass) - Constructor in ParameterTypes
-
Constructs a ParameterTypes with the specified cached parameter types.
- ParameterUtils - Class in org.codehaus.groovy.ast.tools
Utility methods for working with method and constructor parameters.
- params(org.codehaus.groovy.ast.Parameter) - Method in GeneralUtils
-
- params - Field in MetaMethodIndex.MetaMethodCache
-
- params - Field in MetaMethodSite
-
- PARANOIA - Field in WarningMessage
-
Warning indicates paranoia on the part of the compiler
- ParenPrmrAltContext(PrimaryContext) - Constructor in GroovyParser.ParenPrmrAltContext
-
- PARENT_BUILDER - Field in FactoryBuilderSupport
-
Context key for the builder of the parent node.
- PARENT_CONTEXT - Field in FactoryBuilderSupport
-
Context key for the parent node context.
- parent(groovy.util.Node) - Method in DOMCategory
-
Returns the parent DOM node.
- PARENT_FACTORY - Field in FactoryBuilderSupport
-
Context key for the factory that created the parent node.
- parent - Field in GPathResult
-
Previous step in the lazy GPath chain, used for expression backtracking.
- parent - Property in Ignore
-
- PARENT_NAME - Field in FactoryBuilderSupport
-
Context key for the parent node name.
- parent() - Method in Node
-
Returns the parent of this Node.
- PARENT_NODE - Field in FactoryBuilderSupport
-
Context key for the parent node.
- parent() - Method in NodeChild
-
Returns as GPathResult with the parent nodes of the current GPathResult
- Returns:
- the parents GPathResult or
this for the root
- parent - Property in TextNode
-
Parent node in the text tree.
- parents() - Method in Attribute
-
Throws a GroovyRuntimeException, because this method is not implemented yet.
- parents() - Method in Attributes
-
Throws a GroovyRuntimeException, because it is not implemented yet.
- parents() - Method in GPathResult
-
Returns the parents of this GPathResult as a GPathResult.
- parents() - Method in NoChildren
-
Throws a GroovyRuntimeException, because it is not implemented yet.
- parents() - Method in NodeChild
-
Throws a GroovyRuntimeException, because this method is not implemented yet.
- parents() - Method in NodeChildren
-
Throws a GroovyRuntimeException, because it is not implemented yet.
- parExpression() - Method in GroovyParser
-
- parExpression() - Method in GroovyParser.DynamicMemberNameContext
-
- parExpression() - Method in GroovyParser.ParenPrmrAltContext
-
- ParExpressionContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ParExpressionContext
-
- parse(java.io.File, java.lang.String) - Method in BaseJsonParser
-
Parses JSON from a file.
- parse(java.lang.Object) - Method in CliBuilder
-
Make options accessible from command line args with parser.
- parse(java.lang.Object) - Method in CliBuilderInternal
-
Make options accessible from command line args with parser.
- parse(groovy.lang.Script, java.net.URL) - Method in ConfigSlurper
-
Parses the passed groovy.lang.Script instance using the second argument to allow the ConfigObject
to retain an reference to the original location other Groovy script
- parse(java.nio.file.Path) - Method in CsvSlurper
-
Parse CSV from a path.
- parse(java.time.ZonedDateTime, java.lang.CharSequence, java.lang.String) - Method in DateTimeStaticExtensions
-
- parse(java.util.Date, java.lang.String, java.lang.String, java.util.TimeZone) - Method in DateUtilStaticExtensions
-
Parse a String into a Date instance using the given pattern and TimeZone.
- parse(java.io.Reader, boolean, boolean, boolean) - Method in DOMBuilder
-
Creates a DocumentBuilder and uses it to parse the XML text read from the given reader, allowing
parser validation, namespace awareness and permission of DOCTYPE declarations to be controlled.
- parse(java.io.InputStream) - Method in DomToGroovy
-
Parses XML read from the supplied stream into a DOM document.
- parse(java.io.Reader, groovy.lang.Binding) - Method in GroovyShell
-
Parses the given script and returns it ready to be run
- parse(java.io.File, java.lang.String) - Method in JsonParser
-
Parses JSON content read from a file using the supplied charset.
- parse(char[]) - Method in JsonParserCharArray
-
Parses JSON from a character array.
- parse(char[]) - Method in JsonParserUsingCharacterSource
-
Parses JSON from a character array.
- parse(java.util.Map, java.net.URL, java.lang.String) - Method in JsonSlurper
-
Parse a JSON data structure from content at a given URL.
- parse(java.util.Map, java.net.URL, java.lang.String) - Method in JsonSlurperClassic
-
Parse a JSON data structure from content at a given URL.
- parse(java.nio.file.Path) - Method in MarkdownSlurper
-
Parses Markdown content from a path.
- parse(java.lang.String) - Method in MarkupTemplateEngine.TemplateResource
-
Parses a template path into its base name, optional locale suffix, and extension.
- parse() - Method in SourceUnit
-
Parses the source to a CST.
- parse(java.nio.CharBuffer, int, int) - Method in StructuredSyntaxDocumentFilter.LexerNode
-
Parses the supplied buffer and applies styles to matching ranges.
- parse(java.nio.file.Path) - Method in TomlSlurper
-
Parse the content of the specified path into a tree of Nodes.
- parse(java.lang.String) - Method in TransformTestHelper
-
Compiles the String into a Class applying the transform specified in the constructor.
- parse(java.lang.String) - Method in XmlParser
-
Parse the content of the specified URI into a tree of Nodes.
- parse(java.nio.file.Path) - Method in XmlSlurper
-
Parses the content of the file at the given path as XML turning it into a GPathResult object
- parse(java.nio.file.Path) - Method in YamlSlurper
-
Parse the content of the specified path into a tree of Nodes.
- parseAs(Class<T>, java.nio.file.Path) - Method in CsvSlurper
-
Parse CSV from a path into typed objects.
- parseAs(Class<T>, java.nio.file.Path) - Method in TomlSlurper
-
Parse TOML from a path into a typed object.
- parseAs(Class<T>, java.nio.file.Path) - Method in XmlParser
-
Parse XML from a path into a typed object.
- parseAs(Class<T>, java.nio.file.Path) - Method in YamlSlurper
-
Parse YAML from a path into a typed object.
- parseBigDecimal(char[]) - Method in CharScanner
-
- parseClass(java.net.URL) - Method in AsmDecompiler
-
Loads the URL contents and parses them with ASM, producing a
ClassStub object representing the structure of
the corresponding class file.
- parseClass(groovy.lang.GroovyCodeSource, boolean) - Method in GroovyClassLoader
-
Parses the given code source into a Java class.
- parseClass(java.lang.String, java.lang.String) - Method in GroovyClassLoader.InnerLoader
-
Parses the given text into a Java class capable of being run
- Parameters:
text - the text of the script/class to parsefileName - the file name to use as the name of the class
- Returns:
- the main class defined in the given script
- parseClassNodesFromString(java.lang.String, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.CompilationUnit, org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.ast.ASTNode) - Method in GenericsUtils
-
- parseCST(org.codehaus.groovy.control.SourceUnit, java.io.Reader) - Method in Antlr4ParserPlugin
-
- parseCST(org.codehaus.groovy.control.SourceUnit, java.io.Reader) - Method in ParserPlugin
-
- parseDecimal(java.lang.String) - Method in Numbers
-
Builds a Number from the given decimal descriptor.
- parseDocument(int, int) - Method in StructuredSyntaxDocumentFilter
-
Parse the Document to update the character styles given an initial start
position.
- parseDouble(char[], int, int) - Method in CharScanner
-
Parses a double from a character range.
- parseFloat(char[], int, int) - Method in CharScanner
-
Parses a float from a character range.
- parseFromInstance(T, java.lang.Object) - Method in CliBuilder
-
Given an instance containing members with annotations, derive
the options specification.
- parseFromSpec(Class<T>, java.lang.String) - Method in CliBuilder
-
Given an interface containing members with annotations, derive
the options specification.
- parseInt(char[]) - Method in CharScanner
-
Parses an int from the supplied digit characters.
- parseInteger(java.lang.String) - Method in Numbers
-
Builds a Number from the given integer descriptor.
- parseIntFromTo(char[], int, int) - Method in CharScanner
-
Parses an int from a character range.
- parseIntFromToIgnoreDot(char[], int, int) - Method in CharScanner
-
Parses an int from a character range while ignoring decimal points.
- parseJsonNumber(char[], int, int, int[]) - Method in CharScanner
-
Parses a JSON number and optionally reports the stopping index.
- parseLong(char[]) - Method in CharScanner
-
Parses a long from the supplied digit characters.
- parseLongFromTo(char[], int, int) - Method in CharScanner
-
Parses a long from a character range.
- parseLongFromToIgnoreDot(char[], int, int) - Method in CharScanner
-
Parses a long from a character range while ignoring decimal points.
- parser - Property in CliBuilder
-
- parser - Property in CliBuilderInternal
-
- PARSER_FLAVOR_KEY - Field in Preferences
-
- PARSER - Field in GroovySyntaxError
-
- PARSER_RELAXED - Field in Preferences
-
- PARSER_RIGID - Field in Preferences
-
- parser - Field in SystemRegistryImpl
-
The parser used for command line parsing
- ParserAtnManager - Class in org.apache.groovy.parser.antlr4.internal.atnmanager
Manage ATN for parser to avoid memory leak
- parseResult - Property in OptionAccessor
-
The underlying picocli parse result.
- ParserException - Class in org.codehaus.groovy.syntax
Exception thrown when a parse error is encountered by the parser.
- ParserException(java.lang.String, java.lang.Throwable, int, int, int, int) - Constructor in ParserException
-
Constructs a ParserException with explicit position range and a cause.
- ParserPlugin - Interface in org.codehaus.groovy.control
A simple extension point to allow us to switch between the classic Groovy parser and the new Antlr based parser(s).
- ParserPluginFactory - Class in org.codehaus.groovy.control
A factory of parser plugin instances.
- parseText(java.lang.String) - Method in CsvSlurper
-
Parse the content of the specified CSV text.
- parseText(java.lang.String) - Method in DOMBuilder
-
A helper method to parse the given text as XML.
- parseText(java.lang.String) - Method in JsonSlurper
-
Parse a text representation of a JSON data structure
- parseText(java.lang.String) - Method in JsonSlurperClassic
-
Parse a text representation of a JSON data structure
- parseText(java.lang.String) - Method in MarkdownSlurper
-
- parseText(java.lang.String) - Method in TomlSlurper
-
Parse the content of the specified toml into a tree of Nodes.
- parseText(java.lang.String) - Method in XmlParser
-
A helper method to parse the given text as XML.
- parseText(java.lang.String) - Method in XmlSlurper
-
A helper method to parse the given text as XML
- parseText(java.lang.String) - Method in YamlSlurper
-
Parse the content of the specified yaml into a tree of Nodes.
- parseTextAs(Class<T>, java.lang.String) - Method in TomlSlurper
-
Parse the content of the specified TOML text into a typed object using Jackson databinding.
- parseTextAs(Class<T>, java.lang.String) - Method in XmlParser
-
Parse the content of the specified XML text into a typed object.
- parseTextAs(Class<T>, java.lang.String) - Method in YamlSlurper
-
Parse the content of the specified YAML text into a typed object using Jackson databinding.
- parseTheme(java.io.Reader) - Method in ThemeManager
-
Parses a .theme file (java.util.Properties format with our value sub-syntax)
into a structured theme: { inputBackground, outputBackground, styles: name?attrs }.
- parseToStringDate(java.util.Date, java.lang.String) - Method in DateUtilStaticExtensions
-
Parse a String matching the pattern EEE MMM dd HH:mm:ss zzz yyyy
containing US-locale-constants only (e.g.
- PARSING - Enum Constant in CompilePhase
-
the grammar is used to produce tree of tokens representing the source code
- PARSING - Enum Constant in CompilePhaseAdapter
-
- PARSING - Field in Phases
-
Lexing, parsing, and AST building
- Partition - Interface in org.apache.groovy.ginq.provider.collection.runtime
Represents partition
- partitionBy() - Method in WindowDefinition
-
Define partition, similar to SQL's partition by of window definition
- partitionPoint(double[], java.util.function.DoublePredicate) - Method in ArrayGroovyMethods
-
Returns the index of the partition point according to the given predicate
(the index of the first element of the second partition).
- partitionPoint(List<T>, Predicate<T>) - Method in DefaultGroovyMethods
-
Returns the index of the partition point according to the given predicate
(the index of the first element of the second partition).
- PASS - Enum Constant in TypeCheckingMode
-
Applies type checking to the annotated element.
- paste(java.util.EventObject) - Method in Console
-
Pastes clipboard text into the input editor.
- Patch - Annotation Type in groovy.http
Marks an interface method as an HTTP PATCH request.
- patch(java.lang.Object, Closure<?>) - Method in HttpBuilder
-
Executes a synchronous PATCH request.
- patchAsync(java.lang.Object, Closure<?>) - Method in HttpBuilder
-
Executes an asynchronous PATCH request.
- path - Property in ObjectBrowser
-
Breadcrumb text describing the current inspection path.
- pathCount - Property in ObjectBrowser
-
Number of path cards created so far.
- pathElement() - Method in GroovyParser
-
- pathElement(int) - Method in GroovyParser.CommandArgumentContext
-
- pathElement - Field in GroovyParser.PathExpressionContext
-
- PathElementContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.PathElementContext
-
- pathExpression() - Method in GroovyParser
-
- pathExpression() - Method in GroovyParser.PostfixExpressionContext
-
- PathExpressionContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.PathExpressionContext
-
- pathMatches(List<ASTNodePredicate>) - Method in ContextualClassCodeVisitor
-
Returns the current path when all supplied predicates match successive parents.
- pathMenu - Property in ObjectBrowser
-
Menu listing visited inspection paths.
- pathUpTo(Class<ASTNode>, org.codehaus.groovy.macro.matcher.ASTNodePredicate) - Method in ContextualClassCodeVisitor
-
Returns the path up to the first node that matches the supplied class and predicate.
- pattern - Field in Newify
-
- peek(Optional<T>, Consumer<? super T>) - Method in PluginDefaultGroovyMethods
-
If a value is present in the Optional, executes the specified
action with the value as input and then returns self.
- pendingRecord - Property in Console
-
Pending editor state kept while navigating command history.
- pendingStack - Property in StreamingDOMBuilder
-
Stack of pending namespace declarations restored after each nested element finishes.
- pendingStack - Property in StreamingMarkupBuilder
-
Stack of namespace declarations suspended while nested elements are rendered.
- pendingStack - Property in StreamingSAXBuilder
-
Stack of namespace declarations deferred while nested SAX elements are processed.
- percentRank() - Method in Window
-
Returns the percent rank in the window
- performOperationOnMetaClass(java.lang.Runnable) - Method in ExpandoMetaClass
-
Performs a mutating expando operation while coordinating initialization state and locks.
- performSecondPass() - Method in StaticTypeCheckingVisitor
-
- PerInstancePojoMetaClassSite - Class in org.codehaus.groovy.runtime.callsite
- PerInstancePojoMetaClassSite(org.codehaus.groovy.runtime.callsite.CallSite, org.codehaus.groovy.reflection.ClassInfo) - Constructor in PerInstancePojoMetaClassSite
-
- permil - Field in Entity
-
Entity reference ‰.
- PERMITS() - Method in GroovyParser.ClassDeclarationContext
-
- PERMITS() - Method in GroovyParser.IdentifierContext
-
- PERMITS() - Method in GroovyParser.KeywordsContext
-
- permittedSubclasses - Field in Sealed
-
List of the permitted subclasses.
- PermutationGenerator - Class in groovy.util
Systematically generate permutations.
- PermutationGenerator(Iterable<E>) - Constructor in PermutationGenerator
-
Creates a generator from the supplied iterable.
- permutations(Iterable<T>, Closure<V>) - Method in DefaultGroovyMethods
-
Finds all permutations of an iterable, applies a function to each permutation and collects the result
into a list.
- persist(java.nio.file.Path, java.lang.Object, java.lang.String) - Method in GroovyEngine
-
Persists an object to a file using the specified serialization format.
- persist(java.nio.file.Path, java.lang.Object, org.apache.groovy.groovysh.jline.GroovyEngine.Format) - Method in Utils
-
Writes an object to disk using the requested persistence format.
- PHANTOM - Enum Constant in ReferenceType
-
Stores referents as phantom references for post-mortem cleanup only.
- phase - Field in ASTTest
-
The compile phase after which the test code should run.
- phase - Field in CompilationFailedException
-
- phase - Field in GroovyASTTransformation
-
- Default:
- CompilePhase.CANONICALIZATION
- phase - Field in ProcessingUnit
-
The current phase
- phaseComplete - Field in ProcessingUnit
-
True if phase is finished
- phaseId - Property in CompilePhaseAdapter
-
Compile phase identifier from
Phases.
- Phases - Class in org.codehaus.groovy.control
Compilation phase identifiers.
- phases - Field in CompilePhase
-
The phases as an array, with a null entry.
- pi(Map<?,?>) - Method in BaseTemplate
-
- pi(Map<String,Map<String,Object>>) - Method in MarkupBuilderHelper
-
Produce an XML processing instruction in the output.
- PickAnyArgumentHint - Class in groovy.transform.stc
- PickAnyArgumentHint(int, int) - Constructor in PickAnyArgumentHint
-
Creates a picker which will extract the parameterIndex-th parameter type, or its
genericTypeIndex-th generic type genericTypeIndex is >=0.
- PickFirstResolver - Class in groovy.transform.stc
Returns the first of several candidates found.
- pickGenericType(org.codehaus.groovy.ast.MethodNode, int, int) - Method in ClosureSignatureHint
-
A helper method which will extract the n-th generic type from the n-th parameter of a method node.
- pickMethod(java.lang.String, java.lang.Class) - Method in ClosureMetaClass
-
- pickMethod(java.lang.String, java.lang.Class) - Method in DelegatingMetaClass
-
@deprecated
- pickMethod(java.lang.String, java.lang.Class) - Method in MetaClass
-
Selects a method by name and argument classes.
- pickMethod(java.lang.String, java.lang.Class) - Method in MetaClassImpl
-
Selects a method by name and argument classes.
- piClosure - Property in StreamingDOMBuilder
-
Closure backing mkp.pi for DOM processing-instruction node creation.
- piClosure - Property in StreamingMarkupBuilder
-
Invoked by calling mkp.pi
- piClosure - Property in StreamingSAXBuilder
-
Closure backing mkp.pi for emitting processing instructions.
- pipe() - Method in SystemRegistryImpl.CommandData
-
Returns the pipe operator.
- PIPE - Enum Constant in SystemRegistryImpl.Pipe
-
Pipe to external process
- PIPE - Field in Types
-
- pipeline(List<?>) - Method in ProcessGroovyMethods
-
- pipeTo(java.lang.Process, java.lang.Process) - Method in ProcessGroovyMethods
-
Allows one Process to asynchronously pipe data to another Process.
- placeholder(java.lang.String) - Method in MatchingConstraintsBuilder
-
Registers one or more placeholder names.
- placeholders - Property in MatchingConstraints
-
- placeholders - Property in MatchingConstraintsBuilder
-
Placeholder names accepted during matching.
- PlaceholderVisitor - Class in org.codehaus.groovy.control
- PlaceholderVisitor(org.codehaus.groovy.control.CompilationUnit, org.codehaus.groovy.control.SourceUnit) - Constructor in PlaceholderVisitor
-
- PlainObjectMetaMethodSite - Class in org.codehaus.groovy.runtime.callsite
Plain ordinary object call site
metaclass - cached
method - cached
- PlainObjectMetaMethodSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClass, groovy.lang.MetaMethod, java.lang.Class) - Constructor in PlainObjectMetaMethodSite
-
- PlatformLineWriter - Class in groovy.io
A buffered writer that gobbles any \r characters
and replaces every \n with a platform specific newline.
- PlatformLineWriter(java.io.Writer, int) - Constructor in PlatformLineWriter
-
Creates a writer that normalizes line endings for the platform.
- PlatformLog - Annotation Type in groovy.util.logging
This local transform adds a logging ability to your program using
java.logging.
- PluginDefaultGroovyMethods - Class in org.codehaus.groovy.vmplugin.v9
Defines new Groovy methods which appear on normal JDK 9
classes inside the Groovy environment.
- plus(T, java.lang.Object) - Method in ArrayGroovyMethods
-
Creates an array containing elements from an original array plus an additional appended element.
- plus(java.util.Date) - Method in BaseDuration
-
Adds this duration to the supplied date.
- PLUS - Field in BaseJsonParser
-
Character code for the plus sign in exponent literals.
- PLUS - Field in CharScanner
-
Plus sign character code.
- plus(java.time.Month, int) - Method in DateTimeExtensions
-
Returns the
Month that is
months months after this month.
- plus(java.sql.Timestamp, int) - Method in DateUtilExtensions
-
Add number of days to this Timestamp and returns the new Timestamp object.
- plus(groovy.time.TimeDuration) - Method in DatumDependentDuration
-
Adds a time duration.
- plus(T, java.lang.Object) - Method in DefaultGroovyMethods
-
- plus(groovy.util.NodeList, groovy.lang.Closure) - Method in DOMCategory
-
Adds sibling nodes after every element in the supplied node list.
- plus(groovy.time.DatumDependentDuration) - Method in Duration
-
Adds a datum-dependent duration.
- PLUS_EQUAL - Field in Types
-
- PLUS - Field in GeneralUtils
-
- plus(groovy.lang.Closure) - Method in GPathResult
-
Delegates to
plus(Object) while preserving XmlSlurper replacement semantics for closures.
- plus(java.lang.String) - Method in GString
-
Concatenates this GString with a String.
- plus(groovy.lang.GString) - Method in GStringImpl
-
- plus(double, double) - Method in IndyMath
-
- plus(groovy.lang.Closure) - Method in Node
-
Adds sibling nodes (defined using builder-style notation via a Closure) after the current node.
- plus(groovy.lang.Closure) - Method in NodeList
-
Appends sibling nodes after each node in this list.
- plus(java.lang.String) - Method in NullObject
-
Allows to add a String to null.
- plus(double, double) - Method in NumberMathModificationInfo
-
- plus(java.lang.Number, java.lang.Number) - Method in NumberNumberPlus
-
Add two numbers and return the result.
- plus - Field in OperatorRename
-
Returns the replacement method name for the + operator.
- plus(java.lang.StringBuilder, java.lang.String) - Method in PluginDefaultGroovyMethods
-
Appends a String to this StringBuilder.
- PLUS_PLUS - Field in Types
-
- plus(Stream<? extends T>, Stream<? extends T>) - Method in StreamGroovyMethods
-
Returns a lazily concatenated stream whose elements are all the elements of this stream followed by all the elements of the second stream.
- plus(java.lang.StringBuffer, java.lang.String) - Method in StringGroovyMethods
-
Appends a String to this StringBuffer.
- plus(java.util.Date, groovy.time.BaseDuration) - Method in TimeCategory
-
Adds a duration to a date.
- plus(groovy.time.DatumDependentDuration) - Method in TimeDatumDependentDuration
-
Adds a datum-dependent duration.
- plus(groovy.time.DatumDependentDuration) - Method in TimeDuration
-
Adds a datum-dependent duration.
- PLUS - Field in Types
-
- plusAssign - Field in OperatorRename
-
GEP-15: rename the dedicated compound-assignment method for +=.
- plusImpl(java.lang.Object, java.lang.Object, java.lang.String, java.lang.String) - Method in GStringUtil
-
- plusmn - Field in Entity
-
Entity reference ±.
- plusX(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- PogoCachedMethodSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, org.codehaus.groovy.reflection.CachedMethod, java.lang.Class) - Constructor in PogoMetaMethodSite.PogoCachedMethodSite
-
- PogoCachedMethodSiteNoUnwrap(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, org.codehaus.groovy.reflection.CachedMethod, java.lang.Class) - Constructor in PogoMetaMethodSite.PogoCachedMethodSiteNoUnwrap
-
- PogoCachedMethodSiteNoUnwrapNoCoerce(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, org.codehaus.groovy.reflection.CachedMethod, java.lang.Class) - Constructor in PogoMetaMethodSite.PogoCachedMethodSiteNoUnwrapNoCoerce
-
- PogoGetPropertySite - Class in org.codehaus.groovy.runtime.callsite
- PogoGetPropertySite(org.codehaus.groovy.runtime.callsite.CallSite, java.lang.Class) - Constructor in PogoGetPropertySite
-
- PogoInterceptableSite - Class in org.codehaus.groovy.runtime.callsite
Call site for GroovyInterceptable
- PogoInterceptableSite(org.codehaus.groovy.runtime.callsite.CallSite) - Constructor in PogoInterceptableSite
-
- PogoMetaClassGetPropertySite - Class in org.codehaus.groovy.runtime.callsite
- PogoMetaClassGetPropertySite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClass) - Constructor in PogoMetaClassGetPropertySite
-
- PogoMetaClassSite - Class in org.codehaus.groovy.runtime.callsite
- PogoMetaClassSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClass) - Constructor in PogoMetaClassSite
-
- PogoMetaMethodSite - Class in org.codehaus.groovy.runtime.callsite
POGO call site
metaclass - cached
method - cached
- PogoMetaMethodSite.PogoCachedMethodSite - Class in org.codehaus.groovy.runtime.callsite
- PogoMetaMethodSite.PogoCachedMethodSiteNoUnwrap - Class in org.codehaus.groovy.runtime.callsite
- PogoMetaMethodSite.PogoCachedMethodSiteNoUnwrapNoCoerce - Class in org.codehaus.groovy.runtime.callsite
- PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrap - Class in org.codehaus.groovy.runtime.callsite
Call site where we know there is no need to unwrap arguments
- PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrapNoCoerce - Class in org.codehaus.groovy.runtime.callsite
Call site where we know there is no need neither unwrap nor coerce arguments
- PogoMetaMethodSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class) - Constructor in PogoMetaMethodSite
-
- PogoMetaMethodSiteNoUnwrap(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class) - Constructor in PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrap
-
- PogoMetaMethodSiteNoUnwrapNoCoerce(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class) - Constructor in PogoMetaMethodSite.PogoMetaMethodSiteNoUnwrapNoCoerce
-
- POJO - Annotation Type in groovy.transform.stc
Marker interface to indicate that the normal GroovyObject methods should not be added.
- pojo - Field in EqualsAndHashCode
-
Whether to avoid using Groovy runtime methods and instead use methods like
Objects.hash
- pojo - Field in ToString
-
Whether to avoid using Groovy runtime methods when printing the toString for class members.
- PojoCachedMethodSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class) - Constructor in PojoMetaMethodSite.PojoCachedMethodSite
-
- PojoCachedMethodSiteNoUnwrap(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class) - Constructor in PojoMetaMethodSite.PojoCachedMethodSiteNoUnwrap
-
- PojoCachedMethodSiteNoUnwrapNoCoerce(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class) - Constructor in PojoMetaMethodSite.PojoCachedMethodSiteNoUnwrapNoCoerce
-
- PojoMetaClassGetPropertySite - Class in org.codehaus.groovy.runtime.callsite
- PojoMetaClassGetPropertySite(org.codehaus.groovy.runtime.callsite.CallSite) - Constructor in PojoMetaClassGetPropertySite
-
- PojoMetaClassSite - Class in org.codehaus.groovy.runtime.callsite
POJO call site
metaclass - cached
method - not cached
- PojoMetaClassSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClass) - Constructor in PojoMetaClassSite
-
- PojoMetaMethodSite - Class in org.codehaus.groovy.runtime.callsite
POJO call site
metaclass - cached
method - cached
- PojoMetaMethodSite.PojoCachedMethodSite - Class in org.codehaus.groovy.runtime.callsite
- PojoMetaMethodSite.PojoCachedMethodSiteNoUnwrap - Class in org.codehaus.groovy.runtime.callsite
- PojoMetaMethodSite.PojoCachedMethodSiteNoUnwrapNoCoerce - Class in org.codehaus.groovy.runtime.callsite
- PojoMetaMethodSite.PojoMetaMethodSiteNoUnwrap - Class in org.codehaus.groovy.runtime.callsite
Call site where we know there is no need to unwrap arguments
- PojoMetaMethodSite.PojoMetaMethodSiteNoUnwrapNoCoerce - Class in org.codehaus.groovy.runtime.callsite
Call site where we know there is no need neither unwrap nor coerce arguments
- PojoMetaMethodSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class) - Constructor in PojoMetaMethodSite
-
- PojoMetaMethodSiteNoUnwrap(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class) - Constructor in PojoMetaMethodSite.PojoMetaMethodSiteNoUnwrap
-
- PojoMetaMethodSiteNoUnwrapNoCoerce(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class) - Constructor in PojoMetaMethodSite.PojoMetaMethodSiteNoUnwrapNoCoerce
-
- PojoWrapper - Class in org.codehaus.groovy.runtime.wrappers
- PojoWrapper(java.lang.Object, java.lang.Class) - Constructor in PojoWrapper
-
- Pool - Interface in groovy.concurrent
A managed thread pool for parallel and concurrent operations.
- pop() - Method in CompileStack
-
- pop(List<T>) - Method in DefaultGroovyMethods
-
Removes the initial item from the List.
- pop() - Method in FilteredNodeChildren
-
Returns the parent of this GPathResult. If this GPathResult has no parent the GPathResult itself is returned.
This is no navigation in the XML tree. It is backtracking on the GPath expression chain.
It is the behavior of parent() prior to 2.2.0.
Backtracking on '..' actually goes down one level in the tree again.
find() and findAll() are popped along with the level they have been applied to.
- Returns:
- the parent or
this
- pop() - Method in GPathResult
-
Returns the parent of this GPathResult.
- pop() - Method in OperandStack
-
remove operand stack top element using bytecode pop
- popAssignmentTracking(Map<VariableExpression,List<ClassNode>>) - Method in StaticTypeCheckingVisitor
-
- popBlockRecorderVisit(org.codehaus.groovy.classgen.asm.CompileStack.BlockRecorder) - Method in CompileStack
-
- popContext() - Method in ContextualClassCodeVisitor
-
Pops the current traversal context.
- popContext() - Method in FactoryBuilderSupport
-
Removes the last context from the stack.
- popDownTo(int) - Method in OperandStack
-
- popEnclosingBinaryExpression() - Method in AbstractTypeCheckingExtension
-
- popEnclosingBinaryExpression() - Method in TypeCheckingContext
-
Pops a binary expression from the binary expression stack.
- popEnclosingClassNode() - Method in AbstractTypeCheckingExtension
-
- popEnclosingClassNode() - Method in TypeCheckingContext
-
Pops a class from the enclosing classes stack.
- popEnclosingClosure() - Method in AbstractTypeCheckingExtension
-
- popEnclosingClosure() - Method in TypeCheckingContext
-
Pops a closure expression from the closure expression stack.
- popEnclosingMethod() - Method in AbstractTypeCheckingExtension
-
- popEnclosingMethod() - Method in TypeCheckingContext
-
Pops a method from the enclosing methods stack.
- popEnclosingMethodCall() - Method in AbstractTypeCheckingExtension
-
- popEnclosingMethodCall() - Method in TypeCheckingContext
-
Pops a method call from the enclosing method call stack.
- popEnclosingSwitchStatement() - Method in TypeCheckingContext
-
Pops a switch statement from the enclosing switch statements stack.
- popErrorCollector() - Method in TypeCheckingContext
-
- popImplicitThis() - Method in CompileStack
-
- popLHS() - Method in CompileStack
-
- popMode() - Method in GroovyLexer
-
- popTemporaryTypeInfo() - Method in AbstractTypeCheckingExtension
-
- popTemporaryTypeInfo() - Method in TypeCheckingContext
-
- position2VariableMappingFor(org.codehaus.groovy.ast.MethodNode) - Method in TailRecursiveASTTransformation
-
- PositionConfigureUtils - Class in org.apache.groovy.parser.antlr4.util
Utilities for configuring node positions
- PositionInfo - Class in org.apache.groovy.parser.antlr4
- PositionInfo(int, int) - Constructor in PositionInfo
-
- positions - Property in TitledBorderFactory
-
- positionStmtsAfterEnumInitStmts(List<Statement>) - Method in ClassNode
-
- positive(java.time.Period) - Method in DateTimeExtensions
-
Supports the unary plus operator; returns a
Period with all unit values positive.
- posix - Property in CliBuilder
-
To disallow clustered POSIX short options, set this to false.
- posix - Property in CliBuilderInternal
-
To disallow clustered POSIX short options, set this to false.
- POSSIBLE_ERRORS - Field in WarningMessage
-
Warning indicates possible error
- Post - Annotation Type in groovy.http
Marks an interface method as an HTTP POST request.
- post(java.lang.Object, Closure<?>) - Method in HttpBuilder
-
Executes a synchronous POST request.
- post - Field in MapConstructor
-
A Closure containing statements which will be appended to the end of the generated constructor.
- post - Field in TupleConstructor
-
A Closure containing statements which will be appended to the end of the generated constructor.
- POST_TYPECHECKING_REPLACEMENT - Field in TraitASTTransformation
-
- postAsync(java.lang.Object, Closure<?>) - Method in HttpBuilder
-
Executes an asynchronous POST request.
- postCompleteNode(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in CustomizersFactory
-
- postCompleteNode(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in InlinedASTCustomizerFactory
-
- postCompleteNode(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in PostCompletionFactory
-
- postCompleteNode(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in SourceAwareCustomizerFactory
-
- PostCompletionFactory - Interface in org.codehaus.groovy.control.customizers.builder
A helper interface for factories which require post-processing of generated nodes.
- Postcondition - Class in org.apache.groovy.contracts.domain
- Postcondition(org.codehaus.groovy.ast.stmt.BlockStatement, org.codehaus.groovy.ast.expr.BooleanExpression, boolean) - Constructor in Postcondition
-
Creates a postcondition from the supplied source block and boolean expression.
- PostconditionGenerator - Class in org.apache.groovy.contracts.generation
- PostconditionGenerator(org.codehaus.groovy.control.io.ReaderSource) - Constructor in PostconditionGenerator
-
Creates a generator for postcondition support code.
- PostconditionLifecycle - Class in org.apache.groovy.contracts.common.impl.lc
Internal
Lifecycle implementation for post-conditions.
- postconditions() - Method in Contract
-
Returns the postconditions indexed by method.
- PostconditionViolation - Class in org.apache.groovy.contracts
- PostconditionViolation(double) - Constructor in PostconditionViolation
-
Creates a postcondition violation with a double-precision detail.
- postfix(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a PostfixExpression.
- POSTFIX_MINUS_MINUS - Field in Types
-
- POSTFIX_OPERATOR - Field in Types
-
- POSTFIX_PLUS_PLUS - Field in Types
-
- PostfixExprAltContext(ExpressionContext) - Constructor in GroovyParser.PostfixExprAltContext
-
- PostfixExpression - Class in org.codehaus.groovy.ast.expr
Represents a postfix unary expression like i++ or value--.
- postfixExpression() - Method in GroovyParser
-
- postfixExpression() - Method in GroovyParser.PostfixExprAltContext
-
- PostfixExpression(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.syntax.Token) - Constructor in PostfixExpression
-
Creates a postfix expression.
- PostfixExpressionContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.PostfixExpressionContext
-
- postInstantiate(java.lang.Object, java.util.Map, java.lang.Object) - Method in FactoryBuilderSupport
-
A hook after the factory creates the node and before attributes are set.
- postInstantiate(java.lang.Object, java.util.Map, java.lang.Object) - Method in ObjectGraphBuilder
-
A hook after the factory creates the node and before attributes are set.
It will call any registered postInstantiateDelegates, if you override
this method be sure to call this impl somewhere in your code.
- Parameters:
name - the name of the nodeattributes - the attributes for the nodenode - the object created by the node factory
- postInstantiateDelegates - Field in FactoryBuilderSupport
-
Delegates invoked after a factory creates a node.
- postNodeCompletion(java.lang.Object, java.lang.Object) - Method in BuilderSupport
-
A hook to allow nodes to be processed once they have had all of their
children applied and allows the actual node object that represents
the Markup element to be changed.
- postNodeCompletion(java.lang.Object, java.lang.Object) - Method in CompilerCustomizationBuilder
-
Finalizes a node and gives post-completion factories a chance to replace it.
- postNodeCompletion(java.lang.Object, java.lang.Object) - Method in FactoryBuilderSupport
-
A hook to allow nodes to be processed once they have had all of their
children applied and allows the actual node object that represents the
Markup element to be changed.
- postNodeCompletionDelegates - Field in FactoryBuilderSupport
-
Delegates invoked after a node and its children are complete.
- postStreamAsync(java.lang.Object, Closure<?>) - Method in HttpBuilder
-
Executes an asynchronous streaming POST request.
- postVisitStatement(org.codehaus.groovy.ast.stmt.Statement) - Method in LabelVerifier
-
- pound - Field in Entity
-
Entity reference £.
- POWER_ASSIGN() - Method in GroovyParser.AssignmentExprAltContext
-
- power(java.math.BigInteger, java.math.BigInteger) - Method in DefaultGroovyMethods
-
Power of a BigInteger to a BigInteger certain exponent.
- POWER_EQUAL - Field in Types
-
- POWER() - Method in GroovyParser.PowerExprAltContext
-
- power - Field in OperatorRename
-
Returns the replacement method name for the ** operator.
- POWER - Field in Types
-
- PowerAssertionError - Class in org.codehaus.groovy.runtime.powerassert
Indicates that a power assertion has failed.
- PowerAssertionError(java.lang.String) - Constructor in PowerAssertionError
-
- powerAssign - Field in OperatorRename
-
GEP-15: rename the dedicated compound-assignment method for **=.
- PowerExprAltContext(ExpressionContext) - Constructor in GroovyParser.PowerExprAltContext
-
- pre - Field in MapConstructor
-
A Closure containing statements which will be prepended to the generated constructor.
- pre - Field in TupleConstructor
-
A Closure containing statements which will be prepended to the generated constructor.
- preCheckForNamedParams(java.lang.String) - Method in Sql
-
- PRECLUDES_CAST_OPERATOR - Field in Types
-
- Precondition - Class in org.apache.groovy.contracts.domain
- Precondition(org.codehaus.groovy.ast.stmt.BlockStatement, org.codehaus.groovy.ast.expr.BooleanExpression) - Constructor in Precondition
-
Creates a precondition from the supplied source block and boolean expression.
- PreconditionGenerator - Class in org.apache.groovy.contracts.generation
Code generator for preconditions.
- PreconditionGenerator(org.codehaus.groovy.control.io.ReaderSource) - Constructor in PreconditionGenerator
-
Creates a generator for precondition support code.
- PreconditionLifecycle - Class in org.apache.groovy.contracts.common.impl.lc
Internal
Lifecycle implementation for pre-conditions.
- preconditions() - Method in Contract
-
Returns the preconditions indexed by method.
- PreconditionViolation - Class in org.apache.groovy.contracts
- PreconditionViolation(double) - Constructor in PreconditionViolation
-
Creates a precondition violation with a double-precision detail.
- PREFER_COLLECTOR - Enum Constant in AnnotationCollectorMode
-
Annotations from the collector will be added and any existing annotations with the same name will be removed.
- PREFER_COLLECTOR_MERGED - Enum Constant in AnnotationCollectorMode
-
Annotations from the collector will be added and any existing annotations with the same name will be removed but any new parameters found within existing annotations will be merged into the added annotation.
- PREFER_EXPLICIT - Enum Constant in AnnotationCollectorMode
-
Annotations from the collector will be ignored if any existing annotations with the same name are found.
- PREFER_EXPLICIT_MERGED - Enum Constant in AnnotationCollectorMode
-
Annotations from the collector will be ignored if any existing annotations with the same name are found but any new parameters on the collector annotation will be added to existing annotations.
- Preferences - Class in org.codehaus.groovy.tools.shell.util
Container for shell preferences.
- preferences(java.util.EventObject) - Method in Console
-
Shows the console preferences dialog.
- preferVirtualThreads() - Method in ConcurrentConfig
-
Returns true if virtual threads should be preferred.
- prefix(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a PrefixExpression.
- prefix - Field in Builder
-
The prefix to use when creating the setter methods.
- PREFIX_MINUS_MINUS - Field in Types
-
- PREFIX_MINUS - Field in Types
-
- PREFIX_OPERATOR - Field in Types
-
- PREFIX_OR_INFIX_OPERATOR - Field in Types
-
- PREFIX_PLUS_PLUS - Field in Types
-
- PREFIX_PLUS - Field in Types
-
- PrefixExpression - Class in org.codehaus.groovy.ast.expr
Represents a prefix unary expression like ++i or --value.
- PrefixExpression(org.codehaus.groovy.syntax.Token, org.codehaus.groovy.ast.expr.Expression) - Constructor in PrefixExpression
-
Creates a prefix expression.
- prefs - Property in AstBrowser
-
Persisted UI preferences for the browser window.
- prefs - Property in Console
-
User preferences backing console settings.
- preInstantiate(java.lang.Object, java.util.Map, java.lang.Object) - Method in FactoryBuilderSupport
-
A hook before the factory creates the node.
- preInstantiate(java.lang.Object, java.util.Map, java.lang.Object) - Method in ObjectGraphBuilder
-
A hook before the factory creates the node.
It will call any registered preInstantiateDelegates, if you override this
method be sure to call this impl somewhere in your code.
- Parameters:
name - the name of the nodeattributes - the attributes of the nodevalue - the value argument(s) of the node
- preInstantiateDelegates - Field in FactoryBuilderSupport
-
Delegates invoked before a factory creates a node.
- preLanguage - Property in GDKDocTool
-
Language hint used when rewriting generated <pre> blocks.
- PreLanguageRewriter - Class in org.codehaus.groovy.tools.groovydoc
Post-process pass that retrofits syntax-highlighting classes onto bare
<pre> blocks in generated HTML.
- prepareCallSite(java.lang.String) - Method in CallSiteWriter
-
- prepareCallSite(java.lang.String) - Method in IndyCallSiteWriter
-
- prepareCallSite(java.lang.String) - Method in StaticTypesCallSiteWriter
-
- prepareConstructorCall(org.codehaus.groovy.ast.ConstructorNode) - Method in InvocationWriter
-
- prepareEditor - Property in ClosureCellEditor
-
Closure used to create or customize the editor component.
- prepareSiteAndReceiver(org.codehaus.groovy.ast.expr.Expression, java.lang.String, boolean, boolean) - Method in CallSiteWriter
-
- prepareVisit(org.codehaus.groovy.ast.ClassNode) - Method in VariableScopeVisitor
-
Sets the current class node context.
- prependParameter(List<Parameter>, java.lang.String, org.codehaus.groovy.ast.ClassNode) - Method in AbstractFunctionalInterfaceWriter
-
- prettyPrint() - Method in ConfigObject
-
Renders this config object using config-script syntax.
- prettyPrint(java.lang.String, boolean) - Method in JsonOutput
-
Pretty print a JSON payload.
- prettyPrintMethodList(List<MethodNode>) - Method in StaticTypeCheckingVisitor
-
- prevHistoryAction - Property in Console
-
Action that moves to the previous history entry.
- previous(java.time.ZonedDateTime) - Method in DateTimeExtensions
-
Returns a
ZonedDateTime that is one second before this date/time.
- previous(java.sql.Date) - Method in DateUtilExtensions
-
Decrement a java.sql.Date by one day.
- previous(java.lang.Number) - Method in DefaultGroovyMethods
-
Decrement a Number by one.
- previous() - Method in DelegatingIndentWriter
-
Decreases the current indentation level.
- previous() - Method in GroovyResultSetExtension
-
Moves the cursor to the previous row in this
getResultSet() object.
- previous(double) - Method in IndyMath
-
- previous() - Method in ObservableList.ObservableListIterator
-
{@inheritDoc}
- previous(java.lang.Enum) - Method in PluginDefaultGroovyMethods
-
Overloads the -- operator for enums.
- previous(java.lang.CharSequence, int) - Method in StringGroovyMethods
-
A variant of previous with an integer count parameter; equivalent to calling previous() count times.
- previousIndex() - Method in ObservableList.ObservableListIterator
-
{@inheritDoc}
- PRIM_FALSE - Field in ConstantExpression
-
- PRIM_TRUE - Field in ConstantExpression
-
- primary() - Method in GroovyParser
-
- primary() - Method in GroovyParser.CommandArgumentContext
-
- primary() - Method in GroovyParser.MapEntryLabelContext
-
- primary() - Method in GroovyParser.PathExpressionContext
-
- PrimaryContext() - Constructor in GroovyParser.PrimaryContext
-
- PRIMITIVE_BASES - Property in MockSourceGenerator
-
Primitive base names that require dedicated mock types.
- PRIMITIVE_TYPE - Field in Types
-
- PRIMITIVE_TYPES - Property in JmxBuilderTools
-
Maps primitive type names to their JVM primitive classes.
- primitiveArrayBox(java.lang.Object) - Method in DefaultTypeTransformation
-
- primitiveArrayGet(java.lang.Object, java.util.Collection) - Method in DefaultGroovyMethods
-
Implements the getAt(Collection) method for primitive type arrays.
- primitiveArrayPut(java.lang.Object, int, java.lang.Object) - Method in DefaultGroovyMethods
-
Implements the putAt(int) method for primitive type arrays.
- primitiveArrayToList(java.lang.Object) - Method in DefaultTypeTransformation
-
Allows conversion of arrays into a mutable List
- primitiveArrayToUnmodifiableList(java.lang.Object) - Method in DefaultTypeTransformation
-
Allows conversion of arrays into an immutable List view
- PrimitiveHelper - Class in org.codehaus.groovy.antlr
- PrimitiveNameRewriter - Class in org.apache.groovy.docgenerator
Post-process pass over groovydoc's HTML output that renames mock-class pages
back to the historical Groovy-JDK URLs.
- PrimitiveNameRewriter() - Constructor in PrimitiveNameRewriter
-
- PRIMITIVES_PKG - Property in MockSourceGenerator
-
Synthetic package used for primitive and primitive-array receiver mocks.
- primitiveType() - Method in GroovyParser
-
- primitiveType() - Method in GroovyParser.CreatedNameContext
-
- primitiveType() - Method in GroovyParser.TypeContext
-
- PrimitiveTypeContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.PrimitiveTypeContext
-
- print(java.lang.Object) - Method in AstNodeToScriptVisitor
-
Writes text, applying the current indentation rules.
- print(java.util.EventObject) - Method in Console
-
Prints the input editor contents.
- print(groovy.lang.Closure, java.lang.Object) - Method in DefaultGroovyMethods
-
Print a value to the standard output stream.
- print(java.lang.String) - Method in DomToGroovy
-
Writes text through the configured indent printer.
- print(java.lang.Object) - Method in GroovyPrintStream
-
Prints an object Groovy style.
- print(java.lang.Object) - Method in GroovyPrintWriter
-
Prints an object using Groovy formatting.
- print(char) - Method in IndentPrinter
-
Prints a character.
- print(java.lang.Object) - Method in Inspector
-
- print(java.lang.Object) - Method in MarkupBuilder
-
Writes raw markup fragments or names to the output stream.
- print(java.io.PrintWriter) - Method in Node
-
Writes the node to the specified PrintWriter.
- print(groovy.util.Node) - Method in NodePrinter
-
Prints the supplied node tree.
- print(java.lang.Object) - Method in Script
-
Prints the value to the current 'out' variable which should be a PrintWriter
or at least have a print() method defined on it.
- PRINT - Field in StructuredSyntaxResources
-
Presentation name for print actions.
- print(java.awt.Graphics, java.awt.print.PageFormat, int) - Method in TextEditor
-
{@inheritDoc}
- print(groovy.util.Node, groovy.xml.XmlNodePrinter.NamespaceContext) - Method in XmlNodePrinter
-
Prints a node using the supplied namespace context.
- printAttributes(org.w3c.dom.Element) - Method in DomToGroovy
-
Emits the attributes for the supplied element.
- printAttributes(java.util.Map) - Method in NodePrinter
-
Prints node attributes.
- printAttributeWithoutPrefix(org.w3c.dom.Attr, boolean) - Method in DomToGroovy
-
Emits an unprefixed attribute and updates the separator state.
- printAttributeWithPrefix(org.w3c.dom.Attr, java.lang.StringBuffer) - Method in DomToGroovy
-
Appends a prefixed attribute representation to the deferred attribute buffer.
- printChildren(groovy.util.Node, java.util.Map) - Method in DomToGroovy
-
Emits all children of the supplied parent node.
- printComment(org.w3c.dom.Comment, boolean) - Method in DomToGroovy
-
Emits a Groovy block comment for a non-empty DOM comment node.
- printDoubleBreak() - Method in AstNodeToScriptVisitor
-
Ensures the output ends with a blank line.
- printElement(org.w3c.dom.Element, java.util.Map, boolean) - Method in DomToGroovy
-
Emits Groovy markup for a DOM element, including namespaces, attributes, and children.
- printEnd(java.lang.String, boolean) - Method in DomToGroovy
-
Finishes the current emitted fragment and optionally appends a comma.
- printError(java.lang.String) - Method in GroovyDocErrorReporter
-
Reports an error message.
- printError(java.lang.String) - Method in SimpleGroovyRootDoc
-
Reports an error message.
- Parameters:
arg0 - the error message
- printf(java.lang.Object, java.lang.String, java.lang.Object) - Method in DefaultGroovyMethods
-
Prints a formatted string using the specified format string and arguments.
- printf(java.lang.String, java.lang.Object) - Method in Script
-
Prints a formatted string using the specified format string and arguments.
- printIndent() - Method in DomToGroovy
-
Writes the current indentation through the configured indent printer.
- printIndent() - Method in IndentPrinter
-
Prints the current indent level.
- printLineBegin() - Method in XmlNodePrinter
-
Prints any indentation required before the current line.
- printLineBreak() - Method in AstNodeToScriptVisitor
-
Ensures the output ends with a single line break.
- printLineEnd(java.lang.String) - Method in XmlNodePrinter
-
Terminates the current line and optionally appends an XML comment.
- printList(java.util.List) - Method in NodePrinter
-
Prints a node value list.
- printList(java.util.List, groovy.xml.XmlNodePrinter.NamespaceContext) - Method in XmlNodePrinter
-
Prints the contents of a node value list.
- println(java.lang.Object) - Method in AstNodeToScriptVisitor
-
This visitor writes directly to its target and does not support println-style output.
- println(java.lang.Object, java.io.PrintWriter) - Method in DefaultGroovyMethods
-
Print to a console in interactive format.
- println(java.lang.String) - Method in DomToGroovy
-
Writes a line through the configured indent printer.
- println(java.lang.StringBuffer) - Method in ErrorReporter
-
- println(Map<String, Object>, java.lang.Object) - Method in GroovyConsoleEngine
-
Prints a value using the configured shell printer and option set.
- println(java.lang.Object) - Method in GroovyPrintStream
-
Prints an object Groovy style followed by a newline.
- println(java.lang.Object) - Method in GroovyPrintWriter
-
Prints an object followed by a line separator using Groovy formatting.
- println() - Method in IndentPrinter
-
Prints an end-of-line character (if enabled via addNewLines property).
- println(java.lang.Object) - Method in Script
-
Prints the value and a newline to the current 'out' variable which should be a PrintWriter
or at least have a println() method defined on it.
- printName(groovy.util.Node) - Method in NodePrinter
-
Prints the node name.
- printName(groovy.util.Node, groovy.xml.XmlNodePrinter.NamespaceContext, boolean, boolean) - Method in XmlNodePrinter
-
Prints an opening or closing tag for the supplied node.
- printNameAttributes(java.util.Map, groovy.xml.XmlNodePrinter.NamespaceContext) - Method in XmlNodePrinter
-
Prints the attributes for the current element.
- printNamespace(java.lang.Object, groovy.xml.XmlNodePrinter.NamespaceContext) - Method in XmlNodePrinter
-
Prints any namespace declaration required by the supplied node or qualified name.
- printNotice(java.lang.String) - Method in GroovyDocErrorReporter
-
Reports an informational notice.
- printNotice(java.lang.String) - Method in SimpleGroovyRootDoc
-
Reports an informational notice.
- Parameters:
arg0 - the notice message
- printPI(org.w3c.dom.ProcessingInstruction, boolean) - Method in DomToGroovy
-
Emits a processing instruction as an mkp.pi call.
- printQuoted(java.lang.String) - Method in DomToGroovy
-
Writes text as a Groovy string literal, using triple quotes for multi-line content.
- printResults(java.io.PrintStream) - Method in Groovy
-
print any results in the statement.
- printSanitizedStackTrace(java.lang.Throwable) - Method in StackTraceUtils
-
- printSimpleItem(java.lang.Object) - Method in XmlNodePrinter
-
Prints a simple non-node value, escaping it as element content.
- printSpecialNode(groovy.util.Node) - Method in XmlNodePrinter
-
Hook for subclasses to intercept node printing.
- printStackTrace() - Method in Exceptions.JsonInternalException
-
Logs the wrapped stack trace.
- printText(org.w3c.dom.Text, boolean) - Method in DomToGroovy
-
Emits a text node, using mkp.yield when nested in mixed content.
- printWarning(java.lang.String) - Method in GroovyDocErrorReporter
-
Reports a warning message.
- printWarning(java.lang.String) - Method in SimpleGroovyRootDoc
-
Reports a warning message.
- Parameters:
arg0 - the warning message
- priority() - Method in BuilderASTTransformation
-
- priority() - Method in LogASTTransformation
-
- priority() - Method in TransformWithPriority
-
- priority() - Method in TupleConstructorASTTransformation
-
- PRIVATE_BRIDGE_METHODS - Enum Constant in StaticCompilationMetadataKeys
-
Private bridge methods are methods used to access a nestmate's method.
- PRIVATE_FIELDS_ACCESSORS - Enum Constant in StaticCompilationMetadataKeys
-
Private fields accessors are methods used to read a nestmate's field.
- PRIVATE_FIELDS_MUTATORS - Enum Constant in StaticCompilationMetadataKeys
-
Private fields mutators are methods used to write a nestmate's field.
- PRIVATE() - Method in GroovyParser.ClassOrInterfaceModifierContext
-
- PRIVATE() - Method in GroovyParser.KeywordsContext
-
- PRIVATE() - Method in GroovyParser.VariableModifierContext
-
- PRIVATE - Enum Constant in Visibility
-
Private visibility.
- process(org.apache.groovy.contracts.common.spi.ProcessingContextInformation, org.apache.groovy.contracts.domain.Contract, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.ast.stmt.BlockStatement, org.codehaus.groovy.ast.expr.BooleanExpression) - Method in AnnotationProcessor
-
Processes a method- or constructor-level contract annotation and updates the contract domain model.
- process(org.apache.groovy.contracts.common.spi.ProcessingContextInformation, org.apache.groovy.contracts.domain.Contract, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.stmt.BlockStatement, org.codehaus.groovy.ast.expr.BooleanExpression) - Method in ClassInvariantAnnotationProcessor
-
Merges the supplied class-invariant expression into the current contract model.
- process(org.apache.groovy.contracts.common.spi.ProcessingContextInformation, org.apache.groovy.contracts.domain.Contract, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.ast.stmt.BlockStatement, org.codehaus.groovy.ast.expr.BooleanExpression) - Method in EnsuresAnnotationProcessor
-
Adds the supplied postcondition to the contract model for the given method or constructor.
- process(org.apache.groovy.contracts.common.spi.ProcessingContextInformation, org.apache.groovy.contracts.domain.Contract, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.ast.stmt.BlockStatement, org.codehaus.groovy.ast.expr.BooleanExpression) - Method in RequiresAnnotationProcessor
-
Adds the supplied precondition to the contract model for the given method or constructor.
- processBytecode(java.lang.String, byte[]) - Method in BytecodeDumper
-
- processBytecode(java.lang.String, byte[]) - Method in BytecodeProcessor
-
- processConfigScripts(List<String>, org.codehaus.groovy.control.CompilerConfiguration) - Method in GroovyMain
-
Evaluates configuration scripts against the supplied compiler configuration.
- processConfigScriptText(java.lang.String, org.codehaus.groovy.control.CompilerConfiguration) - Method in GroovyMain
-
Evaluates inline configuration script text against the supplied compiler configuration.
- processDoMethodInvokeException(java.lang.Exception, java.lang.Object, java.lang.Object) - Method in MetaMethod
-
Called when an exception occurs while invoking this method.
- ProcessExpression - Class in org.apache.groovy.ginq.dsl.expression
Represents process expression, e.g. where, groupby, orderby, limit, select
- processExtensionMethods(java.lang.ClassLoader, java.io.File) - Method in GrapeUtil
-
Processes and registers category methods (extension modules) from a JAR file.
- processGridBagConstraintsAttributes(groovy.util.FactoryBuilderSupport, java.lang.Object, java.util.Map) - Method in GridBagFactory
-
- ProcessGroovyMethods - Class in org.codehaus.groovy.runtime
This class defines new groovy methods which appear on normal JDK
classes related to process management.
- ProcessGroovyMethods.ProcessRunner - Class in org.codehaus.groovy.runtime
A Runnable which waits for a process to complete together with a notification scheme
allowing another thread to wait a maximum number of seconds for the process to complete
before killing it.
- ProcessingContextInformation - Class in org.apache.groovy.contracts.common.spi
- ProcessingContextInformation(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.io.ReaderSource) - Constructor in ProcessingContextInformation
-
Creates the processing context for one class and the contract model derived from it.
- processingInstruction(java.lang.String, java.lang.String) - Method in XmlParser
-
Receives processing instruction callbacks.
- ProcessingUnit - Class in org.codehaus.groovy.control
A base class for data structures that can collect messages and errors
during processing.
- ProcessingUnit(org.codehaus.groovy.control.CompilerConfiguration, groovy.lang.GroovyClassLoader, org.codehaus.groovy.control.ErrorCollector) - Constructor in ProcessingUnit
-
Initializes the ProcessingUnit to the empty state.
- processKeyEvent(java.awt.event.KeyEvent) - Method in TextEditor
-
{@inheritDoc}
- processMetaInfServices(java.lang.ClassLoader, java.io.File) - Method in GrapeUtil
-
Searches the given File for known service provider configuration files to process.
- processor - Field in AnnotationCollector
-
Processor used for computing custom logic or the list of annotations, or
both.
- ProcessResult - Class in org.codehaus.groovy.runtime
Captures the result of executing an external process, including
the standard output, standard error, and exit code.
- processResult(int[]) - Method in BatchingStatementWrapper
-
Incorporates one delegate batch execution result into this wrapper's state.
- ProcessResult(java.lang.String, java.lang.String, int) - Constructor in ProcessResult
-
- ProcessRunner(java.lang.Process) - Constructor in ProcessGroovyMethods.ProcessRunner
-
- processRunners(java.io.InputStream, java.lang.String, java.lang.ClassLoader) - Method in GrapeUtil
-
Processes and registers Groovy runner implementations from a service provider file.
- progressCallback - Field in CompilationUnit
-
- progressListeners - Property in GrapeMaven
-
Progress listeners notified during dependency resolution.
- promptStyle - Property in Console
-
Style used for prompt text in the output pane.
- properties() - Method in ArrayClassDocWrapper
-
Returns the Groovy properties declared by this type.
- Returns:
- the declared properties
- properties(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Designates a list of PropertyNodes.
- properties() - Method in ExternalGroovyClassDoc
-
Returns the Groovy properties declared by this type.
- Returns:
- the declared properties
- properties() - Method in GroovyClassDoc
-
Returns the Groovy properties declared by this type.
- properties - Field in GroovyDocTool
-
Rendering properties shared with the parser and template engine.
- properties() - Method in ObjectInspector
-
Returns grouped property information from the Groovy inspector.
- properties() - Method in SimpleGroovyClassDoc
-
returns a sorted array of properties
- properties - Property in TextNode
-
Additional name/value metadata shown for this node.
- properties - Property in TreeNodeWithProperties
-
Additional properties associated with this tree node.
- PropertiesModuleFactory - Class in org.codehaus.groovy.runtime.m12n
This is the base class for classes responsible for creating modules
using properties.
- property(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a property.
- PROPERTY_MISSING - Field in MetaClassImpl
-
Conventional Groovy instance propertyMissing hook name.
- PROPERTY_OPTIONS_TYPE - Field in PropertyHandler
-
- PROPERTY_OWNER - Enum Constant in StaticCompilationMetadataKeys
-
The type of the class which owns the property.
- PROPERTY_SET_PREFIX - Field in MetaProperty
-
Prefix used when deriving setter names from Groovy property names.
- property - Field in Singleton
-
- Returns:
- the singleton property name
- Default:
- "instance"
- PropertyAccessInterceptor - Interface in groovy.lang
- PropertyAccessor - Interface in groovy.beans
Strategy for reading and writing named properties.
- PropertyAddedEvent(java.lang.Object, java.lang.String, java.lang.Object) - Constructor in ObservableMap.PropertyAddedEvent
-
Creates a property-added event.
- PropertyBinding - Class in org.apache.groovy.swing.binding
Binds directly to a bean property and can act as a source, target, or trigger binding.
- PropertyBinding.UpdateStrategy - Enum in org.apache.groovy.swing.binding
Defines the thread on which target updates should run.
- PropertyBinding(java.lang.Object, java.lang.String, org.apache.groovy.swing.binding.PropertyBinding.UpdateStrategy) - Constructor in PropertyBinding
-
Creates a property binding using an explicit update strategy.
- propertyChange(java.beans.PropertyChangeEvent) - Method in JListElementsBinding
-
Rebinds listeners when the list model instance changes.
- propertyChange(java.beans.PropertyChangeEvent) - Method in JListSelectedElementBinding
-
Updates the target when the list selection model instance changes.
- propertyChange(java.beans.PropertyChangeEvent) - Method in PropertyPathFullBinding
-
Refreshes bind-path listeners and propagates the resulting value change.
- PropertyChangeProxyTargetBinding - Class in org.apache.groovy.swing.binding
- PropertyChangeProxyTargetBinding(java.lang.Object, java.lang.String, java.beans.PropertyChangeListener) - Constructor in PropertyChangeProxyTargetBinding
-
Creates a proxy target binding that synthesizes property change events.
- PropertyClearedEvent(java.lang.Object, java.util.Map) - Constructor in ObservableMap.PropertyClearedEvent
-
Creates a map-cleared event.
- PropertyColumnFactory - Class in groovy.swing.factory
Factory for creating property-backed table columns.
- PropertyColumnFactory() - Constructor in PropertyColumnFactory
-
- PropertyEvent(java.lang.Object, java.lang.String, java.lang.Object, java.lang.Object, ChangeType) - Constructor in ObservableMap.PropertyEvent
-
Creates a property event.
- PropertyExpression - Class in org.codehaus.groovy.ast.expr
Represents a property access such as the expression "foo.bar".
- PropertyExpression(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression, boolean) - Constructor in PropertyExpression
-
- PropertyHandler - Class in groovy.transform.options
Used to provide custom property handling when getting, setting or initializing properties.
- propertyHandler - Field in PropertyOptions
-
The property handler class which creates the necessary code for getting, setting or initializing properties.
- PropertyInfo(java.lang.String, org.codehaus.groovy.ast.ClassNode) - Constructor in BuilderASTTransformation.AbstractBuilderStrategy.PropertyInfo
-
Creates a new property information holder.
- propertyMissing(java.lang.String, java.lang.Object) - Method in Dataflows
-
Writing a property binds the corresponding DataflowVariable.
- propertyMissing(java.lang.String) - Method in MatchingConstraintsBuilder
-
Treats unknown property names as placeholder identifiers.
- propertyMissingDelegate - Field in FactoryBuilderSupport
-
Fallback invoked when a builder property cannot be resolved.
- PropertyModel - Class in groovy.swing.model
Exposes a named property of another
ValueModel as its own value model.
- PropertyModel(groovy.swing.model.ValueModel, java.lang.String, java.lang.Class, boolean) - Constructor in PropertyModel
-
Creates a property model with explicit type and editability.
- propertyName - Field in ExpandoMetaClass.ExpandoMetaProperty
-
Current expando member name being defined.
- PropertyNode - Class in org.codehaus.groovy.ast
Represents a property (member variable, a getter and setter)
- propertyNode(java.lang.String, int, java.lang.Class, java.lang.Class, groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a PropertyNode.
- PropertyNode(org.codehaus.groovy.ast.FieldNode, int, org.codehaus.groovy.ast.stmt.Statement, org.codehaus.groovy.ast.stmt.Statement) - Constructor in PropertyNode
-
Creates a property node from an existing field and getter/setter blocks.
- PropertyNodeUtils - Class in org.codehaus.groovy.ast.tools
- PropertyOptions - Annotation Type in groovy.transform
Marker annotation used to indicate that special property handling code will be generated for this class.
- PropertyPathFullBinding - Class in org.apache.groovy.swing.binding
A full binding that watches an entire property path rather than a single observable bean property.
- PropertyReader - Interface in groovy.beans
Strategy for reading a named property from an object.
- PropertyRemovedEvent(java.lang.Object, java.lang.String, java.lang.Object) - Constructor in ObservableMap.PropertyRemovedEvent
-
Creates a property-removed event.
- PropertyUpdatedEvent(java.lang.Object, java.lang.String, java.lang.Object, java.lang.Object) - Constructor in ObservableMap.PropertyUpdatedEvent
-
Creates a property-updated event.
- PropertyValue - Class in groovy.lang
A mutable view of a bean property value.
- PropertyValue(java.lang.Object, groovy.lang.MetaProperty) - Constructor in PropertyValue
-
Creates a property value view.
- PropertyWriter - Interface in groovy.beans
Strategy for writing a named property on an object.
- propX(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression, boolean) - Method in GeneralUtils
-
- PROTECTED() - Method in GroovyParser.ClassOrInterfaceModifierContext
-
- PROTECTED() - Method in GroovyParser.KeywordsContext
-
- PROTECTED() - Method in GroovyParser.VariableModifierContext
-
- PROTECTED - Enum Constant in Visibility
-
Protected visibility.
- protectedCacheSize - Field in Memoized
-
Number of cached return values to protect from garbage collection.
- provide(K) - Method in MemoizeCache.ValueProvider
-
Provide the created value
- Proxy - Class in groovy.util
Dynamic groovy proxy for another object.
- Proxy(java.lang.String, java.lang.String, org.codehaus.groovy.reflection.CachedClass, java.lang.Class, java.lang.Class) - Constructor in GeneratedMetaMethod.Proxy
-
- proxy - Property in MockFor
-
Proxy meta class used to intercept collaborator interactions.
- proxy(Map<Object,Object>, java.lang.Object) - Method in ProxyGeneratorAdapter
-
- proxy - Property in StubFor
-
Proxy meta class used to intercept collaborator interactions.
- proxyDelegateInstance(java.lang.Object) - Method in MockFor
-
Allows a more traditional instance-style mocking paradigm.
- proxyDelegateInstance(java.lang.Object) - Method in StubFor
-
Allows a more traditional instance-style stubbing paradigm.
- ProxyGenerator - Class in groovy.util
Generates 'Proxy' objects which implement interfaces, maps of closures and/or
extend classes/delegates.
- ProxyGeneratorAdapter - Class in org.codehaus.groovy.runtime
A proxy generator responsible for mapping a map of closures to a class implementing a list of interfaces.
- ProxyGeneratorAdapter(Map<Object,Object>, java.lang.Class, java.lang.Class, java.lang.ClassLoader, boolean, java.lang.Class) - Constructor in ProxyGeneratorAdapter
-
Construct a proxy generator.
- proxyInstance(java.lang.Object) - Method in MockFor
-
Allows a more traditional instance-style mocking paradigm.
- proxyInstance(java.lang.Object) - Method in StubFor
-
Allows a more traditional instance-style stubbing paradigm.
- ProxyMetaClass - Class in groovy.lang
As subclass of MetaClass, ProxyMetaClass manages calls from Groovy Objects to POJOs.
- ProxyMetaClass(groovy.lang.MetaClassRegistry, java.lang.Class, groovy.lang.MetaClass) - Constructor in ProxyMetaClass
-
- Parameters:
adaptee - the MetaClass to decorate with interceptability
- ps - Field in GroovyParser.ClassDeclarationContext
-
- PUBLIC() - Method in GroovyParser.ClassOrInterfaceModifierContext
-
- PUBLIC() - Method in GroovyParser.KeywordsContext
-
- PUBLIC() - Method in GroovyParser.VariableModifierContext
-
- PUBLIC - Enum Constant in Visibility
-
Public visibility.
- Pure - Annotation Type in groovy.transform
Marks the return value of "pure" method only comes from expressions involving
constants or other pure methods.
- PURE_PREFIX_OPERATOR - Field in Types
-
- purgeCache() - Method in GroovyEngine.Cloner
-
Purges cache entries created since the last mark.
- purgeClassCache(java.lang.String) - Method in GroovyEngine
-
Purges classes from the class cache matching the given regex.
- purgeClassCache() - Method in GroovyEngine.EngineClassLoader
-
Purges all dynamically generated script classes from the cache.
- purgeStaleEntries() - Method in ConcurrentReferenceHashMap
-
Removes any stale entries whose keys have been finalized.
- PurityChecker - Class in groovy.typecheckers
A compile-time checker that verifies @Pure methods have no side effects.
- PurityChecker() - Constructor in PurityChecker
-
- push(List<T>, T) - Method in DefaultGroovyMethods
-
Prepends an item to the start of the List.
- push(org.codehaus.groovy.ast.ClassNode) - Method in OperandStack
-
push operand on stack
- pushAssignmentTracking() - Method in StaticTypeCheckingVisitor
-
- pushBlockRecorder(org.codehaus.groovy.classgen.asm.CompileStack.BlockRecorder) - Method in CompileStack
-
- pushBlockRecorderVisit(org.codehaus.groovy.classgen.asm.CompileStack.BlockRecorder) - Method in CompileStack
-
- pushBool(boolean) - Method in OperandStack
-
- pushBooleanExpression() - Method in CompileStack
-
Because a boolean Expression may not be evaluated completely
it is important to keep the registers clean.
- pushBreakable(List<String>) - Method in CompileStack
-
Creates a new break label and an element for the state stack so pop has
to be called later.
- pushConstant(org.objectweb.asm.MethodVisitor, int) - Method in BytecodeHelper
-
- pushConstant(org.codehaus.groovy.ast.expr.ConstantExpression) - Method in OperandStack
-
load the constant on the operand stack.
- pushContext(org.codehaus.groovy.ast.ASTNode) - Method in ContextualClassCodeVisitor
-
Pushes a child context for the supplied AST node.
- pushDynamicName(org.codehaus.groovy.ast.expr.Expression) - Method in OperandStack
-
- pushEnclosingBinaryExpression(org.codehaus.groovy.ast.expr.BinaryExpression) - Method in AbstractTypeCheckingExtension
-
- pushEnclosingBinaryExpression(org.codehaus.groovy.ast.expr.BinaryExpression) - Method in TypeCheckingContext
-
Pushes a binary expression into the binary expression stack.
- pushEnclosingClassNode(org.codehaus.groovy.ast.ClassNode) - Method in AbstractTypeCheckingExtension
-
- pushEnclosingClassNode(org.codehaus.groovy.ast.ClassNode) - Method in TypeCheckingContext
-
Pushes a class into the classes stack.
- pushEnclosingClosureExpression(org.codehaus.groovy.ast.expr.ClosureExpression) - Method in AbstractTypeCheckingExtension
-
- pushEnclosingClosureExpression(org.codehaus.groovy.ast.expr.ClosureExpression) - Method in TypeCheckingContext
-
Pushes a closure expression into the closure expression stack.
- pushEnclosingMethod(org.codehaus.groovy.ast.MethodNode) - Method in AbstractTypeCheckingExtension
-
- pushEnclosingMethod(org.codehaus.groovy.ast.MethodNode) - Method in TypeCheckingContext
-
Pushes a method into the method stack.
- pushEnclosingMethodCall(org.codehaus.groovy.ast.expr.Expression) - Method in AbstractTypeCheckingExtension
-
- pushEnclosingMethodCall(org.codehaus.groovy.ast.expr.Expression) - Method in TypeCheckingContext
-
Pushes a method call into the method call stack.
- pushEnclosingSwitchStatement(org.codehaus.groovy.ast.stmt.SwitchStatement) - Method in TypeCheckingContext
-
Pushes a switch statement into the switch statement stack.
- pushErrorCollector(org.codehaus.groovy.control.ErrorCollector) - Method in TypeCheckingContext
-
- pushImplicitThis(boolean) - Method in CompileStack
-
- pushInSpecialConstructorCall() - Method in CompileStack
-
- pushInstanceOfTypeInfo(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypeCheckingVisitor
-
Stores information about types when [objectExpression instanceof typeExpression] is visited.
- pushLHS(boolean) - Method in CompileStack
-
- pushLoop(java.lang.String) - Method in CompileStack
-
Should be called when descending into a loop that does not define a scope.
- pushState() - Method in CompileStack
-
- pushSwitch() - Method in CompileStack
-
Creates a new break label and an element for the state stack so pop has
to be called later.
- pushTemporaryTypeInfo() - Method in AbstractTypeCheckingExtension
-
- pushTemporaryTypeInfo() - Method in TypeCheckingContext
-
- pushVariableScope(org.codehaus.groovy.ast.VariableScope) - Method in CompileStack
-
Causes the state-stack to add an element and sets
the given scope as new current variable scope.
- Put - Annotation Type in groovy.http
Marks an interface method as an HTTP PUT request.
- put(java.lang.String, java.lang.Object) - Method in AntProjectPropertiesDelegate
-
Stores the supplied property value through the owning Ant project.
- put(KEY, VALUE) - Method in Cache
-
Stores a value under the supplied key.
- put(java.lang.String, org.codehaus.groovy.vmplugin.v8.MethodHandleWrapper) - Method in CacheableCallSite
-
- put(K, V) - Method in CommonCache
-
Associates the specified value with the specified key in the cache.
- Parameters:
key - key with which the specified value is to be associatedvalue - value to be associated with the specified key
- Returns:
- null, or the old value if the key associated with the specified key.
- put(K, V) - Method in ConcurrentCommonCache
-
Associates the specified value with the specified key in the cache.
- Parameters:
key - key with which the specified value is to be associatedvalue - value to be associated with the specified key
- Returns:
- null, or the old value if the key associated with the specified key.
- put(K, V) - Method in ConcurrentLinkedHashMap
-
{@inheritDoc}
- put(java.lang.Object, java.lang.Object) - Method in ConcurrentReaderHashMap
-
Maps the specified key to the specified
value in this table.
- put(K, V) - Method in ConcurrentReferenceHashMap
-
Maps the specified key to the specified value in this table.
- put(java.lang.Object, java.lang.Object) - Method in ConfigObject
-
{@inheritDoc}
- put(java.lang.String, java.lang.Object) - Method in GroovyEngine
-
Stores a variable in the binding.
- put(java.lang.String, java.lang.Object) - Method in GroovyRowResult
-
Associates the specified value with the specified property name in this result.
- put(java.lang.String, org.apache.groovy.plugin.GroovyRunner) - Method in GroovyRunnerRegistry
-
Registers a runner with the specified key.
- put(java.lang.Object, Closure<?>) - Method in HttpBuilder
-
Executes a synchronous PUT request.
- put(java.lang.String, java.lang.Object) - Method in LazyMap
-
Stores a mapping while keeping the compact array-backed representation until hydration is needed.
- put(java.lang.String, java.lang.Object) - Method in LazyValueMap
-
- put(K, V) - Method in ListHashMap
-
{@inheritDoc}
- put(K, V) - Method in LRUCache
-
- put(K, V) - Method in ManagedConcurrentValueMap
-
Sets a new value for a given key. an older value is overwritten.
- put(K, V) - Method in MapWithDefault
-
Associates the specified value with the specified key in this map.
- put(K, V) - Method in MemoizeCache
-
Associates the specified value with the specified key in the cache.
- put(java.lang.String, java.lang.String) - Method in NamespaceAwareHashMap
-
{@inheritDoc}
- put(java.lang.Object, java.lang.Object) - Method in ObservableMap
-
{@inheritDoc}
- put(java.lang.String, java.lang.String) - Method in Preferences
-
- put(java.lang.String, java.lang.Object) - Method in ProcessingContextInformation
-
Stores an auxiliary value in the per-class processing context.
- put(K, V) - Method in SimpleCache
-
{@inheritDoc}
- put(java.lang.String, org.codehaus.groovy.groovydoc.GroovyPackageDoc) - Method in SimpleGroovyRootDoc
-
Adds a package to this root document.
- put(java.lang.Object, java.lang.Object) - Method in SpreadMap
-
Always throws because spread maps are immutable.
- put(K, V) - Method in StampedCommonCache
-
Associates the specified value with the specified key in the cache.
- Parameters:
key - key with which the specified value is to be associatedvalue - value to be associated with the specified key
- Returns:
- null, or the old value if the key associated with the specified key.
- put(K, V) - Method in UnlimitedConcurrentCache
-
Associates the specified value with the specified key in the cache.
- put(java.lang.String, org.apache.groovy.json.internal.Value) - Method in ValueMapImpl
-
Unsupported because entries are appended during parsing rather than replaced by key.
- putAll(Map<? extends String,?>) - Method in AntProjectPropertiesDelegate
-
Copies every supplied property into the owning Ant project.
- putAll(Map<? extends K,? extends V>) - Method in CommonCache
-
- putAll(Map<? extends K,? extends V>) - Method in ConcurrentCommonCache
-
- putAll(java.util.Map) - Method in ConcurrentReaderHashMap
-
Copies all the mappings from the specified map to this one.
- putAll(Map<? extends K,? extends V>) - Method in ConcurrentReferenceHashMap
-
Copies all of the mappings from the specified map to this one.
- putAll(java.util.Map) - Method in ConfigObject
-
{@inheritDoc}
- putAll(Map<K,V>, Collection<? extends Map.Entry<? extends K,? extends V>>) - Method in DefaultGroovyMethods
-
Provides an easy way to append multiple Map.Entry values to a Map.
- putAll(Map<? extends String,?>) - Method in GroovyRowResult
-
Copies all of the mappings from the specified map to this result.
- putAll(Map<? extends String,? extends GroovyRunner>) - Method in GroovyRunnerRegistry
-
Adds all entries from the given Map to the registry.
- putAll(java.util.Map) - Method in LazyMap
-
Hydrates the backing map if needed and copies all supplied entries into it.
- putAll(Map<? extends K,? extends V>) - Method in ListHashMap
-
{@inheritDoc}
- putAll(Map<? extends K,? extends V>) - Method in MapWithDefault
-
{@inheritDoc}
- putAll(Map<? extends String,? extends String>) - Method in NamespaceAwareHashMap
-
{@inheritDoc}
- putAll(java.util.Map) - Method in ObservableMap
-
{@inheritDoc}
- putAll(Map<String,GroovyClassDoc>) - Method in SimpleGroovyPackageDoc
-
Adds all supplied classes to this package and back-links them to the package.
- putAll(java.util.Map) - Method in SpreadMap
-
Always throws because spread maps are immutable.
- putAll(Map<? extends K,? extends V>) - Method in StampedCommonCache
-
- putAll(Map<? extends K,? extends V>) - Method in UnlimitedConcurrentCache
-
- putAllClasses(Map<String,GroovyClassDoc>) - Method in SimpleGroovyRootDoc
-
Adds all supplied classes to this root document.
- putAsync(java.lang.Object, Closure<?>) - Method in HttpBuilder
-
Executes an asynchronous PUT request.
- putAt(double[], groovy.lang.IntRange, Iterable<Number>) - Method in ArrayGroovyMethods
-
A helper method to allow arrays to be set with subscript operators.
- putAt(java.util.Date, int, int) - Method in DateUtilExtensions
-
Support the subscript operator for mutating a Date.
- putAt(java.util.List, java.util.List, java.util.List) - Method in DefaultGroovyMethods
-
- putAt(org.w3c.dom.Element, java.lang.String, java.lang.Object) - Method in DOMCategory
-
Performs a GPath-style property assignment on an element.
- putAt(int, java.lang.Object) - Method in GPathResult
-
A helper method to allow GPathResults to work with subscript operators
- putAt(java.lang.String, java.lang.Object) - Method in GroovyResultSet
-
Updates the designated column with an Object value.
- putAt(int, java.lang.Object) - Method in GroovyResultSetExtension
-
Supports integer based subscript operators for updating the values of numbered columns
starting at zero.
- putAt(java.lang.StringBuilder, groovy.lang.IntRange, java.lang.Object) - Method in PluginDefaultGroovyMethods
-
Supports the range subscript operator for StringBuilder.
- putAt(jakarta.servlet.jsp.PageContext, java.lang.String, java.lang.Object) - Method in ServletCategory
-
Stores a page context attribute using Groovy subscript syntax.
- putAt(boolean[], int, boolean) - Method in StaticTypeCheckingSupport.BooleanArrayStaticTypesHelper
-
- putAt(byte[], int, byte) - Method in StaticTypeCheckingSupport.ByteArrayStaticTypesHelper
-
- putAt(char[], int, char) - Method in StaticTypeCheckingSupport.CharArrayStaticTypesHelper
-
- putAt(double[], int, double) - Method in StaticTypeCheckingSupport.DoubleArrayStaticTypesHelper
-
- putAt(float[], int, float) - Method in StaticTypeCheckingSupport.FloatArrayStaticTypesHelper
-
- putAt(int[], int, int) - Method in StaticTypeCheckingSupport.IntArrayStaticTypesHelper
-
- putAt(long[], int, long) - Method in StaticTypeCheckingSupport.LongArrayStaticTypesHelper
-
- putAt(T, int, U) - Method in StaticTypeCheckingSupport.ObjectArrayStaticTypesHelper
-
- putAt(short[], int, short) - Method in StaticTypeCheckingSupport.ShortArrayStaticTypesHelper
-
- putAt(java.lang.StringBuffer, groovy.lang.IntRange, java.lang.Object) - Method in StringGroovyMethods
-
Supports the range subscript operator for StringBuffer.
- putAt(javax.swing.tree.MutableTreeNode, int, javax.swing.tree.MutableTreeNode) - Method in SwingExtensions
-
Allow MutableTreeNode to work with subscript operators.
- putChild(java.lang.String, LexerNode) - Method in StructuredSyntaxDocumentFilter.LexerNode
-
Registers a child lexer for matches of any supplied expression.
- putDeclaredVariable(org.codehaus.groovy.ast.Variable) - Method in VariableScope
-
Adds a variable as declared in this scope.
- putIfAbsent(K, V) - Method in ConcurrentLinkedHashMap
-
{@inheritDoc}
- putIfAbsent(K, V) - Method in ConcurrentReferenceHashMap
-
{@inheritDoc}
- putNodeMetaData(java.lang.Object, java.lang.Object) - Method in NodeMetaDataHandler
-
Sets the node metadata but allows overwriting values.
- putReferencedClassVariable(org.codehaus.groovy.ast.Variable) - Method in VariableScope
-
Adds a variable as a referenced class variable in this scope.
- putReferencedLocalVariable(org.codehaus.groovy.ast.Variable) - Method in VariableScope
-
Adds a variable as a referenced local variable in this scope.
- putStyle(java.lang.String, javax.swing.text.Style) - Method in StructuredSyntaxDocumentFilter.LexerNode
-
Associates a style with matches of any supplied expression.
- putUserdata(java.lang.Object, java.lang.Object) - Method in TreeContext
-
Appends a user data value for the supplied key.
- PV_FIELDS_ACCESS - Enum Constant in StaticTypesMarker
-
set of private fields that are accessed from closures or inner classes
- PV_FIELDS_MUTATION - Enum Constant in StaticTypesMarker
-
set of private fields that are set from closures or inner classes
- PV_METHODS_ACCESS - Enum Constant in StaticTypesMarker
-
set of private methods that are accessed from closures or inner classes
- Range - Interface in groovy.lang
A Range represents the list of discrete items between some starting (or from)
value and working up towards some ending (or to) value.
- range(groovy.lang.Range) - Method in AstSpecificationCompiler
-
Creates a RangeExpression.
- range - Property in CallSpec
-
Accepted call-count range for the demand.
- RANGE_EXCLUSIVE_FULL() - Method in GroovyParser.ShiftExprAltContext
-
- RANGE_EXCLUSIVE_LEFT() - Method in GroovyParser.ShiftExprAltContext
-
- RANGE_EXCLUSIVE_RIGHT() - Method in GroovyParser.ShiftExprAltContext
-
- RANGE_INCLUSIVE() - Method in GroovyParser.ShiftExprAltContext
-
- RANGE_OPERATOR - Field in Types
-
- range() - Method in WindowDefinition
-
Define the window bounds by values, similar to MySQL's range between 1.0 preceding and 1.0 following of window definition
- RangeExpression - Class in org.codehaus.groovy.ast.expr
Represents a range expression for creating range objects with bounded endpoints.
- RangeExpression(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression, boolean, boolean) - Constructor in RangeExpression
-
Creates a range expression with full control over inclusivity of both endpoints.
- RangeExpressionTransformer - Class in org.codehaus.groovy.transform.sc.transformers
This transformer focuses on ranges to produce optimized bytecode.
- RangeExpressionTransformer(org.codehaus.groovy.transform.sc.transformers.StaticCompilationTransformer) - Constructor in RangeExpressionTransformer
-
- RangeInfo - Class in org.codehaus.groovy.runtime
- RangeInfo(int, int, boolean) - Constructor in RangeInfo
-
- rangeOp - Field in GroovyParser.ShiftExprAltContext
-
- ranges - Field in CompileStack.BlockRecorder
-
- rank() - Method in Window
-
Returns the rank in the window
- raquo - Field in Entity
-
Entity reference ».
- raw - Property in HttpResult
-
- raw - Property in HttpStreamResult
-
- RawJavaFileObject - Class in org.codehaus.groovy.tools.javac
Represents a Java source file in file to compile
- RawJavaFileObject(java.net.URI) - Constructor in RawJavaFileObject
-
Construct a RawJavaFileObject of the given kind and with the
given URI.
- rawLine() - Method in SystemRegistryImpl.CommandData
-
Returns the raw command line.
- RBRACE() - Method in GroovyParser.ArrayInitializerContext
-
- RBRACE() - Method in GroovyParser.BlockContext
-
- RBRACE() - Method in GroovyParser.ClassBodyContext
-
- RBRACE() - Method in GroovyParser.ClosureContext
-
- RBRACE() - Method in GroovyParser.ElementValueArrayInitializerContext
-
- RBRACE() - Method in GroovyParser.SwitchExpressionContext
-
- RBRACE() - Method in GroovyParser.SwitchStatementContext
-
- RBRACK() - Method in GroovyParser.Dim0Context
-
- RBRACK() - Method in GroovyParser.Dim1Context
-
- RBRACK() - Method in GroovyParser.ElementValueArrayInitializerContext
-
- RBRACK() - Method in GroovyParser.IndexPropertyArgsContext
-
- RBRACK() - Method in GroovyParser.ListContext
-
- RBRACK() - Method in GroovyParser.MapContext
-
- RBRACK() - Method in GroovyParser.NamedPropertyArgsContext
-
- rcurry(java.lang.Object) - Method in Closure
-
Support for Closure "right" currying.
- rdquo - Field in Entity
-
Entity reference ”.
- reactor(Function<T,R>) - Method in Actor
-
Creates a stateless reactor actor.
- reactor(Function<T,R>) - Method in DefaultActor
-
- ReactorAwaitableAdapter - Class in org.apache.groovy.reactor
Adapter for Project Reactor types, enabling:
await mono — awaits a single-value Mono
for await (item in flux) — iterates over a Flux
- read(char[], int, int) - Method in CharSequenceReader
-
Read the specified number of characters into the array.
- read(java.lang.Object, java.lang.String) - Method in DefaultPropertyAccessor
-
Reads the named property from the supplied owner.
- Parameters:
owner - the object that owns the propertypropertyName - the property name
- Returns:
- the property value
- read(java.lang.Object, java.lang.String) - Method in DefaultPropertyReader
-
Reads the named property from the supplied owner.
- Parameters:
owner - the object that owns the propertypropertyName - the property name
- Returns:
- the property value
- read(java.io.Reader, org.apache.groovy.json.internal.CharBuf, int) - Method in IO
-
Reads all characters from a reader into a recyclable buffer and closes the reader.
- read(java.nio.CharBuffer) - Method in LineColumnReader
-
Not implemented.
- READ_LOCK - Field in AtnManager
-
- read(java.lang.Object, java.lang.String) - Method in PropertyReader
-
Reads the named property from the supplied owner.
- readBytes(java.nio.file.Path) - Method in NioExtensions
-
Reads the content of the file into a byte array.
- readBytes(java.io.File) - Method in ResourceGroovyMethods
-
Reads the content of the file into a byte array.
- ReaderCharacterSource - Class in org.apache.groovy.json.internal
- ReaderCharacterSource(java.lang.String) - Constructor in ReaderCharacterSource
-
Creates a character source over an in-memory string.
- ReaderSource - Interface in org.codehaus.groovy.control.io
An interface for things that can supply (and potentially resupply) a Reader
on a source stream.
- readerSource() - Method in ProcessingContextInformation
-
Returns the reader source used to look up source fragments during code generation.
- ReadException - Class in org.codehaus.groovy.syntax
Exception that wraps I/O exceptions (
IOException) in a Groovy-specific context.
- ReadException(java.lang.String, java.io.IOException) - Constructor in ReadException
-
Constructs a ReadException from a message and an I/O exception.
- readForRecycle() - Method in CharBuf
-
Returns the backing array and resets the write position.
- readLine(java.io.Reader) - Method in IOGroovyMethods
-
Read a single, whole line from the given Reader.
- readLine() - Method in LineColumnReader
-
Reads a line of text.
- readLines(java.io.Reader) - Method in IOGroovyMethods
-
Reads the reader into a list of Strings, with one entry for each line.
- readLines(java.nio.file.Path, java.lang.String) - Method in NioExtensions
-
Reads the file into a list of Strings, with one item for each line.
- readLines(java.net.URL, java.lang.String) - Method in ResourceGroovyMethods
-
Reads the URL contents into a list, with one element for each line.
- readLines(java.lang.CharSequence) - Method in StringGroovyMethods
-
Returns the lines of a CharSequence as a List of String.
- readNumber() - Method in CharacterSource
-
Reads a number from the character source.
- readNumber(char[], int, int) - Method in CharScanner
-
Copies a contiguous JSON number token into a new array.
- readNumber() - Method in ReaderCharacterSource
-
Reads a numeric token from the current position.
- READONLY_PROPERTY - Enum Constant in StaticTypesMarker
-
used to tell that a property expression refers to a read-only property
- ReadOnlyPropertyException - Class in groovy.lang
This exception is thrown if an attempt is made to set a read-only property.
- ReadOnlyPropertyException(java.lang.String, java.lang.String) - Constructor in ReadOnlyPropertyException
-
Creates an exception for a read-only property on the supplied class name.
- ReadWriteLockASTTransformation - Class in org.codehaus.groovy.transform
Handles generation of code for the @WithReadLock and @WithWriteLock annotation.
- readyToIndent - Property in AstNodeToScriptVisitor
-
Indicates whether the next write should emit indentation first.
- REAL - Field in Sql
-
Stored procedure OUT parameter marker for JDBC type
REAL.
- reallocateIndexes() - Method in TableSorter
-
Rebuilds the row index mapping to match the current delegate row count.
- Realm - Class in org.apache.groovy.metaclass
A Realm is the representation of a metaclass layer in a tree of realm objects.
- reapplyHighlighting() - Method in ConsoleTextEditor
-
Re-run the syntax highlighter on the full document so character
attributes match the current theme.
- reapplyTheme() - Method in Console
-
Reapplies the current theme and retints console components.
- reason() - Method in GroovyDisabledIf
-
- reason() - Method in GroovyEnabledIf
-
- rebind() - Method in AbstractSyntheticBinding
-
Reinstalls the synthetic listeners when the binding is already active.
- rebind() - Method in AggregateBinding
-
Rebinds every member binding when the aggregate is currently active.
- rebind() - Method in BindingProxy
-
Rebinds every generated full binding while preserving the current bound state.
- rebind() - Method in BindingUpdatable
-
Causes the current bindings to be reset.
- rebind() - Method in MutualPropertyBinding
-
Rebinds both forward and reverse bindings when currently active.
- rebind() - Method in PropertyPathFullBinding
-
Rebuilds listener registrations when the binding is currently active.
- rebuildBindings() - Method in MutualPropertyBinding
-
Rebuilds the internal forward and reverse bindings to match the current configuration.
- receive() - Method in AsyncChannel
-
Receives the next value from this channel.
- receive() - Method in DefaultAsyncChannel
-
- Receiver - Class in org.codehaus.groovy.transform.stc
- RECEIVER_OF_DYNAMIC_PROPERTY - Enum Constant in StaticCompilationMetadataKeys
-
If a receiver is the receiver of a dynamic property (for mixed-mode compilation).
- Receiver(org.codehaus.groovy.ast.ClassNode, boolean, T) - Constructor in Receiver
-
- recompile(java.net.URL, java.lang.String, java.lang.Class) - Method in GroovyClassLoader
-
(Re)Compiles the given source.
- record(org.codehaus.groovy.ast.expr.Expression) - Method in AssertionWriter
-
- RECORD_COMPONENT_TARGET - Field in AnnotationNode
-
- RECORD_DEF - Field in SimpleGroovyDoc
-
Token type used for records.
- RECORD() - Method in GroovyParser.ClassDeclarationContext
-
- RECORD() - Method in GroovyParser.IdentifierContext
-
- RECORD() - Method in GroovyParser.KeywordsContext
-
- record(java.lang.Object, int) - Method in ValueRecorder
-
- RecordBase - Annotation Type in groovy.transform
Class annotation used to assist in the creation of record-like classes.
- RecordBaseASTStubber - Class in org.codehaus.groovy.transform
- RecordCompletionASTTransformation - Class in org.codehaus.groovy.transform
Handles completion of code for the
- RecordType:
- annotation.
- RecordComponentNode - Class in org.codehaus.groovy.ast
Represents a component (field) of a record class definition introduced in Java 16.
- RecordComponentNode(org.codehaus.groovy.ast.ClassNode, java.lang.String, org.codehaus.groovy.ast.ClassNode, List<AnnotationNode>) - Constructor in RecordComponentNode
-
Creates a record component with the specified name, type, and annotations.
- recorded - Property in Demand
-
Recorded method expectations in declaration order.
- recordModification(java.lang.Object) - Method in ConcurrentReaderHashMap
-
Force a memory synchronization that will cause
all readers to see table.
- recordNative(org.codehaus.groovy.ast.ClassNode) - Method in RecordTypeASTTransformation
-
Indicates that the given classnode is a native JVM record class.
- RecordOptions - Annotation Type in groovy.transform
Class annotation used to assist in the creation of record-like classes.
- RecordType - Annotation Type in groovy.transform
Meta annotation used when defining record-like classes.
- RecordTypeASTTransformation - Class in org.codehaus.groovy.transform
Handles generation of code for the
- RecordType:
- annotation.
- RecordTypeMode - Enum in groovy.transform
Intended mode to use for records when using the @RecordType annotation (or record keyword).
- recover(org.antlr.v4.runtime.Parser, org.antlr.v4.runtime.RecognitionException) - Method in DescriptiveErrorStrategy
-
- recover(org.antlr.v4.runtime.LexerNoViableAltException) - Method in GroovyLangLexer
-
- recoverInline(org.antlr.v4.runtime.Parser) - Method in DescriptiveErrorStrategy
-
- recreateSrc() - Method in Groovyc
-
Recreate src.
- recurByThrowStatement() - Method in AstHelper
-
This statement will throw exception which will be caught and redirected to jump to surrounding while loop's start label
Also works from within Closures but is a tiny bit slower
- RecursivenessTester - Class in org.codehaus.groovy.transform.tailrec
Test if a method call is recursive if called within a given method node.
- recurStatement() - Method in AstHelper
-
This statement should make the code jump to surrounding while loop's start label
Does not work from within Closures
- recycle() - Method in CharBuf
-
Resets the write position without clearing the backing array.
- red(java.lang.String) - Method in Icons
-
Returns a red app-themed icon at the fixed menu size.
- redirect() - Method in ClassNode
-
Returns the ClassNode this node is a proxy for or the node itself.
- redirect(java.lang.String) - Method in ServletBinding
-
Sends a redirect response to the supplied location.
- REDIRECT - Enum Constant in SystemRegistryImpl.Pipe
-
Output redirection to file
- redo(java.util.EventObject) - Method in Console
-
Redoes the most recently undone edit in the input editor.
- REDO - Field in StructuredSyntaxResources
-
Presentation name for redo actions.
- redo() - Method in TextUndoManager
-
{@inheritDoc}
- redoTo(javax.swing.undo.UndoableEdit) - Method in TextUndoManager
-
{@inheritDoc}
- Reduction - Class in org.codehaus.groovy.syntax
A syntax reduction produced by the Parser during syntactic analysis.
- Reduction(org.codehaus.groovy.syntax.Token) - Constructor in Reduction
-
Constructs a Reduction with the specified root token.
- reenableTracker() - Method in AssertionWriter
-
- ReevaluatingReference - Class in org.apache.groovy.internal.util
This class represents a reference to the most actual incarnation of a Metaclass.
- ReevaluatingReference(java.lang.Class, Supplier<T>, Function<T,SwitchPoint>) - Constructor in ReevaluatingReference
-
- REF_LABEL_REGEX - Field in SimpleGroovyClassDoc
-
Pattern used to split a reference target from its optional label.
- REF - Field in Sql
-
Stored procedure OUT parameter marker for JDBC type
REF.
- Reference - Interface in org.codehaus.groovy.util
Abstraction over reference implementations that keep a cleanup handler alongside the referent.
- Reference(T) - Constructor in Reference
-
Creates a reference initialized with the supplied value.
- ReferenceBundle - Class in org.codehaus.groovy.util
- ReferenceBundle(org.codehaus.groovy.util.ReferenceManager, org.codehaus.groovy.util.ReferenceType) - Constructor in ReferenceBundle
-
Creates a reference bundle for the supplied manager and reference type.
- ReferenceManager - Class in org.codehaus.groovy.util
Coordinates cleanup of managed references using idling, callback-driven, or threaded processing.
- ReferenceManager(java.lang.ref.ReferenceQueue) - Constructor in ReferenceManager
-
Creates a manager for the supplied queue.
- ReferenceType - Enum in org.codehaus.groovy.util
Supported reference implementations for managed references.
- referenceType() - Method in GroovyParser
-
- referenceType() - Method in GroovyParser.TypeContext
-
- ReferenceTypeContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ReferenceTypeContext
-
- reflection - Field in AbstractHttpServlet
-
Mirrors the static value of the reflection flag in MetaClass.
- ReflectionCache - Class in org.codehaus.groovy.reflection
Central registry for obtaining cached class information.
- ReflectionClassNameResolver(java.lang.String) - Constructor in ObjectGraphBuilder.ReflectionClassNameResolver
-
- Parameters:
root - package where the graph root class is located
- ReflectionMetaMethod - Class in org.codehaus.groovy.runtime.metaclass
- ReflectionMetaMethod(org.codehaus.groovy.reflection.CachedMethod) - Constructor in ReflectionMetaMethod
-
- ReflectionMethodInvoker - Class in org.codehaus.groovy.runtime
Utility class to call methods through reflection, and falls through using the Invoker to call the method if it fails.
- ReflectionUtils - Class in org.codehaus.groovy.reflection
This class contains utility methods to determine which class called the
current class to multiple levels of depth.
- Reflector - Class in org.codehaus.groovy.runtime
Provides as alternative to reflection using bytecode generation.
- ReflectorLoader - Class in org.codehaus.groovy.runtime.metaclass
Reflector creation helper.
- ReflectorLoader(java.lang.ClassLoader) - Constructor in ReflectorLoader
-
creates a ReflectorLoader.
- refresh() - Method in GroovyEngine
-
Refreshes the syntax highlighter, forcing a reload on next use.
- refreshAction - Property in AstBrowser
-
Refresh action shared by toolbar and menu items.
- refreshAll() - Method in Icons
-
Re-run the colour filter so every icon adopts the new LaF foreground.
- refreshColors() - Method in Icons.DynamicSVGIcon
-
Rebuilds this icon so it adopts current theme colours.
- refreshInheritedMethods(java.util.Set) - Method in ExpandoMetaClass
-
Called from ExpandoMetaClassCreationHandle in the registry if it exists to
set up inheritance handling
- refreshSystemDarkMode() - Method in ThemeManager
-
Re-probe OS appearance, update the cache, and report whether it changed.
- reg - Field in Entity
-
Entity reference ®.
- REGEX_COMPARISON_OPERATOR - Field in Types
-
- REGEX_FIND() - Method in GroovyParser.RegexExprAltContext
-
- REGEX_MATCH() - Method in GroovyParser.RegexExprAltContext
-
- REGEX_PATTERN - Field in Types
-
- RegexChecker - Class in groovy.typecheckers
Checks at compile-time for cases of invalid regex usage where the actual regex string can be identified
(e.g. inline or defined by a local variable with an initial value or a field with an initial value).
- RegexChecker() - Constructor in RegexChecker
-
- RegexExprAltContext(ExpressionContext) - Constructor in GroovyParser.RegexExprAltContext
-
- REGEXP - Field in StructuredSyntaxHandler
-
XML element name for regular expression entries.
- regexPattern(java.lang.Object) - Method in ScriptBytecodeAdapter
-
- RegexSupport - Class in org.codehaus.groovy.runtime
Used to store the last regex match.
- regionMatches(boolean, int, java.lang.String, int, int) - Method in GStringImpl
-
- register(groovy.concurrent.AwaitableAdapter) - Method in AwaitableAdapterRegistry
-
Registers an adapter at the highest priority (before SPI-loaded adapters).
- register(org.codehaus.groovy.control.HasCleanup) - Method in Janitor
-
- register(java.lang.String, CommandRegistry) - Method in SystemRegistryImpl
-
Register subcommand registry
- register(java.nio.file.WatchService, WatchEvent.Kind<?>) - Method in WritablePath
-
{@inheritDoc}
- registerActionButtonWidgets() - Method in SwingBuilder
-
Registers button-like widgets that can share Swing actions.
- registerBasicLayouts() - Method in SwingBuilder
-
Registers core Swing layout managers and their attribute delegates.
- registerBasicWidgets() - Method in SwingBuilder
-
Registers basic selection and value widgets.
- registerBeanFactory(java.lang.String, java.lang.String, java.lang.Class) - Method in FactoryBuilderSupport
-
Registers a factory for a JavaBean.
- registerBeanFactory(java.lang.String, java.lang.String, java.lang.Class) - Method in SwingBuilder
-
Registers a bean factory, substituting Swing-specific factory implementations for special component types.
- registerBeanProperty(java.lang.String, java.lang.Object) - Method in ExpandoMetaClass
-
Registers a new bean property.
- registerBinding() - Method in SwingBuilder
-
Registers binding-related factories and delegates.
- registerBorders() - Method in SwingBuilder
-
Registers border factories.
- registerBoxLayout() - Method in SwingBuilder
-
Registers BoxLayout-based containers and spacing helpers.
- registerConditionalBlock(java.lang.String, java.lang.String) - Method in ConfigSlurper
-
Registers or removes a named conditional block value.
- registerContainers() - Method in SwingBuilder
-
Registers container widgets that can host child components.
- registerDataModels() - Method in SwingBuilder
-
Registers standard Swing data model nodes.
- registerEditors() - Method in SwingBuilder
-
Registers cell editor factories.
- registerExplicitMethod(java.lang.String, java.lang.String, groovy.lang.Closure) - Method in FactoryBuilderSupport
-
Registers an explicit method and tracks it in the supplied group.
- registerExplicitProperty(java.lang.String, java.lang.String, groovy.lang.Closure, groovy.lang.Closure) - Method in FactoryBuilderSupport
-
Registers an explicit property and tracks any generated accessor names.
- registerExtensionModuleFromProperties(java.util.Properties, java.lang.ClassLoader, Map<CachedClass,List<MetaMethod>>) - Method in MetaClassRegistryImpl
-
- registerFactories() - Method in JmxBuilder
-
Registers the builder nodes supported by JmxBuilder.
- registerFactory(java.lang.String, java.lang.String, groovy.util.Factory) - Method in FactoryBuilderSupport
-
Registers a factory for a node name.
- registerInstanceMethod(groovy.lang.MetaMethod) - Method in ExpandoMetaClass
-
Registers a new instance method.
- registerMBeanFromMap(java.lang.String, java.util.Map) - Method in JmxBuilderTools
-
Registers an MBean described by the supplied metadata map.
- registerMDIWidgets() - Method in SwingBuilder
-
Registers desktop and internal-frame widgets used for MDI applications.
- registerMenuWidgets() - Method in SwingBuilder
-
Registers menu-related widgets.
- registerModifiedMetaClass(groovy.lang.ExpandoMetaClass) - Method in ExpandoMetaClassCreationHandle
-
Registers a modified ExpandoMetaClass with the creation handle
- registerNamespacePrefix(java.lang.String, java.lang.String) - Method in XmlNodePrinter.NamespaceContext
-
Records a namespace prefix mapping if it has not already been registered.
- registerPassThruNodes() - Method in SwingBuilder
-
Registers pass-through nodes that wrap existing beans or components.
- registerRenderers() - Method in SwingBuilder
-
Registers renderer factories for tables, lists, and headers.
- registerStaticMethod(java.lang.String, groovy.lang.Closure, java.lang.Class) - Method in ExpandoMetaClass
-
Registers a new static method for the given method name and closure on this MetaClass
- registerSubclassInstanceMethod(groovy.lang.MetaMethod) - Method in ExpandoMetaClass
-
Registers a subclass-scoped meta method.
- registerSupportNodes() - Method in SwingBuilder
-
Registers support nodes, explicit methods, and attribute delegates that do not create visible widgets.
- registerTableComponents() - Method in SwingBuilder
-
Registers tables, columns, and table model helper nodes.
- registerTableLayout() - Method in SwingBuilder
-
Registers table-layout nodes.
- registerTagLib(java.lang.Object) - Method in TagLibAdapter
-
Registers an already-instantiated tag library object.
- registerTextComponent(javax.swing.text.JTextComponent) - Method in FindReplaceUtility
-
Starts tracking the supplied text component for find/replace actions.
- registerTextWidgets() - Method in SwingBuilder
-
Registers text-oriented Swing widgets.
- registerThreading() - Method in SwingBuilder
-
Registers threading helper methods such as edt and doLater.
- registerWindows() - Method in SwingBuilder
-
Registers top-level window factories.
- registrationGroup - Field in FactoryBuilderSupport
-
Registered names grouped by registration phase.
- registrationGroupName - Field in FactoryBuilderSupport
-
- registrationPolicy - Property in JmxBeanExportFactory
-
Registration policy applied to exported beans.
- registry - Field in MetaClassImpl
-
Registry that owns this meta class.
- registryLoad(java.lang.ClassLoader) - Method in GrapeUtil
-
Loads Groovy runners for the specified class loader.
- rehash() - Method in ConcurrentReaderHashMap
-
Rehashes the contents of this map into a new table
with a larger capacity.
- rehydrate(java.lang.Object, java.lang.Object, java.lang.Object) - Method in Closure
-
Returns a copy of this closure for which the delegate, owner and thisObject are
replaced with the supplied parameters.
- reinitialize() - Method in MetaClassImpl
-
Rebuilds method, property and call-site state for this meta class.
- RelationalExprAltContext(ExpressionContext) - Constructor in GroovyParser.RelationalExprAltContext
-
- relativePath(java.io.File, java.io.File) - Method in ResourceGroovyMethods
-
Relative path to file.
- relativize(java.nio.file.Path) - Method in WritablePath
-
{@inheritDoc}
- ReleaseInfo - Class in org.codehaus.groovy.util
Exposes the Groovy release information
- reload() - Method in LifecycleImplementationLoader
-
Clears cached providers and restarts service discovery.
- reloadThemes() - Method in Console
-
Reloads theme definitions and reapplies the active theme.
- reloadThemes() - Method in ThemeManager
-
Clear the parsed-theme cache so next lookup re-reads from disk/classpath.
- remainder(java.lang.Number, java.lang.Number) - Method in DefaultGroovyMethods
-
Performs a division modulus operation.
- REMAINDER_EQUAL - Field in Types
-
- remainder(long, long) - Method in IndyMath
-
- remainder(java.lang.Number, java.lang.Number) - Method in NumberMath
-
- remainder(long, long) - Method in NumberMathModificationInfo
-
- remainder - Field in OperatorRename
-
Returns the replacement method name for the % operator.
- REMAINDER - Field in Types
-
- remainderAssign - Field in OperatorRename
-
GEP-15: rename the dedicated compound-assignment method for %=.
- remainderImpl(java.lang.Number, java.lang.Number) - Method in BigDecimalMath
-
- remainderImpl(java.lang.Number, java.lang.Number) - Method in BigIntegerMath
-
- remainderImpl(java.lang.Number, java.lang.Number) - Method in FloatingPointMath
-
- remainderImpl(java.lang.Number, java.lang.Number) - Method in IntegerMath
-
- remainderImpl(java.lang.Number, java.lang.Number) - Method in LongMath
-
- remainderImpl(java.lang.Number, java.lang.Number) - Method in NumberMath
-
- remove(java.lang.Object) - Method in AntProjectPropertiesDelegate
-
- throws:
- UnsupportedOperationException is always thrown when this method is invoked.
- remove() - Method in ArrayIterator
-
{@inheritDoc}
- remove() - Method in BooleanArrayIterator
-
{@inheritDoc}
- remove() - Method in ByteArrayIterator
-
{@inheritDoc}
- remove(KEY) - Method in Cache
-
Removes the value stored for the supplied key.
- remove() - Method in CharArrayIterator
-
{@inheritDoc}
- remove(Class<?>) - Method in ClassInfo
-
Removes a ClassInfo from the cache.
- remove(java.lang.Object) - Method in CommonCache
-
Remove the cached value by the key
- Parameters:
key - of the cached value
- Returns:
- returns the removed value
- remove(java.lang.Object) - Method in ConcurrentCommonCache
-
Remove the cached value by the key
- Parameters:
key - of the cached value
- Returns:
- returns the removed value
- remove(java.lang.Object, java.lang.Object) - Method in ConcurrentLinkedHashMap
-
{@inheritDoc}
- remove(java.lang.Object) - Method in ConcurrentReaderHashMap
-
Removes the key (and its corresponding value) from this
table.
- remove() - Method in ConcurrentReaderHashMap.HashIterator
-
- remove(java.lang.Object, java.lang.Object) - Method in ConcurrentReferenceHashMap
-
{@inheritDoc}
- remove() - Method in ConcurrentReferenceHashMap.HashIterator
-
Removes the last entry returned by the iterator.
- remove(java.lang.Object) - Method in ConfigObject
-
{@inheritDoc}
- remove() - Method in DoubleArrayIterator
-
{@inheritDoc}
- remove() - Method in DoubleDoubleArrayColumnIterator
-
{@inheritDoc}
- remove(int) - Method in EmptyRange
-
Always throws UnsupportedOperationException for an empty range.
- remove(java.lang.Object) - Method in EvictableCache
-
Remove the cached value by the key
- remove(int) - Method in FastArray
-
Removes the element at the specified index and compacts the populated range.
- remove() - Method in FileIterator
-
throws UnsupportedOperationException
- remove() - Method in FloatArrayIterator
-
{@inheritDoc}
- remove() - Method in FloatFloatArrayColumnIterator
-
{@inheritDoc}
- remove(Class<?>) - Method in GroovyClassValue
-
- remove(java.lang.Object) - Method in GroovyRowResult
-
Removes the mapping for the supplied key using case-insensitive key matching.
- remove(java.lang.Object) - Method in GroovyRunnerRegistry
-
Removes a registered runner from the registry.
- remove() - Method in IntArrayIterator
-
{@inheritDoc}
- remove() - Method in IntIntArrayColumnIterator
-
{@inheritDoc}
- remove() - Method in IteratorBufferedIterator
-
{@inheritDoc}
- remove() - Method in JsonLexer
-
Method not implemented.
- remove(java.lang.Object) - Method in LazyMap
-
Hydrates the backing map if needed and removes the supplied key.
- remove() - Method in ListBufferedIterator
-
{@inheritDoc}
- remove(java.lang.Object) - Method in ListHashMap
-
{@inheritDoc}
- remove(int) - Method in ListWithDefault
-
{@inheritDoc}
- remove(java.lang.Object) - Method in ListWrapperListModel
-
Removes the supplied element from the backing list and notifies listeners when it was present.
- remove() - Method in LongArrayIterator
-
{@inheritDoc}
- remove() - Method in LongLongArrayColumnIterator
-
{@inheritDoc}
- remove(java.lang.Object) - Method in MapWithDefault
-
{@inheritDoc}
- remove(java.lang.Object) - Method in NamespaceAwareHashMap
-
{@inheritDoc}
- remove(groovy.util.Node) - Method in Node
-
Removes a child of the current node.
- remove() - Method in NodeIterator
-
{@inheritDoc}
- remove(java.lang.Object) - Method in ObservableList
-
{@inheritDoc}
- remove() - Method in ObservableList.ObservableIterator
-
{@inheritDoc}
- remove(java.lang.Object) - Method in ObservableMap
-
{@inheritDoc}
- remove(java.lang.Object) - Method in ObservableSet
-
{@inheritDoc}
- remove() - Method in ObservableSet.ObservableIterator
-
{@inheritDoc}
- remove(int) - Method in OperandStack
-
Remove amount elements from the operand stack, without using pop.
- remove() - Method in PermutationGenerator
-
{@inheritDoc}
- remove(int) - Method in Reduction
-
Removes the element at the specified index.
- remove() - Method in ReverseListIterator
-
{@inheritDoc}
- remove(int) - Method in Sequence
-
{@inheritDoc}
- remove() - Method in ShortArrayIterator
-
{@inheritDoc}
- remove(K) - Method in SimpleCache
-
{@inheritDoc}
- remove(javax.swing.text.DocumentFilter$FilterBypass, int, int) - Method in SmartDocumentFilter
-
{@inheritDoc}
- remove(java.lang.Object) - Method in SpreadMap
-
Always throws because spread maps are immutable.
- remove(java.lang.Object) - Method in StampedCommonCache
-
Remove the cached value by the key
- Parameters:
key - of the cached value
- Returns:
- returns the removed value
- remove(javax.swing.text.DocumentFilter$FilterBypass, int, int) - Method in StructuredSyntaxDocumentFilter
-
Remove a string from the document, and then parse it if the parser has been
set.
- remove(org.codehaus.groovy.classgen.asm.WriterController) - Method in TemporaryVariableExpression
-
- remove(java.lang.Object) - Method in UnlimitedConcurrentCache
-
Remove the cached value by the key
- removeAll(Map<K,V>, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
Modifies this map by removing the elements that are matched according to the
specified closure condition.
- removeAll(Collection<?>) - Method in EmptyRange
-
Always throws UnsupportedOperationException for an empty range.
- removeAll(Collection<?>) - Method in ListWithDefault
-
{@inheritDoc}
- removeAll(java.util.Collection) - Method in ObservableList
-
{@inheritDoc}
- removeAll(Collection<?>) - Method in ObservableSet
-
{@inheritDoc}
- removeAssignment(int) - Method in TokenUtil
-
Removes the assignment portion of an assignment operator, returning the base operator.
- removeAt(List<E>, int) - Method in DefaultGroovyMethods
-
Modifies this list by removing the element at the specified position
in this list.
- removeAttributeDelegate(groovy.lang.Closure) - Method in FactoryBuilderSupport
-
Remove the most recently added instance of the attribute delegate.
- removeBinding(org.apache.groovy.swing.binding.BindingUpdatable) - Method in AggregateBinding
-
Removes a binding from the aggregate.
- removeChild(java.lang.String) - Method in StructuredSyntaxDocumentFilter.LexerNode
-
Removes the child lexer registered for the supplied expression.
- removeClass(java.lang.Class) - Method in InvokerHelper
-
- removeClassCacheEntry(java.lang.String) - Method in GroovyClassLoader
-
removes a class from the class cache.
- removeColumn(groovy.swing.model.DefaultTableColumn) - Method in DefaultTableModel
-
Removes a column definition from the table
- removeColumn(javax.swing.table.TableColumn) - Method in DefaultTableModel.MyTableColumnModel
-
Removes a column and then renumbers the remaining model indexes.
- removeConsoleId() - Method in SystemOutputInterceptor
-
Threads executing a script should call this method after
execution completes in order to unregister the consoleId.
- removeConstructor(org.codehaus.groovy.ast.ConstructorNode) - Method in ClassNode
-
- removeCR(java.lang.String) - Method in StringUtils
-
- REMOVED - Enum Constant in ObservableList.ChangeType
-
A single element was removed.
- REMOVED - Enum Constant in ObservableMap.ChangeType
-
A property was removed.
- REMOVED - Enum Constant in ObservableSet.ChangeType
-
A single element was removed.
- removeElement(Collection<E>, java.lang.Object) - Method in DefaultGroovyMethods
-
Modifies this collection by removing a single instance of the specified
element from this collection, if it is present.
- removeField(java.lang.String) - Method in ClassNode
-
Removes the
FieldNode with the given name from this ClassNode.
- removeHandler(org.codehaus.groovy.transform.stc.TypeCheckingExtension) - Method in DefaultTypeCheckingExtension
-
- removeImport(java.lang.String) - Method in GroovyEngine
-
Removes an import statement by name.
- removeInitialValues(org.codehaus.groovy.ast.Parameter) - Method in ClosureWriter
-
- removeLast(List<T>) - Method in DefaultGroovyMethods
-
Removes the last item from the List.
- removeLastChar(char) - Method in CharBuf
-
Removes the last character when it matches the expected value.
- removeListeners() - Method in BindPath
-
Remove listeners, believing that our bould flags are accurate and it removes
only as declared.
- removeMetaClass(java.lang.Class) - Method in MetaClassRegistry
-
Removes a cached MetaClass from the registry
- removeMetaClass(java.lang.Class) - Method in MetaClassRegistryImpl
-
- removeMetaClassRegistryChangeEventListener(groovy.lang.MetaClassRegistryChangeEventListener) - Method in MetaClassRegistry
-
Removes a metaclass change listener for constant metaclasses
- removeMetaClassRegistryChangeEventListener(groovy.lang.MetaClassRegistryChangeEventListener) - Method in MetaClassRegistryImpl
-
Removes a constant metaclass listener.
- removeMethod(org.codehaus.groovy.ast.MethodNode) - Method in ClassNode
-
- removeMethod(java.lang.String) - Method in GroovyEngine
-
Removes a method definition by name or signature.
- removeModule(org.codehaus.groovy.runtime.m12n.ExtensionModule) - Method in ExtensionModuleRegistry
-
- removeNamePrefix(java.lang.String) - Method in AbstractHttpServlet
-
Removes the cached servlet context prefix from a resource name when present.
- removeNodeMetaData(java.lang.Object) - Method in NodeMetaDataHandler
-
Removes a node metadata entry.
- removeNotify() - Method in TextEditor
-
{@inheritDoc}
- removePostInstantiateDelegate(groovy.lang.Closure) - Method in FactoryBuilderSupport
-
Remove the most recently added instance of the postInstantiate delegate.
- removePostNodeCompletionDelegate(groovy.lang.Closure) - Method in FactoryBuilderSupport
-
Remove the most recently added instance of the nodeCompletion delegate.
- removePreInstantiateDelegate(groovy.lang.Closure) - Method in FactoryBuilderSupport
-
Remove the most recently added instance of the preInstantiate delegate.
- removeProgressListener(groovy.lang.Closure) - Method in GrapeMaven
-
Removes a previously registered progress listener.
- removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener) - Method in ObservableList
-
Removes a listener registered for a named property.
- removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener) - Method in ObservableMap
-
Removes a listener registered for a named property.
- removePropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener) - Method in ObservableSet
-
Removes a listener registered for a named property.
- removePropertyChangeListener(java.beans.PropertyChangeListener) - Method in TextUndoManager
-
Removes a listener for undo/redo state changes.
- removePropertyChangeListener(java.beans.PropertyChangeListener) - Method in ValueHolder
-
Removes a PropertyChangeListener from the listener list.
- removeRange(int, int) - Method in ListWrapperListModel
-
Removes the inclusive index range from the backing list and notifies listeners.
- removeRange(int, int) - Method in Sequence
-
{@inheritDoc}
- removeReferencedClassVariable(java.lang.String) - Method in VariableScope
-
Removes a class variable reference from this scope by name.
- removeStallEntries() - Method in ReferenceManager
-
Removes any currently queued stale references.
- removeStyle(java.lang.String) - Method in StructuredSyntaxDocumentFilter.LexerNode
-
Removes the style associated with any of the supplied expressions.
- removeTextListener(java.awt.event.TextListener) - Method in FindReplaceUtility
-
Removes a listener for dialog text events.
- removeThemeChangeListener(java.lang.Runnable) - Method in ThemeManager
-
Removes a previously registered theme-change listener.
- removeTwoOperands(org.objectweb.asm.MethodVisitor) - Method in BinaryBooleanExpressionHelper
-
- removeTwoOperands(org.objectweb.asm.MethodVisitor) - Method in BinaryExpressionWriter
-
- removeTwoOperands(org.objectweb.asm.MethodVisitor) - Method in BinaryFloatExpressionHelper
-
- removeTwoOperands(org.objectweb.asm.MethodVisitor) - Method in BinaryIntExpressionHelper
-
- removeTwoOperands(org.objectweb.asm.MethodVisitor) - Method in BinaryLongExpressionHelper
-
- removeTwoOperands(org.objectweb.asm.MethodVisitor) - Method in BinaryObjectExpressionHelper
-
- removeType(java.lang.String) - Method in GroovyEngine
-
Removes a type definition by name.
- removeVar(int) - Method in CompileStack
-
Indicates that the specified temporary variable is no longer used.
- removeVar(java.lang.String) - Method in QueryableHelper
-
Removes a named execution variable from the thread-local context.
- removeVariable(java.lang.String) - Method in Binding
-
remove the variable with the specified name
- removeVariable(java.lang.String) - Method in GroovyEngine
-
Removes a variable definition by name.
- removeVariable(java.lang.String) - Method in GroovyShell
-
Removes a variable from the shell binding.
- rename(java.lang.String) - Method in FieldNode
-
Renames this field within its declaring class.
- rename(org.apache.groovy.groovysh.jline.SystemRegistryImpl.Pipe, java.lang.String) - Method in SystemRegistryImpl
-
Renames a pipe operator.
- renameField(java.lang.String, java.lang.String) - Method in ClassNode
-
- renameLocal(java.lang.String, java.lang.String) - Method in SystemRegistryImpl
-
Renames a local command.
- renameTo(java.nio.file.Path, java.net.URI) - Method in NioExtensions
-
Renames a file.
- renameTo(java.io.File, java.lang.String) - Method in ResourceGroovyMethods
-
Renames the file.
- render(java.lang.String, org.codehaus.groovy.runtime.powerassert.ValueRecorder) - Method in AssertionRenderer
-
Creates a string representation of an assertion and its recorded values.
- render(java.lang.String) - Method in MarkdownRenderer
-
Render a Markdown body to HTML and shift heading levels down so that
JEP 467 top-level headings (#) become <h3>, fitting
under the page's existing <h1>/<h2> structure.
- RendererFactory - Class in groovy.swing.factory
Factory for creating closure-based cell renderers.
- RendererFactory() - Constructor in RendererFactory
-
- RendererUpdateFactory - Class in groovy.swing.factory
Factory for capturing renderer update closures.
- RendererUpdateFactory() - Constructor in RendererUpdateFactory
-
- renderToOutput(org.codehaus.groovy.tools.groovydoc.OutputTool, java.lang.String) - Method in GroovyDocTool
-
Renders the collected documentation to the given output using the configured templates.
- renew(org.codehaus.groovy.ast.expr.BooleanExpression) - Method in Assertion
-
Replaces the current boolean expression while preserving the existing source mapping strategy.
- renumberTableColumns() - Method in DefaultTableModel.MyTableColumnModel
-
Reassigns model indexes to match the current column order.
- reparseDocument() - Method in SmartDocumentFilter
-
Forces a full re-parse and re-render of the document with current styles.
- repeat(Iterator<T>) - Method in DefaultGroovyMethods
-
Repeat the elements from an iterator infinitely.
- repeat(int) - Method in GStringImpl
-
Returns a string whose value is the concatenation of this
string repeated count times.
- repeatString(java.lang.String, int) - Method in Utilities
-
Returns a string made up of repetitions of the specified string.
- REPLACE_ACTION_COMMAND - Field in FindReplaceUtility
-
Action command for single replace operations.
- REPLACE_ALL_ACTION_COMMAND - Field in FindReplaceUtility
-
Action command for replace-all operations.
- replace(K, V, V) - Method in ConcurrentLinkedHashMap
-
{@inheritDoc}
- replace(K, V) - Method in ConcurrentReferenceHashMap
-
{@inheritDoc}
- replace(java.util.EventObject) - Method in Console
-
Shows the replace dialog.
- replace(java.lang.CharSequence, java.lang.CharSequence) - Method in GStringImpl
-
- replace(org.codehaus.groovy.ast.ClassNode, int) - Method in OperandStack
-
replace n top level elements with new element of given type
- replace(javax.swing.text.DocumentFilter$FilterBypass, int, int, java.lang.String, javax.swing.text.AttributeSet) - Method in SmartDocumentFilter
-
{@inheritDoc}
- replace(java.lang.CharSequence, int, Map<CharSequence,CharSequence>) - Method in StringGroovyMethods
-
Replaces all occurrences of replacement CharSequences (supplied via a map) within a provided CharSequence
with control over the internally created StringBuilder's capacity.
- replace(java.lang.String, java.lang.String, java.lang.String) - Method in StringUtils
-
The modified implementation is based on StringUtils#replace(String text, String searchString, String replacement, int max), Apache commons-lang3-3.6
- replace(javax.swing.text.DocumentFilter$FilterBypass, int, int, java.lang.String, javax.swing.text.AttributeSet) - Method in StructuredSyntaxDocumentFilter
-
Replace a string in the document, and then parse it if the parser has been
set.
- REPLACE - Field in StructuredSyntaxResources
-
Presentation name for replace actions.
- REPLACE - Field in TextEditor
-
Action name for opening the replace dialog.
- replaceAll(java.lang.String, java.lang.String) - Method in GStringImpl
-
- replaceAll(java.lang.CharSequence, java.util.regex.Pattern, groovy.lang.Closure) - Method in StringGroovyMethods
-
Replaces all occurrences of a captured group by the result of a closure call on that text.
- replaceBody(java.lang.Object) - Method in Attribute
-
NOP, because an attribute does not have a Body.
- replaceBody(java.lang.Object) - Method in GPathResult
-
Lazily replaces the body content represented by this result.
- replaceBody(java.lang.Object) - Method in NoChildren
-
NOP
- replaceBody(java.lang.Object) - Method in Node
-
Replaces the current body of this Node with the passed object.
- replaceBody(java.lang.Object) - Method in NodeChild
-
Lazily replaces the body content represented by this result.
- Parameters:
newValue - replacement body content
- replaceBody(java.lang.Object) - Method in NodeChildren
-
Lazily replaces the body content represented by this result.
- Parameters:
newValue - replacement body content
- replaceCondition(org.codehaus.groovy.ast.AnnotationNode, org.codehaus.groovy.ast.expr.Expression) - Method in BaseVisitor
-
Replaces the annotation value with the generated expression used by later transformation phases.
- replaceDelegate() - Method in HandleMetaClass
-
- replaceEscapes(java.lang.String, int) - Method in StringUtils
-
- replaceFirst(java.lang.String, java.lang.String) - Method in GStringImpl
-
- replaceFirst(java.lang.CharSequence, java.util.regex.Pattern, groovy.lang.Closure) - Method in StringGroovyMethods
-
Replaces the first occurrence of a captured group by the result of a closure call on that text.
- replaceHexEscapes(java.lang.String) - Method in StringUtils
-
- replaceIn(org.codehaus.groovy.ast.ASTNode) - Method in StatementReplacer
-
- replaceIn(org.codehaus.groovy.ast.ASTNode) - Method in VariableAccessReplacer
-
- replaceIn(org.codehaus.groovy.ast.ASTNode) - Method in VariableExpressionReplacer
-
- ReplacementNode - Class in groovy.xml.slurpersupport
Helper base class used for lazy updates.
- replaceNode(groovy.lang.Closure) - Method in Attribute
-
NOP, because an attribute does not have any Node to replace.
- replaceNode(groovy.util.Node, groovy.lang.Closure) - Method in DOMCategory
-
Replaces a node with the nodes produced by the supplied builder closure.
- replaceNode(groovy.lang.Closure) - Method in GPathResult
-
Lazily replaces the nodes represented by this result.
- replaceNode(groovy.lang.Closure) - Method in NoChildren
-
NOP
- replaceNode(groovy.lang.Closure, groovy.xml.slurpersupport.GPathResult) - Method in Node
-
Queues a lazy replacement for this node.
- replaceNode(groovy.lang.Closure) - Method in NodeChild
-
Lazily replaces the nodes represented by this result.
- Parameters:
newValue - closure generating the replacement content
- replaceNode(groovy.lang.Closure) - Method in NodeChildren
-
Lazily replaces the nodes represented by this result.
- Parameters:
newValue - closure generating the replacement content
- replaceNode(groovy.lang.Closure) - Method in NodeList
-
Replaces the sole node in this list using the supplied builder closure.
- replaceOctalEscapes(java.lang.String) - Method in StringUtils
-
- replaceSelection(java.lang.String) - Method in TextEditor
-
{@inheritDoc}
- replaceStandardEscapes(java.lang.String) - Method in StringUtils
-
- replaceTags(java.lang.String, org.codehaus.groovy.groovydoc.GroovyMemberDoc) - Method in SimpleGroovyClassDoc
-
GROOVY-3782 / GROOVY-6016: overload that threads the current member
through to
TagRenderer so inline tags that need the enclosing
member context (e.g.
- replaceWithMoreSpecificType(java.lang.Object, java.lang.invoke.MethodType) - Method in TypeHelper
-
Replaces the types in the callSiteType parameter if more specific types
given through the arguments.
- report(java.lang.Throwable, boolean) - Method in ErrorReporter
-
For everything else.
- reportedErrors - Field in TypeCheckingContext
-
- reportFailedPredicate(org.antlr.v4.runtime.Parser, org.antlr.v4.runtime.FailedPredicateException) - Method in DescriptiveErrorStrategy
-
- reportInputMismatch(org.antlr.v4.runtime.Parser, org.antlr.v4.runtime.InputMismatchException) - Method in DescriptiveErrorStrategy
-
- reportNoViableAlternative(org.antlr.v4.runtime.Parser, org.antlr.v4.runtime.NoViableAltException) - Method in DescriptiveErrorStrategy
-
- repos - Property in GrapeMaven
-
Configured remote repositories in lookup order.
- request(java.lang.String, java.lang.Object, Closure<?>) - Method in HttpBuilder
-
Executes a synchronous request with the supplied HTTP method.
- requestAsync(java.lang.String, java.lang.Object, Closure<?>) - Method in HttpBuilder
-
Executes an asynchronous request with the supplied HTTP method.
- requestTimeout - Property in HttpBuilder.Config
-
Timeout applied to each request when not overridden.
- requestTimeout - Field in HttpBuilderClient
-
Request timeout in seconds.
- require(boolean, java.lang.String) - Method in SyntaxErrorReportable
-
- required - Field in NamedParam
-
Indicates whether the named argument must be supplied.
- Requires - Annotation Type in groovy.contracts
- RequiresAnnotationProcessor - Class in org.apache.groovy.contracts.common.impl
Internal AnnotationProcessor implementation for pre-conditions.
- RequiresConditions - Annotation Type in groovy.contracts
Represents multiple preconditions.
- RESERVED_KEYWORD - Field in Types
-
- RESERVED_WORD - Field in GroovyFilter
-
Style name used for reserved words.
- RESERVED_WORDS - Field in GroovyFilter
-
Patterns matching Groovy reserved words.
- reset() - Method in BatchingStatementWrapper
-
Resets the wrapper's in-memory batch bookkeeping.
- reset() - Method in BenchmarkInterceptor
-
Resets all the benchmark data on this object.
- reset() - Method in CharSequenceReader
-
Reset the reader to the last marked position (or the beginning if
mark has not been called).
- reset() - Method in FactoryBuilderSupport
-
Clears the context stack.
- reset(org.jline.console.CommandInput) - Method in GroovyCommands
-
Clears the current buffer.
- reset() - Method in GroovyEngine
-
Resets the engine state, clearing all variables, methods, types, and imports.
- reset() - Method in LineColumnReader
-
Resets the stream to the most recent mark.
- reset() - Method in PermutationGenerator
-
Resets the generator to its initial state.
- reset() - Method in TextUndoManager
-
Marks the current undo position as the unmodified state.
- resetCachedMetaClasses() - Method in ClosureMetaClass
-
- resetExecutor() - Method in AsyncSupport
-
Resets the executor to the default (virtual threads on JDK 21+, cached pool otherwise).
- resetFallbackCount() - Method in CacheableCallSite
-
- resetFileLists() - Method in Groovyc
-
Clears the list of files to be compiled and copied.
- resetLineNumber() - Method in DelegatingController
-
- resetLineNumber() - Method in WriterController
-
Resets the tracked line number to -1 (invalid).
- resetLoadedClasses() - Method in GroovyShell
-
Clears classes previously loaded by this shell class loader.
- resolutions - Field in ASTHelper
-
Static map for type resolutions, cleared on each build for safety.
- RESOLVE_ATTRIBUTE - Field in StructuredSyntaxHandler
-
Style attribute name for resolve attributes.
- resolve(List<ClassNode[]>, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.ClosureExpression, org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.CompilationUnit, java.lang.String) - Method in ClosureSignatureConflictResolver
-
- Parameters:
candidates - the list of signatures as determined after applying type hints and performing initial inference calculations
- resolve(Map<String,Object>, java.util.List, java.util.Map) - Method in Grape
-
Resolves dependency coordinates to URIs while optionally collecting dependency information.
- resolve(java.util.Map, java.util.List, java.util.Map) - Method in GrapeEngine
-
Resolves dependency coordinates to artifact URIs while optionally collecting dependency information.
- resolve(java.lang.ClassLoader, java.util.Map, java.util.List, java.util.Map) - Method in GrapeIvy
-
Resolves dependencies for an explicit class loader and optional metadata sink.
- resolve(java.lang.ClassLoader, java.util.Map, java.util.List, java.util.Map) - Method in GrapeMaven
-
Resolves dependencies for an explicit class loader and optional metadata sink.
- resolve(int) - Method in ObservableList.ChangeType
-
Resolves an enum constant from its ordinal.
- resolve(int) - Method in ObservableMap.ChangeType
-
Resolves an enum constant from its ordinal.
- resolve(List<ClassNode[]>, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.ClosureExpression, org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.CompilationUnit, java.lang.String) - Method in PickFirstResolver
-
- Parameters:
candidates - the list of signatures as determined after applying type hints and performing initial inference calculationsreceiver - the receiver the method is being called onarguments - the arguments for the closureclosure - the closure expression under analysismethodNode - the method for which a Closure parameter was annotated with ClosureParamssourceUnit - the source unit of the file being compiledcompilationUnit - the compilation unit of the file being compiledoptions - the options, corresponding to the ClosureParams.options found on the annotation
- Returns:
- a non-null list of signatures, where a signature corresponds to an array of class nodes, each of them matching a parameter. A list with more than one element indicates that all ambiguities haven't yet been resolved.
- resolve(org.codehaus.groovy.ast.ClassNode, boolean, boolean, boolean) - Method in ResolveVisitor
-
- resolve() - Method in SimpleGroovyRootDoc
-
Resolves deferred type references across all collected classes.
- resolve(java.lang.String) - Method in WritablePath
-
{@inheritDoc}
- resolveChildRelationName(java.lang.String, java.lang.Object, java.lang.String, java.lang.Object) - Method in ObjectGraphBuilder.DefaultRelationNameResolver
-
Handles the common English regular plurals with the following rules.
- resolveChildRelationName(java.lang.String, java.lang.Object, java.lang.String, java.lang.Object) - Method in ObjectGraphBuilder.RelationNameResolver
-
Returns the mapping name of child -> parent
- resolveClass(java.lang.String) - Method in AsmReferenceResolver
-
Resolves a fully qualified class name to a
ClassNode.
- resolveClassname(java.lang.String) - Method in ObjectGraphBuilder.ClassNameResolver
-
- Parameters:
classname - the node name as written on the building code
- resolveClassname(java.lang.String) - Method in ObjectGraphBuilder.DefaultClassNameResolver
-
{@inheritDoc}
- resolveClassname(java.lang.String) - Method in ObjectGraphBuilder.ReflectionClassNameResolver
-
{@inheritDoc}
- resolveClassNodeGenerics(Map<GenericsTypeName,GenericsType>, Map<GenericsTypeName,GenericsType>, org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingSupport
-
- resolveClassNullable(java.lang.String) - Method in AsmReferenceResolver
-
Attempts to resolve a fully qualified class name to a
ClassNode, returning
null if not found.
- resolvedDependencies - Property in ConsoleIvyPlugin
-
Dependency coordinates already reported as resolving.
- resolvedDependencies - Property in ConsoleMavenPlugin
-
Dependency coordinates already reported as resolving.
- resolvedDependencies - Property in GrapeIvy
-
Module revisions resolved during the last resolution.
- resolveExplicitMethod(java.lang.String, java.lang.Object) - Method in FactoryBuilderSupport
-
This is a hook for subclasses to plug in a custom strategy for mapping
names to explicit methods.
- resolveExplicitProperty(java.lang.String) - Method in FactoryBuilderSupport
-
This is a hook for subclasses to plug in a custom strategy for mapping
names to property methods.
- resolveFactory(java.lang.Object, java.util.Map, java.lang.Object) - Method in FactoryBuilderSupport
-
This is a hook for subclasses to plug in a custom strategy for mapping
names to factories.
- resolveFactory(java.lang.Object, java.util.Map, java.lang.Object) - Method in JmxBuilder
-
Resolves a factory for the requested node, falling back to the parent factory when needed.
- resolveFactory(java.lang.Object, java.util.Map, java.lang.Object) - Method in ObjectGraphBuilder
-
This is a hook for subclasses to plug in a custom strategy for mapping
names to factories.
- Parameters:
name - the name of the factoryattributes - the attributes from the nodevalue - value arguments from te node
- Returns:
- the Factory associated with name.
- resolveFromCompileUnit(org.codehaus.groovy.ast.ClassNode) - Method in ResolveVisitor
-
- resolveFromDefaultImports(org.codehaus.groovy.ast.ClassNode, java.lang.String) - Method in ResolveVisitor
-
- resolveFromModule(org.codehaus.groovy.ast.ClassNode, boolean) - Method in ResolveVisitor
-
- resolveFromStaticInnerClasses(org.codehaus.groovy.ast.ClassNode) - Method in ResolveVisitor
-
- resolveJdkClassName(java.lang.String) - Method in MockSourceGenerator
-
- resolveJvmClass(java.lang.String) - Method in AsmReferenceResolver
-
Resolves a fully qualified class name to a runtime JVM
Class object.
- resolveModulePackages(java.lang.String, java.lang.module.ModuleFinder) - Method in ModuleImportHelper
-
Resolves a module by name and collects its exported packages
(including transitive dependencies).
- resolveName(java.lang.String, org.codehaus.groovy.control.CompilationUnit) - Method in ClassNodeResolver
-
Resolves the name of a class to a SourceUnit or ClassNode.
- resolveNestedClass(org.codehaus.groovy.ast.ClassNode) - Method in ResolveVisitor
-
- resolveParentRelationName(java.lang.String, java.lang.Object, java.lang.String, java.lang.Object) - Method in ObjectGraphBuilder.DefaultRelationNameResolver
-
Follow the most conventional pattern, returns the parentName
unchanged.
- resolveParentRelationName(java.lang.String, java.lang.Object, java.lang.String, java.lang.Object) - Method in ObjectGraphBuilder.RelationNameResolver
-
Returns the mapping name of parent -> child
- resolveSibling(java.lang.String) - Method in WritablePath
-
{@inheritDoc}
- resolveTemplate(java.lang.String) - Method in MarkupTemplateEngine
-
Resolves a logical template path into a concrete resource URL.
- resolveTemplate(java.lang.String) - Method in MarkupTemplateEngine.CachingTemplateResolver
-
{@inheritDoc}
- resolveTemplate(java.lang.String) - Method in MarkupTemplateEngine.DefaultTemplateResolver
-
Resolvers must implement this method in order to resolve a template, given a template path. They
must return a valid URL or an IOException.
- throws:
- IOException
- Parameters:
templatePath - path to the template
- Returns:
- the template URL, that will be used to load the template
- resolveTemplate(java.lang.String) - Method in TemplateResolver
-
Resolvers must implement this method in order to resolve a template, given a template path.
- resolveToInner(org.codehaus.groovy.ast.ClassNode) - Method in ResolveVisitor
-
- resolveToOuter(org.codehaus.groovy.ast.ClassNode) - Method in ResolveVisitor
-
- resolveType(org.objectweb.asm.Type) - Method in AsmReferenceResolver
-
Resolves an ASM org.objectweb.asm.Type to a
ClassNode, handling array types by wrapping element types.
- resolveType(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.ClassNode) - Method in StatementMetaTypeChooser
-
- resolveType(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.ClassNode) - Method in StaticTypesTypeChooser
-
- resolveType(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.ClassNode) - Method in TypeChooser
-
Resolve the type of an expression.
- ResolveVisitor - Class in org.codehaus.groovy.control
Visitor to resolve types and convert VariableExpression to
ClassExpressions if needed.
- resolveVisitor - Field in CompilationUnit
-
- ResolveVisitor(org.codehaus.groovy.control.CompilationUnit) - Constructor in ResolveVisitor
-
- resource() - Method in GroovyParser
-
- resource(int) - Method in GroovyParser.ResourceListContext
-
- ResourceConnector - Interface in groovy.util
Base interface for customizing where resources can be found for the GroovyScriptEngine.
- ResourceContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ResourceContext
-
- ResourceException - Class in groovy.util
Indicates a problem loading or accessing a resource.
- ResourceException(java.lang.Throwable) - Constructor in ResourceException
-
Creates a resource exception with the supplied cause.
- ResourceGroovyMethods - Class in org.codehaus.groovy.runtime
This class defines new groovy methods for Files, URLs, URIs which appear
on normal JDK classes inside the Groovy environment.
- resourceList() - Method in GroovyParser
-
- resourceList() - Method in GroovyParser.ResourcesContext
-
- ResourceListContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ResourceListContext
-
- ResourceManager - Interface in org.codehaus.groovy.tools.groovydoc
Provides character streams for documentation templates and related resources.
- resourceNamePattern - Field in AbstractHttpServlet
-
- resourceNameReplaceAll - Field in AbstractHttpServlet
-
The replace method to use on the matcher.
- resourceNameReplacement - Field in AbstractHttpServlet
-
The replacement used by the resource name matcher.
- resources() - Method in GroovyParser
-
- resources() - Method in GroovyParser.TryCatchStatementContext
-
- ResourcesContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ResourcesContext
-
- respondsTo(java.lang.Object, java.lang.String) - Method in ClosureMetaClass
-
- respondsTo(java.lang.Object, java.lang.String) - Method in DefaultGroovyMethods
-
- respondsTo(java.lang.Object, java.lang.String) - Method in DelegatingMetaClass
-
Returns an object satisfying Groovy truth if the implementing MetaClass responds to
a method with the given name regardless of arguments. In other words this method will
return for foo() and foo(String).
Note that this method's return value is based on realised methods and does not take into account
objects or classes that implement invokeMethod or methodMissing
This method is "safe" in that it will always return a value and never throw an exception
- Parameters:
obj - The object to inspectname - The name of the method of interest
- Returns:
- A List of MetaMethods which will be empty if no methods with the given name exist
- respondsTo(java.lang.Object, java.lang.String) - Method in MetaClassImpl
-
- respondsTo(java.lang.Object, java.lang.String) - Method in MetaObjectProtocol
-
- respondsTo(java.lang.Object, java.lang.String) - Method in OwnedMetaClass
-
- REST_BINDING - Enum Constant in MultipleAssignmentMetadata
-
Marker on the rest binder (the *ident slot).
- restoreFromContinuationData(Map<String,Object>) - Method in FactoryBuilderSupport
-
Restores the state of the current builder to the same state as an older build.
- restoreVariableExpressionMetadata(Map<VariableExpression,Map<StaticTypesMarker,Object>>) - Method in StaticTypeCheckingVisitor
-
- RESTRICTED_COMPLETION - Field in GroovyEngine
-
Option key for restricted completion mode
- restrictedType - Property in WidgetFactory
-
Accepted runtime type for node values.
- result - Property in HistoryRecord
-
Execution result, when evaluation completed successfully.
- results - Field in BatchingStatementWrapper
-
Accumulated update counts across delegate batch executions.
- resultSet(int) - Method in Sql
-
Create a new ResultSetOutParameter
- ResultSetMetaDataWrapper - Class in groovy.sql
This class defines a wrapper for accessing a specific column in ResultSetMetaData.
- ResultSetMetaDataWrapper(java.sql.ResultSetMetaData, int) - Constructor in ResultSetMetaDataWrapper
-
Creates a wrapper for a single metadata column.
- ResultSetOutParameter - Interface in groovy.sql
A ResultSet out parameter.
- resultStyle - Property in Console
-
Style used for evaluated result text.
- retainAll(Map<K,V>, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
Modifies this map so that it retains only its elements that are matched
according to the specified closure condition.
- retainAll(Collection<?>) - Method in EmptyRange
-
Always throws UnsupportedOperationException for an empty range.
- retainAll(Collection<?>) - Method in ListWithDefault
-
{@inheritDoc}
- retainAll(java.util.Collection) - Method in ObservableList
-
{@inheritDoc}
- retainAll(Collection<?>) - Method in ObservableSet
-
{@inheritDoc}
- RETENTION_CLASSNODE - Field in AbstractASTTransformation
-
A shared ClassNode representing the
Retention annotation.
- rethrow(java.lang.Throwable) - Method in UncheckedThrow
-
- rethrowFirst() - Method in ViolationTracker
-
Rethrows the earliest recorded violation for the current thread.
- rethrowLast() - Method in ViolationTracker
-
Rethrows the most recently recorded violation for the current thread.
- retrieveConstructor(java.lang.Class) - Method in ClosureMetaClass
-
- retrieveConstructor(java.lang.Object) - Method in ExpandoMetaClass
-
This is a helper method which is used only by indy. It is for internal use.
- Since:
- 2.1.0
- retrieveConstructor(java.lang.Class) - Method in MetaClassImpl
-
Resolves a constructor by parameter types.
- retrieveStaticMethod(java.lang.String, java.lang.Class) - Method in ClosureMetaClass
-
- retrieveStaticMethod(java.lang.String, java.lang.Object) - Method in MetaClassImpl
-
Resolves a static method and caches the selection when possible.
- RETURN() - Method in GroovyParser.KeywordsContext
-
- RETURN() - Method in GroovyParser.ReturnStmtAltContext
-
- RETURN() - Method in GroovyParser.YieldReturnStmtAltContext
-
- RETURN_NULL_OR_VOID - Field in ReturnStatement
-
Only used for synthetic return statements emitted by the compiler.
- ReturnAdder - Class in org.codehaus.groovy.classgen
Utility class to add return statements.
- ReturnAdder.ReturnStatementListener - Interface in org.codehaus.groovy.classgen
- ReturnAdder(org.codehaus.groovy.classgen.ReturnAdder.ReturnStatementListener) - Constructor in ReturnAdder
-
- returnAdder - Field in StaticTypeCheckingVisitor
-
- ReturnAdderForClosures - Class in org.codehaus.groovy.transform.tailrec
Adds explicit return statements to implicit return points in a closure.
- returnListener - Field in StaticTypeCheckingVisitor
-
- returnS(org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- ReturnStatement - Class in org.codehaus.groovy.ast.stmt
Represents a return statement that terminates a method and optionally returns a value.
- returnStatement(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a ReturnStatement.
- ReturnStatement(org.codehaus.groovy.ast.expr.Expression) - Constructor in ReturnStatement
-
Constructs a return statement with the given return expression.
- returnStatementAdded(org.codehaus.groovy.ast.stmt.ReturnStatement) - Method in ReturnAdder.ReturnStatementListener
-
Implement this method in order to be notified whenever a return statement is generated.
- ReturnStatementToIterationConverter - Class in org.codehaus.groovy.transform.tailrec
Translates all return statements into an invocation of the next iteration.
- ReturnStatementToIterationConverter(org.codehaus.groovy.ast.stmt.Statement) - Constructor in ReturnStatementToIterationConverter
-
- ReturnStmtAltContext(StatementContext) - Constructor in GroovyParser.ReturnStmtAltContext
-
- returnType - Field in GeneratedMetaMethod.DgmMethodRecord
-
- returnType() - Method in GroovyMethodDoc
-
Returns the declared return type of this method.
- returnType(int) - Method in GroovyParser
-
- returnType() - Method in GroovyParser.MethodDeclarationContext
-
- returnType() - Method in SimpleGroovyMethodDoc
-
Returns the declared return type of this method.
- Returns:
- the return type
- ReturnTypeContext(org.antlr.v4.runtime.ParserRuleContext, int, int) - Constructor in GroovyParser.ReturnTypeContext
-
- returnValueOfNext() - Method in ConcurrentReaderHashMap.HashIterator
-
- returnValueOfNext() - Method in ConcurrentReaderHashMap.KeyIterator
-
- returnValueOfNext() - Method in ConcurrentReaderHashMap.ValueIterator
-
- reverse(T, boolean) - Method in ArrayGroovyMethods
-
Reverses the items in an array.
- reverse() - Method in DataSet
-
Return a lazy-implemented reverse-ordered view of this DataSet.
- reverse(T, boolean) - Method in DefaultGroovyMethods
-
- reverse - Field in RangeInfo
-
- reverse(java.lang.CharSequence) - Method in StringGroovyMethods
-
Creates a String which is the reverse (backwards) of this CharSequence
- reverseConverter - Field in AbstractFullBinding
-
Optional converter applied before writing back to the source.
- reversed - Field in Sortable
-
Set to true so that comparator uses reversed natural order.
- ReversedList - Class in org.apache.groovy.util
Represents view of reversed list
- ReversedList(List<E>) - Constructor in ReversedList
-
Creates a reversed view of the supplied list.
- reverseEach(T, Closure<?>) - Method in ArrayGroovyMethods
-
Iterates over each element of the array in the reverse order.
- reverseEach(T, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
- ReverseListIterator - Class in org.codehaus.groovy.runtime
A reverse iterator over a list.
- ReverseListIterator(List<T>) - Constructor in ReverseListIterator
-
Constructs a new ReverseListIterator for the provided list.
- reverseUpdate() - Method in AbstractFullBinding
-
Propagates the current target value back to the source.
- reverseUpdate() - Method in AggregateBinding
-
Pushes reverse updates through every member binding.
- reverseUpdate() - Method in BindingProxy
-
Pushes reverse updates through every generated full binding.
- reverseUpdate() - Method in BindingUpdatable
-
If supported, Causes the values to be propagated from the target to the source,
If not supported, an exception may be thrown
- reverseUpdate() - Method in MutualPropertyBinding
-
Pushes an update from the target side back to the source side.
- rewrite(java.io.File, java.io.File) - Method in PrimitiveNameRewriter
-
Rewrites generated GroovyDoc output to use historical Groovy JDK names and locations.
- rewriteDirectory(java.io.File, java.lang.String) - Method in PreLanguageRewriter
-
Walks
dir recursively and applies
rewriteTags to
every
.html file in place.
- rewriteLinks(java.lang.String) - Method in MockSourceGenerator
-
Rewrites {@link #method(Recv, A, B)} to {@link Recv#method(A, B)}
— the first argument becomes the explicit class prefix, matching how
DocUtil.linkify operated in the original DocGenerator.
- rewriteTags(java.lang.String, java.lang.String) - Method in PreLanguageRewriter
-
Returns html with <pre> blocks rewritten so Prism can
highlight them.
- RichActionWidgetFactory - Class in groovy.swing.factory
Factory for creating widgets from actions, icons, text, or an existing instance.
- RichActionWidgetFactory(java.lang.Class) - Constructor in RichActionWidgetFactory
-
Creates a new factory for creating widgets from actions, icons, text, or an existing instance
- RIGHT_CURLY_BRACE - Field in Types
-
- right - Field in GroovyParser.AdditiveExprAltContext
-
- right - Field in GroovyParser.AndExprAltContext
-
- right - Field in GroovyParser.AssignmentExprAltContext
-
- right - Field in GroovyParser.EqualityExprAltContext
-
- right - Field in GroovyParser.ExclusiveOrExprAltContext
-
- right - Field in GroovyParser.ImplicationExprAltContext
-
- right - Field in GroovyParser.InclusiveOrExprAltContext
-
- right - Field in GroovyParser.LogicalAndExprAltContext
-
- right - Field in GroovyParser.LogicalOrExprAltContext
-
- right - Field in GroovyParser.MultipleAssignmentExprAltContext
-
- right - Field in GroovyParser.MultiplicativeExprAltContext
-
- right - Field in GroovyParser.PowerExprAltContext
-
- right - Field in GroovyParser.RegexExprAltContext
-
- right - Field in GroovyParser.RelationalExprAltContext
-
- right - Field in GroovyParser.ShiftExprAltContext
-
- RIGHT_INDENT - Field in StructuredSyntaxHandler
-
Style attribute name for right indentation.
- RIGHT_OF_MATCHED_CONTAINER - Field in Types
-
- RIGHT_PARENTHESIS - Field in Types
-
- RIGHT_SHIFT_EQUAL - Field in Types
-
- RIGHT_SHIFT - Field in Types
-
- RIGHT_SHIFT_UNSIGNED_EQUAL - Field in Types
-
- RIGHT_SHIFT_UNSIGNED - Field in Types
-
- RIGHT_SQUARE_BRACKET - Field in Types
-
- rightDelimiter - Field in ToString
-
The String to use after the list of properties/fields.
- rightHashJoin(Queryable<? extends U>, Function<? super T,?>, Function<? super U,?>) - Method in Queryable
-
Right hash join another
Queryable instance, similar to SQL's
right join
- rightJoin(Queryable<? extends U>, BiPredicate<? super T,? super U>) - Method in Queryable
-
Right join another
Queryable instance, similar to SQL's
right join
- rightShift(Closure<W>) - Method in Closure
-
Support for Closure forward composition.
- rightShift(java.time.YearMonth, java.time.YearMonth) - Method in DateTimeExtensions
-
Returns a
Period of time between the first day of this year/month (inclusive) and the
given
YearMonth (exclusive).
- rightShift(java.util.BitSet, java.lang.Number) - Method in DefaultGroovyMethods
-
Implementation of the right shift operator for BitSets,
returning a new BitSet and leaving the original unchanged.
- rightShift(long, long) - Method in IndyMath
-
- rightShift(java.lang.Number, java.lang.Number) - Method in NumberMath
-
For this operation, consider the operands independently.
- rightShift(long, long) - Method in NumberMathModificationInfo
-
- rightShift - Field in OperatorRename
-
Returns the replacement method name for the >> operator.
- rightShiftAssign - Field in OperatorRename
-
GEP-15: rename the dedicated compound-assignment method for >>=.
- rightShiftImpl(java.lang.Number, java.lang.Number) - Method in BigIntegerMath
-
- rightShiftImpl(java.lang.Number, java.lang.Number) - Method in IntegerMath
-
- rightShiftImpl(java.lang.Number, java.lang.Number) - Method in LongMath
-
- rightShiftImpl(java.lang.Number, java.lang.Number) - Method in NumberMath
-
- rightShiftUnsigned(java.util.BitSet, java.lang.Number) - Method in DefaultGroovyMethods
-
Implementation of the right shift (unsigned) operator for BitSets,
returning a new BitSet and leaving the original unchanged.
- rightShiftUnsigned(java.lang.Number, java.lang.Number) - Method in NumberMath
-
For this operation, consider the operands independently.
- rightShiftUnsigned(long, long) - Method in NumberMathModificationInfo
-
- rightShiftUnsigned - Field in OperatorRename
-
Returns the replacement method name for the >>> operator.
- rightShiftUnsignedAssign - Field in OperatorRename
-
GEP-15: rename the dedicated compound-assignment method for >>>=.
- rightShiftUnsignedImpl(java.lang.Number, java.lang.Number) - Method in IntegerMath
-
- rightShiftUnsignedImpl(java.lang.Number, java.lang.Number) - Method in LongMath
-
- rightShiftUnsignedImpl(java.lang.Number, java.lang.Number) - Method in NumberMath
-
- RigidAreaFactory - Class in groovy.swing.factory
Factory for creating rigid area components.
- RigidAreaFactory() - Constructor in RigidAreaFactory
-
- rlm - Field in Entity
-
Entity reference .
- rollback() - Method in DataSet
-
If this SQL object was created with a Connection then this method rolls back
the connection. If this SQL object was created from a DataSource then
this method does nothing.
- throws:
- SQLException if a database access error occurs
- rollback() - Method in Sql
-
If this SQL object was created with a Connection then this method rolls back
the connection.
- rollbackOneChar() - Method in GroovyLangLexer
-
- rollbackOneChar() - Method in GroovyLexer
-
just a hook, which will be overrided by GroovyLangLexer
- root - Field in Builder.Built
-
Root markup closure cloned for this bound document.
- ROOT_GINQ_EXPRESSION - Field in GinqAstBuilder
-
Metadata key storing the root GINQ expression.
- root - Field in GrabResolver
-
The URL for a repo containing the grape/artifact.
- root - Property in TreeNodeBuildingNodeOperation
-
Root node for the generated tree.
- rootElement - Property in Console
-
Root document element for row calculations.
- RootLoader - Class in org.codehaus.groovy.tools
This ClassLoader should be used as root of class loaders.
- rootLoader(java.lang.String) - Method in GroovyStarter
-
- RootLoader(org.codehaus.groovy.tools.LoaderConfiguration) - Constructor in RootLoader
-
- RootLoaderRef - Class in org.codehaus.groovy.ant
Sets the RootLoader as reference.
- RootPaneContainerFactory - Class in groovy.swing.factory
Base factory for Swing top-level containers backed by a root pane.
- RootPaneContainerFactory() - Constructor in RootPaneContainerFactory
-
- round(java.math.BigDecimal, int) - Method in DefaultGroovyMethods
-
Round the value
- row - Property in ClosureCellEditor
-
Row currently being edited.
- RowBound - Class in org.apache.groovy.ginq.provider.collection.runtime
Represents row bounds of window frame
- RowBound(java.lang.Long, java.lang.Long) - Constructor in RowBound
-
Construct a new RowBound instance with lower and upper frame bounds
- rowNum - Property in Console
-
Current one-based caret row.
- rowNumAndColNum - Property in Console
-
Footer label showing the caret row and column.
- rowNumber() - Method in Window
-
Returns row number in the window, similar to SQL's row_number()
- rows(int, int) - Method in DataSet
-
Returns a "page" of the rows from the table a DataSet represents.
- rows(groovy.lang.GString, int, int, groovy.lang.Closure) - Method in Sql
-
Performs the given SQL query and return a "page" of rows from the result set.
- rows() - Method in WindowDefinition
-
Define the window bounds by offsets, similar to MySQL's rows between 1 preceding and 1 following of window definition
- RPAREN() - Method in GroovyParser.AnnotationContext
-
- RPAREN() - Method in GroovyParser.ArgumentsContext
-
- RPAREN() - Method in GroovyParser.AwaitExprAltContext
-
- RPAREN() - Method in GroovyParser.CastParExpressionContext
-
- RPAREN() - Method in GroovyParser.CatchClauseContext
-
- RPAREN() - Method in GroovyParser.ExpressionInParContext
-
- RPAREN() - Method in GroovyParser.FormalParametersContext
-
- RPAREN() - Method in GroovyParser.ForStmtAltContext
-
- RPAREN() - Method in GroovyParser.ResourcesContext
-
- RPAREN() - Method in GroovyParser.TypeNamePairsContext
-
- RPAREN() - Method in GroovyParser.VariableNamesContext
-
- rsaquo - Field in Entity
-
Entity reference ›.
- RSHIFT_ASSIGN() - Method in GroovyParser.AssignmentExprAltContext
-
- rsquo - Field in Entity
-
Entity reference ’.
- RULE_compilationUnit - Field in GroovyParser
-
- ruleNames - Field in GroovyLexer
-
- ruleNames - Field in GroovyParser
-
- run(groovy.lang.Closure, java.lang.String) - Method in AstBrowser
-
Opens the browser for the supplied script producer.
- run() - Method in BaseTemplate
-
Executes the compiled template body.
- run() - Method in Closure
-
{@inheritDoc}
- run(java.util.Map) - Method in Console
-
Builds and shows the console UI using the supplied Swing delegates.
- run() - Method in FormatStringChecker
-
Registers checks for built-in formatter calls and methods annotated with
FormatMethod.
- run() - Method in GDKDocTool
-
Generates Groovy JDK documentation for the configured source tree.
- run() - Method in GrapeMain
-
Handles top-level execution when no valid subcommand was selected.
- run(Class<?>, groovy.lang.GroovyClassLoader) - Method in GroovyRunner
-
Runs the given class.
- run(java.lang.String, groovy.lang.Binding) - Method in GroovyScriptEngine
-
Run a script identified by name with a given binding.
- run(java.io.Reader, java.lang.String, java.lang.String) - Method in GroovyShell
-
Runs the given script with command line arguments
- run() - Method in GroovySocketServer
-
Runs this server.
- run(java.lang.String, java.lang.String, java.lang.String) - Method in JavaShell
-
Run main method
- run(Class<?>, groovy.lang.GroovyClassLoader) - Method in JUnit5Runner
-
Utility method to run a JUnit 5 test.
- run(Class<?>, groovy.lang.GroovyClassLoader) - Method in JUnit6Runner
-
Utility method to run a JUnit 6 test.
- run() - Method in MarkupTemplateTypeCheckingExtension
-
Registers the type-checking hooks that adapt template DSL calls and optional model typing.
- run() - Method in ModifiesChecker
-
Registers frame-condition checks for methods visited by the type checker.
- run() - Method in NullChecker
-
Registers null-safety checks for each visited method body.
- run() - Method in ObjectBrowser
-
Builds and shows the object browser window.
- run() - Method in ProcessGroovyMethods.ProcessRunner
-
- run() - Method in PurityChecker
-
Registers purity checks for annotated methods encountered during type checking.
- run() - Method in RegexChecker
-
Registers regex validation and matcher type-inference hooks for visited methods.
- run(java.lang.Runnable) - Method in ScopedLocal.Carrier
-
Executes the action with all bindings in this carrier active.
- run(java.io.File, java.lang.String) - Method in Script
-
A helper method to allow scripts to be run taking command line arguments
- run(junit.framework.TestResult) - Method in ScriptTestAdapter
-
Executes the adapted script and reports the result to JUnit.
- run(Class<?>, groovy.lang.GroovyClassLoader) - Method in TestNgRunner
-
Utility method to run a TestNG test.
- runAfter(java.util.Timer, int, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
Allows a simple syntax for using timers.
- runJava(java.util.EventObject) - Method in Console
-
Compiles and runs the current editor contents as Java source.
- RUNNER_REGISTRY - Field in GroovySystem
-
Reference to the Runtime Registry to be used by the Groovy run-time system to find classes capable of running scripts
- runQuery(java.sql.Connection) - Method in Sql.AbstractQueryCommand
-
Perform the query.
- runScript(java.util.EventObject, groovy.console.ui.Console.SourceType) - Method in Console
-
Compiles and runs the current editor contents.
- runScript(java.lang.Class, java.lang.String) - Method in InvokerHelper
-
- runScript(java.lang.String) - Method in ScriptRunner
-
Run the script file specified by the classpath
- runSelectedJava(java.util.EventObject) - Method in Console
-
Compiles and runs the current selection as Java source.
- runSelectedScript(java.util.EventObject, groovy.console.ui.Console.SourceType) - Method in Console
-
Compiles and runs only the current editor selection.
- runStatements(java.io.Reader, java.io.PrintStream) - Method in Groovy
-
Read in lines and execute them.
- runThread - Property in Console
-
Background thread currently compiling or running a script.
- RUNTIME_GROOVYDOC - Field in CompilerConfiguration
-
Optimization Option for enabling attaching
Groovydoc annotation.
- RuntimeParserException - Class in org.codehaus.groovy.syntax
A runtime exception wrapper for parser errors, allowing parser exceptions to be thrown
from contexts that cannot throw checked exceptions.
- RuntimeParserException(java.lang.String, org.codehaus.groovy.ast.ASTNode) - Constructor in RuntimeParserException
-
Constructs a RuntimeParserException from an error message and AST node.
- RxJavaAwaitableAdapter - Class in org.apache.groovy.rxjava
Adapter for RxJava 3 types, enabling:
await single — awaits a Single
await maybe — awaits a Maybe (nullable result)
await completable — awaits a Completable
for await (item in observable) — iterates over an Observable
for await (item in flowable) — iterates over a Flowable
- SAFE_CHAIN_DOT() - Method in GroovyParser.PathElementContext
-
- SAFE_DOT() - Method in GroovyParser.PathElementContext
-
- SAFE_INDEX() - Method in GroovyParser.IndexPropertyArgsContext
-
- SAFE_INDEX() - Method in GroovyParser.NamedPropertyArgsContext
-
- SAFE_NAVIGATION - Field in IndyInterface
-
Flags for method and property calls.
- safeCall(groovy.lang.Closure, java.lang.Object) - Method in AbstractTypeCheckingExtension
-
- safeExpression(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- safeNavigation - Field in Selector
-
- safeNextChar() - Method in CharacterSource
-
Combines the operations of nextChar and hasChar.
- safeNextChar() - Method in ReaderCharacterSource
-
Advances when possible and returns -1 at end of input.
- SAME_CLASS - Field in IndyGuardsFiltersAndSignatures
-
- SAME - Enum Constant in PropertyBinding.UpdateStrategy
-
Updates on the calling thread.
- sameClass(Class<?>, java.lang.Object) - Method in IndyGuardsFiltersAndSignatures
-
Guard to check if the provided Object has the same
class as the provided Class.
- sameClass(java.lang.Class, java.lang.Object) - Method in MetaClassHelper
-
- sameClasses(Class<?>, java.lang.Object) - Method in IndyGuardsFiltersAndSignatures
-
Guard to check if the provided objects have the same
class as the provided classes.
- sameClasses(java.lang.Class, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) - Method in MetaClassHelper
-
- samePackageName(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode) - Method in ClassNodeUtils
-
Determines if the given ClassNode values have the same package name.
- sameType(java.lang.Iterable) - Method in DefaultGroovyMethodsSupport
-
Determines if all items of given array are of the same type.
- sameX(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- SANITIZE_STACK_TRACE_KEY - Field in Preferences
-
- sanitize(java.lang.Throwable) - Method in StackTraceUtils
-
Remove all apparently groovy-internal trace entries from the exception instance
- sanitizeRootCause(java.lang.Throwable) - Method in StackTraceUtils
-
Get the root cause of an exception and sanitize it for display to the user
- sArrayGet(short[], int) - Method in BytecodeInterface8
-
Gets value from short[] using normalized index.
- sArraySet(short[], int, short) - Method in BytecodeInterface8
-
Sets value into short[] using normalized index.
- save(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, groovy.console.ui.CompilePhaseAdapter, java.lang.Object) - Method in AstBrowserUiPreferences
-
Persists the current browser UI state.
- save(org.jline.console.CommandInput) - Method in GroovyCommands
-
Saves shared state or the current buffer to disk.
- saveAction - Property in Console
-
Action that saves the current script.
- savedConsole - Property in ConsoleIvyPlugin
-
Console receiving dependency progress messages.
- savedConsole - Property in ConsoleMavenPlugin
-
Console receiving dependency progress messages.
- saveDgmInfo(List<DgmMethodRecord>, java.lang.String) - Method in GeneratedMetaMethod.DgmMethodRecord
-
- savedTypeOptions - Property in CliBuilder
-
Internal data structure mapping option names to their associated
TypedOption object.
- savedTypeOptions - Property in CliBuilderInternal
-
Internal data structure mapping option names to their associated
TypedOption object.
- savedTypeOptions - Property in OptionAccessor
-
Type metadata for options declared by the originating
CliBuilder.
- saveFile(org.apache.groovy.groovysh.jline.GroovyEngine, java.io.File, boolean) - Method in GroovyCommands
-
Writes the current buffer to the target file.
- saveOnRun - Property in Console
-
Whether the current script is saved before it is run.
- saveOnRunAction - Property in Console
-
Action that toggles saving before each run.
- saveVariableExpressionMetadata(Set<VariableExpression>, Map<VariableExpression,Map<StaticTypesMarker,Object>>) - Method in StaticTypeCheckingVisitor
-
- SAXBuilder - Class in groovy.xml
A builder for generating W3C SAX events.
- SAXBuilder(org.xml.sax.ContentHandler) - Constructor in SAXBuilder
-
Creates a builder that forwards markup events to the supplied SAX content handler.
- sbquo - Field in Entity
-
Entity reference ‚.
- scaleIconsWithFont(java.util.EventObject) - Method in Console
-
Toggles whether toolbar icons track the editor font size.
- scaleIconsWithFont - Property in ConsolePreferences
-
Whether action icons should track the current font size.
- scanClasspathModules() - Method in ExtensionModuleScanner
-
- scanDir(java.io.File, java.io.File, java.lang.String) - Method in Groovyc
-
Scans the directory looking for source files to be compiled.
- scanExtensionModuleFromProperties(java.util.Properties) - Method in ExtensionModuleScanner
-
- scaron - Field in Entity
-
Entity reference š.
- ScopedLocal - Class in org.apache.groovy.runtime.async
A thread-scoped value holder that abstracts over
ThreadLocal
(JDK < 25) and
java.lang.ScopedValue (JDK 25+),
presenting a unified API modelled after
ScopedValue.
- ScopedLocal.Carrier - Class in org.apache.groovy.runtime.async
An immutable set of scoped-local bindings that can be applied
atomically for the duration of a
Runnable or
Supplier.
- scopeExit(groovy.lang.Closure) - Method in AbstractTypeCheckingExtension
-
- Script - Class in groovy.lang
This object represents a Groovy script
- SCRIPT_CLASS_NAME - Field in FactoryBuilderSupport
-
Binding key for the currently executing script class name.
- Script(groovy.lang.Binding) - Constructor in Script
-
Creates a script backed by the supplied binding.
- scriptArgs - Property in Console
-
Space-separated arguments passed to script execution.
- ScriptBytecodeAdapter - Class in org.codehaus.groovy.runtime
A static helper class to interface bytecode and runtime
- scriptDescription(org.jline.console.CmdLine) - Method in GroovyEngine
-
Generates a description for the given command line.
- ScriptException - Class in groovy.util
Indicates an error while processing a script.
- ScriptException(java.lang.Throwable) - Constructor in ScriptException
-
Creates a script exception with the supplied cause.
- ScriptExtensions - Class in org.codehaus.groovy.jsr223
This class defines new Java 6 specific groovy methods which extend the normal
JDK classes inside the Groovy environment.
- scriptFile - Property in Console
-
Current script file or generated script identifier.
- scriptHasBeenVisited - Property in AstNodeToScriptVisitor
-
Tracks whether the free-form script body has already been emitted.
- scriptName - Property in HistoryRecord
-
Generated script name used during execution.
- scriptNameCounter - Property in Console
-
Counter used for generated script names.
- ScriptReference - Class in org.codehaus.groovy.runtime
Represents a reference to a variable in a script
- ScriptReference(groovy.lang.Script, java.lang.String) - Constructor in ScriptReference
-
- ScriptRunner - Class in org.apache.groovy.util
The tool to simulate running script files via groovy command
- scriptRunning - Property in Console
-
Whether a script is currently being compiled or executed.
- scriptStatement() - Method in GroovyParser
-
- scriptStatement(int) - Method in GroovyParser.ScriptStatementsContext
-
- ScriptStatementContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ScriptStatementContext
-
- scriptStatements() - Method in GroovyParser
-
- scriptStatements() - Method in GroovyParser.CompilationUnitContext
-
- ScriptStatementsContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ScriptStatementsContext
-
- ScriptStaticExtensions - Class in org.codehaus.groovy.jsr223
This class defines new Java 6 specific static groovy methods which extend the normal
JDK classes inside the Groovy environment.
- ScriptTestAdapter - Class in org.apache.groovy.test
An adapter to make any Groovy Script class an instance of a JUnit Test
- ScriptTestAdapter(java.lang.Class, java.lang.String) - Constructor in ScriptTestAdapter
-
Creates an adapter that runs the supplied Groovy script class as a JUnit test.
- ScriptToTreeNodeAdapter - Class in groovy.console.ui
This class controls the conversion from a Groovy script as a String into
a tree representation of the AST of that script.
- ScriptToTreeNodeAdapter(java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object, java.lang.Object) - Constructor in ScriptToTreeNodeAdapter
-
Creates an adapter for the supplied compilation settings.
- scrollArea - Property in Console
-
Scroll container that wraps the output area.
- ScrollPaneFactory - Class in groovy.swing.factory
Factory for creating scroll panes.
- ScrollPaneFactory(java.lang.Class) - Constructor in ScrollPaneFactory
-
Creates a new factory for creating scroll panes
- scs - Field in GroovyParser.ClassDeclarationContext
-
- Sealed - Annotation Type in groovy.transform
Class annotation used to assist in the creation of sealed classes.
- SEALED_ALWAYS_ANNOTATE - Field in SealedASTTransformation
-
- SEALED() - Method in GroovyParser.ClassOrInterfaceModifierContext
-
- SEALED() - Method in GroovyParser.IdentifierContext
-
- SEALED() - Method in GroovyParser.KeywordsContext
-
- SealedASTTransformation - Class in org.codehaus.groovy.transform
Handles generation of code for the
- Sealed:
- annotation.
- SealedCompletionASTTransformation - Class in org.codehaus.groovy.transform
Handles sealed class permitted subclass detection.
- SealedMode - Enum in groovy.transform
Intended mode to use for sealed classes when using the @Sealed annotation (or sealed keyword).
- sealedNative(org.codehaus.groovy.ast.AnnotatedNode) - Method in SealedASTTransformation
-
Reports true if native sealed class information should be written into the bytecode.
- SealedOptions - Annotation Type in groovy.transform
Class annotation used to assist in the creation of sealed classes.
- sealedSkipAnnotation(org.codehaus.groovy.ast.AnnotatedNode) - Method in SealedASTTransformation
-
Reports true if the Sealed annotation should not be
included in the bytecode for a sealed or emulated-sealed class.
- searchForGroovyScriptFile(java.lang.String) - Method in GroovyMain
-
Search for the script file, doesn't bother if it is named precisely.
- searchMethods(java.lang.String, org.codehaus.groovy.reflection.CachedClass) - Method in CachedClass
-
Searches for a method with the specified name and parameter types in this class.
- SecondGenericType() - Constructor in FirstParam.SecondGenericType
-
Creates a hint that selects the second generic type of the first parameter.
- SecondGenericType() - Constructor in SecondParam.SecondGenericType
-
Creates a hint that selects the second generic type of the second parameter.
- SecondGenericType() - Constructor in ThirdParam.SecondGenericType
-
Creates a hint that selects the second generic type of the third parameter.
- SecondParam - Class in groovy.transform.stc
- SecondParam.Component - Class in groovy.transform.stc
- SecondParam.FirstGenericType - Class in groovy.transform.stc
- SecondParam.SecondGenericType - Class in groovy.transform.stc
- SecondParam.ThirdGenericType - Class in groovy.transform.stc
- SecondParam() - Constructor in SecondParam
-
Creates a hint that selects the second parameter type.
- secondPassExpressions - Field in TypeCheckingContext
-
Some expressions need to be visited twice, because type information may be insufficient at some point.
- seconds - Field in BaseDuration
-
Second component.
- sect - Field in Entity
-
Entity reference §.
- section(java.lang.String) - Method in MarkdownDocument
-
Return the nodes under the heading with the given text, up to the next
heading of the same or higher level.
- SecureASTCustomizer - Class in org.codehaus.groovy.control.customizers
This customizer allows securing source code by controlling what code constructs are permitted.
- SecureASTCustomizer.ExpressionChecker - Interface in org.codehaus.groovy.control.customizers
This interface allows the user to provide a custom expression checker if the dis/allowed expression lists are not
sufficient
- SecureASTCustomizer.SecuringCodeVisitor - Class in org.codehaus.groovy.control.customizers
This visitor directly implements the
GroovyCodeVisitor interface instead of using the
CodeVisitorSupport class to make sure that future features of the language gets managed by this visitor.
- SecureASTCustomizer.StatementChecker - Interface in org.codehaus.groovy.control.customizers
This interface allows the user to provide a custom statement checker if the dis/allowed statement lists are not
sufficient
- SecureASTCustomizer() - Constructor in SecureASTCustomizer
-
- SecureASTCustomizerFactory - Class in org.codehaus.groovy.control.customizers.builder
- select() - Method in ChannelSelect
-
Waits for the first value available from any of the channels.
- select(BiFunction<? super T,? super Queryable<? extends T>,? extends U>) - Method in Queryable
-
Project
Queryable instance, similar to SQL's
select
- selectAll(java.util.EventObject) - Method in Console
-
Selects all text in the focused text component.
- selectBlock(java.util.EventObject) - Method in Console
-
Expands the selection from word to line to surrounding block.
- selectConstructorAndTransformArguments(int, java.lang.Object) - Method in DelegatingMetaClass
-
Internal method to support Groovy runtime. Not for client usage.
- Parameters:
numberOfConstructors - The number of constructorsarguments - The arguments
- Returns:
- selected index
- selectConstructorAndTransformArguments(int, java.lang.Object) - Method in MetaClass
-
Internal method to support Groovy runtime.
- selectConstructorAndTransformArguments(int, java.lang.Object) - Method in MetaClassImpl
-
Internal method to support Groovy runtime. Not for client usage.
- Parameters:
numberOfConstructors - The number of constructorsarguments - The arguments
- Returns:
- selected index
- selectConstructorAndTransformArguments(int, java.lang.Object) - Method in OwnedMetaClass
-
- selectConstructorAndTransformArguments(java.lang.Object, int, java.lang.Class) - Method in ScriptBytecodeAdapter
-
- selected - Property in ClosureCellEditor
-
Whether the edited row is selected.
- selectedPhase - Property in AstBrowserUiPreferences
-
Saved compile phase selection.
- SelectExpression - Class in org.apache.groovy.ginq.dsl.expression
Represents the select expression
- SelectExpression(org.codehaus.groovy.ast.expr.Expression) - Constructor in SelectExpression
-
Creates a select clause.
- selectFilename(java.lang.Object) - Method in Console
-
Opens a file chooser and returns the selected script file.
- selectionBase - Field in Selector
-
- selectionEnd - Property in HistoryRecord
-
End offset of the selected text.
- selectionStart - Property in HistoryRecord
-
Start offset of the selected text.
- selectMethod(org.codehaus.groovy.vmplugin.v8.CacheableCallSite, Class<?>, java.lang.String, int, java.lang.Boolean, java.lang.Boolean, java.lang.Boolean, java.lang.Object, java.lang.Object) - Method in IndyInterface
-
Core method for indy method selection using runtime types.
- Selector - Class in org.codehaus.groovy.vmplugin.v8
- selectPreviousWordAction - Property in Console
-
Action that selects the previous word in the editor.
- selectTupleProperties(org.codehaus.groovy.transform.AbstractASTTransformation, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.AnnotationNode) - Method in TupleConstructorASTTransformation
-
Resolves the property nodes the @TupleConstructor runtime
transform would use as constructor parameters.
- selectWordAction - Property in Console
-
Action that selects the next word in the editor.
- SelfType - Annotation Type in groovy.transform
This annotation can be added on a trait to declare the list of types that a class
implementing that trait is supposed to extend.
- SELFTYPE_CLASSNODE - Field in Traits
-
- SEMANTIC_ANALYSIS - Enum Constant in CompilePhase
-
Performs consistency and validity checks that the grammar can't check for, and resolves classes
- SEMANTIC_ANALYSIS - Enum Constant in CompilePhaseAdapter
-
- SEMANTIC_ANALYSIS - Field in Phases
-
AST semantic analysis and elucidation
- SemanticPredicates - Class in org.apache.groovy.parser.antlr4
Some semantic predicates for altering the behaviour of the lexer and parser
- SEMI() - Method in GroovyParser.ClassBodyContext
-
- SEMI() - Method in GroovyParser.EmptyStmtAltContext
-
- SEMI(int) - Method in GroovyParser.OriginalForControlContext
-
- SEMI(int) - Method in GroovyParser.SepContext
-
- SEMICOLON - Field in Types
-
- sempred(org.antlr.v4.runtime.RuleContext, int, int) - Method in GroovyLexer
-
- sempred(org.antlr.v4.runtime.RuleContext, int, int) - Method in GroovyParser
-
- send(T) - Method in Actor
-
Sends a message to this actor.
- send(Function<T,T>) - Method in Agent
-
Queues an update function to be applied to the current value.
- send(T) - Method in AsyncChannel
-
Sends a value through this channel.
- send(T) - Method in BroadcastChannel
-
Sends a value to all current subscribers.
- send(T) - Method in DefaultActor
-
- send(T) - Method in DefaultAsyncChannel
-
- send(java.lang.Object) - Method in JmxEventEmitter
-
Called to broadcast message on MBeanServer event bus.
- send(java.lang.Object) - Method in JmxEventEmitterMBean
-
Method called to dispatch event on event bus.
- sendAndGet(T) - Method in Actor
-
Sends a message and returns an
Awaitable that completes
with the reply.
- sendAndGet(Function<T,T>) - Method in Agent
-
Queues an update function and returns an
Awaitable that
completes with the new value after the update is applied.
- sendAndGet(T) - Method in DefaultActor
-
- sender - Field in Selector
-
- sep() - Method in GroovyParser
-
- sep() - Method in GroovyParser.BlockContext
-
- sep(int) - Method in GroovyParser.BlockStatementsContext
-
- sep(int) - Method in GroovyParser.ClassBodyContext
-
- sep() - Method in GroovyParser.ClosureContext
-
- sep() - Method in GroovyParser.CompilationUnitContext
-
- sep() - Method in GroovyParser.IfElseStatementContext
-
- sep(int) - Method in GroovyParser.ResourceListContext
-
- sep() - Method in GroovyParser.ResourcesContext
-
- sep(int) - Method in GroovyParser.ScriptStatementsContext
-
- SeparatorFactory - Class in groovy.swing.factory
Factory for creating separator components appropriate for the current parent.
- SeparatorFactory() - Constructor in SeparatorFactory
-
- SepContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.SepContext
-
- Sequence - Class in groovy.lang
Represents a sequence of zero or more objects of a given type.
- Sequence(java.lang.Class, java.util.List) - Constructor in Sequence
-
Creates a sequence initialized with the supplied content.
- serializableFields() - Method in ArrayClassDocWrapper
-
Returns the fields that participate in serialization.
- Returns:
- the serializable fields
- serializableFields() - Method in ExternalGroovyClassDoc
-
Returns the fields that participate in serialization.
- Returns:
- the serializable fields
- serializableFields() - Method in GroovyClassDoc
-
Returns the fields that participate in serialization.
- serializableFields() - Method in SimpleGroovyClassDoc
-
Returns the fields that participate in serialization.
- Returns:
- the serializable fields
- SERIALIZATION - Enum Constant in AutoCloneStyle
-
Uses serialization to clone.
- serializationMethods() - Method in ArrayClassDocWrapper
-
Returns the methods related to custom serialization.
- Returns:
- the serialization methods
- serializationMethods() - Method in ExternalGroovyClassDoc
-
Returns the methods related to custom serialization.
- Returns:
- the serialization methods
- serializationMethods() - Method in GroovyClassDoc
-
Returns the methods related to custom serialization.
- serializationMethods() - Method in SimpleGroovyClassDoc
-
Returns the methods related to custom serialization.
- Returns:
- the serialization methods
- serialize(org.w3c.dom.Element) - Method in XmlExtensions
-
Transforms the element to its text equivalent.
- serialize(java.lang.String, java.io.OutputStream, groovy.xml.SerializeOptions) - Method in XmlUtil
-
Write a pretty version of the given XML string to the OutputStream using the specified options.
- serialize(java.lang.String, java.lang.Object) - Method in XStreamUtils
-
- serializeClass - Field in AnnotationCollector
-
Used internally - the default value is a marker value indicating that the attribute hasn't been set.
- SerializeOptions - Class in groovy.xml
- SerializeOptions() - Constructor in SerializeOptions
-
Creates a new options instance using the default serialization settings.
- server() - Method in GroovyMBean
-
Returns the backing server connection.
- service(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse) - Method in GroovyServlet
-
Handle web requests to the GroovyServlet
- service(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse) - Method in TemplateServlet
-
Services the request with a response.
- ServletBinding - Class in groovy.servlet
Servlet-specific binding extension to lazy load the writer or the output
stream from the response.
- ServletBinding(jakarta.servlet.http.HttpServletRequest, jakarta.servlet.http.HttpServletResponse, jakarta.servlet.ServletContext) - Constructor in ServletBinding
-
Initializes a servlet binding.
- ServletCategory - Class in groovy.servlet
Servlet support.
- servletContext - Field in AbstractHttpServlet
-
Servlet (or the web application) context.
- set(int, org.codehaus.groovy.syntax.CSTNode) - Method in CSTNode
-
Sets the element at the specified index.
- set(java.util.Date, Map<Object,Integer>) - Method in DateUtilExtensions
-
Support mutating a Date with a Map.
- set(int, T) - Method in EmptyRange
-
Always throws UnsupportedOperationException for an empty range.
- set(int, java.lang.Object) - Method in FastArray
-
Replaces the element stored at the specified index.
- SET - Enum Constant in IndyInterface.CallType
-
Set property invocation type.
- set(int, T) - Method in ListWithDefault
-
{@inheritDoc}
- set(int, E) - Method in ListWrapperListModel
-
Replaces the element at the supplied index and fires a content-changed event.
- set(int, java.lang.Object) - Method in ObservableList
-
{@inheritDoc}
- set(java.lang.Object) - Method in ObservableList.ObservableListIterator
-
{@inheritDoc}
- set(int, org.codehaus.groovy.syntax.CSTNode) - Method in Reduction
-
Sets the element at the specified index.
- set(T) - Method in Reference
-
Updates the referenced value.
- set(java.lang.Object) - Method in ScriptReference
-
- set(int, java.lang.Object) - Method in Sequence
-
{@inheritDoc}
- set(jakarta.servlet.jsp.PageContext, java.lang.String, java.lang.Object) - Method in ServletCategory
-
Stores a page context attribute using property-style access.
- set() - Method in Weighers
-
A weigher where the value is a
Set and its weight is the number
of elements.
- setAbstract(boolean) - Method in SimpleGroovyAbstractableElementDoc
-
Sets whether this element is abstract.
- setAccess(java.lang.String) - Method in Groovydoc
-
Indicates the access mode or scope of interest: one of public, protected, package, or private.
- setAccessedVariable(org.codehaus.groovy.ast.Variable) - Method in VariableExpression
-
Sets the variable that this expression accesses.
- setAccessible() - Method in CachedMethod
-
Makes this method accessible and returns the underlying Java method.
- setAdaptee(groovy.lang.MetaClass) - Method in AdaptingMetaClass
-
Sets the MetaClass adapted by this MetaClass
- setAdaptee(groovy.lang.MetaClass) - Method in DelegatingMetaClass
-
Replaces the wrapped meta class.
- setAdaptee(java.lang.Object) - Method in Proxy
-
Sets the wrapped adaptee.
- setAdaptee(groovy.lang.MetaClass) - Method in ProxyMetaClass
-
Sets the MetaClass adapted by this MetaClass
- Parameters:
metaClass - The MetaClass to adapt
- setAdditionalClassInformation(org.codehaus.groovy.ast.ClassNode) - Method in Java8
-
- setAdditionalClassInformation(org.codehaus.groovy.ast.ClassNode) - Method in VMPlugin
-
- setAdditionalFilters(List<Function<Character,Optional<String>>>) - Method in MarkupBuilder
-
Sets extra character replacement filters consulted after the default XML escaping rules.
- setAlign(java.lang.String) - Method in TableLayoutCell
-
Sets the horizontal alignment to a case insensitive value of {LEFT, CENTER, RIGHT}
- setAllowDocTypeDeclaration(boolean) - Method in SerializeOptions
-
Sets whether DOCTYPE declarations are allowed during serialization.
- setAllowDocTypeDeclaration(boolean) - Method in XmlParser
-
Enable and/or disable DOCTYPE declaration support.
- setAllowDocTypeDeclaration(boolean) - Method in XmlSlurper
-
Enable and/or disable DOCTYPE declaration support.
- setAllowedConstantTypes(List<String>) - Method in SecureASTCustomizer
-
- setAllowedConstantTypesClasses(List<Class>) - Method in SecureASTCustomizer
-
An alternative way of setting constant types.
- setAllowedExpressions(List<Class<? extends Expression>>) - Method in SecureASTCustomizer
-
- setAllowedImports(List<String>) - Method in SecureASTCustomizer
-
- setAllowedReceivers(List<String>) - Method in SecureASTCustomizer
-
Sets the list of classes which may accept method calls.
- setAllowedReceiversClasses(List<Class>) - Method in SecureASTCustomizer
-
- setAllowedStarImports(List<String>) - Method in SecureASTCustomizer
-
- setAllowedStatements(List<Class<? extends Statement>>) - Method in SecureASTCustomizer
-
- setAllowedStaticImports(List<String>) - Method in SecureASTCustomizer
-
- setAllowedStaticStarImports(List<String>) - Method in SecureASTCustomizer
-
- setAllowedTargets(int) - Method in AnnotationNode
-
- setAllowedTokens(List<Integer>) - Method in SecureASTCustomizer
-
Sets the list of tokens which are permitted.
- setAllowExternalResources(boolean) - Method in SerializeOptions
-
Sets whether external DTDs and stylesheets may be resolved during
serialization.
- setAnnotated(boolean) - Method in ClassNode
-
Marks this
ClassNode as having annotations attached to it.
- setAnnotationDefault(boolean) - Method in MethodNode
-
Sets the annotation default flag for this method.
- setAnnotationParameters(Map<String, Object>) - Method in ASTTransformationCustomizer
-
Specify annotation parameters.
- setAnonymous(boolean) - Method in InnerClassNode
-
Marks this inner class as anonymous if not already set.
- setAppend(boolean) - Method in Groovy
-
Whether output should be appended to or overwrite
an existing file.
- setArguments(org.codehaus.groovy.ast.expr.Expression) - Method in MethodCallExpression
-
Sets the method arguments.
- setArraySetAndGet(org.codehaus.groovy.classgen.asm.MethodCaller, org.codehaus.groovy.classgen.asm.MethodCaller) - Method in BinaryExpressionWriter
-
- setAttribute(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in ClosureMetaClass
-
- setAttribute(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in DelegatingMetaClass
-
Sets the value of an attribute (field). This method is to support the Groovy runtime and not for general client API usage.
- Parameters:
sender - The class of the object that requested the attributereceiver - The instancemessageName - The name of the attributemessageValue - The value of the attributeuseSuper - Whether to look-up on the super class or notfromInsideClass - Whether the call happened from the inside or the outside of a class
- setAttribute(java.lang.Object, java.lang.String, java.lang.Object) - Method in InvokerHelper
-
- setAttribute(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in MetaClass
-
Sets the value of an attribute (field).
- setAttribute(java.lang.Object, java.lang.String, java.lang.Object) - Method in MetaClassImpl
-
Sets the value of an attribute (field).
- setAttribute(java.lang.Object, java.lang.String, java.lang.Object) - Method in MetaObjectProtocol
-
Sets an attribute of an instance of the class returned by the getTheClass() method.
- setAttribute(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in OwnedMetaClass
-
- setAuthor(boolean) - Method in Groovydoc
-
If set to false, author will not be displayed.
- setAutoEscape(boolean) - Method in TemplateConfiguration
-
Set to true if you want variables in the model which are assignable to
CharSequence to
be escaped automatically in templates.
- setAutoIndent(boolean) - Method in IndentPrinter
-
- setAutoIndent(boolean) - Method in TemplateConfiguration
-
Set this to true if you want the template engine to render indents automatically.
- setAutoIndentString(java.lang.String) - Method in TemplateConfiguration
-
Sets the indentation unit inserted when automatic indentation is enabled.
- setAutoNewLine(boolean) - Method in TemplateConfiguration
-
Sets whether source layout should automatically insert line separators.
- setBaseNameValidator(Closure<Boolean>) - Method in SourceAwareCustomizer
-
- setBaseTemplateClass(Class<? extends BaseTemplate>) - Method in TemplateConfiguration
-
Set the template base class.
- setBean(java.lang.Object) - Method in PropertyBinding
-
Replaces the bean that owns the bound property.
- setBeanFactoryName(java.lang.String) - Method in ObjectGraphBuilder
-
Sets the name for the 'bean' node.
- setBeanProperties(groovy.lang.MetaClass, java.lang.Object, java.util.Map) - Method in IndyGuardsFiltersAndSignatures
-
This method is called by the handle to realize the bean constructor
with property map.
- setBinding(java.util.Map) - Method in ConfigSlurper
-
Sets any additional variables that should be placed into the binding when evaluating Config scripts
- setBinding(groovy.lang.Binding) - Method in Script
-
Replaces the binding used to resolve script variables.
- setBooleanExpression(org.codehaus.groovy.ast.expr.BooleanExpression) - Method in AssertStatement
-
Sets the boolean condition to be asserted.
- setBooleanExpression(org.codehaus.groovy.ast.expr.BooleanExpression) - Method in DoWhileStatement
-
- setBooleanExpression(org.codehaus.groovy.ast.expr.BooleanExpression) - Method in IfStatement
-
- setBooleanExpression(org.codehaus.groovy.ast.expr.BooleanExpression) - Method in WhileStatement
-
- setBoundList(javax.swing.JList) - Method in JListSelectedElementBinding
-
Sets the list currently bound to this synthetic selection binding.
- setBounds(int, int, int, int) - Method in TextEditor
-
{@inheritDoc}
- setBugText(java.lang.String) - Method in GroovyBugError
-
Sets the bug text to describe this error
- setBundle(org.codehaus.groovy.util.ReferenceBundle) - Method in ManagedConcurrentValueMap
-
Sets a new bundle used for reference creation.
- setBytecodePostprocessor(org.codehaus.groovy.control.BytecodeProcessor) - Method in CompilerConfiguration
-
- setBytes(java.io.OutputStream, byte[]) - Method in IOGroovyMethods
-
Write the byte[] to the output stream.
- setBytes(java.nio.file.Path, byte[]) - Method in NioExtensions
-
Write the bytes from the byte array to the Path.
- setBytes(java.io.File, byte[]) - Method in ResourceGroovyMethods
-
Write the bytes from the byte array to the File.
- setCachable(boolean) - Method in GroovyCodeSource
-
Controls whether classes compiled from this source may be cached by
GroovyClassLoader.
- setCacheNamedQueries(boolean) - Method in Sql
-
Enables named query caching.
- setCacheStatements(boolean) - Method in Sql
-
Enables statement caching.
- setCacheTemplates(boolean) - Method in TemplateConfiguration
-
If cache is enabled, then templates are compiled once for each source (URL or File).
- setCallSites(List<String>) - Method in InterfaceHelperClassNode
-
- setCapacity(long) - Method in ConcurrentLinkedHashMap
-
Sets the maximum weighted capacity of the map and eagerly evicts entries
until it shrinks to the appropriate size.
- setCatchStatement(int, org.codehaus.groovy.ast.stmt.CatchStatement) - Method in TryCatchStatement
-
- setCategoryUsed(boolean) - Method in DefaultMetaClassInfo
-
- setCellpadding(int) - Method in TableLayout
-
Sets the padding applied around each cell.
- setCharset(java.lang.String) - Method in BaseJsonParser
-
Sets the default charset used for byte and stream input.
- setCharset(java.lang.String) - Method in Groovydoc
-
Specifies the charset to be used in the templates, i.e. the value output within:
<meta http-equiv="Content-Type" content="text/html; charset=charset">.
- setCheckDates(boolean) - Method in JsonSlurper
-
Determine if slurper will automatically parse strings it recognizes as dates.
- setChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in AbstractFactory
-
Notifies the parent that a child node was created.
- Parameters:
builder - the FactoryBuilderparent - the parent node, or null for the rootchild - the child node
- setChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in CellEditorFactory
-
Attaches a child node to its parent.
- setChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in CollectionFactory
-
Attaches a child node to its parent.
- setChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in ColumnFactory
-
Attaches a child node to its parent.
- setChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in ComponentFactory
-
Attaches a child node to its parent.
- setChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in CustomizersFactory
-
- setChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in Factory
-
Notifies the parent that a child node was created.
- setChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in FrameFactory
-
Attaches a child node to its parent.
- setChild(java.lang.Object, java.lang.Object, java.lang.String, java.lang.String) - Method in ObjectGraphBuilder.ChildPropertySetter
-
- Parameters:
parent - the parent's node value
- setChild(java.lang.Object, java.lang.Object, java.lang.String, java.lang.String) - Method in ObjectGraphBuilder.DefaultChildPropertySetter
-
{@inheritDoc}
- setChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in RendererFactory
-
Attaches a child node to its parent.
- setChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in RootPaneContainerFactory
-
Attaches a child node to its parent.
- setChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in ScrollPaneFactory
-
Attaches a child node to its parent.
- setChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in SourceAwareCustomizerFactory
-
- setChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in SplitPaneFactory
-
Attaches a child node to its parent.
- setChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in TabbedPaneFactory
-
Attaches a child node to its parent.
- setChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in TableFactory
-
Attaches a child node to its parent.
- setChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in TDFactory
-
Attaches a child node to its parent.
- setChild(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in WidgetFactory
-
Attaches a child node to its parent.
- setChildPropertySetter(java.lang.Object) - Method in ObjectGraphBuilder
-
Sets the current ChildPropertySetter.
- setChop(boolean) - Method in JsonSlurper
-
Turns on buffer chopping for index overlay.
- setClassAssertionStatus(java.lang.String, boolean) - Method in GroovyClassLoader.InnerLoader
-
{@inheritDoc}
- setClassCacheEntry(java.lang.Class) - Method in GroovyClassLoader
-
sets an entry in the class cache.
- setClassgenCallback(org.codehaus.groovy.control.CompilationUnit.ClassgenCallback) - Method in CompilationUnit
-
Sets a ClassgenCallback.
- setClassInvariant(org.apache.groovy.contracts.domain.ClassInvariant) - Method in Contract
-
Replaces the class invariant associated with this contract.
- setClassLoader(java.lang.ClassLoader) - Method in ASTHelper
-
Sets the class loader to use for resolving external types.
- setClassLoader(groovy.lang.GroovyClassLoader) - Method in GroovyScriptEngineImpl
-
Replaces the class loader used for future script compilation.
- setClassLoader(java.lang.ClassLoader) - Method in ObjectGraphBuilder
-
Sets the classLoader used to load a node's class.
- setClassLoader(groovy.lang.GroovyClassLoader) - Method in ProcessingUnit
-
Sets the class loader for use by this ProcessingUnit.
- setClassNameResolver(java.lang.Object) - Method in ObjectGraphBuilder
-
Sets the current ClassNameResolver.
- setClassNode(org.codehaus.groovy.ast.ClassNode) - Method in Verifier
-
- setClassNodeResolver(org.codehaus.groovy.control.ClassNodeResolver) - Method in CompilationUnit
-
- setClassNodeResolver(org.codehaus.groovy.control.ClassNodeResolver) - Method in ResolveVisitor
-
- setClasspath(java.lang.String) - Method in CompilerConfiguration
-
Sets the classpath.
- setClasspath(org.apache.tools.ant.types.Path) - Method in CompileTaskSupport
-
Adds entries to the compilation classpath.
- setClasspath(org.apache.tools.ant.types.Path) - Method in Groovy
-
Sets the classpath for loading.
- setClasspath(org.apache.tools.ant.types.Path) - Method in Groovyc
-
Set the classpath to be used for this compilation.
- setClasspath(org.apache.tools.ant.types.Path) - Method in RootLoaderRef
-
Set the classpath to be used for this compilation.
- setClasspath(org.apache.tools.ant.types.Path) - Method in UberCompileTask
-
Adds entries to the shared compilation classpath.
- setClasspathList(List<String>) - Method in CompilerConfiguration
-
sets the classpath using a list of Strings
- setClasspathRef(groovy.lang.Reference) - Method in CompileTaskSupport
-
Adds a reference to a classpath defined elsewhere.
- setClasspathRef(groovy.lang.Reference) - Method in Groovy
-
Set the classpath for loading
using the classpath reference.
- setClasspathRef(groovy.lang.Reference) - Method in Groovyc
-
Adds a reference to a classpath defined elsewhere.
- setClasspathRef(groovy.lang.Reference) - Method in RootLoaderRef
-
Adds a reference to a classpath defined elsewhere.
- setClasspathRef(groovy.lang.Reference) - Method in UberCompileTask
-
Adds a reference to a classpath defined elsewhere.
- setClassRetention(boolean) - Method in AnnotationNode
-
- setClassScope(org.codehaus.groovy.ast.ClassNode) - Method in VariableScope
-
Sets the
ClassNode for this scope if it represents a class body.
- setClassValidator(Closure<Boolean>) - Method in SourceAwareCustomizer
-
- setClosure(groovy.lang.Closure) - Method in ClosureSourceBinding
-
Replaces the closure used to compute source values.
- setClosure(groovy.lang.Closure) - Method in ClosureTriggerBinding
-
Replaces the closure evaluated by this trigger binding.
- setClosure(groovy.lang.Closure) - Method in DefaultAction
-
Sets the closure invoked when the action fires.
- setClosure(Closure<?>) - Method in SqlWhereVisitor
-
Supplies the closure whose captured variables may be referenced while the
SQL fragment is being derived.
- setClosureArgument(java.lang.Object) - Method in ClosureSourceBinding
-
Replaces the closure arguments with a single argument.
- setClosureArguments(java.lang.Object) - Method in ClosureSourceBinding
-
Replaces the full argument list passed to the closure.
- setClosureDelegate(groovy.lang.Closure, java.lang.Object) - Method in BuilderSupport
-
A strategy method to allow derived builders to use
builder-trees and switch in different kinds of builders.
- setClosureDelegate(groovy.lang.Closure, java.lang.Object) - Method in FactoryBuilderSupport
-
A strategy method to allow derived builders to use builder-trees and
switch in different kinds of builders.
- setClosureLevel(int) - Method in StatementReplacer
-
- setClosuresAllowed(boolean) - Method in SecureASTCustomizer
-
- setClosureSharedVariable(boolean) - Method in DynamicVariable
-
- setClosureSharedVariable(boolean) - Method in Parameter
-
Marks this parameter as being shared with nested closures, affecting how it is handled
in bytecode generation and variable access patterns.
- setClosureSharedVariable(boolean) - Method in Variable
-
Marks this variable as shared with nested closures.
- setClosureSharedVariable(boolean) - Method in VariableExpression
-
Marks this variable as being shared within a closure context.
- setCode(org.codehaus.groovy.ast.stmt.Statement) - Method in CaseStatement
-
Sets the statement executed if this case pattern matches.
- setCode(org.codehaus.groovy.ast.stmt.Statement) - Method in CatchStatement
-
Sets the statement executed when the exception is caught.
- setCode(org.codehaus.groovy.ast.stmt.Statement) - Method in ClosureExpression
-
Sets the code statement for this closure body.
- setCode(org.codehaus.groovy.ast.stmt.Statement) - Method in MethodNode
-
Sets the method body statement.
- setCode(org.codehaus.groovy.ast.stmt.Statement) - Method in SynchronizedStatement
-
Sets the statement executed within the synchronized block.
- setCoerce(boolean) - Method in CastExpression
-
Sets whether this expression uses coercion (loose Groovy semantics) or strict casting.
- setColfill(boolean) - Method in TableLayoutCell
-
Sets whether or not this column should allow its component to stretch to fill the space available
- setCollectionExpression(org.codehaus.groovy.ast.expr.Expression) - Method in ForStatement
-
Sets the
Expression that produces the collection or iterable to loop over.
- setColspan(int) - Method in TableLayoutCell
-
Sets the number of columns that this cell should span.
- setColumn(long) - Method in LineColumnReader
-
Sets the current column number.
- setColumn(int) - Method in PositionInfo
-
- setColumnMark(long) - Method in LineColumnReader
-
Sets the marked column number.
- setColumnNumber(int) - Method in ASTNode
-
Sets the starting column number for this AST node in the source file.
- setCommandRegistries(CommandRegistry) - Method in SystemRegistryImpl
-
Sets the command registries managed by this system registry.
- setCommentText(java.lang.String) - Method in SimpleGroovyDoc
-
Stores the rendered comment text for this element.
- setCompilationUnit(org.codehaus.groovy.control.CompilationUnit) - Method in ASTTransformationCustomizer
-
Records the compilation unit that will receive the configured transformation.
- setCompilationUnit(org.codehaus.groovy.control.CompilationUnit) - Method in BuilderASTTransformation
-
- setCompilationUnit(org.codehaus.groovy.control.CompilationUnit) - Method in CompilationUnitAware
-
Sets the compilation unit currently applying this transformation.
- setCompilationUnit(org.codehaus.groovy.control.CompilationUnit) - Method in DelegatingCustomizer
-
- setCompilationUnit(org.codehaus.groovy.control.CompilationUnit) - Method in GrabAnnotationTransformation
-
Sets the compilation unit currently applying this transformation.
- Parameters:
unit - the active compilation unit
- setCompilationUnit(org.codehaus.groovy.control.CompilationUnit) - Method in ImmutableASTTransformation
-
- setCompilationUnit(org.codehaus.groovy.control.CompilationUnit) - Method in LogASTTransformation
-
- setCompilationUnit(org.codehaus.groovy.control.CompilationUnit) - Method in MacroTransformation
-
Stores the current compilation unit for later macro expansion.
- setCompilationUnit(org.codehaus.groovy.control.CompilationUnit) - Method in MapConstructorASTTransformation
-
- setCompilationUnit(org.codehaus.groovy.control.CompilationUnit) - Method in RecordTypeASTTransformation
-
- setCompilationUnit(org.codehaus.groovy.control.CompilationUnit) - Method in StaticTypeCheckingVisitor
-
- setCompilationUnit(org.codehaus.groovy.control.CompilationUnit) - Method in StaticTypesTransformation
-
- setCompilationUnit(org.codehaus.groovy.control.CompilationUnit) - Method in TraitASTTransformation
-
- setCompilationUnit(org.codehaus.groovy.control.CompilationUnit) - Method in TupleConstructorASTTransformation
-
- setCompilationUnit(org.codehaus.groovy.control.CompilationUnit) - Method in TypeCheckingContext
-
- setCompilerFactory(org.codehaus.groovy.tools.javac.JavaCompilerFactory) - Method in JavaAwareCompilationUnit
-
- setCompileUnit(org.codehaus.groovy.ast.CompileUnit) - Method in ClassNode
-
- setConfig(org.codehaus.groovy.control.CompilerConfiguration) - Method in GroovyScriptEngine
-
sets a compiler configuration
- setConfigFile(java.net.URL) - Method in ConfigObject
-
Updates the config resource associated with this object.
- setConfigscript(java.lang.String) - Method in Groovy
-
Sets the configuration script for the groovy compiler configuration.
- setConfigscript(java.lang.String) - Method in Groovyc
-
Set the configuration file used to customize the compilation configuration.
- setConfiguration(Map<String,String>) - Method in GinqAstVisitor
-
Updates the visitor configuration.
- setConfiguration(Map<String, String>) - Method in GinqAstWalker
-
- setConfiguration(org.codehaus.groovy.control.CompilerConfiguration) - Method in ProcessingUnit
-
Sets the CompilerConfiguration for this ProcessingUnit.
- setConfigurePrinter(groovy.lang.Closure) - Method in XmlTemplateEngine
-
Closure that can be used to configure the printer.
- setConsoleId(int) - Method in SystemOutputInterceptor
-
Threads executing a script should call this method at the start of execution
in order to set the id of the console that is hosting the thread of execution.
- setConsoleOption(java.lang.String, java.lang.Object) - Method in SystemRegistryImpl
-
Sets a console option value.
- setConstantName(java.lang.String) - Method in ConstantExpression
-
Sets the constant name for this expression.
- setConstantTypesBlackList(List<String>) - Method in SecureASTCustomizer
-
- setConstantTypesClassesBlackList(List<Class>) - Method in SecureASTCustomizer
-
- setConstantTypesClassesWhiteList(List<Class>) - Method in SecureASTCustomizer
-
- setConstantTypesWhiteList(List<String>) - Method in SecureASTCustomizer
-
- setConstantValueExpression(java.lang.String) - Method in SimpleGroovyFieldDoc
-
Stores the source expression used to initialize this field's constant value.
- setConstructorAssertionsEnabled(boolean) - Method in ProcessingContextInformation
-
Enables or disables constructor assertion generation for the current class.
- setConstructorNode(org.codehaus.groovy.ast.ConstructorNode) - Method in DelegatingController
-
- setConstructorNode(org.codehaus.groovy.ast.ConstructorNode) - Method in StaticTypesWriterController
-
- setConstructorNode(org.codehaus.groovy.ast.ConstructorNode) - Method in WriterController
-
Sets the ConstructorNode for the constructor currently being compiled.
- setContainingPackage(org.codehaus.groovy.groovydoc.GroovyPackageDoc) - Method in SimpleGroovyProgramElementDoc
-
Associates this element with its containing package.
- setContextClassLoader(boolean) - Method in Groovy
-
Setting to true will cause the contextClassLoader to be set with
the classLoader of the shell used to run the script.
- setController(org.codehaus.groovy.control.SourceUnit) - Method in ASTHelper
-
Sets the source unit that controls this helper.
- setConverter(groovy.lang.Closure) - Method in AbstractFullBinding
-
Sets the forward converter.
- setConverter(groovy.lang.Closure) - Method in FullBinding
-
Sets the forward converter used before writing to the target.
- setConverter(groovy.lang.Closure) - Method in MutualPropertyBinding
-
Replaces the converter applied from source to target.
- setCurrent(java.lang.Object) - Method in BuilderSupport
-
Updates the current node on the builder stack.
- setCurrent(java.lang.Object) - Method in NamespaceBuilderSupport
-
Builder lifecycle callback that updates the wrapped builder's current node marker.
- setCustomDarkPath(java.lang.String) - Method in ThemeManager
-
Persists the custom dark-theme file path or clears it when blank.
- setCustomLightPath(java.lang.String) - Method in ThemeManager
-
Persists the custom light-theme file path or clears it when blank.
- setDataSourceExpr(org.codehaus.groovy.ast.expr.Expression) - Method in DataSourceExpression
-
Replaces the data-source expression.
- setDataSourceExpression(org.apache.groovy.ginq.dsl.expression.DataSourceExpression) - Method in DataSourceHolder
-
Updates the current data-source expression.
- setDataSourceExpression(org.apache.groovy.ginq.dsl.expression.DataSourceExpression) - Method in FromExpression
-
Rejects replacing the from clause with another data source.
- setDataSourceExpression(org.apache.groovy.ginq.dsl.expression.DataSourceExpression) - Method in JoinExpression
-
Sets the preceding data-source expression.
- setDataSourceExpression(org.apache.groovy.ginq.dsl.expression.DataSourceExpression) - Method in ProcessExpression
-
Sets the data source feeding this clause.
- setDebug(boolean) - Method in CompilerConfiguration
-
Turns debugging operation on or off.
- setDebug(boolean) - Method in GroovyTypeCheckingExtensionSupport
-
- setDebug(boolean) - Method in ProxyGenerator
-
Instructs ProxyGenerator to dump generated Groovy
source code to standard output during construction.
- setDeclarationEncoding(java.lang.String) - Method in TemplateConfiguration
-
Set the encoding used to write the declaration header.
- setDeclaringClass(org.codehaus.groovy.ast.ClassNode) - Method in AnnotatedNode
-
Sets the class that declares this annotated node.
- setDefaultAssertionStatus(boolean) - Method in GroovyClassLoader.InnerLoader
-
{@inheritDoc}
- setDefaultCharset(java.nio.charset.Charset) - Method in CharsetToolkit
-
Defines the default Charset used in case the buffer represents
an 8-bit Charset.
- setDefaultFamily(java.lang.String) - Method in ConsoleTextEditor
-
Sets the preferred monospaced font family for the editor.
- setDefaultJmxNameDomain(java.lang.String) - Method in JmxBuilder
-
Sets the default domain used when generating object names.
- setDefaultJmxNameType(java.lang.String) - Method in JmxBuilder
-
Sets the default type used when generating object names.
- setDefaultParallelism(int) - Method in ConcurrentConfig
-
Sets the default parallelism level programmatically.
- setDefaultPool(groovy.concurrent.Pool) - Method in ConcurrentConfig
-
Sets the global default pool.
- setDefaultScriptExtension(java.lang.String) - Method in CompilerConfiguration
-
- setDefaultStatement(org.codehaus.groovy.ast.stmt.Statement) - Method in SwitchStatement
-
Sets the statement executed when no case matches the control expression.
- setDefaultStyle(javax.swing.text.Style) - Method in StructuredSyntaxDocumentFilter.LexerNode
-
Sets the fallback style for unmatched text.
- setDefaultTarget(java.lang.invoke.MethodHandle) - Method in CacheableCallSite
-
- setDefaultValue(java.lang.String) - Method in SimpleGroovyParameter
-
Stores the default value expression declared for this parameter.
- setDelegate(java.lang.Object) - Method in Closure
-
Allows the delegate to be changed such as when performing markup building
- setDelegate(java.lang.Object) - Method in ComposedClosure
-
- setDelegate(java.lang.Object) - Method in CurriedClosure
-
- setDelegate(java.lang.Object) - Method in DelegatingScript
-
Sets the delegation target.
- setDeprecated(boolean) - Method in SimpleGroovyDoc
-
Marks this documented element as deprecated or not deprecated.
- setDescription(java.lang.String) - Method in ModuleNode
-
Sets a description for this module (typically the source file name).
- setDescription(java.lang.String) - Method in SimpleGroovyPackageDoc
-
Sets the package description text.
- setDescription(java.lang.String) - Method in SimpleGroovyRootDoc
-
Sets the root description text.
- setDestdir(java.io.File) - Method in CompileTaskSupport
-
Sets the output directory for generated classes or stubs.
- setDestdir(java.io.File) - Method in Groovyc
-
Set the destination directory into which the Java source
files should be compiled.
- setDestdir(java.io.File) - Method in Groovydoc
-
Set the directory where the Groovydoc output will be generated.
- setDestdir(java.io.File) - Method in UberCompileTask
-
Sets the destination directory for compiled output.
- setDir(java.lang.String) - Method in VerifyClass
-
Sets the top-level directory that will be scanned for class files.
- setDirective(int) - Method in Closure
-
- Parameters:
directive - The directive to set.
- setDirty(boolean) - Method in Console
-
Marks the editor dirty state and refreshes save affordances.
- setDisableChecksums(boolean) - Method in Grape
-
Set global flag to ignore checksums.
- setDisableCustomMetaClassLookup(boolean) - Method in MetaClassRegistry.MetaClassCreationHandle
-
Set flag saying to disable lookup of custom metaclasses
It's enough to call this method only once in your application for handle which was set in to registry
as every new handle will inherit this property
- setDisabledGlobalASTTransformations(Set<String>) - Method in CompilerConfiguration
-
Disables the specified global AST transformations.
- setDisallowedConstantTypesClasses(List<Class>) - Method in SecureASTCustomizer
-
An alternative way of setting constant types.
- setDisallowedExpressions(List<Class<? extends Expression>>) - Method in SecureASTCustomizer
-
- setDisallowedImports(List<String>) - Method in SecureASTCustomizer
-
- setDisallowedReceivers(List<String>) - Method in SecureASTCustomizer
-
Sets the list of classes which deny method calls.
- setDisallowedReceiversClasses(List<Class>) - Method in SecureASTCustomizer
-
- setDisallowedStarImports(List<String>) - Method in SecureASTCustomizer
-
- setDisallowedStatements(List<Class<? extends Statement>>) - Method in SecureASTCustomizer
-
- setDisallowedStaticImports(List<String>) - Method in SecureASTCustomizer
-
- setDisallowedStaticStarImports(List<String>) - Method in SecureASTCustomizer
-
- setDisallowedTokens(List<Integer>) - Method in SecureASTCustomizer
-
Sets the list of tokens which are not permitted.
- setDoctitle(java.lang.String) - Method in Groovydoc
-
Set the title for the overview page.
- setDocumentLocator(org.xml.sax.Locator) - Method in XmlParser
-
Stores the locator supplied by SAX for later diagnostics or subclass use.
- setDoubleQuotes(boolean) - Method in MarkupBuilder
-
Sets whether the builder outputs attribute values in double
quotes or single quotes.
- setDTDHandler(org.xml.sax.DTDHandler) - Method in XmlParser
-
Sets the SAX DTD handler on the underlying reader.
- setDTDHandler(org.xml.sax.DTDHandler) - Method in XmlSlurper
-
Sets the SAX DTD handler on the underlying reader.
- setDynamicTyped(boolean) - Method in BytecodeVariable
-
- setEditable(boolean) - Method in ConsoleTextEditor
-
Updates whether the text editor accepts user edits.
- setEditable(boolean) - Method in ValueHolder
-
Controls whether callers should treat this holder as writable.
- setEditorValue(groovy.lang.Closure) - Method in ClosureCellEditor
-
Sets the closure used to extract the editor value.
- setElseBlock(org.codehaus.groovy.ast.stmt.Statement) - Method in IfStatement
-
Sets the
Statement to execute when the condition is false.
- setEmptyMethods(boolean) - Method in ProxyGenerator
-
Changes generated methods to have empty implementations.
- setEnableAutoDownload(boolean) - Method in Grape
-
This is a static access auto download enabler.
- setEnableGrapes(boolean) - Method in Grape
-
This is a static access kill-switch.
- setEnableNamedQueries(boolean) - Method in Sql
-
Enables named query support:
- if enableNamedQueries is true, queries with ':propname' and '?
- setEnclosingMethod(org.codehaus.groovy.ast.MethodNode) - Method in ClassNode
-
Sets the enclosing
MethodNode for this local inner class.
- setEncoding(java.lang.String) - Method in Groovy
-
Declare the encoding to use when inputting from a resource;
If not supplied or the empty encoding is supplied, a guess will be made for file resources,
otherwise the platform's default encoding will be used.
- setEncoding(java.lang.String) - Method in Groovyc
-
Sets the file encoding for generated files.
- setEncoding(java.lang.String) - Method in SerializeOptions
-
Sets the character encoding for the XML output.
- setEndColumn(long) - Method in JsonToken
-
Sets the ending column of this token.
- setEndLabel(org.objectweb.asm.Label) - Method in BytecodeVariable
-
- setEndLine(long) - Method in JsonToken
-
Sets the ending line of this token.
- setEnforce8Bit(boolean) - Method in CharsetToolkit
-
If US-ASCII is recognized, enforce to return the default encoding, rather than US-ASCII.
- setEntityBaseUrl(java.net.URL) - Method in XmlSlurper
-
Resolves entities against using the supplied URL as the base for relative URLs
- setEntityResolver(org.xml.sax.EntityResolver) - Method in XmlParser
-
Sets the SAX entity resolver on the underlying reader.
- setEntityResolver(org.xml.sax.EntityResolver) - Method in XmlSlurper
-
Sets the SAX entity resolver on the underlying reader.
- setEnvironment(java.lang.String) - Method in ConfigSlurper
-
Sets the configured environment name.
- setEqualityCheck(boolean) - Method in OrderBy
-
Enables or disables equality-only comparison for non-comparable values.
- setErrorHandler(org.xml.sax.ErrorHandler) - Method in XmlParser
-
Sets the SAX error handler on the underlying reader.
- setErrorHandler(org.xml.sax.ErrorHandler) - Method in XmlSlurper
-
Sets the SAX error handler on the underlying reader.
- setErrorIgnored(boolean) - Method in GroovyLexer
-
- setErrorProperty(java.lang.String) - Method in Groovyc
-
The property to set on compilation failure.
- setEscapeAttributes(boolean) - Method in MarkupBuilder
-
Defaults to true. If set to false then you must escape any special
characters within attribute values such as '&', '<', CR/LF, single
and double quotes etc. manually as needed.
- setEscapeBackslash(boolean) - Method in SimpleTemplateEngine
-
Controls whether backslashes in template source should be preserved using the legacy GROOVY-4585 behavior.
- setEvent(java.lang.String) - Method in JmxEventEmitter
-
Event type setter
- setEvent(java.lang.String) - Method in JmxEventEmitterMBean
-
Setter - sets event thrown by Emitter.
- setEventName(java.lang.String) - Method in EventTriggerBinding
-
Replaces the event handler property name.
- setExcludePackageNames(java.lang.String) - Method in Groovydoc
-
Set the packages to exclude from documentation.
- setExecutable(java.lang.String) - Method in Groovyc
-
Sets the name of the java executable to use when
invoking the compiler in forked mode, ignored otherwise.
- setExecutor(java.util.concurrent.Executor) - Method in AsyncSupport
-
Sets the executor used for async tasks.
- setExecutor(java.util.concurrent.Executor) - Method in Awaitable
-
Sets the executor to use for async operations.
- setExpandArgumentFiles(boolean) - Method in CliBuilder
-
- setExpandArgumentFiles(boolean) - Method in CliBuilderInternal
-
- setExpandEmptyElements(boolean) - Method in MarkupBuilder
-
Whether empty elements are expanded from <tagName/> to <tagName></tagName>.
- setExpandEmptyElements(boolean) - Method in TemplateConfiguration
-
Sets whether empty elements should be expanded into explicit opening and closing tags.
- setExpandEmptyElements(boolean) - Method in XmlNodePrinter
-
Whether empty elements are expanded from <tagName/> to <tagName></tagName>.
- setExpression(org.codehaus.groovy.ast.expr.Expression) - Method in CaseStatement
-
Sets the pattern expression matched against the switch control expression.
- setExpression(org.codehaus.groovy.ast.expr.Expression) - Method in CastExpression
-
Sets the expression being cast.
- setExpression(org.codehaus.groovy.ast.expr.Expression) - Method in ExpressionStatement
-
Sets the expression executed by this statement.
- setExpression(org.codehaus.groovy.ast.expr.Expression) - Method in PostfixExpression
-
Sets the expression to apply the postfix operation to.
- setExpression(org.codehaus.groovy.ast.expr.Expression) - Method in PrefixExpression
-
Sets the expression to apply the prefix operation to.
- setExpression(org.codehaus.groovy.ast.expr.Expression) - Method in ReturnStatement
-
Sets the expression whose value will be returned.
- setExpression(org.codehaus.groovy.ast.expr.Expression) - Method in SwitchStatement
-
Sets the control expression that is evaluated against case values.
- setExpression(org.codehaus.groovy.ast.expr.Expression) - Method in SynchronizedStatement
-
Sets the monitor expression whose lock is acquired for synchronization.
- setExpression(org.codehaus.groovy.ast.expr.Expression) - Method in ThrowStatement
-
Sets the exception expression to be thrown.
- setExpressionsBlacklist(List<Class<? extends Expression>>) - Method in SecureASTCustomizer
-
- setExpressionsWhitelist(List<Class<? extends Expression>>) - Method in SecureASTCustomizer
-
- setExtensions(java.lang.String) - Method in Groovydoc
-
A colon-separated list of filename extensions to look for when searching for files to process in a given directory.
- setExtensionValidator(Closure<Boolean>) - Method in SourceAwareCustomizer
-
- setFailonerror(boolean) - Method in CompileTaskSupport
-
Controls whether compilation errors should fail the Ant build.
- setFailonerror(boolean) - Method in Groovyc
-
Indicates whether the build will continue
even if there are compilation errors; defaults to true.
- setFallbackTarget(java.lang.invoke.MethodHandle) - Method in CacheableCallSite
-
- setFatal(boolean) - Method in ConfigurationException
-
Set fatal is just ignored.
- setFatal(boolean) - Method in GroovyException
-
Sets whether this exception is fatal.
A fatal exception typically causes compilation to stop.
- Parameters:
fatal - true to mark this exception as fatal; false otherwise
- setFatal(boolean) - Method in GroovyExceptionInterface
-
Sets whether this exception is fatal.
- setFeature(java.lang.String, boolean) - Method in XmlParser
-
Enables or disables a SAX feature on the underlying reader.
- setFeature(java.lang.String, boolean) - Method in XmlSlurper
-
Enables or disables a SAX feature on the underlying reader.
- setFeatureQuietly(javax.xml.parsers.SAXParserFactory, java.lang.String, boolean) - Method in XmlUtil
-
Attempts to set a feature on the SAX parser factory and ignores unsupported features.
- setField - Field in AsmClassGenerator
-
- setField(org.codehaus.groovy.reflection.CachedField) - Method in MetaBeanProperty
-
Sets the field of this property.
- setField(org.codehaus.groovy.reflection.CachedField) - Method in MultipleSetterProperty
-
- setField(org.codehaus.groovy.ast.FieldNode) - Method in PropertyNode
-
Sets the backing field node for this property.
- setField(java.lang.Object, java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setFieldOnSuper(java.lang.Object, java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setFieldOnSuperSafe(java.lang.Object, java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setFieldOnSuperSpreadSafe(java.lang.Object, java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setFieldSafe(java.lang.Object, java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setFieldSpreadSafe(java.lang.Object, java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setFile(java.io.File) - Method in Groovydoc.AddStylesheet
-
Registers an additional stylesheet to copy into the generated documentation.
- setFileEncoding(java.lang.String) - Method in Groovydoc
-
Specifies the file encoding to be used for generated files.
- setFilterExpr(org.codehaus.groovy.ast.expr.Expression) - Method in FilterExpression
-
Replaces the filter condition.
- setFinal(boolean) - Method in SimpleGroovyProgramElementDoc
-
Sets whether this element is final.
- setFinallyStatement(org.codehaus.groovy.ast.stmt.Statement) - Method in TryCatchStatement
-
- setFirstSentenceCommentText(java.lang.String) - Method in SimpleGroovyDoc
-
Stores the first-sentence summary for this element.
- setFooter(java.lang.String) - Method in CliBuilder
-
Sets the
footer property on this
CliBuilder
and on the
usageMessage used by the underlying library.
- setFooter(java.lang.String) - Method in CliBuilderInternal
-
Sets the
footer property on this
CliBuilder
and on the
usageMessage used by the underlying library.
- setFooter(java.lang.String) - Method in Groovydoc
-
Set the footer to place at the bottom of each generated html page.
- setForce(boolean) - Method in GroovycTask
-
Controls whether compilation should ignore timestamp checks.
- setForceLookupUnnamedFiles(boolean) - Method in Groovyc
-
Set the forceLookupUnnamedFiles flag.
- setFork(boolean) - Method in Groovy
-
Should the script be executed using a forked process.
- setFork(boolean) - Method in Groovyc
-
If true forks the Groovy compiler.
- setFromExpression(org.apache.groovy.ginq.dsl.expression.FromExpression) - Method in GinqExpression
-
Sets the from clause.
- setFullPathName(java.lang.String) - Method in SimpleGroovyClassDoc
-
Sets the output path used for this class in generated documentation.
- setGenericsPlaceHolder(boolean) - Method in ClassNode
-
- setGenericsPlaceHolder(boolean) - Method in DecompiledClassNode
-
Prevents marking decompiled class nodes as generic placeholders.
- setGenericsTypes(org.codehaus.groovy.ast.GenericsType) - Method in ClassNode
-
Sets the generic type parameters for this
ClassNode.
- setGenericsTypes(org.codehaus.groovy.ast.GenericsType) - Method in MethodCallExpression
-
Sets the generic type parameters for this method call.
- setGenericsTypes(org.codehaus.groovy.ast.GenericsType) - Method in MethodNode
-
Sets the generic type parameters for this method.
- setGetter(groovy.lang.MetaMethod) - Method in MultipleSetterProperty
-
- setGetterBlock(org.codehaus.groovy.ast.stmt.Statement) - Method in PropertyNode
-
Sets the statement block that implements the getter method.
- setGetterName(java.lang.String) - Method in PropertyNode
-
Sets an explicit getter method name for this property.
- setGlobalKeepIgnorableWhitespace(boolean) - Method in DOMCategory
-
Whether ignorable whitespace (e.g. whitespace between elements) is kept (default false).
- setGlobalTrimWhitespace(boolean) - Method in DOMCategory
-
Whether text content is trimmed (removing leading and trailing whitespace); default false.
- setGroovy(boolean) - Method in SimpleGroovyClassDoc
-
Sets whether this class originated from Groovy source.
- setGroovyObjectField - Field in AsmClassGenerator
-
- setGroovyObjectField(java.lang.Object, java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setGroovyObjectFieldSafe(java.lang.Object, java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setGroovyObjectFieldSpreadSafe(java.lang.Object, java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setGroovyObjectProperty(java.lang.Object, groovy.lang.GroovyObject, java.lang.String) - Method in InvokerHelper
-
This is so we don't have to reorder the stack when we call this method.
- setGroovyObjectProperty(java.lang.Object, java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setGroovyObjectPropertySafe(java.lang.Object, java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setGroovyObjectPropertySpreadSafe(java.lang.Object, java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setGroupCommandsInHelp(boolean) - Method in SystemRegistryImpl
-
Sets whether commands should be grouped by registry in help output.
- setGroupExpression(org.apache.groovy.ginq.dsl.expression.GroupExpression) - Method in GinqExpression
-
Sets the groupby clause.
- setHandled(boolean) - Method in AbstractTypeCheckingExtension
-
- setHasNoRealSourcePosition(boolean) - Method in AnnotatedNode
-
Marks whether this node has a real source position.
- setHavingExpression(org.apache.groovy.ginq.dsl.expression.HavingExpression) - Method in GroupExpression
-
Sets the optional having clause.
- setHeader(java.lang.String) - Method in CliBuilder
-
Sets the
header property on this
CliBuilder and the
description on the
usageMessage used by the underlying library.
- setHeader(java.lang.String) - Method in CliBuilderInternal
-
Sets the
header property on this
CliBuilder and the
description on the
usageMessage used by the underlying library.
- setHeader(java.lang.String) - Method in Groovydoc
-
Specifies the header text to be placed at the top of each output file.
- setHidden(boolean) - Method in SimpleGroovyDoc
-
Sets whether this doc element should be hidden from rendered output while
remaining available for internal resolution such as inheritDoc.
- setHolder(boolean) - Method in BytecodeVariable
-
- setHolder(boolean) - Method in FieldNode
-
Marks this field as a holder field for internal compilation purposes.
- setHref(java.lang.String) - Method in LinkArgument
-
Set the href attribute.
- setId(java.lang.Object) - Method in WindowDefinition
-
Set the id of window definition
- setIdentifierResolver(java.lang.Object) - Method in ObjectGraphBuilder
-
Sets the current IdentifierResolver.
- setIfBlock(org.codehaus.groovy.ast.stmt.Statement) - Method in IfStatement
-
Sets the
Statement to execute when the condition is true.
- setImplicitThis(boolean) - Method in MethodCallExpression
-
Sets whether this method call implicitly refers to the current object.
- setImplicitThis(boolean) - Method in PropertyExpression
-
- setImportsBlacklist(List<String>) - Method in SecureASTCustomizer
-
- setImportsResolved(boolean) - Method in ModuleNode
-
Marks whether imports have been resolved for this module.
- setImportsWhitelist(List<String>) - Method in SecureASTCustomizer
-
- setIncludeAntRuntime(boolean) - Method in Groovy
-
Should the system classpath be included on the classpath when forking.
- setIncludeantruntime(boolean) - Method in Groovyc
-
If true, includes Ant's own classpath in the classpath.
- setIncludeDestClasses(boolean) - Method in Groovyc
-
This property controls whether to include the
destination classes directory in the classpath
given to the compiler.
- setIncludejavaruntime(boolean) - Method in Groovyc
-
If true, includes the Java runtime libraries in the classpath.
- setIncludeMainForScripts(boolean) - Method in Groovydoc
-
If set to false, 'public static void main' method will not be displayed.
- setIndent(int) - Method in SerializeOptions
-
Sets the number of spaces to use for indentation.
- setIndentation(java.lang.String) - Method in XmlTemplateEngine
-
Sets the indentation string used for pretty-printed XML output.
- setIndentLevel(int) - Method in IndentPrinter
-
Sets the indentation level.
- setIndex(java.util.regex.Matcher, int) - Method in StringGroovyMethods
-
Sets the position of the given Matcher to the given index.
- setIndirectImportCheckEnabled(boolean) - Method in SecureASTCustomizer
-
Set this option to true if you want your import rules to be checked against every class node.
- setIndy(boolean) - Method in Groovy
-
Legacy method to set the indy flag (only true is allowed)
- setIndy(boolean) - Method in Groovyc
-
Legacy method to set the indy flag (only true is allowed)
- setInheritAll(boolean) - Method in Groovy
-
If true, pass all properties from the parent Ant project to the forked JVM as system
properties so the script can read them via System.getProperty(name).
- setInitialExpression(org.codehaus.groovy.ast.expr.Expression) - Method in Parameter
-
Sets the default value expression for this optional parameter.
- setInitialized(boolean) - Method in ExpandoMetaClass
-
Updates the initialization flag for this meta class.
- Parameters:
initialized - the new initialization state
- setInitialized(boolean) - Method in LazyInitializable
-
Mark the object initialized.
- setInitialized(boolean) - Method in MetaClassImpl
-
Updates the initialization flag for this meta class.
- setInitialValueCreator(groovy.lang.Closure) - Method in ThreadManagedMetaBeanProperty
-
Closure responsible for creating the initial value of thread-managed bean properties
- setInitialValueExpression(org.codehaus.groovy.ast.expr.Expression) - Method in FieldNode
-
Sets the initial value expression for this field.
- setInStaticContext(boolean) - Method in Parameter
-
Marks this parameter as being declared in a static context.
- setInStaticContext(boolean) - Method in VariableExpression
-
Sets whether this variable is accessed in a static context.
- setInStaticContext(boolean) - Method in VariableScope
-
Marks this scope as being in a static context.
- setInterceptor(groovy.lang.Interceptor) - Method in ProxyMetaClass
-
- Parameters:
interceptor - may be null to reset any interception
- setInterfaceClassLoadingClass(org.codehaus.groovy.ast.InterfaceHelperClassNode) - Method in DelegatingController
-
- setInterfaceClassLoadingClass(org.codehaus.groovy.ast.InterfaceHelperClassNode) - Method in WriterController
-
Sets the InterfaceHelperClassNode for interface static method loading.
- setInterfaces(org.codehaus.groovy.ast.ClassNode) - Method in ClassNode
-
Sets the interfaces implemented by this
ClassNode.
- setInternalConnection(java.sql.Connection) - Method in Sql
-
Stub needed for testing.
- setIntoAlias(java.lang.String) - Method in GroupExpression
-
Sets the into alias.
- setIsScriptBody() - Method in MethodNode
-
Sets the flag for this method to indicate it is a script body implementation.
- setJavaHome(java.io.File) - Method in Groovyc
-
The JDK Home to use when forked.
- setJavaVersion(java.lang.String) - Method in Groovydoc
-
Defaults to a popular Java version defined by the JavaParser library.
- setJointCompilationOptions(Map<String,Object>) - Method in CompilerConfiguration
-
Sets the joint compilation options for this configuration.
- setKeepIgnorableWhitespace(boolean) - Method in XmlParser
-
Sets the keep ignorable whitespace setting value.
- setKeepIgnorableWhitespace(boolean) - Method in XmlSlurper
-
- Parameters:
keepIgnorableWhitespace - If true then ignorable whitespace (i.e. whitespace before elements) is kept.
- setKeepJavaMetaClasses(boolean) - Method in GroovySystem
-
Controls whether Java meta classes should be retained strongly by the runtime.
- setKeepStubs(boolean) - Method in Groovyc
-
Set the keepStubs flag.
- setKeepWhitespace(boolean) - Method in XmlSlurper
-
- deprecated:
- use setKeepIgnorableWhitespace
- setKey(java.lang.Object) - Method in MapEntry
-
Updates the entry key.
- setKeyExpression(org.codehaus.groovy.ast.expr.Expression) - Method in MapEntryExpression
-
- setLastColumnNumber(int) - Method in ASTNode
-
Sets the ending column number for this AST node in the source file.
- setLastLineNumber(int) - Method in ASTNode
-
Sets the ending line number for this AST node in the source file.
- setLastMatcher(java.util.regex.Matcher) - Method in RegexSupport
-
- setLazyChop(boolean) - Method in JsonSlurper
-
Turns on buffer lazy chopping for index overlay.
- setLazyReferencesAllowed(boolean) - Method in ObjectGraphBuilder
-
Sets whether references can be resolved lazily or not.
- setLeftExpression(org.codehaus.groovy.ast.expr.Expression) - Method in BinaryExpression
-
Sets the left operand of this binary expression.
- setLeftExpression(org.codehaus.groovy.ast.expr.Expression) - Method in CompareToNullExpression
-
- setLeftExpression(org.codehaus.groovy.ast.expr.Expression) - Method in DeclarationExpression
-
This method sets the leftExpression for this BinaryExpression.
- setLimitExpression(org.apache.groovy.ginq.dsl.expression.LimitExpression) - Method in GinqExpression
-
Sets the limit clause.
- setLine(long) - Method in LineColumnReader
-
Sets the current line number.
- setLine(int) - Method in PositionInfo
-
- setLineMark(long) - Method in LineColumnReader
-
Sets the marked line number.
- setLineNumber(int) - Method in ASTNode
-
Sets the starting line number for this AST node in the source file.
- setLineNumber(int) - Method in DelegatingController
-
- setLineNumber(int) - Method in WriterController
-
Updates the current source line number being compiled.
- setListener(org.codehaus.groovy.transform.tailrec.VariableReplacedListener) - Method in VariableAccessReplacer
-
- setListfiles(boolean) - Method in Groovyc
-
If true, list the source files being handed off to the compiler.
- setLocale(java.util.Locale) - Method in TemplateConfiguration
-
Sets the locale used when resolving localized templates.
- setLogClassgen(boolean) - Method in CompilerConfiguration
-
Sets whether logging class generation is enabled
- setLogClassgenStackTraceMaxDepth(int) - Method in CompilerConfiguration
-
Sets stack trace max depth of logging class generation
- setLoggingLevel(int) - Method in GrapeEngine
-
Sets the logging level for the grape engine.
- setLoggingLevel(int) - Method in GrapeIvy
-
Sets the Ivy logging verbosity.
- setLoggingLevel(int) - Method in GrapeMaven
-
Updates the logging level used by grape integrations.
- setLoopBlock(org.codehaus.groovy.ast.stmt.Statement) - Method in DoWhileStatement
-
- setLoopBlock(org.codehaus.groovy.ast.stmt.Statement) - Method in ForStatement
-
Sets the
Statement to execute for each loop iteration.
- setLoopBlock(org.codehaus.groovy.ast.stmt.Statement) - Method in LoopingStatement
-
Sets the loop block.
- setLoopBlock(org.codehaus.groovy.ast.stmt.Statement) - Method in WhileStatement
-
- setMainClass(java.lang.String) - Method in LoaderConfiguration
-
Sets the main class.
- setManagedResource(java.lang.Object) - Method in JmxBuilderModelMBean
-
Updates the managed resource exposed by this model MBean.
- setMarkdown(boolean) - Method in SimpleGroovyDoc
-
Sets whether this documentation comment should be rendered as Markdown.
- setMaxRows(int) - Method in Sql.AbstractQueryCommand
-
Set the maximum number of rows to return in the ResultSet
- setMaxSizeForInMemory(int) - Method in JsonSlurper
-
Max size before Slurper starts to use windowing buffer parser.
- setMBeanServer(javax.management.MBeanServerConnection) - Method in JmxBuilder
-
Replaces the active MBean server connection.
- setMeaning(int) - Method in CSTNode
-
Sets the semantic meaning (interpretation) of this node.
- setMeaning(int) - Method in Token
-
Sets the meaning (interpretation) for this token.
- setMember(java.lang.String, org.codehaus.groovy.ast.expr.Expression) - Method in AnnotationNode
-
- setMemoryInitialSize(java.lang.String) - Method in Groovyc
-
The initial size of the memory for the underlying VM
if javac is run externally; ignored otherwise.
- setMemoryMaximumSize(java.lang.String) - Method in Groovyc
-
The maximum size of the memory for the underlying VM
if javac is run externally; ignored otherwise.
- setMessage(java.lang.String) - Method in JmxEventEmitter
-
Event message setter.
- setMessageExpression(org.codehaus.groovy.ast.expr.Expression) - Method in AssertStatement
-
Sets the message expression that provides an optional error message.
- setMetaClass(groovy.lang.GroovyObject, groovy.lang.MetaClass) - Method in DefaultGroovyMethods
-
Sets the metaclass for a GroovyObject.
- setMetaClass(groovy.lang.MetaClass) - Method in DelegatingMetaClass
-
Allows the MetaClass to be replaced with a derived implementation.
- Parameters:
metaClass - the new metaclass
- setMetaClass(groovy.lang.MetaClass) - Method in ExpandoMetaClass
-
Allows the MetaClass to be replaced with a derived implementation.
- Parameters:
metaClass - the new metaclass
- setMetaClass(groovy.lang.MetaClass) - Method in GPathResult
-
Replaces the MetaClass of this GPathResult.
- setMetaClass(groovy.lang.MetaClass) - Method in GroovyObject
-
Allows the MetaClass to be replaced with a derived implementation.
- setMetaClass(groovy.lang.MetaClass) - Method in GroovyObjectSupport
-
Allows the MetaClass to be replaced with a derived implementation.
- Parameters:
metaClass - the new metaclass
- setMetaClass(groovy.lang.MetaClass) - Method in GroovyObjectWrapper
-
- setMetaClass(groovy.lang.MetaClass) - Method in IteratorClosureAdapter
-
- setMetaClass(java.lang.Class, groovy.lang.MetaClass) - Method in MetaClassRegistry
-
Adds a metaclass to the registry for the given class
- setMetaClass(java.lang.Object, groovy.lang.MetaClass) - Method in MetaClassRegistryImpl
-
- setMetaClass(groovy.lang.MetaClass, java.lang.Class) - Method in Node
-
Extension point for subclasses to override the metaclass.
- setMetaClass(java.lang.Class, groovy.lang.MetaClass) - Method in NodeList
-
Installs the metaclass used for property and attribute shortcuts on node lists.
- setMetaClass(groovy.lang.MetaClass) - Method in PojoWrapper
-
- setMetaClass(groovy.lang.MetaClass) - Method in Sequence
-
Allows the MetaClass to be replaced with a derived implementation.
- Parameters:
metaClass - the new metaclass
- setMetaClassCreationHandle(groovy.lang.MetaClassRegistry.MetaClassCreationHandle) - Method in MetaClassRegistry
-
Sets the MetaClassCreationHandle instance that is responsible for constructing instances
- setMetaClassCreationHandle(MetaClassCreationHandle) - Method in MetaClassRegistryImpl
-
Sets a handle internally used to create MetaClass implementations.
- setMetaDataMap(Map<?,?>) - Method in ASTNode
-
Sets the metadata map for this node.
- setMetaDataMap(Map<?,?>) - Method in CompileUnit
-
Sets the metadata map for storing compilation-phase metadata.
- setMetaDataMap(Map<?,?>) - Method in GroovyParser.GroovyParserRuleContext
-
- setMetaDataMap(Map<?,?>) - Method in NodeMetaDataHandler
-
- setMetaMethod(groovy.lang.MetaMethod) - Method in StaticMethodCallExpression
-
- setMethod(org.codehaus.groovy.ast.expr.Expression) - Method in MethodCallExpression
-
Sets the method name or reference expression.
- setMethodDefinitionAllowed(boolean) - Method in SecureASTCustomizer
-
- setMethodDispatcherCode(org.codehaus.groovy.ast.stmt.BlockStatement, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.Parameter) - Method in InnerClassVisitorHelper
-
- setMethodMissingDelegate(groovy.lang.Closure) - Method in FactoryBuilderSupport
-
Sets the method-missing fallback closure.
- setMethodNode(org.codehaus.groovy.ast.MethodNode) - Method in DelegatingController
-
- setMethodNode(org.codehaus.groovy.ast.MethodNode) - Method in StaticTypesWriterController
-
- setMethodNode(org.codehaus.groovy.ast.MethodNode) - Method in WriterController
-
Sets the MethodNode for the method currently being compiled.
- setMethodsToBeVisited(Set<MethodNode>) - Method in StaticTypeCheckingVisitor
-
- setMethodTarget(org.codehaus.groovy.ast.MethodNode) - Method in MethodCallExpression
-
Sets a direct method target for this method call.
- setMethodVisitor(org.objectweb.asm.MethodVisitor) - Method in DelegatingController
-
- setMethodVisitor(org.objectweb.asm.MethodVisitor) - Method in WriterController
-
Sets the ASM MethodVisitor for the currently-active method or constructor.
- setMinimumRecompilationInterval(int) - Method in CompilerConfiguration
-
- setMixinInstance(java.lang.Object, java.lang.Object) - Method in MixinInMetaClass
-
Sets or clears the mixin instance associated with an object.
- setMixins(org.codehaus.groovy.ast.MixinNode) - Method in ClassNode
-
- setMnemonic(javax.swing.AbstractButton, java.lang.String) - Method in SwingExtensions
-
Supports assigning a button mnemonic from a single-character String.
- setMode(java.lang.String) - Method in JmxBuilder
-
Sets the builder mode.
- setModel(java.lang.Object) - Method in BindingProxy
-
Replaces the proxied model and retargets all existing property bindings.
- setModel(javax.swing.table.TableModel) - Method in TableMap
-
Replaces the wrapped table model and starts listening for its change events.
- setModel(javax.swing.table.TableModel) - Method in TableSorter
-
Replaces the wrapped model and rebuilds the cached row index mapping.
- setModifiers(int) - Method in ClassNode
-
- setModifiers(int) - Method in FieldNode
-
Sets the ASM modifier flags for this field.
- setModifiers(int) - Method in MethodNode
-
Sets the ASM modifier flags for this method.
- setModifiers(int) - Method in Parameter
-
Sets the modifiers (access flags) for this parameter.
- setModifiers(int) - Method in PropertyNode
-
Sets the ASM modifier flags for this property.
- setModifiers(int) - Method in VariableExpression
-
Sets the access modifiers for this variable (e.g., public, private, protected).
- setModule(org.codehaus.groovy.ast.ModuleNode) - Method in ClassNode
-
- setModule(org.codehaus.groovy.ast.ModuleNode) - Method in GroovyRuntimeException
-
Sets the module used when reporting location information.
- setModule(java.lang.String) - Method in LinkArgument
-
Set the module attribute.
- setName(java.lang.String) - Method in BuilderASTTransformation.AbstractBuilderStrategy.PropertyInfo
-
Sets the property name.
- setName(java.lang.String) - Method in ClassNode
-
Sets the fully-qualified name of this class, delegating to the redirect if one exists.
- setName(java.lang.String) - Method in DecompiledClassNode
-
Prevents renaming of decompiled class nodes, as they represent immutable bytecode definitions.
- setName(java.lang.String) - Method in GenericsType
-
Sets the name of this generic type.
- setName(java.lang.String) - Method in SimpleGroovyAnnotationRef
-
Replaces the annotation name used by this reference.
- setNameAndTypeMapping(Map<String,Map>) - Method in VariableAccessReplacer
-
- setNameMappingClosure(groovy.lang.Closure) - Method in FactoryBuilderSupport
-
Sets the closure used to map method names to builder names.
- setNamespaceAware(boolean) - Method in XmlNodePrinter
-
Enable and/or disable namespace handling.
- setNamespaceAware(boolean) - Method in XmlParser
-
Enable and/or disable namespace handling.
- setNamespaceAware(boolean) - Method in XmlSlurper
-
Enable and/or disable namespace handling.
- setNamespaceTagHints(java.util.Map) - Method in NamespaceAwareHashMap
-
Sets the prefix-to-namespace hints used to normalize prefixed keys.
- setNameWithTypeArgs(java.lang.String) - Method in SimpleGroovyClassDoc
-
Stores the rendered class name including any type arguments.
- setNewInstanceResolver(java.lang.Object) - Method in ObjectGraphBuilder
-
Sets the current NewInstanceResolver.
- setNewLineString(java.lang.String) - Method in TemplateConfiguration
-
- setNewMopMethods(List<MetaMethod>) - Method in CachedClass
-
Replaces the current MOP methods with the specified list of meta-methods.
- setNodeAttributes(java.lang.Object, java.util.Map) - Method in FactoryBuilderSupport
-
Maps attributes key/values to properties on node.
- setNodeMeta(org.codehaus.groovy.classgen.asm.TypeChooser, org.codehaus.groovy.ast.ClassNode) - Method in OptimizingStatementWriter
-
- setNodeMetaData(java.lang.Object, java.lang.Object) - Method in NodeMetaDataHandler
-
Sets the node metadata.
- setNoDeprecatedList(boolean) - Method in Groovydoc
-
GROOVY-11943: if set to true, suppress generation of the deprecated-list
page (deprecated-list.html) and its nav-bar link.
- setNoHelp(boolean) - Method in Groovydoc
-
GROOVY-11943: if set to true, suppress generation of the help page
(help-doc.html) and its nav-bar link.
- setNoIndex(boolean) - Method in Groovydoc
-
GROOVY-11943: if set to true, suppress generation of the alphabetical
index page (index-all.html) and its nav-bar link.
- setNonChangeCheck(boolean) - Method in PropertyBinding
-
Enables or disables suppression of redundant equal-value updates.
- setNoTimestamp(boolean) - Method in Groovydoc
-
If set to true, hidden timestamp will not appear within generated HTML.
- setNoVersionStamp(boolean) - Method in Groovydoc
-
If set to true, hidden version stamp will not appear within generated HTML.
- setObject(T) - Method in ObjectHolder
-
Replaces the currently held object.
- setObject(java.sql.PreparedStatement, int, java.lang.Object) - Method in Sql
-
Strategy method allowing derived classes to handle types differently
such as for CLOBs etc.
- setObjectCloner(org.apache.groovy.groovysh.jline.GroovyEngine.Cloner) - Method in GroovyEngine
-
Sets the object cloner to use for copying session values.
- setObjectExpression(org.codehaus.groovy.ast.expr.Expression) - Method in MethodCallExpression
-
Sets the object (receiver) on which this method is invoked.
- setObjectExpression(org.codehaus.groovy.ast.expr.Expression) - Method in PropertyExpression
-
- setOmitEmptyAttributes(boolean) - Method in MarkupBuilder
-
Allows empty attributes to be removed from the generated markup.
- setOmitNullAttributes(boolean) - Method in MarkupBuilder
-
Allows null attributes to be removed from the generated markup.
- setOnExpression(org.apache.groovy.ginq.dsl.expression.OnExpression) - Method in JoinExpression
-
Sets the optional on clause.
- SetOperationExpression - Class in org.apache.groovy.ginq.dsl.expression
Represents a set operation (union, unionall, intersect, minus) combining two GINQ expressions.
- SetOperationExpression(org.apache.groovy.ginq.dsl.expression.AbstractGinqExpression, java.lang.String, org.apache.groovy.ginq.dsl.expression.GinqExpression) - Constructor in SetOperationExpression
-
Creates a set-operation expression.
- setOptimizationOptions(Map<String,Boolean>) - Method in CompilerConfiguration
-
Sets the optimization options for this configuration.
- setOptions(Map<String,Object>) - Method in TypeCheckingExtension
-
Sets the options for this extension.
- setOptionsFromAnnotations(java.lang.Object, java.lang.Class, java.lang.Object, boolean) - Method in CliBuilder
-
Applies parsed option values to an annotated target object or map.
- setOrderExpression(org.apache.groovy.ginq.dsl.expression.OrderExpression) - Method in GinqExpression
-
Sets the orderby clause.
- setOrigBool(boolean) - Method in DefaultMetaClassInfo
-
Sets if the original boolean metaclass is used.
- setOrigByte(boolean) - Method in DefaultMetaClassInfo
-
Sets if the original byte metaclass is used.
- setOrigChar(boolean) - Method in DefaultMetaClassInfo
-
Sets if the original char metaclass is used.
- setOrigDouble(boolean) - Method in DefaultMetaClassInfo
-
Sets if the original double metaclass is used.
- setOrigFloat(boolean) - Method in DefaultMetaClassInfo
-
Sets if the original float metaclass is used.
- setOrigInt(boolean) - Method in DefaultMetaClassInfo
-
Sets if the original int metaclass is used.
- setOrigIntArray(boolean) - Method in DefaultMetaClassInfo
-
Sets if the original int array metaclass is used.
- setOriginType(org.codehaus.groovy.ast.ClassNode) - Method in FieldNode
-
Sets the original type information for this field.
- setOriginType(org.codehaus.groovy.ast.ClassNode) - Method in Parameter
-
Sets the original type of this parameter before primitive type wrapping.
- setOrigLong(boolean) - Method in DefaultMetaClassInfo
-
Sets if the original long metaclass is used.
- setOrigShort(boolean) - Method in DefaultMetaClassInfo
-
Sets if the original short metaclass is used.
- setOuter(org.codehaus.groovy.groovydoc.GroovyClassDoc) - Method in SimpleGroovyClassDoc
-
Sets the enclosing class for this nested class.
- setOutput(java.io.PrintWriter) - Method in CompilerConfiguration
-
Sets the output writer.
- setOutput(java.io.File) - Method in Groovy
-
Set the output file;
optional, defaults to the Ant log.
- setOutputEncoding(java.lang.String) - Method in Groovy
-
Declare the encoding to use when outputting to a file;
Leave unspecified or use "" for the platform's default encoding.
- setOutputPreferences(boolean, java.io.File) - Method in Console
-
Updates output mirroring preferences and recreates the log writer if needed.
- setOverride(java.lang.ClassLoader) - Method in ProxyGenerator
-
Sets the override class loader used for proxy generation.
- setOvertypeMode(boolean) - Method in TextEditor
-
Set the caret to use depending on overtype/insert mode
- setOverview(java.io.File) - Method in Groovydoc
-
Specify the file containing the overview to be included in the generated documentation.
- setOwner(org.codehaus.groovy.ast.ClassNode) - Method in FieldNode
-
Sets the class that declares this field.
- setOwnerType(org.codehaus.groovy.ast.ClassNode) - Method in StaticMethodCallExpression
-
- setPackage(java.lang.String, List<AnnotationNode>) - Method in ASTHelper
-
Sets the package for this module with optional annotations.
- setPackage(boolean) - Method in Groovydoc
-
Indicate whether only package, protected and public classes and members are to be included in the scope processed.
- setPackage(org.codehaus.groovy.ast.PackageNode) - Method in ModuleNode
-
Sets the package declaration for this module.
- setPackageAllowed(boolean) - Method in SecureASTCustomizer
-
- setPackageAssertionStatus(java.lang.String, boolean) - Method in GroovyClassLoader.InnerLoader
-
{@inheritDoc}
- setPackageName(java.lang.String) - Method in ASTHelper
-
Sets the package name for this module (without trailing dot).
- setPackageName(java.lang.String) - Method in ModuleNode
-
Sets the package for this module by name.
- setPackagenames(java.lang.String) - Method in Groovydoc
-
Set the package names to be processed.
- setPackagePrivate(boolean) - Method in SimpleGroovyProgramElementDoc
-
Sets whether this element has package-private visibility.
- setPackages(java.lang.String) - Method in LinkArgument
-
Set the packages attribute.
- setParameters(boolean) - Method in CompilerConfiguration
-
Turns parameter metadata generation on or off.
- setParameters(boolean) - Method in Groovy
-
If true, generates metadata for reflection on method parameter names (jdk8+ only).
- setParameters(boolean) - Method in Groovyc
-
If true, generates metadata for reflection on method parameter names (jdk8+ only).
- setParameters(org.codehaus.groovy.ast.Parameter) - Method in MethodNode
-
Sets the method's parameter list.
- setParameters(List<?>, java.sql.PreparedStatement) - Method in Sql
-
Hook to allow derived classes to override behavior associated with
setting params for a prepared statement.
- setParametersTypes(org.codehaus.groovy.reflection.CachedClass) - Method in ParameterTypes
-
Sets the cached parameter types and determines if this is a varargs method.
- setParent(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in AbstractFactory
-
Connects a child node to its parent.
- Parameters:
builder - the FactoryBuilderparent - the parent node, or null for the rootchild - the child node
- setParent(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in ActionFactory
-
Attaches the current node to its parent when parent-specific handling is required.
- setParent(java.lang.Object, java.lang.Object) - Method in AntBuilder
-
Ant child nodes are attached by Ant's own configuration machinery, so this hook is intentionally a no-op.
- setParent(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in BoxLayoutFactory
-
Attaches the current node to its parent when parent-specific handling is required.
- setParent(java.lang.Object, java.lang.Object) - Method in BuilderSupport
-
Links a newly created child node to its parent.
- setParent(java.lang.Object, java.lang.Object) - Method in DOMBuilder
-
Builder lifecycle callback that attaches a completed child node to its parent node.
- setParent(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in Factory
-
Connects a child node to its parent.
- setParent(java.lang.Object, java.lang.Object) - Method in FactoryBuilderSupport
-
Strategy method to establish parent/child relationships.
- setParent(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in LayoutFactory
-
Attaches the current node to its parent when parent-specific handling is required.
- setParent(java.lang.Object, java.lang.Object) - Method in MarkupBuilder
-
Builder lifecycle callback invoked after a child node has been created.
- setParent(java.lang.Object, java.lang.Object) - Method in NamespaceBuilderSupport
-
Builder lifecycle callback invoked after a child node has been created.
- setParent(groovy.util.Node) - Method in Node
-
Adds or replaces the parent of the node.
- setParent(java.lang.Object, java.lang.Object) - Method in NodeBuilder
-
Links a newly created child node to its parent.
- Parameters:
parent - the parent nodechild - the child node
- setParent(java.lang.Object, java.lang.Object) - Method in SAXBuilder
-
Builder lifecycle callback invoked after a child node has been created.
- setParent(java.lang.Object, java.lang.Object) - Method in StaxBuilder
-
No-op for StAX output because parent relationships are managed by the stream writer itself.
- setParent(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in SwingBorderFactory
-
Attaches the current node to its parent when parent-specific handling is required.
- setParent(groovy.util.FactoryBuilderSupport, java.lang.Object, java.lang.Object) - Method in TableLayoutFactory
-
Attaches the current node to its parent when parent-specific handling is required.
- setParent(groovy.console.TextNode) - Method in TextNode
-
Sets the parent node.
- setPerInstanceMetaClass(java.lang.Object, groovy.lang.MetaClass) - Method in ClassInfo
-
Sets the per-instance metaclass for the given object.
- setPermissivePropertyAccess(boolean) - Method in MetaClassImpl
-
Enables or disables permissive property access semantics.
- setPermittedSubclasses(List<ClassNode>) - Method in ClassNode
-
- setPipe(java.lang.String) - Method in SystemRegistryImpl.CommandData
-
Sets the pipe operator for this command.
- setPlaceholder(boolean) - Method in GenericsType
-
Marks this generic type as a placeholder type variable.
- setPluginFactory(org.codehaus.groovy.control.ParserPluginFactory) - Method in CompilerConfiguration
-
- setPosix(java.lang.Boolean) - Method in CliBuilder
-
Sets the
posix property on this
CliBuilder and the
posixClusteredShortOptionsAllowed property on the
parser
used by the underlying library.
- setPosix(java.lang.Boolean) - Method in CliBuilderInternal
-
Sets the
posix property on this
CliBuilder and the
posixClusteredShortOptionsAllowed property on the
parser
used by the underlying library.
- setPreLanguage(java.lang.String) - Method in Groovydoc
-
Default language id for <pre> blocks in rendered doc comments
that carry no class= attribute.
- setPrepareEditor(groovy.lang.Closure) - Method in ClosureCellEditor
-
Sets the closure used to prepare the editor component.
- setPreserveWhitespace(boolean) - Method in XmlNodePrinter
-
Enable and/or disable preservation of whitespace.
- setPreviewFeatures(boolean) - Method in CompilerConfiguration
-
Sets whether the bytecode version has preview features enabled (JEP 12).
- setPreviewFeatures(boolean) - Method in Groovyc
-
If true, enable preview Java features (JEP 12) (jdk12+ only).
- setPrimitiveMeta(java.lang.Class, boolean) - Method in DefaultMetaClassInfo
-
- setPrivate(boolean) - Method in Groovydoc
-
Indicate whether all classes and
members are to be included in the scope processed.
- setPrivate(boolean) - Method in SimpleGroovyProgramElementDoc
-
Sets whether this element is private.
- setProceed(boolean) - Method in Groovyc
-
- Parameters:
proceed - inverse of failonerror
- setProcessScripts(boolean) - Method in Groovydoc
-
If set to false, Scripts will not be processed.
- setProgressCallback(org.codehaus.groovy.control.CompilationUnit.ProgressCallback) - Method in CompilationUnit
-
Sets a ProgressCallback.
- setProperties(java.lang.Object, java.util.Map) - Method in ClosureMetaClass
-
- setProperties(java.lang.Object, java.util.Map) - Method in InvokerHelper
-
Sets the properties on the given object
- setProperties(java.lang.Object, java.util.Map) - Method in MetaClassImpl
-
Sets a number of bean properties from the given Map where the keys are
the String names of properties and the values are the values of the
properties to set
- setProperty2(java.lang.Object, java.lang.Object, java.lang.String) - Method in InvokerHelper
-
This is so we don't have to reorder the stack when we call this method.
- setProperty - Field in AsmClassGenerator
-
- setProperty(java.lang.String, java.lang.Object) - Method in Binding
-
Overloaded to make variables appear as bean properties or via the subscript operator
- setProperty(java.lang.String, java.lang.Object) - Method in BindingProxy
-
Prevents direct writes to the proxy.
- setProperty(java.lang.Object, java.lang.Object) - Method in CachedField
-
Sets the property on the given object to the new value.
- throws:
- RuntimeException if the property could not be set
- Parameters:
object - on which to set the propertynewValue - the new value of the property
- setProperty(java.lang.String, java.lang.Object) - Method in Closure
-
Sets the given property to the new value.
- Parameters:
propertyName - the name of the property of interestnewValue - the new value for the property
- setProperty(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in ClosureMetaClass
-
- setProperty(java.lang.String, java.lang.Object) - Method in DelegatingMetaClass
-
Sets the given property to the new value.
- Parameters:
propertyName - the name of the property of interestnewValue - the new value for the property
- setProperty(java.lang.String, java.lang.Object) - Method in DelegatingScript
-
Sets a property on the delegate before falling back to the script binding.
- setProperty(java.lang.String, java.lang.Object) - Method in Expando
-
Stores a dynamic property.
- setProperty(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in ExpandoMetaClass
-
- setProperty(java.lang.String, java.lang.Object) - Method in ExpandoMetaClass.ExpandoMetaProperty
-
Sets the given property to the new value.
- Parameters:
propertyName - the name of the property of interestnewValue - the new value for the property
- setProperty(java.lang.String, java.lang.Object) - Method in FactoryBuilderSupport
-
Overloaded to make variables appear as bean properties or via the subscript operator
- setProperty(java.lang.String, java.lang.Object) - Method in GPathResult
-
Replaces the specified property of this GPathResult with a new value.
- setProperty(java.lang.String, java.lang.Object) - Method in GroovyMBean
-
Writes an attribute on the wrapped MBean.
- setProperty(java.lang.String, java.lang.Object) - Method in GroovyObjectWrapper
-
- setProperty(java.lang.String, java.lang.Object) - Method in GroovyResultSetExtension
-
Updates the designated column with an Object value.
- setProperty(java.lang.String, java.lang.Object) - Method in GroovyShell
-
Sets the given property to the new value.
- Parameters:
propertyName - the name of the property of interestnewValue - the new value for the property
- setProperty(java.lang.String, java.lang.Object) - Method in GroovyTypeCheckingExtensionSupport.TypeCheckingDSL
-
- setProperty(java.lang.String, java.lang.Object) - Method in HandleMetaClass
-
- setProperty(java.lang.Object, java.lang.String, java.lang.Object) - Method in InvokerHelper
-
- setProperty(java.lang.Object, java.lang.Object) - Method in MetaArrayLengthProperty
-
Sets the property on the given object to the new value.
- throws:
- RuntimeException if the property could not be set
- Parameters:
object - on which to set the propertynewValue - the new value of the property
- setProperty(java.lang.Object, java.lang.Object) - Method in MetaBeanProperty
-
Sets the property on the given object to the new value.
- setProperty(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in MetaClass
-
- setProperty(java.lang.Object, java.lang.String, java.lang.Object) - Method in MetaClassImpl
-
- setProperty(java.lang.Object, java.lang.Object) - Method in MetaExpandoProperty
-
Sets the property on the given object to the new value
- setProperty(java.lang.Object, java.lang.String, java.lang.Object) - Method in MetaObjectProtocol
-
Sets a property of an instance of the class returned by the getTheClass() method.
- setProperty(java.lang.Object, java.lang.Object) - Method in MetaProperty
-
Sets the property on the given object to the new value.
- setProperty(java.lang.Object, java.lang.Object) - Method in MethodMetaProperty
-
- setProperty(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in MockProxyMetaClass
-
Intercepts a property write and delegates to the adaptee when no custom handling is supplied.
- setProperty(java.lang.Object, java.lang.Object) - Method in MultipleSetterProperty
-
- setProperty(java.lang.String, java.lang.Object) - Method in NullObject
-
Tries to set a property on null, which fails.
- setProperty(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in OwnedMetaClass
-
- setProperty(java.lang.String, java.lang.Object) - Method in PojoWrapper
-
- setProperty(java.lang.Class, java.lang.Object, java.lang.String, java.lang.Object, boolean, boolean) - Method in ProxyMetaClass
-
Interceptors the call to a property setter if a PropertyAccessInterceptor
is available
- setProperty(java.lang.String, java.lang.Object) - Method in Reference
-
Sets the given property to the new value.
- Parameters:
propertyName - the name of the property of interestnewValue - the new value for the property
- setProperty(java.lang.String, java.lang.Object) - Method in ResultSetMetaDataWrapper
-
Always rejects property writes because result-set metadata is read-only.
- setProperty(java.lang.String, java.lang.Object) - Method in Script
-
Sets the given property to the new value.
- Parameters:
propertyName - the name of the property of interestnewValue - the new value for the property
- setProperty(java.lang.Object, java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setProperty(java.lang.String, java.lang.Object) - Method in Sequence
-
Sets the given property to the new value.
- Parameters:
propertyName - the name of the property of interestnewValue - the new value for the property
- setProperty(java.lang.String, java.lang.Object) - Method in XmlParser
-
Sets a SAX property on the underlying reader.
- setProperty(java.lang.String, java.lang.Object) - Method in XmlSlurper
-
Sets a SAX property on the underlying reader.
- setPropertyGetterDispatcher(org.codehaus.groovy.ast.stmt.BlockStatement, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.Parameter) - Method in InnerClassVisitorHelper
-
- setPropertyMethod - Field in MetaClassImpl
-
Effective setProperty handler discovered for this meta class.
- setPropertyMissingDelegate(groovy.lang.Closure) - Method in FactoryBuilderSupport
-
Sets the property-missing fallback closure.
- setPropertyName(java.lang.String) - Method in PropertyBinding
-
Replaces the name of the bound property.
- setPropertyOnSuper(java.lang.Object, java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setPropertyOnSuperSafe(java.lang.Object, java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setPropertyOnSuperSpreadSafe(java.lang.Object, java.lang.Class, groovy.lang.GroovyObject, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setPropertySafe2(java.lang.Object, java.lang.Object, java.lang.String) - Method in InvokerHelper
-
This is so we don't have to reorder the stack when we call this method.
- setPropertySafe(java.lang.Object, java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setPropertySetterDispatcher(org.codehaus.groovy.ast.stmt.BlockStatement, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.Parameter) - Method in InnerClassVisitorHelper
-
- setPropertySpreadSafe(java.lang.Object, java.lang.Class, java.lang.Object, java.lang.String) - Method in ScriptBytecodeAdapter
-
- setProtected(boolean) - Method in Groovydoc
-
Indicate whether only protected and public classes and members are to be included in the scope processed.
- setProtected(boolean) - Method in SimpleGroovyProgramElementDoc
-
Sets whether this element is protected.
- setProxyBuilder(groovy.util.FactoryBuilderSupport) - Method in FactoryBuilderSupport
-
Sets the builder to be used as a proxy.
- setPublic(boolean) - Method in Groovydoc
-
Indicate whether only public classes and members are to be included in the scope processed.
- setPublic(boolean) - Method in SimpleGroovyProgramElementDoc
-
Sets whether this element is public.
- setQuote(java.lang.String) - Method in XmlNodePrinter
-
Set Quote to use when printing attributes.
- setQuoteChar(char) - Method in CsvBuilder
-
Set the quote character (default: double-quote).
- setQuoteChar(char) - Method in CsvSlurper
-
Set the quote character (default: double-quote).
- setRawCommentText(java.lang.String) - Method in ArrayClassDocWrapper
-
Replaces the raw documentation comment for this element.
- Parameters:
arg0 - the raw comment text to store
- setRawCommentText(java.lang.String) - Method in ExternalGroovyClassDoc
-
Replaces the raw documentation comment for this element.
- Parameters:
arg0 - the raw comment text to store
- setRawCommentText(java.lang.String) - Method in GroovyDoc
-
Replaces the raw documentation comment for this element.
- setRawCommentText(java.lang.String) - Method in SimpleGroovyDoc
-
Replaces the raw documentation comment for this element.
- Parameters:
arg0 - the raw comment text to store
- setReceiversBlackList(List<String>) - Method in SecureASTCustomizer
-
- setReceiversClassesBlackList(List<Class>) - Method in SecureASTCustomizer
-
- setReceiversClassesWhiteList(List<Class>) - Method in SecureASTCustomizer
-
- setReceiversWhiteList(List<String>) - Method in SecureASTCustomizer
-
- setRecompileGroovySource(boolean) - Method in CompilerConfiguration
-
- setRecordComponents(List<RecordComponentNode>) - Method in ClassNode
-
Sets the record components for record type.
- setRecording(boolean) - Method in TextUndoManager
-
Toggle recording of undoable edits.
- setRecurStatement(org.codehaus.groovy.ast.stmt.Statement) - Method in ReturnStatementToIterationConverter
-
- setRedirect(org.codehaus.groovy.ast.ClassNode) - Method in ClassNode
-
Sets this instance as a proxy for the given ClassNode, enabling deferred class resolution.
- setRedirect(org.codehaus.groovy.ast.ClassNode) - Method in DecompiledClassNode
-
Prevents redirection of decompiled class nodes to alternate implementations.
- setRef(java.lang.String) - Method in RootLoaderRef
-
sets the name of the reference which should store the Loader
- setReferenceResolver(java.lang.Object) - Method in ObjectGraphBuilder
-
Sets the current ReferenceResolver.
- setRelationNameResolver(groovy.util.ObjectGraphBuilder.RelationNameResolver) - Method in ObjectGraphBuilder
-
Sets the current RelationNameResolver.
- setRenderRange(Tuple2<Integer,Integer>) - Method in SmartDocumentFilter
-
Limits rendering to the supplied character range for the next parse.
- setReplacement(org.codehaus.groovy.ast.expr.Expression) - Method in TreeContext
-
Replaces the current expression node when this context is popped.
- setReplaceWith(Closure<Statement>) - Method in StatementReplacer
-
- setReplaceWith(Closure<VariableExpression>) - Method in VariableExpressionReplacer
-
- setReplaceWith(Closure<VariableExpression>) - Method in VariableExpressionTransformer
-
- setReportClass(org.codehaus.groovy.ast.ClassNode) - Method in AnnotationVisitor
-
- setRequireMain(boolean) - Method in LoaderConfiguration
-
Determines if a main class is required when calling.
- setResolved(boolean) - Method in GenericsType
-
Marks this generic type as resolved.
- setResolveStrategy(int) - Method in Closure
-
Sets the strategy which the closure uses to resolve property references and methods.
- setResolveStrategy(int) - Method in ComposedClosure
-
- setResolveStrategy(int) - Method in CurriedClosure
-
- setResourceLoader(groovy.lang.GroovyResourceLoader) - Method in GroovyClassLoader
-
Sets the resource loader used to resolve Groovy source by script name.
- setResourceLoader(groovy.lang.GroovyResourceLoader) - Method in GroovyClassLoader.InnerLoader
-
Sets the resource loader used to resolve Groovy source by script name.
- Parameters:
resourceLoader - the resource loader to use
- setResultSetConcurrency(int) - Method in Sql
-
Sets the resultSetConcurrency for statements created using the connection.
- setResultSetHoldability(int) - Method in Sql
-
Sets the resultSetHoldability for statements created using the connection.
- setResultSetType(int) - Method in Sql
-
Sets the resultSetType for statements created using the connection.
- setReturnType(org.codehaus.groovy.groovydoc.GroovyType) - Method in GroovyMethodDoc
-
Updates the declared return type of this method.
- setReturnType(org.codehaus.groovy.ast.ClassNode) - Method in MethodNode
-
Sets the method's return type.
- setReturnType(org.codehaus.groovy.groovydoc.GroovyType) - Method in SimpleGroovyMethodDoc
-
Updates the declared return type of this method.
- Parameters:
o - the return type to associate with this method
- setReverseConverter(groovy.lang.Closure) - Method in AbstractFullBinding
-
Sets the reverse converter.
- setReverseConverter(groovy.lang.Closure) - Method in FullBinding
-
Sets the reverse converter used before writing back to the source.
- setReverseConverter(groovy.lang.Closure) - Method in MutualPropertyBinding
-
Replaces the converter applied from target to source.
- setRightExpression(org.codehaus.groovy.ast.expr.Expression) - Method in BinaryExpression
-
Sets the right operand of this binary expression.
- setRightExpression(org.codehaus.groovy.ast.expr.Expression) - Method in CompareToNullExpression
-
- setRightExpression(org.codehaus.groovy.ast.expr.Expression) - Method in DeclarationExpression
-
- setRowfill(boolean) - Method in TableLayoutCell
-
Sets whether or not this row should allow its component to stretch to fill the space available
- setRowNumAndColNum() - Method in Console
-
Updates the cached caret row and column display.
- setRowspan(int) - Method in TableLayoutCell
-
Sets the number of rows that this cell should span.
- setRuntimeRetention(boolean) - Method in AnnotationNode
-
- setSafe(boolean) - Method in BinaryExpression
-
Sets whether this binary expression should use safe navigation.
- setSafe(boolean) - Method in MethodCallExpression
-
Sets whether this should be a safe method call.
- setSaveStreams(boolean) - Method in AntBuilder
-
Indicates that we save stdin, stdout, stderr and replace them
while AntBuilder is executing tasks with
streams that funnel the normal streams into Ant's logs.
- setScaleIconsWithFont(boolean) - Method in Console
-
Persists whether toolbar icons track the editor font size.
- setScript(boolean) - Method in ClassNode
-
Marks this
ClassNode as a script or removes the script flag.
- setScript(boolean) - Method in SimpleGroovyDoc
-
Marks this documented element as a script or ordinary class.
- setScriptArgs(java.util.EventObject) - Method in Console
-
Prompts for space-separated script arguments used by future runs.
- setScriptArgsAction - Property in Console
-
Action that edits the configured script arguments.
- setScriptBaseClass(java.lang.String) - Method in CompilerConfiguration
-
Sets the name of the base class for scripts.
- setScriptBaseClass(java.lang.String) - Method in Groovy
-
Set the script base class name
- setScriptBaseClass(java.lang.String) - Method in Groovyc
-
Set the base script class name for the scripts (must derive from Script)
- setScriptBody(boolean) - Method in ClassNode
-
Marks this inner class or closure as being declared inside a script body.
- setScriptDescription(Function<CmdLine,CmdDesc>) - Method in SystemRegistryImpl
-
Sets the function used to describe scripts for tab completion.
- setScriptExtension(java.lang.String) - Method in Groovyc
-
Set the extension to use when searching for Groovy source files.
- setScriptExtensions(Set<String>) - Method in CompilerConfiguration
-
- setSelectExpression(org.apache.groovy.ginq.dsl.expression.SelectExpression) - Method in GinqExpression
-
Sets the select clause.
- setSeparator(char) - Method in CsvBuilder
-
Set the column separator character (default: comma).
- setSeparator(char) - Method in CsvSlurper
-
Set the column separator character (default: comma).
- setSerializable(boolean) - Method in LambdaExpression
-
- setSetterBlock(org.codehaus.groovy.ast.stmt.Statement) - Method in PropertyNode
-
Sets the statement block that implements the setter method.
- setSetterName(java.lang.String) - Method in PropertyNode
-
Sets an explicit setter method name for this property.
- setShouldRecompile(java.lang.Boolean) - Method in GroovyClassLoader
-
sets if the recompilation should be enabled.
- setShouldRecompile(java.lang.Boolean) - Method in GroovyClassLoader.InnerLoader
-
sets if the recompilation should be enabled. There are 3 possible
values for this. Any value different from null overrides the
value from the compiler configuration. true means to recompile if needed
false means to never recompile.
- Parameters:
mode - the recompilation mode
- See Also:
- CompilerConfiguration
- setShowInternal(boolean) - Method in Groovydoc
-
If set to true, members annotated with {@code groovy.transform.
- setShowLineNumbers(boolean) - Method in ConsoleTextEditor
-
Shows or hides the line-number gutter.
- setSize(int) - Method in Icons
-
Resize toolbar icons only — menu icons remain at
MENU_SIZE.
- setSize(int) - Method in Icons.DynamicSVGIcon
-
Rebuilds this icon at a new square size.
- setSource(org.codehaus.groovy.control.io.ReaderSource) - Method in SourceUnit
-
- setSourceBinding(org.apache.groovy.swing.binding.SourceBinding) - Method in AbstractFullBinding
-
Replaces the current source binding.
- setSourceBinding(org.apache.groovy.swing.binding.SourceBinding) - Method in AbstractSyntheticBinding
-
Validates and stores the source binding for this synthetic property.
- setSourceBinding(org.apache.groovy.swing.binding.SourceBinding) - Method in FullBinding
-
Replaces the source side of the binding.
- setSourceBinding(org.apache.groovy.swing.binding.SourceBinding) - Method in MutualPropertyBinding
-
Replaces the source-side property binding and rebuilds the paired bindings.
- setSourceEncoding(java.lang.String) - Method in CompilerConfiguration
-
Sets the encoding to be used when reading source files.
- setSourceLocator(java.lang.String) - Method in SyntaxException
-
Sets an optional source locator string (e.g., file path, URL).
- setSourcepath(org.apache.tools.ant.types.Path) - Method in Groovyc
-
Set the sourcepath to be used for this compilation.
- setSourcepath(org.apache.tools.ant.types.Path) - Method in Groovydoc
-
Specify where to find source file
- setSourcepathRef(groovy.lang.Reference) - Method in Groovyc
-
Adds a reference to a source path defined elsewhere.
- setSourcepaths(java.lang.String) - Method in SimpleGroovyRootDoc
-
Stores the source paths used to build this root document.
- setSourcePosition(org.codehaus.groovy.ast.ASTNode) - Method in ASTNode
-
Sets the source position information using another ASTNode as reference.
- setSourcePosition(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Method in ClassCodeExpressionTransformer
-
Transfers the source position to target including its property expression if it has one.
- setSourcePosition(org.codehaus.groovy.ast.ASTNode) - Method in MethodCallExpression
-
- setSourceRetention(boolean) - Method in AnnotationNode
-
- setSourceUnitValidator(Closure<Boolean>) - Method in SourceAwareCustomizer
-
- setSpreadSafe(boolean) - Method in MethodCallExpression
-
Sets whether this method call should use spread-safe navigation.
- setSpreadSafe(boolean) - Method in PropertyExpression
-
- setSrc(java.io.File) - Method in Groovy
-
Set the name of the file to be run.
- setSrcdir(org.apache.tools.ant.types.Path) - Method in CompileTaskSupport
-
Adds source roots to the task.
- setSrcdir(org.apache.tools.ant.types.Path) - Method in Groovyc
-
Set the source directories to find the source Java files.
- setSrcdir(org.apache.tools.ant.types.Path) - Method in UberCompileTask
-
Adds source roots to the task.
- setStacktrace(boolean) - Method in Groovy
-
Enable compiler to report stack trace information if a problem occurs
during compilation.
- setStacktrace(boolean) - Method in Groovyc
-
Enable compiler to report stack trace information if a problem occurs
during compilation.
- setStarImportsBlacklist(List<String>) - Method in SecureASTCustomizer
-
- setStarImportsWhitelist(List<String>) - Method in SecureASTCustomizer
-
- setStartColumn(long) - Method in JsonToken
-
Sets the starting column of this token.
- setStartLabel(org.objectweb.asm.Label) - Method in BytecodeVariable
-
- setStartLine(long) - Method in JsonToken
-
Sets the starting line of this token.
- setStatementLabel(java.lang.String) - Method in Statement
-
Adds a label to this statement.
- setStatementsBlacklist(List<Class<? extends Statement>>) - Method in SecureASTCustomizer
-
- setStatementsWhitelist(List<Class<? extends Statement>>) - Method in SecureASTCustomizer
-
- setStatic(boolean) - Method in PropertyExpression
-
- setStatic(boolean) - Method in SimpleGroovyProgramElementDoc
-
Sets whether this element is static.
- setStaticClass(boolean) - Method in ClassNode
-
Marks this inner class or closure as being declared in a static method context.
- setStaticImportsBlacklist(List<String>) - Method in SecureASTCustomizer
-
- setStaticImportsWhitelist(List<String>) - Method in SecureASTCustomizer
-
- setStaticStarImportsBlacklist(List<String>) - Method in SecureASTCustomizer
-
- setStaticStarImportsWhitelist(List<String>) - Method in SecureASTCustomizer
-
- setStopAtNonOption(boolean) - Method in CliBuilder
-
Sets the
stopAtNonOption property on this
CliBuilder and the
stopAtPositional property on the
parser
used by the underlying library.
- setStopAtNonOption(boolean) - Method in CliBuilderInternal
-
Sets the
stopAtNonOption property on this
CliBuilder and the
stopAtPositional property on the
parser
used by the underlying library.
- setStrict(boolean) - Method in CastExpression
-
Sets strict casting mode.
- setStrongMetaClass(groovy.lang.MetaClass) - Method in ClassInfo
-
Sets the strong (immutable) metaclass for this class.
- setStubdir(java.io.File) - Method in Groovyc
-
Set the stub directory into which the Java source stub
files should be generated.
- setStyleSheetFile(java.io.File) - Method in Groovydoc
-
Specifies a stylesheet file to use.
- setSummary(java.lang.String) - Method in SimpleGroovyPackageDoc
-
Sets the package summary text.
- setSuperClass(org.codehaus.groovy.ast.ClassNode) - Method in ClassNode
-
- setSuperClass(org.codehaus.groovy.groovydoc.GroovyClassDoc) - Method in SimpleGroovyClassDoc
-
Sets the resolved superclass for this class.
- setSuperClassName(java.lang.String) - Method in SimpleGroovyClassDoc
-
Stores the unresolved superclass name parsed from source.
- setSyntaxHighlighter(java.lang.String) - Method in Groovydoc
-
GROOVY-11938 stage 4: selects a client-side syntax highlighter for
{@snippet} and fenced Markdown code blocks.
- setSynthetic(boolean) - Method in AnnotatedNode
-
Marks this node as having been added by the compiler (synthetic).
- setSyntheticPublic(boolean) - Method in ClassNode
-
Marks this
ClassNode as having synthetic public visibility.
- setSyntheticPublic(boolean) - Method in MethodNode
-
Marks this method as having synthetic public visibility.
- setSystemPropertyFrom(java.lang.String) - Method in SystemUtil
-
Sets a system property from a name=value String.
- setSystemPropertyFromSafe(java.lang.String) - Method in SystemUtil
-
Sets a system property from a name=value String.
- setTableHeader(boolean) - Method in ClosureRenderer
-
Configures whether table rendering should use the table-header renderer.
- setTargetBinding(org.apache.groovy.swing.binding.TargetBinding) - Method in AbstractFullBinding
-
Replaces the current target binding.
- setTargetBinding(org.apache.groovy.swing.binding.TargetBinding) - Method in AbstractSyntheticBinding
-
Stores the target binding that receives propagated updates.
- setTargetBinding(org.apache.groovy.swing.binding.TargetBinding) - Method in FullBinding
-
Replaces the target side of the binding.
- setTargetBinding(org.apache.groovy.swing.binding.TargetBinding) - Method in JListSelectedElementBinding
-
Sets the target binding to receive synthetic selection updates.
- setTargetBinding(org.apache.groovy.swing.binding.TargetBinding) - Method in MutualPropertyBinding
-
Replaces the target-side property binding and rebuilds the paired bindings.
- setTargetBytecode(java.lang.String) - Method in CompilerConfiguration
-
Sets the bytecode compatibility level.
- setTargetBytecode(java.lang.String) - Method in Groovyc
-
Sets the bytecode compatibility level.
- setTargetDirectory(java.io.File) - Method in CompilerConfiguration
-
Sets the target directory.
- setText(java.lang.Object, java.lang.String) - Method in AntBuilder
-
Applies nested text content to the current Ant task.
- setText(java.lang.String) - Method in JsonToken
-
Sets the token text.
- setText(java.nio.file.Path, java.lang.String, java.lang.String) - Method in NioExtensions
-
Synonym for write(text, charset) allowing:
myFile.setText('some text', charset)
or with some help from
ExpandoMetaClass, you could do something like:
myFile.metaClass.setText = { String s -> delegate.setText(s, 'UTF-8') }
myfile.text = 'some text'
- setText(java.io.File, java.lang.String, java.lang.String) - Method in ResourceGroovyMethods
-
Synonym for write(text, charset) allowing:
myFile.setText('some text', charset)
or with some help from
ExpandoMetaClass, you could do something like:
myFile.metaClass.setText = { String s -> delegate.setText(s, 'UTF-8') }
myfile.text = 'some text'
- setText(java.lang.String) - Method in Token
-
Sets the text content of this token.
- setTheme(java.lang.String) - Method in Groovydoc
-
GROOVY-11947: theme lock mode for the generated docs.
- settings - Property in GrapeIvy
-
Ivy settings backing this engine.
- setTokensBlacklist(List<Integer>) - Method in SecureASTCustomizer
-
- setTokensWhitelist(List<Integer>) - Method in SecureASTCustomizer
-
- setTokenType(int) - Method in SimpleGroovyDoc
-
Sets the parsed token type for this element.
- setTolerance(int) - Method in CompilerConfiguration
-
Sets the error tolerance, which is the number of
non-fatal errors (per unit) that should be tolerated before
compilation is aborted.
- setTransformedMethod(org.codehaus.groovy.reflection.CachedMethod) - Method in CachedMethod
-
Sets the transformed version of this method.
- setTriggerBean(java.lang.Object) - Method in EventTriggerBinding
-
Replaces the bean that exposes the event handler property.
- setTrimWhitespace(boolean) - Method in XmlParser
-
Sets the trim whitespace setting value.
- setTryStatement(org.codehaus.groovy.ast.stmt.Statement) - Method in TryCatchStatement
-
- setType(org.codehaus.groovy.ast.ClassNode) - Method in BuilderASTTransformation.AbstractBuilderStrategy.PropertyInfo
-
Sets the property type.
- setType(org.codehaus.groovy.ast.ClassNode) - Method in BytecodeVariable
-
- setType(org.codehaus.groovy.ast.ClassNode) - Method in CastExpression
-
Overridden to prevent changing the target type after construction.
- setType(org.codehaus.groovy.ast.ClassNode) - Method in CompareIdentityExpression
-
- setType(org.codehaus.groovy.ast.ClassNode) - Method in CompareToNullExpression
-
- setType(org.codehaus.groovy.ast.ClassNode) - Method in Expression
-
Sets the type information for this expression.
- setType(org.codehaus.groovy.ast.ClassNode) - Method in FieldExpression
-
- setType(org.codehaus.groovy.ast.ClassNode) - Method in FieldNode
-
Sets the field's type.
- setType(org.codehaus.groovy.ast.ClassNode) - Method in GenericsType
-
Sets the underlying
ClassNode for this generic type.
- setType(org.codehaus.groovy.ast.ClassNode) - Method in ImportNode
-
- setType(groovy.json.JsonParserType) - Method in JsonSlurper
-
Parser type.
- setType(groovy.json.JsonTokenType) - Method in JsonToken
-
Sets the token type.
- setType(org.codehaus.groovy.ast.ClassNode) - Method in Parameter
-
Sets the type of this parameter.
- setType(org.codehaus.groovy.ast.ClassNode) - Method in PropertyNode
-
Sets the property type (updates backing field's type).
- setType(org.codehaus.groovy.groovydoc.GroovyClassDoc) - Method in SimpleGroovyAnnotationRef
-
Associates the resolved annotation type with this reference.
- setType(org.codehaus.groovy.groovydoc.GroovyType) - Method in SimpleGroovyFieldDoc
-
Sets the resolved type for this field.
- setType(org.codehaus.groovy.groovydoc.GroovyType) - Method in SimpleGroovyParameter
-
Sets the resolved parameter type for later class resolution.
- setType(org.codehaus.groovy.ast.ClassNode) - Method in VariableExpression
-
Sets the declared type for this variable.
- setTypeName(java.lang.String) - Method in SimpleGroovyParameter
-
Stores the unresolved type name declared for this parameter.
- setTypeParameters(java.lang.String) - Method in SimpleGroovyMethodDoc
-
Stores the rendered type parameters for this method.
- setUnresolvedSuperClass(org.codehaus.groovy.ast.ClassNode) - Method in ClassNode
-
Sets the unresolved super class for this
ClassNode.
- setUnwrapped(boolean) - Method in TextEditor
-
- Parameters:
unwrapped - the new unwrapped value
- setup() - Method in DefaultTypeCheckingExtension
-
- setUp() - Method in GroovyShellTestCase
-
Creates a fresh shell before each test method runs.
- setup() - Method in GroovyTypeCheckingExtensionSupport
-
- setup() - Method in TypeCheckingExtension
-
Subclasses should implement this method whenever they need to perform
special checks before the type checker starts working.
- setUpdate(groovy.lang.Closure) - Method in ClosureRenderer
-
Sets the update closure invoked during rendering.
- setUpdatedProperty(java.lang.String) - Method in Groovyc
-
The property to set on compilation success.
- setupTransform(org.codehaus.groovy.ast.AnnotationNode) - Method in AbstractInterruptibleASTTransformation
-
- setupTransform(org.codehaus.groovy.ast.AnnotationNode) - Method in ConditionalInterruptibleASTTransformation
-
Initializes the transformation state from the annotation node.
- setUsage(java.lang.String) - Method in CliBuilder
-
Sets the
usage property on this
CliBuilder and the
customSynopsis on the
usageMessage used by the underlying library.
- setUsage(java.lang.String) - Method in CliBuilderInternal
-
Sets the
usage property on this
CliBuilder and the
customSynopsis on the
usageMessage used by the underlying library.
- setUse(boolean) - Method in Groovydoc
-
Accepts the historical Ant use attribute for compatibility.
- setUseDoubleQuotes(boolean) - Method in TemplateConfiguration
-
Sets whether attributes should be rendered with double quotes.
- setUseGroovyShell(boolean) - Method in Groovy
-
Should a new GroovyShell be used when forking.
- setUseHeader(boolean) - Method in CsvSlurper
-
Set whether the first row is a header row (default: true).
- setUseReferenceDirectly(boolean) - Method in FieldExpression
-
- setUseReferenceDirectly(boolean) - Method in VariableExpression
-
For internal compiler use only.
- setUsingAnonymousInnerClass(boolean) - Method in ConstructorCallExpression
-
Sets whether this constructor call uses an anonymous inner class.
- setUsingGenerics(boolean) - Method in ClassNode
-
- setUsingGenerics(boolean) - Method in DecompiledClassNode
-
Prevents modification of generic type usage for decompiled class nodes.
- setValidating(boolean) - Method in XmlParser
-
Enable and/or disable validation.
- setValidating(boolean) - Method in XmlSlurper
-
Enable and/or disable validation.
- setValidator(groovy.lang.Closure) - Method in AbstractFullBinding
-
Sets the validator invoked before forward propagation.
- setValidator(groovy.lang.Closure) - Method in FullBinding
-
Sets a validator invoked before propagating source values to the target.
- setValidator(groovy.lang.Closure) - Method in MutualPropertyBinding
-
Replaces the validator applied to forward updates.
- setValign(java.lang.String) - Method in TableLayoutCell
-
Sets the vertical alignment to a case insensitive value of {TOP, MIDDLE, BOTTOM}
- setValue(java.lang.Object) - Method in ClosureModel
-
Applies the write closure to the current source object when the model is editable.
- setValue(java.lang.Object) - Method in ConcurrentReaderHashMap.Entry
-
Set the value of this entry (Note: In an entrySet or
entrySet.iterator), unless the set or iterator is used under
synchronization of the table as a whole (or you can otherwise
guarantee lack of concurrent modification), setValue
is not strictly guaranteed to actually replace the value field
obtained via the get operation of the underlying hash
table in multithreaded applications.
- setValue(V) - Method in ConcurrentReferenceHashMap.InitializableEntry
-
{@inheritDoc}
- setValue(V) - Method in ConcurrentReferenceHashMap.SimpleEntry
-
{@inheritDoc}
- setValue(V) - Method in ConcurrentReferenceHashMap.WriteThroughEntry
-
Set our entry's value and writes it through to the map.
- setValue(java.lang.Object, java.lang.Object, int, int) - Method in DefaultTableColumn
-
Writes a cell value through the backing value model.
- setValue(org.w3c.dom.Element, java.lang.String) - Method in DOMCategory
-
Sets the value of the first child text node, creating one if the element has no children.
- setValue(java.lang.Object) - Method in MapEntry
-
- setValue(org.apache.groovy.json.internal.Value) - Method in MapItemValue
-
Unsupported for parser-created entries.
- setValue(java.lang.Object) - Method in Node
-
Adds or replaces the value of the node.
- setValue(java.lang.Object) - Method in PropertyModel
-
Writes a new value to the property on the current source object.
- setValue(java.lang.Object) - Method in PropertyValue
-
Sets the property value.
- setValue(java.lang.Object) - Method in ValueHolder
-
Updates the current value and notifies registered listeners of the change.
- setValue(java.lang.Object) - Method in ValueModel
-
Updates the current value exposed by this model.
- setValueAt(java.lang.Object, int, int) - Method in DefaultTableModel
-
Writes a value to the supplied row and column when both coordinates are valid.
- setValueAt(java.lang.Object, int, int) - Method in TableMap
-
Writes a value through to the wrapped model.
- setValueAt(java.lang.Object, int, int) - Method in TableSorter
-
Writes a value to the source row mapped from the supplied view row.
- setValueExpression(org.codehaus.groovy.ast.expr.Expression) - Method in MapEntryExpression
-
- setVar(java.lang.String, T) - Method in QueryableHelper
-
Stores a named execution variable in the thread-local context.
- setVararg(boolean) - Method in SimpleGroovyParameter
-
Sets whether this parameter is variadic.
- setVariable(java.lang.String, java.lang.Object) - Method in Binding
-
Sets the value of the given variable
- setVariable(java.lang.String, java.lang.Object) - Method in ConfigBinding
-
Sets the value of the given variable
- Parameters:
name - the name of the variable to setvalue - the new value for the given variable
- setVariable(java.lang.String, java.lang.Object) - Method in Console
-
Adds a variable to the shell binding.
- setVariable(java.lang.String, java.lang.Object) - Method in FactoryBuilderSupport
-
Sets the value of the given variable
- setVariable(java.lang.String, java.lang.Object) - Method in GroovyShell
-
Stores a variable in the shell binding.
- setVariable(java.lang.String, java.lang.Object) - Method in ServletBinding
-
Binds a servlet variable while protecting the reserved lazy helper names.
- setVariables(groovy.servlet.ServletBinding) - Method in AbstractHttpServlet
-
Override this method to set your variables to the Groovy binding.
- setVariableScope(org.codehaus.groovy.ast.VariableScope) - Method in BlockStatement
-
- setVariableScope(org.codehaus.groovy.ast.VariableScope) - Method in ClosureExpression
-
Sets the variable scope for this closure.
- setVariableScope(org.codehaus.groovy.ast.VariableScope) - Method in ClosureListExpression
-
- setVariableScope(org.codehaus.groovy.ast.VariableScope) - Method in ForStatement
-
- setVariableScope(org.codehaus.groovy.ast.VariableScope) - Method in InnerClassNode
-
Sets the variable scope that manages variables declared and referenced within this inner class.
- setVariableScope(org.codehaus.groovy.ast.VariableScope) - Method in MethodNode
-
Sets the variable scope for this method.
- setVerbose(boolean) - Method in CompilerConfiguration
-
Turns verbose operation on or off.
- setVerbose(boolean) - Method in Groovyc
-
Enable verbose compiling which will display which files
are being compiled.
- setVerbose(boolean) - Method in SimpleTemplateEngine
-
- Parameters:
verbose - true if you want the engine to display the template source file for debugging purposes
- setVerbose(boolean) - Method in VerifyClass
-
Controls whether failing methods are logged verbosely.
- setVerbosity(org.codehaus.groovy.tools.shell.IO.Verbosity) - Method in IO
-
Set the verbosity level.
- setWarningLevel(int) - Method in CompilerConfiguration
-
Sets the warning level.
- setWeakMetaClass(groovy.lang.MetaClass) - Method in ClassInfo
-
Sets the weak (mutable) metaclass for this class.
- setWhen(Closure<Boolean>) - Method in StatementReplacer
-
- setWhen(Closure<Boolean>) - Method in VariableExpressionReplacer
-
- setWhen(Closure<Boolean>) - Method in VariableExpressionTransformer
-
- setWhereExpression(org.apache.groovy.ginq.dsl.expression.WhereExpression) - Method in GinqExpression
-
Sets the where clause.
- setWidth(int) - Method in CliBuilder
-
Sets the
width property on this
CliBuilder
and on the
usageMessage used by the underlying library.
- setWidth(int) - Method in CliBuilderInternal
-
Sets the
width property on this
CliBuilder
and on the
usageMessage used by the underlying library.
- setWildcard(boolean) - Method in GenericsType
-
Marks this generic type as a wildcard.
- setWindowtitle(java.lang.String) - Method in Groovydoc
-
Set the title to be placed in the HTML <title> tag of the
generated documentation.
- setWithoutCustomMetaclassCreationHandle(boolean) - Method in DefaultMetaClassInfo
-
Sets if the system uses a custom metaclass creation handle.
- setWrapped(boolean) - Method in ListExpression
-
- setWriter(java.io.PrintWriter) - Method in CliBuilder
-
For backwards compatibility reasons, if a custom
writer is set, this sets
both the
writer and the
errorWriter to the specified writer.
- setWriter(java.io.PrintWriter) - Method in CliBuilderInternal
-
For backwards compatibility reasons, if a custom
writer is set, this sets
both the
writer and the
errorWriter to the specified writer.
- setWriter(java.io.Writer) - Method in TracingInterceptor
-
Changes the writer associated with this interceptor.
- setWritingAttribute(boolean) - Method in StreamingMarkupWriter
-
Switches escaping rules between element text and attribute value output.
- sha256(byte[]) - Method in EncodingGroovyMethods
-
Calculate SHA-256 of the byte array
- sharedData - Field in GroovyEngine
-
Shared binding that stores variables visible to interactive scripts.
- SharedVariableCollector - Class in org.codehaus.groovy.transform.stc
A visitor which collects the list of variable expressions which are closure shared.
- SharedVariableCollector(org.codehaus.groovy.control.SourceUnit) - Constructor in SharedVariableCollector
-
- shell - Property in Console
-
Shell used to compile and run scripts.
- shell - Field in GroovyShellTestCase
-
Shell instance recreated for each test and exposed through @Delegate.
- ShiftExprAltContext(ExpressionContext) - Constructor in GroovyParser.ShiftExprAltContext
-
- short_and - Field in NumberMathModificationInfo
-
- short_div - Field in NumberMathModificationInfo
-
- short_intdiv - Field in NumberMathModificationInfo
-
- short_leftShift - Field in NumberMathModificationInfo
-
- short_minus - Field in NumberMathModificationInfo
-
- short_mod - Field in NumberMathModificationInfo
-
- short_multiply - Field in NumberMathModificationInfo
-
- short_or - Field in NumberMathModificationInfo
-
- short_plus - Field in NumberMathModificationInfo
-
- short_remainder - Field in NumberMathModificationInfo
-
- short_rightShift - Field in NumberMathModificationInfo
-
- short_rightShiftUnsigned - Field in NumberMathModificationInfo
-
- short_xor - Field in NumberMathModificationInfo
-
- ShortArrayGetAtMetaMethod - Class in org.codehaus.groovy.runtime.dgmimpl.arrays
- ShortArrayIterator - Class in org.codehaus.groovy.util
Allows a short array to be used where an Iterator is expected.
- ShortArrayIterator(short[]) - Constructor in ShortArrayIterator
-
Creates an iterator that traverses the supplied array in index order.
- ShortArrayPutAtMetaMethod - Class in org.codehaus.groovy.runtime.dgmimpl.arrays
- ShortCachedClass - Class in org.codehaus.groovy.reflection.stdclasses
Provides optimized reflection caching for
short and
Short.
- ShortCachedClass(java.lang.Class, org.codehaus.groovy.reflection.ClassInfo, boolean) - Constructor in ShortCachedClass
-
Constructs a cached class representation for the given short class.
- shortcut(java.lang.String, java.lang.Object) - Method in SwingBuilder
-
Creates a menu-shortcut keystroke from a string description.
- shortName(java.lang.Class) - Method in Inspector
-
Returns the class name without its package prefix.
- shortName(java.lang.Object) - Method in MetaClassHelper
-
- shortName - Field in Option
-
The short name of this option.
- ShortTypeHandling - Class in org.codehaus.groovy.runtime.typehandling
Class providing various short paths for type conversions.
- shortUnbox(java.lang.Object) - Method in DefaultTypeTransformation
-
- shortValue() - Method in CharBuf
-
Parses the buffered characters as a short.
- shortValue() - Method in CharSequenceValue
-
Converts this token to a short value.
- Returns:
- the short representation
- shortValue() - Method in NumberValue
-
Converts this token to a short value.
- Returns:
- the short representation
- shortValue() - Method in Value
-
Converts this token to a short value.
- shortValue() - Method in ValueContainer
-
Returns 0 because this wrapper is not numeric.
- ShortWrapper - Class in org.codehaus.groovy.runtime.wrappers
- ShortWrapper(short) - Constructor in ShortWrapper
-
- shouldClearDfaCache() - Method in AtnManager
-
- shouldClearDfaCache() - Method in LexerAtnManager
-
- shouldClearDfaCache() - Method in ParserAtnManager
-
- shouldDocument(java.lang.String) - Method in GroovydocAnnotationUtils
-
GROOVY-4634: emit an annotation reference only when the annotation
type is itself marked
Documented, matching Javadoc's
behavior.
- shouldExcludeType(Class<?>) - Method in DefaultJsonGenerator
-
Indicates whether the given type should be excluded from the generated output.
- shouldFail(Class<T>, Closure<?>) - Method in GroovyAssert
-
Asserts that the given closure fails when executed and that a particular
type of exception is thrown.
- shouldFail(java.lang.String) - Method in GroovyTestCase
-
- shouldFailWithCause(Class<T>, Closure<?>) - Method in GroovyAssert
-
Asserts that the given closure fails when executed and that a particular
exception type can be attributed to the cause.
- shouldFailWithCause(java.lang.Class, groovy.lang.Closure) - Method in GroovyTestCase
-
- shouldHandleImplicitThisForInnerClass(org.codehaus.groovy.ast.ClassNode) - Method in InnerClassVisitorHelper
-
- shouldOptimizeForInt() - Method in DelegatingController
-
- shouldOptimizeForInt() - Method in WriterController
-
Returns true if the bytecode generator should emit optimized fast-path code
for integer operations.
- shouldSkip(org.codehaus.groovy.ast.AnnotatedNode, List<String>, List<String>, boolean) - Method in AbstractASTTransformation
-
Variant that checks both the name and
@Internal annotation.
- shouldSkipClassNode(org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingVisitor
-
- shouldSkipMethodNode(org.codehaus.groovy.ast.MethodNode) - Method in StaticTypeCheckingVisitor
-
- shouldSkipOnDescriptorUndefinedAware(boolean, java.util.Map, org.codehaus.groovy.ast.MethodNode, List<ClassNode>, List<ClassNode>) - Method in AbstractASTTransformation
-
Determines whether a method should be skipped based on method descriptor matching
against include/exclude type lists.
- shouldSkipUndefinedAware(org.codehaus.groovy.ast.AnnotatedNode, List<String>, List<String>, boolean) - Method in AbstractASTTransformation
-
Variant that checks both the name and
@Internal annotation.
- show() - Method in ConsolePreferences
-
Displays the preferences dialog.
- SHOW_LAST_RESULT_KEY - Field in Preferences
-
- show() - Method in ObjectBrowser
-
Shows the card for the current tracker position.
- showAbout(java.util.EventObject) - Method in Console
-
Shows the about dialog for the console.
- showAction(int, java.util.EventObject) - Method in ObjectBrowser
-
Switches the visible inspection card to the supplied index.
- showClosureClasses - Property in AstBrowser
-
Display flags that control which script representations are shown.
- showClosureClasses - Property in AstBrowserUiPreferences
-
Saved closure class visibility flag.
- showClosureClasses - Property in ScriptToTreeNodeAdapter
-
Display flags that control which script structures are included.
- showClosureClasses - Property in TreeNodeBuildingNodeOperation
-
Whether generated closure classes should be included.
- showCompilingMessage() - Method in Console
-
Shows the standard script-compiling status message.
- showDialog(boolean) - Method in FindReplaceUtility
-
Shows either the find or replace dialog for the active text component.
- showExecutingMessage() - Method in Console
-
Shows the standard script-executing status message.
- showMessage(java.lang.String) - Method in Console
-
Updates the status bar with the supplied message.
- showOutputWindow(java.util.EventObject) - Method in Console
-
Shows the detached output window when detached mode is enabled.
- showOutputWindowAction - Property in Console
-
Action that shows the detached output window.
- showScriptClass - Property in AstBrowser
-
Display flags that control which script representations are shown.
- showScriptClass - Property in AstBrowserUiPreferences
-
Saved script class visibility flag.
- showScriptClass - Property in AstNodeToScriptVisitor
-
Whether the generated script class should be rendered.
- showScriptClass - Property in ScriptToTreeNodeAdapter
-
Display flags that control which script structures are included.
- showScriptClass - Property in TreeNodeBuildingNodeOperation
-
Whether the generated script class should be included.
- showScriptFreeForm - Property in AstBrowser
-
Display flags that control which script representations are shown.
- showScriptFreeForm - Property in AstBrowserUiPreferences
-
Saved free-form script visibility flag.
- showScriptFreeForm - Property in AstNodeToScriptVisitor
-
Whether free-form script statements should be rendered.
- showScriptFreeForm - Property in ScriptToTreeNodeAdapter
-
Display flags that control which script structures are included.
- showScriptFreeForm - Property in TreeNodeBuildingNodeOperation
-
Whether free-form script statements should be included.
- showScriptInOutput - Property in Console
-
Whether executed script text is echoed into the output pane.
- showScriptInOutputAction - Property in Console
-
Action that toggles script echoing in the output pane.
- showToolbar - Property in Console
-
Whether the toolbar is visible.
- showToolbarAction - Property in Console
-
Action that toggles toolbar visibility.
- showTreeView - Property in AstBrowser
-
Display flags that control which script representations are shown.
- showTreeView - Property in AstBrowserUiPreferences
-
Saved tree visibility flag.
- shuffle(T, java.util.Random) - Method in ArrayGroovyMethods
-
Randomly reorders the elements of the specified array using the
specified random instance as the source of randomness.
- shuffle(T, java.util.Random) - Method in DefaultGroovyMethods
-
- shuffled(T, java.util.Random) - Method in ArrayGroovyMethods
-
Creates a new array containing the elements of the specified array but in a random
order using the specified random instance as the source of randomness.
- shuffled(T, java.util.Random) - Method in DefaultGroovyMethods
-
- shutdown() - Method in Agent
-
Shuts down the agent's update executor.
- shutdown() - Method in DefaultPool
-
- shutdown() - Method in Pool
-
Initiates an orderly shutdown.
- shutdown(int) - Method in QueryableHelper
-
Shutdown to release resources
- ShutdownExpression - Class in org.apache.groovy.ginq.dsl.expression
Represent the shutdown expression
- ShutdownExpression(org.codehaus.groovy.ast.expr.Expression, int) - Constructor in ShutdownExpression
-
Creates a shutdown expression.
- shuttlesort(int[], int[], int, int) - Method in TableSorter
-
Performs a stable merge sort over the cached row mapping.
- shy - Field in Entity
-
Entity reference .
- SIGN - Field in Types
-
- signature() - Method in GroovyExecutableMemberDoc
-
Returns the full signature used in rendered output.
- signature() - Method in SimpleGroovyExecutableMemberDoc
-
Returns the full signature used in rendered output.
- Returns:
- the executable signature
- SignatureCodec - Interface in org.codehaus.groovy.transform.stc
A signature codec is responsible for encoding and decoding of inferred returned types
as stored in bytecode.
- SignatureCodecVersion1 - Class in org.codehaus.groovy.transform.stc
First implementation of an inferred type signature codec.
- SignatureCodecVersion1(java.lang.ClassLoader) - Constructor in SignatureCodecVersion1
-
- silentlyVisitMethodNode(org.codehaus.groovy.ast.MethodNode) - Method in StaticTypeCheckingVisitor
-
Visits a method call target, to infer the type.
- SIMPLE - Enum Constant in AutoCloneStyle
-
Uses the no-arg constructor followed by property/field copying/cloning.
- SIMPLE_EXPRESSION - Field in Types
-
- simpleAttributeSet - Property in AutoIndentAction
-
Attributes used for inserted text.
- SimpleCache - Class in org.apache.groovy.json.internal
- SimpleCache(int) - Constructor in SimpleCache
-
Creates an LRU cache with the supplied size limit.
- SimpleEntry(Entry<? extends K,? extends V>) - Constructor in ConcurrentReferenceHashMap.SimpleEntry
-
Creates an entry by copying another entry.
- SimpleExtensionModule - Class in org.codehaus.groovy.runtime.m12n
An extension module which provides extension methods using a
DefaultGroovyMethods-like implementation, that
is to say using static methods defined in an "extension class".
- SimpleExtensionModule(java.lang.String, java.lang.String) - Constructor in SimpleExtensionModule
-
- SimpleGroovyAbstractableElementDoc - Class in org.codehaus.groovy.tools.groovydoc
Base implementation for documented elements that can carry the abstract modifier.
- SimpleGroovyAbstractableElementDoc(java.lang.String) - Constructor in SimpleGroovyAbstractableElementDoc
-
Creates a documented element with the supplied name.
- SimpleGroovyAnnotationRef - Class in org.codehaus.groovy.tools.groovydoc
- SimpleGroovyAnnotationRef(java.lang.String, java.lang.String) - Constructor in SimpleGroovyAnnotationRef
-
Creates an annotation reference from its simple name and raw source description.
- SimpleGroovyClassDoc - Class in org.codehaus.groovy.tools.groovydoc
Default
GroovyClassDoc implementation for classes parsed from Groovy or Java source.
- SimpleGroovyClassDoc(List<String>, java.lang.String) - Constructor in SimpleGroovyClassDoc
-
Creates a documented class with explicit imports and no aliases.
- SimpleGroovyConstructorDoc - Class in org.codehaus.groovy.tools.groovydoc
- SimpleGroovyConstructorDoc(java.lang.String, org.codehaus.groovy.groovydoc.GroovyClassDoc) - Constructor in SimpleGroovyConstructorDoc
-
Creates a documented constructor owned by the supplied class.
- SimpleGroovyDoc - Class in org.codehaus.groovy.tools.groovydoc
Base implementation of the
GroovyDoc contract.
- SimpleGroovyDoc(java.lang.String) - Constructor in SimpleGroovyDoc
-
Creates a documented element with the supplied name.
- SimpleGroovyExecutableMemberDoc - Class in org.codehaus.groovy.tools.groovydoc
Base implementation for executable members such as methods and constructors.
- SimpleGroovyExecutableMemberDoc(java.lang.String, org.codehaus.groovy.groovydoc.GroovyClassDoc) - Constructor in SimpleGroovyExecutableMemberDoc
-
Creates an executable member owned by the supplied class.
- SimpleGroovyFieldDoc - Class in org.codehaus.groovy.tools.groovydoc
- SimpleGroovyFieldDoc(java.lang.String, org.codehaus.groovy.groovydoc.GroovyClassDoc) - Constructor in SimpleGroovyFieldDoc
-
Creates a documented field owned by the supplied class.
- SimpleGroovyMemberDoc - Class in org.codehaus.groovy.tools.groovydoc
Base implementation for documented members declared within a class.
- SimpleGroovyMemberDoc(java.lang.String, org.codehaus.groovy.groovydoc.GroovyClassDoc) - Constructor in SimpleGroovyMemberDoc
-
Creates a member owned by the supplied class.
- SimpleGroovyMethodDoc - Class in org.codehaus.groovy.tools.groovydoc
- SimpleGroovyMethodDoc(java.lang.String, org.codehaus.groovy.groovydoc.GroovyClassDoc) - Constructor in SimpleGroovyMethodDoc
-
Creates a documented method owned by the supplied class.
- SimpleGroovyPackageDoc - Class in org.codehaus.groovy.tools.groovydoc
- SimpleGroovyPackageDoc(java.lang.String) - Constructor in SimpleGroovyPackageDoc
-
Creates a documented package with the supplied name.
- SimpleGroovyParameter - Class in org.codehaus.groovy.tools.groovydoc
- SimpleGroovyParameter(java.lang.String) - Constructor in SimpleGroovyParameter
-
Creates a documented parameter with the supplied name.
- SimpleGroovyProgramElementDoc - Class in org.codehaus.groovy.tools.groovydoc
Base implementation for documented program elements with modifiers, package ownership, and annotations.
- SimpleGroovyProgramElementDoc(java.lang.String) - Constructor in SimpleGroovyProgramElementDoc
-
Creates a documented program element with the supplied name.
- SimpleGroovyRootDoc - Class in org.codehaus.groovy.tools.groovydoc
Default
GroovyRootDoc implementation used to collect packages, classes, and lookup caches.
- SimpleGroovyRootDoc(java.lang.String) - Constructor in SimpleGroovyRootDoc
-
Creates a root documentation model with the supplied name.
- SimpleGroovyTag - Class in org.codehaus.groovy.tools.groovydoc
Stores info about GroovyDoc tags.
- SimpleGroovyTag(java.lang.String, java.lang.String, java.lang.String) - Constructor in SimpleGroovyTag
-
Creates a stored tag representation.
- SimpleGroovyType - Class in org.codehaus.groovy.tools.groovydoc
Simple immutable
GroovyType implementation backed by a type name string.
- SimpleGroovyType(java.lang.String) - Constructor in SimpleGroovyType
-
Creates a type wrapper for the supplied name.
- SimpleMessage - Class in org.codehaus.groovy.control.messages
A base class for compilation messages.
- SimpleMessage(java.lang.String, java.lang.Object, org.codehaus.groovy.control.ProcessingUnit) - Constructor in SimpleMessage
-
- SimpleStrategy - Class in groovy.transform.builder
This strategy is used with the
Builder AST transform to modify your Groovy objects so that the
setter methods for properties return the original object, thus allowing chained usage of the setters.
- SimpleTemplateEngine - Class in groovy.text
Processes template source files substituting variables and expressions into
placeholders in a template source text to produce the desired output.
- SimpleTemplateEngine(groovy.lang.GroovyShell) - Constructor in SimpleTemplateEngine
-
- SimpleType - Class in groovy.transform.stc
Hint that resolves closure parameter types directly from option class names.
- simpleTypeName() - Method in ArrayClassDocWrapper
-
The unqualified name of this type excluding any dimension or nesting information.
For example, the class Outer.Inner returns "Inner".
- simpleTypeName() - Method in ExternalGroovyClassDoc
-
The unqualified name of this type excluding any dimension or nesting information.
For example, the class Outer.Inner returns "Inner".
- simpleTypeName() - Method in GroovyType
-
The unqualified name of this type excluding any dimension or nesting information.
- simpleTypeName() - Method in SimpleGroovyClassDoc
-
The unqualified name of this type excluding any dimension or nesting information.
For example, the class Outer.Inner returns "Inner".
- simpleTypeName() - Method in SimpleGroovyType
-
The unqualified name of this type excluding any dimension or nesting information.
For example, the class Outer.Inner returns "Inner".
- SINGLE_QUOTES - Field in GroovyFilter
-
Pattern matching single-quoted and triple-single-quoted strings.
- SingleQuoteFilter - Class in groovy.xml.markupsupport
Escapes single quotes for XML attribute output.
- SingleSignatureClosureHint - Class in groovy.transform.stc
A simplified version of a
ClosureSignatureHint which is suitable
for monomorphic closures, that is to say closures which only respond to a single signature.
- Singleton - Annotation Type in groovy.lang
Class annotation to make a singleton class.
- singleton() - Method in Weighers
-
A weigher where a value has a weight of 1.
- SingletonASTStubber - Class in org.codehaus.groovy.transform
- SingletonASTTransformation - Class in org.codehaus.groovy.transform
Handles generation of code for the
- Singleton:
- annotation
- singleValue(Queryable<? extends T>) - Method in QueryableHelper
-
- size() - Method in AntProjectPropertiesDelegate
-
Returns the number of properties currently exposed by the project.
- size(java.lang.Object) - Method in ArrayGroovyMethods
-
Provides the standard Groovy size() method for an array.
- size() - Method in AssertionMap
-
Returns the number of method entries currently stored.
- size() - Method in Attribute
-
Returns the size of this Attribute, which is always 1.
- size() - Method in Cache
-
Returns the current number of cached entries.
- size() - Method in ClassInfo
-
Returns the number of cached class information entries.
- size() - Method in CommonCache
-
Get the size of the cache
- Returns:
- the size of the cache
- size() - Method in ConcurrentCommonCache
-
Get the size of the cache
- Returns:
- the size of the cache
- size() - Method in ConcurrentLinkedHashMap
-
{@inheritDoc}
- size() - Method in ConcurrentReaderHashMap
-
Returns the number of key-value mappings in this map.
- size() - Method in ConcurrentReferenceHashMap
-
Returns the number of key-value mappings in this map.
- size() - Method in ConfigObject
-
{@inheritDoc}
- size() - Method in CSTNode
-
Returns the number of elements in this node (including the root).
- size(java.lang.Object) - Method in DefaultGroovyMethods
-
- size(groovy.util.NodeList) - Method in DOMCategory
-
Returns the number of nodes in the supplied node list.
- size() - Method in EmptyRange
-
Always 0 for an empty range.
- size() - Method in EvictableCache
-
Get the size of the cache
- size - Field in FastArray
-
Number of populated elements in the backing array.
- size() - Method in GPathResult
-
Returns the size of this GPathResult.
- size() - Method in GroovyRowResult
-
{@inheritDoc}
- size() - Method in GroovyRunnerRegistry
-
Returns the number of registered runners.
- size() - Method in IntRange
-
{@inheritDoc}
- SIZE_LARGE - Property in Icons
-
Large toolbar icon size in pixels.
- size() - Method in LazyMap
-
Returns the current size without hydrating when the compact representation is still active.
- size() - Method in LazyValueMap
-
Returns the hydrated map size, building the backing map if necessary.
- size() - Method in ListHashMap
-
{@inheritDoc}
- size() - Method in ListWithDefault
-
{@inheritDoc}
- size() - Method in MapWithDefault
-
{@inheritDoc}
- size(java.nio.file.Path) - Method in NioExtensions
-
Provide the standard Groovy size() method for Path.
- size() - Method in NoChildren
-
Returns 0.
- size() - Method in NodeChild
-
Returns the size of this GPathResult.
- Returns:
- the size of this GPathResult
- size() - Method in NodeChildren
-
Returns the size of this GPathResult.
- Returns:
- the size of this GPathResult
- SIZE_NORMAL - Property in Icons
-
Default toolbar icon size in pixels.
- size() - Method in NumberRange
-
{@inheritDoc}
- size() - Method in ObjectRange
-
{@inheritDoc}
- size() - Method in ObservableList
-
{@inheritDoc}
- size() - Method in ObservableMap
-
{@inheritDoc}
- size() - Method in ObservableSet
-
{@inheritDoc}
- size(java.lang.StringBuilder) - Method in PluginDefaultGroovyMethods
-
Provides the standard Groovy size() method for StringBuilder.
- SIZE_PROPERTY - Field in ObservableList
-
Bound property name for list size changes.
- SIZE_PROPERTY - Field in ObservableMap
-
Bound property name for map size changes.
- SIZE_PROPERTY - Field in ObservableSet
-
Bound property name for set size changes.
- size() - Method in Queryable
-
Returns the count of elements of the
Queryable instance
- size - Field in RecordOptions
-
If true, this adds a method size() to the record which returns the number of components.
- size() - Method in Reduction
-
Returns the number of elements in this reduction (including the root token).
- size(java.io.File) - Method in ResourceGroovyMethods
-
Provide the standard Groovy size() method for File.
- size() - Method in ReversedList
-
{@inheritDoc}
- size() - Method in SimpleCache
-
Returns the current number of cached entries.
- Returns:
- the cache size
- SIZE_SMALL - Property in Icons
-
Small toolbar icon size in pixels.
- size() - Method in StampedCommonCache
-
Get the size of the cache
- Returns:
- the size of the cache
- size(java.util.stream.DoubleStream) - Method in StreamGroovyMethods
-
An alias for count.
- size(java.lang.StringBuffer) - Method in StringGroovyMethods
-
Provides the standard Groovy size() method for StringBuffer.
- size(javax.swing.JTabbedPane) - Method in SwingExtensions
-
Provide the standard Groovy size() method for JTabbedPane.
- size() - Method in Token
-
Returns the number of elements in this node, which is always 1 (the token itself).
- size() - Method in Tuple
-
{@inheritDoc}
- size() - Method in UnlimitedConcurrentCache
-
Get the size of the cache
- size() - Method in ValueList
-
{@inheritDoc}
- size() - Method in ValueMapImpl
-
Return the size of the map.
- skip(long) - Method in CharSequenceReader
-
Skip the specified number of characters.
- skip(long) - Method in LineColumnReader
-
Skips characters.
- SKIP_SIBLINGS - Enum Constant in FileVisitResult
-
Skip processing sibling files/directories within the current directory being processed
- SKIP_SUBTREE - Enum Constant in FileVisitResult
-
Do not process the child files/subdirectories within the current directory being processed
- SKIP - Enum Constant in TypeCheckingMode
-
Skips type checking for the annotated element.
- skippedEntity(java.lang.String) - Method in XmlParser
-
Receives skipped entity notifications.
- skipSpreadCollector - Field in Selector
-
- skipWhiteSpace() - Method in CharacterSource
-
Skip white space.
- skipWhiteSpace(char[], int, int) - Method in CharScanner
-
Advances past ASCII whitespace.
- skipWhitespace() - Method in JsonLexer
-
Skips all the whitespace characters and moves the cursor to the next non-space character.
- skipWhiteSpace() - Method in JsonParserCharArray
-
Advances past JSON whitespace characters.
- skipWhiteSpace() - Method in ReaderCharacterSource
-
Advances past whitespace characters.
- SLASH_SLASH_COMMENT - Field in GroovyFilter
-
Pattern matching line comments.
- SLASH_STAR_COMMENT - Field in GroovyFilter
-
Pattern matching block comments.
- SLASHY_QUOTES - Field in GroovyFilter
-
Pattern matching slashy and dollar-slashy strings.
- SLASHY - Field in StringUtils
-
- sleep(java.lang.Object, long, groovy.lang.Closure) - Method in DefaultGroovyStaticMethods
-
Sleep for so many milliseconds, using a given closure for interrupt processing.
- Slf4j - Annotation Type in groovy.util.logging
This local transform adds a logging ability to your program using
LogBack logging.
- slurpcmd(org.jline.console.CommandInput) - Method in GroovyCommands
-
Reads content into _ from a file, URL, or literal value.
- SMALL_FONT - Field in StructuredSyntaxResources
-
Small UI font used by legacy console components.
- smallerFont(java.util.EventObject) - Method in AstBrowser
-
Decreases the font size used by the browser views.
- smallerFont(java.util.EventObject) - Method in Console
-
Decreases the editor font size.
- smallIcons(java.util.EventObject) - Method in Console
-
Switches toolbar icons to the small preset.
- SMALLINT - Field in Sql
-
Stored procedure OUT parameter marker for JDBC type
SMALLINT.
- SMART_INNER_JOIN - Field in JoinExpression
-
Clause name for a smart inner join.
- SmartDocumentFilter - Class in groovy.console.ui.text
The document filter based on Parrot's lexer is for highlighting the content of text editor
- SmartDocumentFilter(javax.swing.text.DefaultStyledDocument) - Constructor in SmartDocumentFilter
-
Creates a filter that styles the supplied document.
- smartHighlighter - Property in Console
-
Whether the smart syntax highlighter is enabled by default.
- Snippet - Class in org.apache.groovy.groovysh.jline
Stores a source fragment together with its snippet classification.
- snippet - Property in Snippet
-
Source text stored for the snippet.
- SnippetType - Enum in org.apache.groovy.groovysh.jline
Classifies the kinds of Groovy source fragments tracked by the shell buffer.
- SocketGroovyMethods - Class in org.codehaus.groovy.runtime
This class defines new groovy methods for Sockets which enhance
JDK classes inside the Groovy environment.
- SOFT - Enum Constant in ConcurrentReferenceHashMap.ReferenceType
-
- soft - Field in Lazy
-
- Returns:
- if field should be soft referenced instead of hard referenced
- Default:
- false
- SOFT - Enum Constant in ReferenceType
-
Stores referents as softly reachable values that may be cleared under memory pressure.
- sort(T, groovy.lang.IntRange, boolean, Closure<?>) - Method in ArrayGroovyMethods
-
Sorts the elements with index values in the given index range
into sorted order using the Closure to determine the correct ordering.
- sort(groovy.lang.Closure) - Method in DataSet
-
Return a lazy-implemented re-ordered view of this DataSet.
- sort(T, boolean, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
- sort(org.jline.builtins.PosixCommands.Context, java.lang.Object) - Method in GroovyPosixCommands
-
Sorts the requested inputs and writes the ordered lines to the current output.
- sort(List<Object>, Comparator<Object>) - Method in Inspector
-
Sorts member information using the supplied comparator.
- sort(java.lang.Object) - Method in TableSorter
-
Sorts the cached row mapping using the currently configured sort columns.
- Sortable - Annotation Type in groovy.transform
A class annotation used to make a class Comparable by (potentially) multiple Comparators.
- SortableASTStubber - Class in org.codehaus.groovy.transform
Adds a minimal
Comparable surface for
Sortable classes in an
earlier phase so joint compilation can evolve independently from full Sortable codegen.
- SortableASTTransformation - Class in org.codehaus.groovy.transform
Injects a set of Comparators and sort methods.
- sortByColumn(int, boolean) - Method in TableSorter
-
Sorts the table by the supplied model column and direction.
- sortClasses() - Method in ModuleNode
-
Sorts classes in dependency order based on class hierarchy.
- sortedChildren(groovy.util.Node) - Method in ClassTree
-
Helper used by templates: list of children of a node, sorted by
qualified name.
- source - Field in AbstractInterruptibleASTTransformation
-
- source - Field in BaseGenerator
-
Reader source used by generators that need source-aware AST construction.
- source - Field in MethodInvocationTrap
-
The source reader for extracting closure source code.
- source - Field in SourceUnit
-
Where we can get Readers for our source unit
- source - Field in SyntaxErrorMessage
-
- source - Field in TypeCheckingContext
-
- SourceAwareCustomizer - Class in org.codehaus.groovy.control.customizers
A base class for customizers which only have to be applied on specific source units.
- SourceAwareCustomizer(org.codehaus.groovy.control.customizers.CompilationCustomizer) - Constructor in SourceAwareCustomizer
-
- SourceAwareCustomizerFactory - Class in org.codehaus.groovy.control.customizers.builder
- SourceAwareCustomizerFactory.SourceOptions - Class in org.codehaus.groovy.control.customizers.builder
- SourceBinding - Interface in org.apache.groovy.swing.binding
Supplies values from the source side of a binding.
- sourceBinding - Field in AbstractFullBinding
-
The source side of the binding.
- sourceCache - Field in GroovyClassLoader
-
This cache contains mappings of file name to class.
- sourceCollected - Property in TreeNodeBuildingNodeOperation
-
Tracks whether free-form source nodes were already collected.
- sourceDir - Property in GDKDocTool
-
Directory containing the mock source files to document.
- SourceExtensionHandler - Class in org.codehaus.groovy.control
Looks for source file extensions in META-INF/services/org.codehaus.groovy.source.Extensions
- sourceRecord(T) - Method in NamedRecord
-
Attaches the original source record for alias-based lookups.
- sources - Field in CompilationUnit
-
The source units from which this unit is built.
- SourceText - Class in org.codehaus.groovy.runtime.powerassert
Provides the source text for an assertion statement and translates
coordinates in the original source text to coordinates relative to the
assertion's (normalized) source text.
- SourceText(org.codehaus.groovy.ast.stmt.AssertStatement, org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.control.Janitor) - Constructor in SourceText
-
Constructs a SourceText by reading the given assertion's source
text from the given source unit.
- SourceTextNotAvailableException - Class in org.codehaus.groovy.runtime.powerassert
Indicates that the source text for an assertion statement is not available.
- SourceTextNotAvailableException(org.codehaus.groovy.ast.stmt.AssertStatement, org.codehaus.groovy.control.SourceUnit, java.lang.String) - Constructor in SourceTextNotAvailableException
-
- SourceUnit - Class in org.codehaus.groovy.control
Provides an anchor for a single source unit (usually a script file)
as it passes through the compiler system.
- sourceUnit - Field in AbstractASTTransformation
-
The source unit associated with the compilation context.
- sourceUnit - Field in BaseVisitor
-
Source unit currently being visited.
- sourceUnit - Property in GinqAstWalker
-
- sourceUnit - Field in MethodInvocationTrap
-
The source unit for reporting errors and accessing compilation context.
- sourceUnit() - Method in ProcessingContextInformation
-
Returns the source unit currently being transformed.
- SourceUnit(java.lang.String, java.lang.String, org.codehaus.groovy.control.CompilerConfiguration, groovy.lang.GroovyClassLoader, org.codehaus.groovy.control.ErrorCollector) - Constructor in SourceUnit
-
Initializes the SourceUnit for a string of source.
- SourceURI - Annotation Type in groovy.transform
Variable annotation used for getting the URI of the current script.
- SourceURIASTTransformation - Class in org.codehaus.groovy.transform
Handles transformation for the
- SourceURI:
- annotation.
- SPACE_ABOVE - Field in StructuredSyntaxHandler
-
Style attribute name for space above paragraphs.
- SPACE_BELOW - Field in StructuredSyntaxHandler
-
Style attribute name for space below paragraphs.
- SPACES - Field in DelegatingIndentWriter
-
Four-space indentation unit.
- SPACESHIP() - Method in GroovyParser.EqualityExprAltContext
-
- specialNamedArgHandling - Field in MapConstructor
-
If true, change the type of the map constructor argument from Map to LinkedHashMap only for the case where
the class has a single property (or field) with a Map-like type.
- specialTags - Property in AbstractStreamingBuilder
-
Registry of built-in mkp helper tags shared by concrete streaming builders.
- specifiedClasses() - Method in GroovyRootDoc
-
Returns the classes explicitly specified as documentation targets.
- specifiedClasses() - Method in SimpleGroovyRootDoc
-
Returns the classes explicitly specified as documentation targets.
- Returns:
- the specified classes
- specifiedPackages() - Method in GroovyRootDoc
-
Returns the packages explicitly specified as documentation targets.
- specifiedPackages() - Method in SimpleGroovyRootDoc
-
Returns the packages explicitly specified as documentation targets.
- Returns:
- the specified packages
- SPLIT_ARGS_REGEX - Field in SimpleGroovyClassDoc
-
Pattern used to split comma-separated method argument declarations.
- split(T, Closure<?>) - Method in ArrayGroovyMethods
-
Splits all items into two collections based on the closure condition.
- split(Predicate<T>) - Method in AsyncChannel
-
Returns two new channels: elements matching the predicate go to the
first, non-matching to the second.
- split(T, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
- split(java.lang.String) - Method in GStringImpl
-
- split(java.lang.CharSequence) - Method in StringGroovyMethods
-
Splits a CharSequence (with whitespace as delimiter).
- splitBodyAndTags(java.lang.String) - Method in MarkdownRenderer
-
Split a raw comment body (already stripped of /// prefixes)
into its Markdown body and block-tag trail.
- splitEachLine(java.io.InputStream, java.util.regex.Pattern, Closure<T>) - Method in IOGroovyMethods
-
Iterates through the given InputStream line by line, splitting each line using
the given separator Pattern.
- splitEachLine(java.nio.file.Path, java.util.regex.Pattern, java.lang.String, Closure<T>) - Method in NioExtensions
-
Iterates through this file line by line, splitting each line using
the given regex separator Pattern.
- splitEachLine(java.net.URL, java.util.regex.Pattern, java.lang.String, Closure<T>) - Method in ResourceGroovyMethods
-
Iterates through the input stream associated with this URL line by line, splitting each line using
the given regex separator Pattern.
- splitEachLine(java.lang.CharSequence, java.util.regex.Pattern, Closure<T>) - Method in StringGroovyMethods
-
Iterates through the given CharSequence line by line, splitting each line using
the given separator Pattern.
- splitPane - Property in Console
-
Split pane separating input and output.
- SplitPaneFactory - Class in groovy.swing.factory
- SplitPaneFactory() - Constructor in SplitPaneFactory
-
- splitParallel(Collection<T>, Predicate<T>) - Method in ParallelCollectionExtensions
-
Partitions the collection into two lists: elements that match the
predicate and elements that don't.
- spread(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a SpreadExpression.
- spread(java.util.Map) - Method in DefaultGroovyMethods
-
- SPREAD_DOT() - Method in GroovyParser.PathElementContext
-
- SpreadExpression - Class in org.codehaus.groovy.ast.expr
Represents a spread expression *x in the list expression [1, *x, 2].
- SpreadExpression(org.codehaus.groovy.ast.expr.Expression) - Constructor in SpreadExpression
-
- SpreadListEvaluatingException - Class in groovy.lang
Thrown when evaluating a spread list expression fails.
- SpreadListEvaluatingException(java.lang.String) - Constructor in SpreadListEvaluatingException
-
Creates a spread list evaluation exception.
- SpreadMap - Class in groovy.lang
Helper to turn a list with an even number of elements into a Map.
- spreadMap(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a SpreadMapExpression.
- spreadMap(java.lang.Object) - Method in InvokerHelper
-
- spreadMap(java.lang.Object) - Method in ScriptBytecodeAdapter
-
- SpreadMap(java.util.List) - Constructor in SpreadMap
-
- SpreadMapEvaluatingException - Class in groovy.lang
Thrown when evaluating a spread map expression fails.
- SpreadMapEvaluatingException(java.lang.String) - Constructor in SpreadMapEvaluatingException
-
Creates a spread map evaluation exception.
- SpreadMapExpression - Class in org.codehaus.groovy.ast.expr
Represents a spread map expression *:m
in the map expression [1, *:m, 2, "c":100]
or in the method invoke expression func(1, *:m, 2, "c":100).
- SpreadMapExpression(org.codehaus.groovy.ast.expr.Expression) - Constructor in SpreadMapExpression
-
- spreadX(org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- sprintf(java.lang.Object, java.lang.String, java.lang.Object) - Method in DefaultGroovyMethods
-
Returns a formatted string using the specified format string and
arguments.
- sput(java.lang.Object, java.lang.Object, int) - Method in ConcurrentReaderHashMap
-
Continuation of put(), called only when sync lock is
held and interference has been detected.
- sputs(java.lang.Object) - Method in Exceptions
-
Creates a temporary buffer, appends the supplied messages, and returns the result.
- Sql - Class in groovy.sql
A facade over Java's normal JDBC APIs providing greatly simplified
resource management and result set handling.
- Sql.AbstractQueryCommand - Class in groovy.sql
Base command object for query operations that manage statement and connection lifecycle.
- Sql(groovy.sql.Sql) - Constructor in Sql
-
- sql - Field in Sql.AbstractQueryCommand
-
The SQL text executed by this command.
- SqlExtensions - Class in org.apache.groovy.sql.extensions
This class defines all the new SQL-related groovy methods which enhance
the normal JDK SQL classes when inside the Groovy environment.
- SqlOrderByVisitor - Class in groovy.sql
AST visitor used by
DataSet to derive an SQL
ORDER BY clause
from a simple sort closure.
- SqlWhereVisitor - Class in groovy.sql
AST visitor used by
DataSet to derive an SQL
WHERE clause
and positional parameter list from a supported filter closure.
- SqlWithParams - Class in groovy.sql
Holds an SQL string together with the positional parameters that should be
bound to it.
- SqlWithParams(java.lang.String, List<?>) - Constructor in SqlWithParams
-
Creates an SQL-and-parameters pair.
- src - Field in CompileTaskSupport
-
Source roots to scan for compilation inputs.
- sremove(java.lang.Object, int) - Method in ConcurrentReaderHashMap
-
Continuation of remove(), called only when sync lock is
held and interference has been detected.
- STACK_LOG_NAME - Field in StackTraceUtils
-
- stackOverFlowError - Property in Console
-
Whether the last failure was a stack overflow.
- stacktrace(java.lang.Throwable, boolean) - Method in ErrorReporter
-
Displays an exception's stack trace, if debug or
always.
- stacktraceStyle - Property in Console
-
Style used for stack traces and error text.
- StackTraceUtils - Class in org.codehaus.groovy.runtime
Originally was grails.utils.GrailsUtils, removed some grails specific stuff.
- StampedCommonCache - Class in org.codehaus.groovy.runtime.memoize
Represents a simple key-value cache, which is thread safe and backed by a
Map instance.
- StampedCommonCache(Map<K,V>) - Constructor in StampedCommonCache
-
Constructs a cache backed by the specified
Map instance
- STANDARD_ERR - Field in BytecodeDumper
-
- standardClassOrInterfaceType() - Method in GroovyParser
-
- StandardControlToUndefined - Class in groovy.xml.markupsupport
Replaces XML-disallowed control characters with U+FFFD.
- standardLambdaExpression() - Method in GroovyParser
-
- standardLambdaExpression() - Method in GroovyParser.ClosureOrLambdaExpressionContext
-
- standardLambdaExpression() - Method in GroovyParser.EnhancedArgumentListElementContext
-
- standardLambdaExpression() - Method in GroovyParser.EnhancedExpressionContext
-
- standardLambdaExpression() - Method in GroovyParser.EnhancedStatementExpressionContext
-
- StandardLambdaExpressionContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.StandardLambdaExpressionContext
-
- standardLambdaParameters() - Method in GroovyParser
-
- standardLambdaParameters() - Method in GroovyParser.StandardLambdaExpressionContext
-
- StandardLambdaParametersContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.StandardLambdaParametersContext
-
- StandardPropertiesModuleFactory - Class in org.codehaus.groovy.runtime.m12n
This is the standard Groovy module factory.
- standardType() - Method in GroovyParser
-
- StandardXmlAttributeFilter - Class in groovy.xml.markupsupport
Escapes XML attribute characters that must be written as numeric entities.
- StandardXmlFilter - Class in groovy.xml.markupsupport
Escapes the standard XML text markup characters.
- STAR_STAR - Field in Types
-
- STAR - Field in Types
-
- start - Field in CompileStack.LabelRange
-
- start(java.lang.Thread, java.lang.String, groovy.lang.Closure) - Method in DefaultGroovyStaticMethods
-
Start a Thread with a given name and the given closure
as a Runnable instance.
- start(java.lang.String) - Method in Main
-
Programmatic entry point for embedding groovysh.
- start() - Method in StructuredSyntaxDocumentFilter.MultiLineRun
-
Returns the inclusive start offset.
- start() - Method in SystemOutputInterceptor
-
Starts intercepting System.out/System.err
- startDaemon(java.lang.Thread, java.lang.String, groovy.lang.Closure) - Method in DefaultGroovyStaticMethods
-
Start a daemon Thread with a given name and the given closure as
a Runnable instance.
- startDocument() - Method in StructuredSyntaxHandler
-
{@inheritDoc}
- startDocument() - Method in XmlParser
-
Resets the current root node before SAX events for a new document begin.
- startDocument() - Method in XmlSlurper
-
Resets the current slurped document before SAX events for a new parse begin.
- startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes) - Method in StructuredSyntaxHandler
-
{@inheritDoc}
- startElement(java.lang.String, java.lang.String, java.lang.String, groovy.xml.slurpersupport.Attributes) - Method in XmlParser
-
Creates a new
Node for the current element and pushes it onto the parse stack.
- startElement(java.lang.String, java.lang.String, java.lang.String, groovy.xml.slurpersupport.Attributes) - Method in XmlSlurper
-
Creates a slurper node for the current element and pushes it onto the parse stack.
- startingWith(char) - Method in JsonTokenType
-
Find which JSON value might be starting with a given character
- startMethodInference(org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.control.ErrorCollector) - Method in StaticTypeCheckingVisitor
-
- startPrefixMapping(java.lang.String, java.lang.String) - Method in XmlParser
-
Receives namespace prefix mapping notifications.
- startPrefixMapping(java.lang.String, java.lang.String) - Method in XmlSlurper
-
Records namespace prefix hints for later
GPathResult navigation.
- startRange(org.objectweb.asm.Label) - Method in CompileStack.BlockRecorder
-
- startResolving(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.control.SourceUnit) - Method in ResolveVisitor
-
- startsWith(java.lang.String) - Method in GStringImpl
-
- startsWith(java.lang.String) - Method in WritablePath
-
{@inheritDoc}
- startsWithAny(java.lang.CharSequence, java.lang.CharSequence) - Method in StringGroovyMethods
-
Tests if this CharSequence starts with any specified prefixes.
- startsWithIgnoreCase(java.lang.CharSequence, java.lang.CharSequence) - Method in StringGroovyMethods
-
Checks whether this CharSequence starts with the searchString ignoring the case considerations.
- startThread(java.lang.Runnable) - Method in ThreadHelper
-
Starts a new thread to execute the given task.
- state - Field in StreamingJsonBuilder.StreamingJsonDelegate
-
Tracks whether the next token should be a JSON name or value.
- stateful(S, BiFunction<S,T,S>) - Method in Actor
-
Creates a stateful actor.
- stateful(S, BiFunction<S,T,S>) - Method in DefaultActor
-
- Statement - Class in org.codehaus.groovy.ast.stmt
Base class for all statement nodes in the Groovy AST.
- statement() - Method in GroovyParser
-
- statement() - Method in GroovyParser.BlockStatementContext
-
- statement() - Method in GroovyParser.DoWhileStmtAltContext
-
- statement() - Method in GroovyParser.ForStmtAltContext
-
- statement(int) - Method in GroovyParser.IfElseStatementContext
-
- statement() - Method in GroovyParser.LabeledStmtAltContext
-
- statement() - Method in GroovyParser.ScriptStatementContext
-
- statement() - Method in GroovyParser.WhileStmtAltContext
-
- statement - Field in Sql.AbstractQueryCommand
-
The statement created while running the command.
- STATEMENT_TARGET - Field in AnnotationNode
-
Groovy-only target for statement-level annotations (e.g. on for/while loops).
- StatementContext() - Constructor in GroovyParser.StatementContext
-
- statementExpression() - Method in GroovyParser
-
- statementExpression() - Method in GroovyParser.DeferStmtAltContext
-
- statementExpression() - Method in GroovyParser.EnhancedStatementExpressionContext
-
- statementExpression() - Method in GroovyParser.ExpressionStmtAltContext
-
- statementExpression() - Method in GroovyParser.LambdaBodyContext
-
- statementExpression() - Method in GroovyParser.MultipleAssignmentExprAltContext
-
- StatementExpressionContext() - Constructor in GroovyParser.StatementExpressionContext
-
- StatementMetaTypeChooser - Class in org.codehaus.groovy.classgen.asm
- StatementReplacer - Class in org.codehaus.groovy.transform.tailrec
Tool for replacing Statement objects in an AST by other Statement instances.
- StatementReplacer(Closure<Boolean>, Closure<Statement>) - Constructor in StatementReplacer
-
- StatementWriter - Class in org.codehaus.groovy.classgen.asm
- StatementWriter(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in StatementWriter
-
- STATIC_COMPILE_NODE - Enum Constant in StaticCompilationMetadataKeys
-
Marks a section of code for static compilation.
- STATIC_ERROR_PREFIX - Field in StaticTypesTransformation
-
- STATIC() - Method in GroovyParser.ClassBodyDeclarationContext
-
- STATIC() - Method in GroovyParser.ClassOrInterfaceModifierContext
-
- STATIC() - Method in GroovyParser.ImportDeclarationContext
-
- STATIC() - Method in GroovyParser.KeywordsContext
-
- STATIC() - Method in GroovyParser.PathExpressionContext
-
- STATIC() - Method in GroovyParser.VariableModifierContext
-
- STATIC_METACLASS_BOOL - Field in Verifier
-
- STATIC_METHOD_MISSING - Field in MetaClassImpl
-
Synthetic method name used for static methodMissing dispatch.
- STATIC_PROPERTY_MISSING - Field in MetaClassImpl
-
Synthetic method name used for static propertyMissing dispatch.
- STATIC_QUALIFIER - Field in ExpandoMetaClass
-
Pseudo-property used by the expando DSL to define static members.
- STATIC_THIS_OBJECT - Field in Traits
-
- staticArrayAccess(java.lang.invoke.MethodHandles$Lookup, java.lang.String, java.lang.invoke.MethodType) - Method in IndyInterface
-
- StaticCompilationMetadataKeys - Enum in org.codehaus.groovy.transform.sc
Static compilation AST node metadata keys.
- StaticCompilationMopWriter - Class in org.codehaus.groovy.classgen.asm.sc
A MOP Writer that skips the generation of MOP methods.
- StaticCompilationMopWriter(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in StaticCompilationMopWriter
-
- StaticCompilationTransformer - Class in org.codehaus.groovy.transform.sc.transformers
Some expressions use symbols as aliases to method calls (<<, +=, ...).
- StaticCompilationTransformer(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.transform.stc.StaticTypeCheckingVisitor) - Constructor in StaticCompilationTransformer
-
- StaticCompilationVisitor - Class in org.codehaus.groovy.transform.sc
This visitor is responsible for amending the AST with static compilation metadata or transform the AST so that
a class or a method can be statically compiled.
- StaticCompilationVisitor(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.ClassNode) - Constructor in StaticCompilationVisitor
-
- StaticCompileTransformation - Class in org.codehaus.groovy.transform.sc
- StaticImportVisitor - Class in org.codehaus.groovy.control
Visitor to resolve constants and method calls from static imports.
- StaticImportVisitor(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.control.SourceUnit) - Constructor in StaticImportVisitor
-
- StaticInvocationWriter - Class in org.codehaus.groovy.classgen.asm.sc
- StaticInvocationWriter(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in StaticInvocationWriter
-
- StaticMetaClassSite - Class in org.codehaus.groovy.runtime.callsite
Call site for invoking static methods
metaclass - cached
method - not cached
- StaticMetaClassSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClass) - Constructor in StaticMetaClassSite
-
- StaticMetaMethodSite - Class in org.codehaus.groovy.runtime.callsite
POJO call site
metaclass - cached
method - cached
- StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrap - Class in org.codehaus.groovy.runtime.callsite
Call site where we know there is no need to unwrap arguments
- StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrapNoCoerce - Class in org.codehaus.groovy.runtime.callsite
Call site where we know there is no need neither unwrap nor coerce arguments
- StaticMetaMethodSite(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class) - Constructor in StaticMetaMethodSite
-
- StaticMetaMethodSiteNoUnwrap(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class) - Constructor in StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrap
-
- StaticMetaMethodSiteNoUnwrapNoCoerce(org.codehaus.groovy.runtime.callsite.CallSite, groovy.lang.MetaClassImpl, groovy.lang.MetaMethod, java.lang.Class) - Constructor in StaticMetaMethodSite.StaticMetaMethodSiteNoUnwrapNoCoerce
-
- staticMethodCall(org.codehaus.groovy.runtime.MethodClosure, groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a StaticMethodCallExpression.
- StaticMethodCallExpression - Class in org.codehaus.groovy.ast.expr
A static method call on a class
- StaticMethodCallExpression(org.codehaus.groovy.ast.ClassNode, java.lang.String, org.codehaus.groovy.ast.expr.Expression) - Constructor in StaticMethodCallExpression
-
- staticMethods - Field in MetaMethodIndex.Cache
-
- StaticPropertyAccessHelper - Class in org.codehaus.groovy.classgen.asm.sc
Facilitates the generation of statically-compiled bytecode for property access.
- StaticTypeCheckingSupport - Class in org.codehaus.groovy.transform.stc
- StaticTypeCheckingSupport.BooleanArrayStaticTypesHelper - Class in org.codehaus.groovy.transform.stc
- StaticTypeCheckingSupport.ByteArrayStaticTypesHelper - Class in org.codehaus.groovy.transform.stc
- StaticTypeCheckingSupport.CharArrayStaticTypesHelper - Class in org.codehaus.groovy.transform.stc
- StaticTypeCheckingSupport.DoubleArrayStaticTypesHelper - Class in org.codehaus.groovy.transform.stc
- StaticTypeCheckingSupport.FloatArrayStaticTypesHelper - Class in org.codehaus.groovy.transform.stc
- StaticTypeCheckingSupport.IntArrayStaticTypesHelper - Class in org.codehaus.groovy.transform.stc
- StaticTypeCheckingSupport.LongArrayStaticTypesHelper - Class in org.codehaus.groovy.transform.stc
- StaticTypeCheckingSupport.ObjectArrayStaticTypesHelper - Class in org.codehaus.groovy.transform.stc
A DGM-like class which adds support for method calls which are handled by
the Groovy compiler.
- StaticTypeCheckingSupport.ShortArrayStaticTypesHelper - Class in org.codehaus.groovy.transform.stc
- StaticTypeCheckingVisitor - Class in org.codehaus.groovy.transform.stc
The main class code visitor responsible for static type checking.
- StaticTypeCheckingVisitor.SignatureCodecFactory - Class in org.codehaus.groovy.transform.stc
- StaticTypeCheckingVisitor.VariableExpressionTypeMemoizer - Class in org.codehaus.groovy.transform.stc
- StaticTypeCheckingVisitor(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.ClassNode) - Constructor in StaticTypeCheckingVisitor
-
- StaticTypesBinaryExpressionMultiTypeDispatcher - Class in org.codehaus.groovy.classgen.asm.sc
A specialized version of the multi type binary expression dispatcher which is aware of static compilation.
- StaticTypesBinaryExpressionMultiTypeDispatcher(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in StaticTypesBinaryExpressionMultiTypeDispatcher
-
- StaticTypesCallSiteWriter - Class in org.codehaus.groovy.classgen.asm.sc
A call site writer which replaces call site caching with static calls.
- StaticTypesCallSiteWriter(org.codehaus.groovy.classgen.asm.sc.StaticTypesWriterController) - Constructor in StaticTypesCallSiteWriter
-
- StaticTypesClosureWriter - Class in org.codehaus.groovy.classgen.asm.sc
Writer responsible for generating closure classes in statically compiled mode.
- StaticTypesClosureWriter(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in StaticTypesClosureWriter
-
- StaticTypesLambdaWriter - Class in org.codehaus.groovy.classgen.asm.sc
Writer responsible for generating lambda classes in statically compiled mode.
- StaticTypesLambdaWriter(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in StaticTypesLambdaWriter
-
- StaticTypesMarker - Enum in org.codehaus.groovy.transform.stc
This enumeration is used by the AST transformations which rely on static type
checking, either to store or to retrieve information from AST node metadata.
- StaticTypesMethodReferenceExpressionWriter - Class in org.codehaus.groovy.classgen.asm.sc
Generates bytecode for method reference expressions in statically-compiled code.
- StaticTypesMethodReferenceExpressionWriter(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in StaticTypesMethodReferenceExpressionWriter
-
- StaticTypesStatementWriter - Class in org.codehaus.groovy.classgen.asm.sc
A class to write out the optimized statements.
- StaticTypesStatementWriter(org.codehaus.groovy.classgen.asm.sc.StaticTypesWriterController) - Constructor in StaticTypesStatementWriter
-
- StaticTypesTransformation - Class in org.codehaus.groovy.transform
Handles the implementation of the
TypeChecked transformation.
- StaticTypesTypeChooser - Class in org.codehaus.groovy.classgen.asm.sc
A
TypeChooser which reads
type information from node metadata generated by the static type checker.
- StaticTypesUnaryExpressionHelper - Class in org.codehaus.groovy.classgen.asm.sc
An expression helper which generates optimized bytecode depending on the
current type on top of the operand stack.
- StaticTypesUnaryExpressionHelper(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in StaticTypesUnaryExpressionHelper
-
- StaticTypesWriterController - Class in org.codehaus.groovy.classgen.asm.sc
- StaticTypesWriterController(org.codehaus.groovy.classgen.asm.WriterController) - Constructor in StaticTypesWriterController
-
- StaticTypesWriterControllerFactoryImpl - Class in org.codehaus.groovy.classgen.asm.sc
- StaticVerifier - Class in org.codehaus.groovy.control
Checks for dynamic variables in static contexts.
- statistic() - Method in BenchmarkInterceptor
-
Returns benchmark statistics as a List<Object[]>.
- status - Property in HttpResult
-
- status - Property in HttpStreamResult
-
Streaming response wrapper for
HttpBuilder's
streamAsync family.
- statusLabel - Property in Console
-
Status label shown in the footer.
- StaxBuilder - Class in groovy.xml
A Groovy builder that emits XML using a StAX writer.
- StaxBuilder(java.lang.Object) - Constructor in StaxBuilder
-
Creates a builder that writes a new XML document to the supplied StAX writer.
- stdCompareCodes - Field in BinaryExpressionWriter
-
- stdev(Function<? super T,? extends Number>) - Method in Queryable
-
Aggregate function stdev, similar to SQL's stdev
- stdevp(Function<? super T,? extends Number>) - Method in Queryable
-
Aggregate function stdevp, similar to SQL's stdevp
- step(java.lang.Number, java.lang.Number, java.lang.Number, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
Iterates from this number up to the given number using a step increment.
- step(int) - Method in EmptyRange
-
Always returns an empty list for an empty range.
- step(int) - Method in IntRange
-
Forms a list by stepping through the range by the indicated interval.
- Parameters:
step - the amount by which to step. If negative, steps through the range backwards.
- Returns:
- the list formed by stepping through the range by the indicated interval.
- step(int) - Method in NumberRange
-
Forms a list by stepping through the range by the indicated interval.
- Parameters:
step - the amount by which to step. If negative, steps through the range backwards.
- Returns:
- the list formed by stepping through the range by the indicated interval.
- step(int) - Method in ObjectRange
-
Forms a list by stepping through the range by the indicated interval.
- Parameters:
step - the amount by which to step. If negative, steps through the range backwards.
- Returns:
- the list formed by stepping through the range by the indicated interval.
- step(int) - Method in Range
-
Forms a list by stepping through the range by the indicated interval.
- stmt(org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- stop() - Method in Actor
-
Stops this actor gracefully.
- stop() - Method in DefaultActor
-
- stop() - Method in SystemOutputInterceptor
-
Stops intercepting System.out/System.err, sending output to wherever it was
going when this interceptor was created.
- stopAtNonOption - Property in CliBuilder
-
Configures what the parser should do when arguments not recognized
as options are encountered: when true (the default), the
remaining arguments are all treated as positional parameters.
- stopAtNonOption - Property in CliBuilderInternal
-
Configures what the parser should do when arguments not recognized
as options are encountered: when true (the default), the
remaining arguments are all treated as positional parameters.
- stopThread() - Method in ReferenceManager
-
Stops any background processing owned by this manager.
- stopThreadedReferenceManager() - Method in GroovySystem
-
This method can be used to ensure that no threaded created
by a reference manager will be active.
- store(org.objectweb.asm.MethodVisitor, org.codehaus.groovy.ast.ClassNode, int) - Method in BytecodeHelper
-
- storeInferredReturnType(org.codehaus.groovy.ast.ASTNode, org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingVisitor
-
Stores the inferred return type of a closure or method.
- storeTargetMethod(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.MethodNode) - Method in StaticTypeCheckingVisitor
-
- storeType(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingVisitor
-
- storeType(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.ClassNode) - Method in TypeCheckingExtension
-
Stores an inferred type for an expression.
- storeVar(org.codehaus.groovy.classgen.asm.BytecodeVariable) - Method in OperandStack
-
- strategy - Field in DelegatesTo
-
The closure's resolve strategy.
- stream(java.util.OptionalDouble) - Method in PluginDefaultGroovyMethods
-
- stream() - Method in Queryable
-
- stream(java.util.OptionalDouble) - Method in StreamGroovyMethods
-
- streamAsync(java.lang.String, java.lang.Object, Closure<?>) - Method in HttpBuilder
-
Streams the response body without buffering.
- streamElements(java.io.Reader, java.lang.String, java.lang.String, boolean) - Method in XmlUtil
-
Streams matching subtrees from a (potentially very large) XML document
as DOM
Nodes.
- StreamGroovyMethods - Class in org.codehaus.groovy.runtime
- StreamingDOMBuilder - Class in groovy.xml
A streaming builder that creates W3C DOM content for GPath-style XML traversal or further DOM processing.
- StreamingDOMBuilder() - Constructor in StreamingDOMBuilder
-
Creates a DOM-oriented builder with the standard mkp helper tags installed.
- StreamingJsonBuilder - Class in groovy.json
A builder for creating JSON payloads.
- StreamingJsonBuilder.StreamingJsonDelegate - Class in groovy.json
The delegate used when invoking closures
- StreamingJsonBuilder(java.io.Writer, java.lang.Object, groovy.json.JsonGenerator) - Constructor in StreamingJsonBuilder
-
Instantiates a JSON builder, possibly with some existing data structure and
the given generator.
- StreamingJsonDelegate(java.io.Writer, boolean, groovy.json.JsonGenerator) - Constructor in StreamingJsonBuilder.StreamingJsonDelegate
-
Creates a delegate backed by the supplied generator.
- StreamingMarkupBuilder - Class in groovy.xml
A builder class for creating XML markup.
- StreamingMarkupBuilder() - Constructor in StreamingMarkupBuilder
-
Creates a streaming markup builder with the standard mkp helper tags installed.
- StreamingMarkupWriter - Class in groovy.xml.streamingmarkupsupport
Writer used by streaming markup support to escape XML lazily while honoring output encoding limits.
- StreamingMarkupWriter(java.io.Writer) - Constructor in StreamingMarkupWriter
-
Creates a streaming writer that infers its encoding from the wrapped writer when possible.
- StreamingSAXBuilder - Class in groovy.xml
A streaming builder that turns Groovy builder calls into SAX events for XML generation.
- StreamingSAXBuilder() - Constructor in StreamingSAXBuilder
-
Creates a SAX-oriented builder with the standard mkp helper tags installed.
- StreamingTemplateEngine - Class in groovy.text
Processes template source files substituting variables and expressions into
placeholders in a template source text to produce the desired output using a
closure based approach.
- StreamingTemplateEngine(java.lang.ClassLoader) - Constructor in StreamingTemplateEngine
-
Create a streaming template engine instance using a custom class loader
- strict - Field in Singleton
-
- Returns:
- if this singleton should have strict semantics
- Default:
- true
- StrictExpectation - Class in groovy.mock.interceptor
Expects demanded call cardinalities to match demanded ranges in the sequence of recording.
- StrictExpectation(groovy.mock.interceptor.Demand) - Constructor in StrictExpectation
-
Creates a strict expectation backed by the supplied demand definition.
- STRICTFP() - Method in GroovyParser.ClassOrInterfaceModifierContext
-
- STRICTFP() - Method in GroovyParser.KeywordsContext
-
- STRICTFP() - Method in GroovyParser.VariableModifierContext
-
- STRIKE_THROUGH - Field in StructuredSyntaxHandler
-
Style attribute name for strike-through text.
- STRING_ARGS - Property in RichActionWidgetFactory
-
Parameter types used to locate the text constructor.
- string - Property in CompilePhaseAdapter
-
Human-readable label shown in the phase picker.
- STRING - Enum Constant in JsonTokenType
-
String literal token.
- STRING - Enum Constant in Type
-
String token.
- STRING - Field in Types
-
- STRING - Field in Undefined
-
Sentinel string value used when an annotation member has no explicit string value.
- StringBufferWriter - Class in org.codehaus.groovy.runtime
This class codes around a silly limitation of StringWriter which doesn't allow a StringBuffer
to be passed in as a constructor for some bizarre reason.
- StringBufferWriter(java.lang.StringBuffer) - Constructor in StringBufferWriter
-
Create a new string writer which will append the text to the given StringBuffer
- StringBuilderWriter - Class in org.apache.groovy.io
- StringBuilderWriter(java.lang.StringBuilder) - Constructor in StringBuilderWriter
-
- StringCachedClass - Class in org.codehaus.groovy.reflection.stdclasses
Provides optimized reflection caching for
String.
- StringCachedClass(org.codehaus.groovy.reflection.ClassInfo) - Constructor in StringCachedClass
-
Constructs a cached class representation for
String.
- stringCtor - Property in RichActionWidgetFactory
-
Cached constructor that accepts a
String.
- StringEscapeUtils - Class in groovy.json
Escapes and unescapes Strings for
Java, Java Script, HTML, XML, and SQL.
- StringEscapeUtils() - Constructor in StringEscapeUtils
-
- StringGroovyMethods - Class in org.codehaus.groovy.runtime
This class defines new groovy methods which appear on String-related JDK
classes (String, CharSequence, Matcher) inside the Groovy environment.
- StringHelper - Class in org.codehaus.groovy.tools
- StringLiteral - Field in GroovyLexer
-
- StringLiteral - Field in GroovyParser
-
- stringLiteral() - Method in GroovyParser.MethodNameContext
-
- stringLiteral() - Method in GroovyParser.NamePartContext
-
- stringLiteral() - Method in GroovyParser.StringLiteralAltContext
-
- StringLiteral() - Method in GroovyParser.StringLiteralContext
-
- StringLiteralAltContext(LiteralContext) - Constructor in GroovyParser.StringLiteralAltContext
-
- StringLiteralContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.StringLiteralContext
-
- stringLog(java.util.logging.Level, java.lang.String, groovy.lang.Closure) - Method in GroovyLogTestCase
-
Execute the given Closure with the according level for the Logger that
is qualified by the qualifier and return the log output as a String.
- stringOf(groovy.lang.Closure) - Method in BaseTemplate
-
Renders the supplied closure into an in-memory buffer and returns the resulting text.
- StringReaderSource - Class in org.codehaus.groovy.control.io
A ReaderSource for source strings.
- StringReaderSource(java.lang.String, org.codehaus.groovy.control.CompilerConfiguration) - Constructor in StringReaderSource
-
Creates the ReaderSource from a File descriptor.
- strings(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Designates a list of ConstantExpressions.
- StringSetMap - Class in org.codehaus.groovy.tools.gse
- StringSetMap(org.codehaus.groovy.tools.gse.StringSetMap) - Constructor in StringSetMap
-
- StringTestUtil - Class in groovy.test
Utility methods for string-oriented assertions used by test support code.
- StringTestUtil() - Constructor in StringTestUtil
-
- StringUtil - Class in org.codehaus.groovy.util
String utility functions.
- StringUtil() - Constructor in StringUtil
-
- StringUtils - Class in org.apache.groovy.parser.antlr4.util
Utilities for handling strings
- stringValue() - Method in CharSequenceValue
-
Returns the string form using the value's configured decoding policy.
- Returns:
- the string representation
- stringValue() - Method in NumberValue
-
Returns the string form using the value's configured decoding policy.
- Returns:
- the string representation
- stringValue() - Method in Value
-
Returns the string form using the value's configured decoding policy.
- stringValue() - Method in ValueContainer
-
Returns the string form using the value's configured decoding policy.
- Returns:
- the string representation
- stringValueEncoded() - Method in CharSequenceValue
-
Returns the fully decoded string form.
- Returns:
- the decoded string representation
- stringValueEncoded() - Method in NumberValue
-
Returns the fully decoded string form.
- Returns:
- the decoded string representation
- stringValueEncoded() - Method in Value
-
Returns the fully decoded string form.
- stringValueEncoded() - Method in ValueContainer
-
Returns the fully decoded string form.
- Returns:
- the decoded string representation
- StringWriterIOException - Class in groovy.lang
An IO exception occurred trying to append to a StringWriter which should never happen.
- StringWriterIOException(java.io.IOException) - Constructor in StringWriterIOException
-
- strip() - Method in GStringImpl
-
Returns a string whose value is this string, with all leading
and trailing {@linkplain Character#isWhitespace(int) white space}
removed.
- stripIndent(java.lang.CharSequence, int) - Method in StringGroovyMethods
-
Strips numChars leading characters from every line in a CharSequence.
- stripLeading() - Method in GStringImpl
-
Returns a string whose value is this string, with all leading
{@linkplain Character#isWhitespace(int) white space} removed.
- stripMargin(java.lang.CharSequence, java.lang.CharSequence) - Method in StringGroovyMethods
-
Strips leading whitespace/control characters followed by marginChar from
every line in a CharSequence.
- stripTrailing() - Method in GStringImpl
-
Returns a string whose value is this string, with all trailing
{@linkplain Character#isWhitespace(int) white space} removed.
- STRONG - Enum Constant in ConcurrentReferenceHashMap.ReferenceType
-
Indicates a normal Java strong reference should be used
- STRUCT - Field in Sql
-
Stored procedure OUT parameter marker for JDBC type
STRUCT.
- StructuredSyntaxDocumentFilter - Class in groovy.console.ui.text
Document filter that applies regex-driven syntax highlighting to styled text.
- StructuredSyntaxDocumentFilter.LexerNode - Class in groovy.console.ui.text
Regex-driven lexer node that applies styles and nested lexers.
- StructuredSyntaxDocumentFilter.MultiLineRun - Class in groovy.console.ui.text
Tracks a multi-line styled region within the document.
- StructuredSyntaxDocumentFilter(javax.swing.text.DefaultStyledDocument) - Constructor in StructuredSyntaxDocumentFilter
-
Creates a new instance of StructuredSyntaxDocumentFilter
- StructuredSyntaxHandler - Class in groovy.console.ui.text
SAX handler that reads structured syntax definitions into a document filter.
- StructuredSyntaxHandler(groovy.console.ui.text.StructuredSyntaxDocumentFilter) - Constructor in StructuredSyntaxHandler
-
Creates a handler for the supplied syntax filter.
- StructuredSyntaxResources - Class in groovy.console.ui.text
Contains all the basic resources and values used by the utility framework.
- STUB_METADATA_KEY - Field in StubberSupport
-
Metadata key tagging a member that was added by a CONVERSION-phase
stubber as a placeholder.
- StubberSupport - Class in org.codehaus.groovy.transform
Utilities for GEP-21 Shape C joint-compilation stubbers.
- StubFor - Class in groovy.mock.interceptor
StubFor supports (typically unit) testing of classes in isolation by allowing
a loosely-ordered expectation of the behavior of collaborators to be defined.
- StubFor(java.lang.Class, boolean) - Constructor in StubFor
-
Creates a stub definition for the supplied collaborator class.
- style - Field in AutoClone
-
Style to use when cloning.
- STYLE - Field in StructuredSyntaxHandler
-
XML element name for style entries.
- styledDocument - Field in StructuredSyntaxDocumentFilter
-
The styled document currently being parsed.
- SUB_ASSIGN() - Method in GroovyParser.AssignmentExprAltContext
-
- SUB() - Method in GroovyParser.AdditiveExprAltContext
-
- SUB() - Method in GroovyParser.UnaryAddExprAltContext
-
- subclassOf(org.codehaus.groovy.groovydoc.GroovyClassDoc) - Method in ArrayClassDocWrapper
-
Determines whether this type is a subclass of the supplied candidate.
- Parameters:
gcd - the candidate superclass
- Returns:
true if this type is a subclass of gcd
- subclassOf(org.codehaus.groovy.groovydoc.GroovyClassDoc) - Method in ExternalGroovyClassDoc
-
Determines whether this type is a subclass of the supplied candidate.
- Parameters:
gcd - the candidate superclass
- Returns:
true if this type is a subclass of gcd
- subclassOf(org.codehaus.groovy.groovydoc.GroovyClassDoc) - Method in GroovyClassDoc
-
Determines whether this type is a subclass of the supplied candidate.
- subclassOf(org.codehaus.groovy.groovydoc.GroovyClassDoc) - Method in SimpleGroovyClassDoc
-
Determines whether this type is a subclass of the supplied candidate.
- Parameters:
gcd - the candidate superclass
- Returns:
true if this type is a subclass of gcd
- subList(List<T>, groovy.lang.IntRange) - Method in DefaultGroovyMethods
-
Returns a view of the portion of this list given by the specified range.
- subList(int, int) - Method in IntRange
-
{@inheritDoc}
- subList(int, int) - Method in ListWithDefault
-
Returns a view of a portion of this list.
- subList(int, int) - Method in NumberRange
-
{@inheritDoc}
- subList(int, int) - Method in ObjectRange
-
{@inheritDoc}
- subList(int, int) - Method in ObservableList
-
{@inheritDoc}
- subList(int, int) - Method in Tuple
-
{@inheritDoc}
- subListBorders(int, groovy.lang.EmptyRange) - Method in DefaultGroovyMethodsSupport
-
Helper method for getAt and putAt.
- subListBorders(int) - Method in IntRange
-
A method for determining from and to information when using this IntRange to index an aggregate object of the specified size.
- subListBorders(int) - Method in NumberRange
-
A method for determining from and to information when using this IntRange to index an aggregate object of the specified size.
- subListRange(org.codehaus.groovy.runtime.RangeInfo, groovy.lang.IntRange) - Method in DefaultGroovyMethodsSupport
-
Helper method for primitive array getAt.
- subMap(Map<K,V>, K) - Method in DefaultGroovyMethods
-
Creates a sub-Map containing the given keys.
- submit(java.util.concurrent.ExecutorService, Closure<T>) - Method in DefaultGroovyMethods
-
Submits a value-returning task for execution and returns a
Future
representing the pending results of the task.
- submit(Callable<T>) - Method in QueryableHelper
-
Submits work to the shared fork-join pool.
- subpath(int, int) - Method in WritablePath
-
{@inheritDoc}
- subscribe(int) - Method in BroadcastChannel
-
Creates a new subscriber channel with the specified buffer capacity.
- subscribe(Flow.Subscriber<? super String>) - Method in HttpStreamResult.LinePublisher
-
Subscribes downstream and mediates demand through a line-aware subscription.
- subscribe(Flow.Subscriber<? super Object>) - Method in HttpStreamResult.MappedPublisher
-
Subscribes downstream and inserts a mapping subscriber between both ends.
- SUBSCRIPT - Field in StructuredSyntaxHandler
-
Style attribute name for subscript text.
- subSequence(int, int) - Method in CharBuf
-
{@inheritDoc}
- subSequence(int, int) - Method in CharSequenceValue
-
Creates another overlay view over the same backing buffer.
- subSequence(int, int) - Method in GString
-
{@inheritDoc}
- subSequence(int, int) - Method in ValueContainer
-
Returns an empty character sequence because this wrapper has no character backing.
- subsequences(List<T>) - Method in DefaultGroovyMethods
-
Finds all non-null subsequences of a list.
- subsequences(List<T>) - Method in GroovyCollections
-
Finds all non-empty subsequences of a list.
- substring(int, int) - Method in GStringImpl
-
- subtleBlue(java.lang.String) - Method in Icons
-
Returns a muted blue app-themed icon at the fixed menu size.
- subtract(java.lang.Number, java.lang.Number) - Method in NumberMath
-
- subtractImpl(java.lang.Number, java.lang.Number) - Method in BigDecimalMath
-
- subtractImpl(java.lang.Number, java.lang.Number) - Method in BigIntegerMath
-
- subtractImpl(java.lang.Number, java.lang.Number) - Method in FloatingPointMath
-
- subtractImpl(java.lang.Number, java.lang.Number) - Method in IntegerMath
-
- subtractImpl(java.lang.Number, java.lang.Number) - Method in LongMath
-
- subtractImpl(java.lang.Number, java.lang.Number) - Method in NumberMath
-
- subTuple(int, int) - Method in Tuple
-
Returns a tuple containing the specified range of elements.
- success(java.lang.Object) - Method in AwaitResult
-
Creates a successful result with the given value.
- suite(java.lang.String, java.lang.String, java.lang.String) - Method in AllTestSuite
-
Creates a suite for tests matching the supplied include and exclude patterns.
- suite() - Method in GroovyTestSuite
-
Creates a suite for the configured Groovy test script.
- suite(java.lang.String, java.lang.String, java.lang.String) - Method in JavadocAssertionTestSuite
-
- sum(T, java.lang.Object, Closure<?>) - Method in ArrayGroovyMethods
-
Sums the result of applying a closure to each item of an array to some initial value.
- sum(T, java.lang.Object, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
- sum(Iterable<?>) - Method in GroovyCollections
-
Sums all the given items.
- sum(Function<? super T,? extends Number>) - Method in Queryable
-
Aggregate function sum, similar to SQL's sum
- summary() - Method in GroovyPackageDoc
-
The one-sentence summary for the package derived from the beginning of the description.
- summary() - Method in SimpleGroovyPackageDoc
-
The one-sentence summary for the package derived from the beginning of the description.
- Returns:
- the summary
- summary() - Method in SimpleGroovyRootDoc
-
- sumParallel(Collection<T>, BinaryOperator<T>) - Method in ParallelCollectionExtensions
-
Reduces the collection in parallel using the given operator.
- sup1 - Field in Entity
-
Entity reference ¹.
- sup2 - Field in Entity
-
Entity reference ².
- sup3 - Field in Entity
-
Entity reference ³.
- SUPER - Field in ClassNode
-
- SUPER_EXPRESSION - Field in VariableExpression
-
- SUPER() - Method in GroovyParser.KeywordsContext
-
- SUPER() - Method in GroovyParser.SuperPrmrAltContext
-
- SUPER() - Method in GroovyParser.TypeArgumentContext
-
- SUPER_MOP_METHOD_REQUIRED - Enum Constant in StaticTypesMarker
-
used to store the list of MOP methods that still have to be generated
- SUPER_VARIABLE - Field in BytecodeVariable
-
- superclass() - Method in ArrayClassDocWrapper
-
Returns the direct superclass of this type.
- Returns:
- the direct superclass, or
null if none exists
- superclass() - Method in ExternalGroovyClassDoc
-
Returns the direct superclass of this type.
- Returns:
- the direct superclass, or
null if none exists
- superclass() - Method in GroovyClassDoc
-
Returns the direct superclass of this type.
- superclass() - Method in SimpleGroovyClassDoc
-
Returns the direct superclass of this type.
- Returns:
- the direct superclass, or
null if none exists
- superclassType() - Method in ArrayClassDocWrapper
-
Returns the direct superclass as a type reference.
- Returns:
- the direct superclass type, or
null if none exists
- superclassType() - Method in ExternalGroovyClassDoc
-
Returns the direct superclass as a type reference.
- Returns:
- the direct superclass type, or
null if none exists
- superclassType() - Method in GroovyClassDoc
-
Returns the direct superclass as a type reference.
- superclassType() - Method in SimpleGroovyClassDoc
-
Returns the direct superclass as a type reference.
- Returns:
- the direct superclass type, or
null if none exists
- SuperPrmrAltContext(PrimaryContext) - Constructor in GroovyParser.SuperPrmrAltContext
-
- SUPERSCRIPT - Field in StructuredSyntaxHandler
-
Style attribute name for superscript text.
- Supplier - Interface in org.apache.groovy.internal.util
Backport of Java8 Supplier.
- supplyAsync(Function<? super T, ? extends U>, T) - Method in QueryableHelper
-
Executes a single-argument function asynchronously on the shared thread pool.
- supportsAwaitable(Class<?>) - Method in AwaitableAdapter
-
Returns
true if this adapter can convert instances of the given
type to
Awaitable (single-value async result).
- supportsAwaitable(Class<?>) - Method in FlowPublisherAdapter
-
- supportsAwaitable(Class<?>) - Method in ReactorAwaitableAdapter
-
Returns whether the supplied type can be awaited as a Reactor single-result source.
- supportsAwaitable(Class<?>) - Method in RxJavaAwaitableAdapter
-
Returns whether the supplied type can be awaited as an RxJava single-result source.
- supportsDivision() - Method in BinaryDoubleExpressionHelper
-
- supportsDivision() - Method in BinaryExpressionWriter
-
- supportsDivision() - Method in BinaryIntExpressionHelper
-
- supportsDivision() - Method in BinaryLongExpressionHelper
-
- supportsIterable(Class<?>) - Method in AwaitableAdapter
-
Returns
true if this adapter can convert instances of the given
type to an
Iterable for
for await loops.
- supportsIterable(Class<?>) - Method in FlowPublisherAdapter
-
- supportsIterable(Class<?>) - Method in ReactorAwaitableAdapter
-
Returns whether the supplied type can be exposed as an iterable Reactor multi-result source.
- supportsIterable(Class<?>) - Method in RxJavaAwaitableAdapter
-
Returns whether the supplied type can be exposed as an iterable RxJava multi-result source.
- surrogatePair - Field in StreamingMarkupWriter
-
Temporary buffer for surrogate pair handling.
- SurrogateToUndefined - Class in groovy.xml.markupsupport
Replaces surrogate characters that cannot be emitted directly with U+FFFD.
- SV(java.lang.Object, java.lang.Object) - Method in MacroLibGroovyMethods
-
- SVD(java.lang.Object, java.lang.Object) - Method in MacroLibGroovyMethods
-
- SVI(java.lang.Object, java.lang.Object) - Method in MacroLibGroovyMethods
-
- swap(T, int, int) - Method in ArrayGroovyMethods
-
Swaps two elements at the specified positions.
- swap(T, int, int) - Method in DefaultGroovyMethods
-
- SWAP_INIT - Field in Verifier
-
- swap() - Method in OperandStack
-
swap two top level operands
- swap(int, int) - Method in TableSorter
-
Swaps two entries in the cached row mapping.
- swing - Property in AstBrowser
-
Swing builder used to create and update the browser UI.
- swing - Property in Console
-
Swing builder used to create and wire the console UI.
- swing - Property in ObjectBrowser
-
Swing builder used to create browser UI components.
- SwingBorderFactory - Class in groovy.swing.factory
Base factory for Swing border nodes.
- SwingBorderFactory() - Constructor in SwingBorderFactory
-
- SwingBuilder - Class in groovy.swing
Builder that exposes Swing components, layouts, bindings, and threading helpers through a Groovy DSL.
- SwingBuilder(boolean) - Constructor in SwingBuilder
-
Creates a new Swing builder and optionally performs the default initialization.
- SwingExtensions - Class in org.apache.groovy.swing.extensions
This class defines all the new Swing-related groovy methods which enhance
the normal JDK Swing classes when inside the Groovy environment.
- SwingTimerTriggerBinding - Class in org.apache.groovy.swing.binding
Creates bindings driven by a Swing timer.
- SwingTreeNodeMaker - Class in groovy.console.ui
Creates tree nodes for swing UI
- SwingTreeNodeMaker() - Constructor in SwingTreeNodeMaker
-
- SWITCH_BLOCK_TERMINATORS - Field in Types
-
- SWITCH_CONDITION_EXPRESSION_TYPE - Enum Constant in StaticTypesMarker
-
used to store the condition expression type of the switch-case statement
- SWITCH_ENTRIES - Field in Types
-
- SWITCH() - Method in GroovyParser.KeywordsContext
-
- SWITCH() - Method in GroovyParser.SwitchExpressionContext
-
- SWITCH() - Method in GroovyParser.SwitchStatementContext
-
- switchBlockStatementExpressionGroup() - Method in GroovyParser
-
- switchBlockStatementExpressionGroup(int) - Method in GroovyParser.SwitchExpressionContext
-
- SwitchBlockStatementExpressionGroupContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.SwitchBlockStatementExpressionGroupContext
-
- switchBlockStatementGroup() - Method in GroovyParser
-
- switchBlockStatementGroup(int) - Method in GroovyParser.SwitchStatementContext
-
- SwitchBlockStatementGroupContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.SwitchBlockStatementGroupContext
-
- SwitchExprAltContext(ExpressionContext) - Constructor in GroovyParser.SwitchExprAltContext
-
- switchExpression() - Method in GroovyParser
-
- switchExpression() - Method in GroovyParser.SwitchExprAltContext
-
- SwitchExpressionContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.SwitchExpressionContext
-
- switchExpressionLabel() - Method in GroovyParser
-
- switchExpressionLabel(int) - Method in GroovyParser.SwitchBlockStatementExpressionGroupContext
-
- SwitchExpressionLabelContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.SwitchExpressionLabelContext
-
- switchLabel() - Method in GroovyParser
-
- switchLabel(int) - Method in GroovyParser.SwitchBlockStatementGroupContext
-
- SwitchLabelContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.SwitchLabelContext
-
- switchPoint - Field in IndyInterface
-
- switchS(org.codehaus.groovy.ast.expr.Expression, List<CaseStatement>, org.codehaus.groovy.ast.stmt.Statement) - Method in GeneralUtils
-
- SwitchStatement - Class in org.codehaus.groovy.ast.stmt
Represents a switch (object) { case value: ... case [1, 2, 3]: ...
- switchStatement(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a SwitchStatement.
- switchStatement() - Method in GroovyParser
-
- switchStatement() - Method in GroovyParser.ConditionalStatementContext
-
- SwitchStatement(org.codehaus.groovy.ast.expr.Expression, List<CaseStatement>, org.codehaus.groovy.ast.stmt.Statement) - Constructor in SwitchStatement
-
Constructs a switch statement with the given control expression, case statements, and default statement.
- SwitchStatementContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.SwitchStatementContext
-
- switchStatements - Field in TypeCheckingContext
-
- switchToFastPath() - Method in DelegatingController
-
- switchToFastPath() - Method in WriterController
-
Switches compilation to fast-path mode for specialized numeric handling.
- switchToSlowPath() - Method in DelegatingController
-
- switchToSlowPath() - Method in WriterController
-
Switches compilation to slow-path mode, reverting to general-purpose bytecode generation.
- SYMBOL - Field in Types
-
- SYNC - Enum Constant in PropertyBinding.UpdateStrategy
-
Always updates synchronously on the event-dispatch thread.
- synchronize() - Method in ListenerList
-
Whether or not the methods created should be synchronized at the method level.
- Synchronized - Annotation Type in groovy.transform
Method annotation to make a method call synchronized for concurrency handling
with some useful baked-in conventions.
- SYNCHRONIZED() - Method in GroovyParser.KeywordsContext
-
- SYNCHRONIZED() - Method in GroovyParser.ModifierContext
-
- SYNCHRONIZED() - Method in GroovyParser.SynchronizedStmtAltContext
-
- SynchronizedASTTransformation - Class in org.codehaus.groovy.transform
Handles generation of code for the @Synchronized annotation.
- SynchronizedStatement - Class in org.codehaus.groovy.ast.stmt
Represents a synchronized statement that provides mutual exclusion for a code block.
- synchronizedStatement(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a SynchronizedStatement.
- SynchronizedStatement(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.stmt.Statement) - Constructor in SynchronizedStatement
-
Constructs a synchronized statement with the given monitor expression and code block.
- SynchronizedStmtAltContext(StatementContext) - Constructor in GroovyParser.SynchronizedStmtAltContext
-
- SyntaxErrorMessage - Class in org.codehaus.groovy.control.messages
A class for error messages produced by the parser system.
- SyntaxErrorMessage(org.codehaus.groovy.syntax.SyntaxException, org.codehaus.groovy.control.SourceUnit) - Constructor in SyntaxErrorMessage
-
- SyntaxErrorReportable - Interface in org.apache.groovy.ginq.dsl
Supports reporting the syntax error of GINQ
- SyntaxException - Class in org.codehaus.groovy.syntax
Base exception class indicating a syntax error detected during parsing.
- SyntaxException(java.lang.String, java.lang.Throwable, int, int, int, int) - Constructor in SyntaxException
-
Constructs a SyntaxException with a cause exception and complete position information.
- syntaxHighlighter - Property in GDKDocTool
-
Syntax highlighter identifier passed to the documentation templates.
- SYNTH_BLOCK - Field in Types
-
- SYNTH_CAST - Field in Types
-
- SYNTH_CLASS - Field in Types
-
- SYNTH_CLOSURE - Field in Types
-
- SYNTH_COMPILATION_UNIT - Field in Types
-
- SYNTH_EXPRESSION - Field in Types
-
- SYNTH_GSTRING - Field in Types
-
- SYNTH_INTERFACE - Field in Types
-
- SYNTH_LABEL - Field in Types
-
- SYNTH_LIST - Field in Types
-
- SYNTH_MAP - Field in Types
-
- SYNTH_METHOD_CALL - Field in Types
-
- SYNTH_METHOD - Field in Types
-
- SYNTH_MIXIN - Field in Types
-
- SYNTH_PARAMETER_DECLARATION - Field in Types
-
- SYNTH_PROPERTY - Field in Types
-
- SYNTH_TERNARY - Field in Types
-
- SYNTH_TUPLE - Field in Types
-
- SYNTH_VARIABLE_DECLARATION - Field in Types
-
- SYNTHETIC_METHODS_COMPLETION - Field in GroovyEngine
-
Option key to enable synthetic method completion
- SYNTHETIC - Field in Types
-
- syntheticBind() - Method in AbstractSyntheticBinding
-
Hooks the synthetic listeners required by this binding.
- syntheticBind() - Method in JListElementsBinding
-
Starts listening to the list model and model replacement events.
- syntheticBind() - Method in JListSelectedElementBinding
-
Starts listening to selection model replacement and selection changes.
- syntheticBindings - Property in BindFactory
-
- syntheticUnbind() - Method in AbstractSyntheticBinding
-
Removes any synthetic listeners installed by this binding.
- syntheticUnbind() - Method in JListElementsBinding
-
Stops listening to the list model and model replacement events.
- syntheticUnbind() - Method in JListSelectedElementBinding
-
Stops listening to selection model replacement and selection changes.
- SYSPROP_SRC_DIR - Field in JavadocAssertionTestSuite
-
The System Property to set as base directory for collection of Classes.
- SYSPROP_SRC_EXCLUDES_PATTERN - Field in JavadocAssertionTestSuite
-
The System Property to set as a filename excludes pattern for collection of Classes.
- SYSPROP_SRC_PATTERN - Field in JavadocAssertionTestSuite
-
The System Property to set as the filename pattern for collection of Classes.
- SYSPROP_TEST_DIR - Field in AllTestSuite
-
The System Property to set as base directory for collection of Test Cases.
- SYSPROP_TEST_EXCLUDES_PATTERN - Field in AllTestSuite
-
The System Property to set as a filename excludes pattern for collection of Test Cases.
- SYSPROP_TEST_PATTERN - Field in AllTestSuite
-
The System Property to set as the filename pattern for collection of Test Cases.
- SYSTEM_CLIPBOARD - Field in StructuredSyntaxResources
-
Shared clipboard used by the console text components.
- SYSTEM_PROPERTIES_SETTING - Field in Grape
-
Argument key for additional system properties.
- SYSTEM - Enum Constant in ThemeManager.ThemeMode
-
Follow the operating system theme.
- systemClassLoader - Field in GrabConfig
-
Set to true if you want to use the system classloader when loading the grape.
- systemDefault(java.time.ZoneOffset) - Method in DateTimeStaticExtensions
-
- systemEnvironment - Property in ConditionEvaluationContext
-
Process environment variables visible to the current JVM.
- systemErrorInterceptor - Property in Console
-
Interceptor that captures stderr.
- systemOutInterceptor - Property in Console
-
Interceptor that captures stdout.
- SystemOutputInterceptor - Class in groovy.console.ui
Intercepts System.out/System.err.
- SystemOutputInterceptor(groovy.lang.Closure, boolean) - Constructor in SystemOutputInterceptor
-
Constructor
- systemProperties - Property in ConditionEvaluationContext
-
Java system properties visible to the current JVM.
- systemProperties - Field in GrabConfig
-
Define any system properties which must be set before invoking the grab - useful for
declaring SSL certificates or proxy settings.
- SystemRegistryImpl - Class in org.apache.groovy.groovysh.jline
Aggregate command registries.
- SystemRegistryImpl.CommandData - Class in org.apache.groovy.groovysh.jline
Holds parsed command data for pipeline execution.
- SystemRegistryImpl.Pipe - Enum in org.apache.groovy.groovysh.jline
Pipe operators used to connect commands in a pipeline.
- SystemRegistryImpl.UnknownCommandException - Class in org.apache.groovy.groovysh.jline
Exception thrown when a command is not recognized.
- SystemRegistryImpl(Parser, org.jline.terminal.Terminal, Supplier<Path>, org.jline.builtins.ConfigurationPath) - Constructor in SystemRegistryImpl
-
Constructs a new SystemRegistryImpl.
- systemTheme(java.util.EventObject) - Method in Console
-
Switches the console to follow the operating system theme.
- SystemUtil - Class in org.apache.groovy.util
Utility methods for interacting with system properties in a safe manner.
- szlig - Field in Entity
-
Entity reference ß.
- t - Field in GroovyParser.AnonymousInnerClassDeclarationContext
-
- t - Field in GroovyParser.ClassBodyContext
-
- t - Field in GroovyParser.ClassBodyDeclarationContext
-
- t - Field in GroovyParser.ClassDeclarationContext
-
- t - Field in GroovyParser.CreatorContext
-
- t - Field in GroovyParser.MemberDeclarationContext
-
- t - Field in GroovyParser.MethodDeclarationContext
-
- t - Field in GroovyParser.PathElementContext
-
- t - Field in GroovyParser.PathExpressionContext
-
- t - Field in GroovyParser.VariableDeclarationContext
-
- tab - Field in ConcurrentReaderHashMap.HashIterator
-
- TAB - Field in DelegatingIndentWriter
-
Tab indentation unit.
- TAB_REPLACEMENT - Field in StructuredSyntaxDocumentFilter
-
Spaces inserted in place of tab characters.
- TAB_SET - Field in StructuredSyntaxHandler
-
Style attribute name for tab sets.
- TabbedPaneFactory - Class in groovy.swing.factory
Factory for creating tabbed panes and collecting per-tab metadata.
- TabbedPaneFactory(java.lang.Class) - Constructor in TabbedPaneFactory
-
Creates a new factory for creating tabbed panes and collecting per-tab metadata
- table - Property in ClosureCellEditor
-
Table currently being edited, or null for tree editing.
- table - Field in ConcurrentReaderHashMap
-
The hash table data.
- tableChanged(javax.swing.event.TableModelEvent) - Method in TableMap
-
Forwards model change notifications to this table model's listeners.
- tableChanged(javax.swing.event.TableModelEvent) - Method in TableSorter
-
Rebuilds the cached row mapping after any delegate table-model change.
- TableFactory - Class in groovy.swing.factory
Factory for creating tables and attaching child models or columns.
- TableFactory(java.lang.Class) - Constructor in TableFactory
-
Creates a new factory for creating tables and attaching child models or columns
- TableLayout - Class in groovy.swing.impl
A lightweight container that arranges children using table-like row and cell semantics.
- TableLayout() - Constructor in TableLayout
-
- TableLayoutCell - Class in groovy.swing.impl
Represents a cell in a table layout.
- TableLayoutCell(groovy.swing.impl.TableLayoutRow) - Constructor in TableLayoutCell
-
Creates a table cell associated with the supplied row.
- TableLayoutFactory - Class in groovy.swing.factory
Factory for creating TableLayout nodes.
- TableLayoutFactory() - Constructor in TableLayoutFactory
-
- TableLayoutRow - Class in groovy.swing.impl
- TableLayoutRow(groovy.swing.impl.TableLayout) - Constructor in TableLayoutRow
-
Creates a row for the supplied table layout.
- TableMap - Class in groovy.swing.table
In a chain of data manipulators some behaviour is common.
- TableModelFactory - Class in groovy.swing.factory
Factory for creating table models.
- TableModelFactory() - Constructor in TableModelFactory
-
- TableSorter - Class in groovy.swing.table
A sorter for TableModels.
- TableSorter(javax.swing.table.TableModel) - Constructor in TableSorter
-
Creates a sorter for the supplied table model.
- tagAsStub(T) - Method in StubberSupport
-
Tag an existing node as a stubber placeholder.
- tagClosure - Property in StreamingDOMBuilder
-
Default element-emitting closure used for ordinary DOM builder nodes.
- tagClosure - Property in StreamingMarkupBuilder
-
Default element-emitting closure used for ordinary builder nodes.
- tagClosure - Property in StreamingSAXBuilder
-
Default element-emitting closure used for ordinary SAX builder nodes.
- TagLibAdapter - Class in groovy.text.markup
Adapts Grails taglibs for use in the template engine.
- TagLibAdapter(groovy.text.markup.BaseTemplate) - Constructor in TagLibAdapter
-
Creates an adapter bound to the supplied template instance.
- tags() - Method in SimpleGroovyDoc
-
Returns the block tags parsed from the raw comment text.
- tail(T) - Method in ArrayGroovyMethods
-
Returns the items from the array excluding the first item.
- tail(T) - Method in DefaultGroovyMethods
-
- tail(org.jline.builtins.PosixCommands.Context, java.lang.Object) - Method in GroovyPosixCommands
-
Prints the end of each requested input.
- TailRecursive - Annotation Type in groovy.transform
Method annotation used to transform methods with tail recursive calls into iterative methods automagically
since the JVM cannot do this itself.
- TailRecursiveASTTransformation - Class in org.codehaus.groovy.transform.tailrec
Handles generation of code for the
- TailRecursive:
- annotation.
- tailRest(java.lang.Object, int, Iterator<?>) - Method in MultipleAssignmentSupport
-
Resolve the value for a tail rest binding (*t) at declarator index
fromIndex.
- tails(Iterable<T>) - Method in DefaultGroovyMethods
-
Calculates the tail values of this Iterable: the first value will be this list of all items from the iterable and the final one will be an empty list, with the intervening values the results of successive applications of tail on the items.
- tails(Iterable<T>) - Method in GroovyCollections
-
- take(T, int) - Method in ArrayGroovyMethods
-
Returns the first num elements from the head of this array.
- take(T, int) - Method in DefaultGroovyMethods
-
- take(java.lang.String, int) - Method in StringGroovyMethods
-
A String variant of the equivalent CharSequence method.
- takeAfter(groovy.lang.GString, java.lang.CharSequence) - Method in StringGroovyMethods
-
- takeBefore(java.lang.String, java.lang.String) - Method in StringGroovyMethods
-
- takeBetween(groovy.lang.GString, java.lang.CharSequence, int) - Method in StringGroovyMethods
-
- takeRight(T, int) - Method in ArrayGroovyMethods
-
Returns the last num elements from the tail of this array.
- takeRight(T, int) - Method in DefaultGroovyMethods
-
- takeRight(groovy.lang.GString, int) - Method in StringGroovyMethods
-
- takeWhile(T, Closure<?>) - Method in ArrayGroovyMethods
-
Returns the longest prefix of this array where each element
passed to the given closure evaluates to true.
- takeWhile(T, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
- takeWhile(groovy.lang.GString, groovy.lang.Closure) - Method in StringGroovyMethods
-
A GString variant of the equivalent GString method.
- tap(AsyncChannel<T>) - Method in AsyncChannel
-
Returns a new channel that receives all values from this channel while
also sending a copy of each value to the tap channel.
- tap(U, Closure<T>) - Method in DefaultGroovyMethods
-
Allows the closure to be called for the object reference self (similar
to with) and always returns self.
- tapEvery(Iterator<U>, Closure<T>) - Method in DefaultGroovyMethods
-
Allows the closure to be called for each element in the iterator.
- target - Field in DelegatesTo
-
In cases when there are multiple @DelegatesTo.Target annotated parameters, this
member should be set to the DelegatesTo.Target#value() of the correct target.
- target - Field in OptimizingStatementWriter.StatementMeta
-
- TargetBinding - Interface in org.apache.groovy.swing.binding
Receives values on the target side of a binding.
- targetBinding - Field in AbstractFullBinding
-
The target side of the binding.
- targetToName(int) - Method in AnnotationNode
-
- targetType - Field in Selector
-
- tb - Field in GroovyParser.ConditionalExprAltContext
-
- tb - Field in GroovyParser.IfElseStatementContext
-
- TDFactory - Class in groovy.swing.factory
Factory for creating TableLayoutCell nodes.
- TDFactory() - Constructor in TDFactory
-
- teal(java.lang.String) - Method in Icons
-
Returns a teal app-themed icon at the fixed menu size.
- tearDown() - Method in GroovyShellTestCase
-
Releases the shell after each test method completes.
- Template - Interface in groovy.text
A template is a block of text with an associated binding that can be output to a writer or evaluated to a string.
- TemplateConfiguration - Class in groovy.text.markup
- TemplateConfiguration(groovy.text.markup.TemplateConfiguration) - Constructor in TemplateConfiguration
-
Creates a configuration by copying values from another instance.
- TemplateEngine - Class in groovy.text
A template engine is a factory for creating a Template instance for a given text input.
- TemplateExecutionException - Class in groovy.text
A custom exception class to flag template execution errors
- TemplateExecutionException(int, java.lang.Throwable) - Constructor in TemplateExecutionException
-
Creates an exception for an execution failure at the supplied template line.
- TemplateParseException - Class in groovy.text
A custom exception class to flag template parsing errors
- TemplateParseException(java.lang.Throwable, int, int) - Constructor in TemplateParseException
-
Creates an exception for a parse failure at the supplied template position.
- TemplateResolver - Interface in groovy.text.markup
Interface for template resolvers, which, given a template identifier, return a URL where the template
can be loaded.
- TemplateServlet - Class in groovy.servlet
A generic servlet for serving (mostly HTML) templates.
- TemplateServlet() - Constructor in TemplateServlet
-
Create new TemplateServlet.
- temporaryIfBranchTypeInformation - Field in TypeCheckingContext
-
Stores information which is valid in the "then" branch of an if-then-else
statement.
- TemporaryMethodKey - Class in org.codehaus.groovy.runtime.metaclass
A temporary implementation of MethodKey used to perform a fast lookup
for a method using a set of arguments to a method
- TemporaryMethodKey(java.lang.Class, java.lang.String, java.lang.Object, boolean) - Constructor in TemporaryMethodKey
-
- TemporaryVariableExpression - Class in org.codehaus.groovy.transform.sc
- TemporaryVariableExpression(org.codehaus.groovy.ast.expr.Expression) - Constructor in TemporaryVariableExpression
-
- terminal() - Method in SystemRegistryImpl
-
Returns the terminal associated with this registry.
- TERMINATE - Enum Constant in FileVisitResult
-
Do not process any more files
- TernaryExpression - Class in org.codehaus.groovy.ast.expr
Represents a ternary expression (booleanExpression) ?
- TernaryExpression(org.codehaus.groovy.ast.expr.BooleanExpression, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Constructor in TernaryExpression
-
- TernaryToIfStatementConverter - Class in org.codehaus.groovy.transform.tailrec
Since a ternary statement has more than one exit point tail-recursiveness testing cannot be easily done.
- ternaryX(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- test(Map.Entry<K,V>) - Method in BooleanClosureForMapPredicate
-
- test(T) - Method in BooleanClosurePredicate
-
- test(org.codehaus.groovy.ast.MethodNode) - Method in HasRecursiveCalls
-
- TEST_SCRIPT_NAME_PREFIX - Field in GroovyAssert
-
Prefix used for synthetic script names created by assertion helpers.
- TEST_SCRIPT_NAME_PREFIX - Field in GroovyTestCase
-
Prefix used when generating temporary script names for test helpers.
- TestNgRunner - Class in org.apache.groovy.plugin.testng
Integration code for running TestNG tests in Groovy.
- text() - Method in Attribute
-
Returns the value of this Attribute.
- text() - Method in Attributes
-
Returns the text of this GPathResult as a
String.
- Returns:
- the text of this GPathResult
- text(groovy.util.NodeList) - Method in DOMCategory
-
Concatenates the text visible from every node in the list.
- text() - Method in GPathResult
-
Returns the text of this GPathResult as a String.
- text() - Method in GroovyTag
-
The text associated with the tag.
- text(java.lang.Object) - Method in HttpBuilder.RequestSpec
-
Sets the request body to the string form of the supplied value.
- TEXT_KEY - Field in Node
-
The key used for text content when a node has both attributes and text.
- text() - Method in NoChildren
-
Returns an empty String.
- text() - Method in Node
-
Returns a string containing the text of the children of this Node.
- text() - Method in NodeChild
-
Returns the text of this GPathResult as a
String.
- Returns:
- the text of this GPathResult
- text() - Method in NodeChildren
-
Returns the text of this GPathResult as a
String.
- Returns:
- the text of this GPathResult
- text() - Method in NodeList
-
Returns the text value of all of the elements in the collection.
- text() - Method in SimpleGroovyTag
-
The text associated with the tag.
- TextArgWidgetFactory - Class in groovy.swing.factory
Factory for creating widgets that accept a text value argument.
- TextArgWidgetFactory(java.lang.Class) - Constructor in TextArgWidgetFactory
-
Creates a new factory for creating widgets that accept a text value argument
- TextEditor - Class in groovy.console.ui.text
A simple text pane that is printable and wrapping is optional.
- TextEditor(boolean, boolean, boolean) - Constructor in TextEditor
-
Creates a new instance of TextEditor
- TextNode - Class in groovy.console
Represents a plain text node for use in the AST tree made by ASTBrowser.
- TextNode(java.lang.Object, List<List<?>>) - Constructor in TextNode
-
Creates a node with the supplied display value and metadata.
- textSelectionEnd - Property in Console
-
Selection end cached from the caret listener.
- textSelectionStart - Property in Console
-
Selection start cached from the caret listener.
- TextTreeNodeMaker - Class in groovy.console
Factory for the text nodes displayed by ASTBrowser.
- TextTreeNodeMaker() - Constructor in TextTreeNodeMaker
-
- TextUndoManager - Class in groovy.console.ui.text
To use this, simply drop this as an UndoableEditListener into your document,
and then create actions to call undo/redo as needed (checking can undo/redo
first, of course).
- TextUndoManager() - Constructor in TextUndoManager
-
Creates a new instance of TextUndoManager.
- tgOp - Field in GroovyParser.ShiftExprAltContext
-
- theCachedClass - Field in MetaClassImpl
-
- theClass - Field in MetaClassImpl
-
Java class represented by this meta class.
- theme - Property in GDKDocTool
-
Theme name passed to the documentation templates.
- ThemeManager - Class in groovy.console.ui
Manages theme state (light/dark/system) for GroovyConsole.
- ThemeManager.ThemeMode - Enum in groovy.console.ui
Available theme selection modes for the console.
- ThemeManager() - Constructor in ThemeManager
-
- then(Function<? super T,? extends U>) - Method in Awaitable
-
Returns a new Awaitable whose result is obtained by applying the
given function to this awaitable's result when it completes.
- then(Function<? super T,? extends U>) - Method in DataflowVariable
-
Returns a new
Awaitable whose result is obtained by applying the
given function to this awaitable's result when it completes.
- Parameters:
fn - the mapping function
- Type Parameters:
U - the type of the mapped result
- Returns:
- a new awaitable holding the mapped result
- then(Function<? super T,? extends U>) - Method in GroovyPromise
-
Returns a new
Awaitable whose result is obtained by applying the
given function to this awaitable's result when it completes.
- Parameters:
fn - the mapping function
- Type Parameters:
U - the type of the mapped result
- Returns:
- a new awaitable holding the mapped result
- thenAccept(Consumer<? super T>) - Method in Awaitable
-
Returns a new Awaitable that, when this one completes normally,
invokes the given consumer and completes with null.
- thenCompose(Function<? super T,? extends Awaitable<U>>) - Method in Awaitable
-
Returns a new Awaitable produced by applying the given async
function to this awaitable's result, flattening the nested Awaitable.
- thenCompose(Function<? super T,? extends Awaitable<U>>) - Method in DataflowVariable
-
Returns a new
Awaitable produced by applying the given async
function to this awaitable's result, flattening the nested
Awaitable.
This is the monadic
flatMap operation for awaitables.
- Parameters:
fn - the async mapping function that returns an Awaitable
- Type Parameters:
U - the type of the inner awaitable's result
- Returns:
- a new awaitable holding the inner result
- thenCompose(Function<? super T,? extends Awaitable<U>>) - Method in GroovyPromise
-
Returns a new
Awaitable produced by applying the given async
function to this awaitable's result, flattening the nested
Awaitable.
This is the monadic
flatMap operation for awaitables.
- Parameters:
fn - the async mapping function that returns an Awaitable
- Type Parameters:
U - the type of the inner awaitable's result
- Returns:
- a new awaitable holding the inner result
- thinsp - Field in Entity
-
Entity reference .
- ThirdGenericType() - Constructor in FirstParam.ThirdGenericType
-
Creates a hint that selects the third generic type of the first parameter.
- ThirdGenericType() - Constructor in SecondParam.ThirdGenericType
-
Creates a hint that selects the third generic type of the second parameter.
- ThirdGenericType() - Constructor in ThirdParam.ThirdGenericType
-
Creates a hint that selects the third generic type of the third parameter.
- ThirdParam - Class in groovy.transform.stc
- ThirdParam.Component - Class in groovy.transform.stc
- ThirdParam.FirstGenericType - Class in groovy.transform.stc
- ThirdParam.SecondGenericType - Class in groovy.transform.stc
- ThirdParam.ThirdGenericType - Class in groovy.transform.stc
- ThirdParam() - Constructor in ThirdParam
-
Creates a hint that selects the third parameter type.
- THIS - Field in ClassNode
-
- THIS_EXPRESSION - Field in VariableExpression
-
- THIS() - Method in GroovyParser.KeywordsContext
-
- THIS() - Method in GroovyParser.ThisFormalParameterContext
-
- THIS() - Method in GroovyParser.ThisPrmrAltContext
-
- THIS_OBJECT - Field in ClosureWriter
-
- THIS_OBJECT - Field in Traits
-
- THIS_VARIABLE - Field in BytecodeVariable
-
- thisCall - Field in Selector
-
- thisFormalParameter() - Method in GroovyParser
-
- thisFormalParameter() - Method in GroovyParser.FormalParameterListContext
-
- ThisFormalParameterContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.ThisFormalParameterContext
-
- ThisPrmrAltContext(PrimaryContext) - Constructor in GroovyParser.ThisPrmrAltContext
-
- thisPropX(boolean, java.lang.String) - Method in GeneralUtils
-
- thorn - Field in Entity
-
Entity reference þ.
- ThreadHelper - Class in org.apache.groovy.util.concurrent
Helper for starting threads that prefers virtual threads when running
on Java 21+, falling back to platform threads on older runtimes.
- ThreadInterrupt - Annotation Type in groovy.transform
Allows "interrupt-safe" executions of scripts by adding Thread.currentThread().isInterrupted()
checks into loops (for, while) and at the start of closures and methods.
- threadInterrupt - Property in Console
-
Whether the @ThreadInterrupt transform is applied to scripts.
- threadInterruptAction - Property in Console
-
Action that toggles thread interruption support.
- ThreadInterruptibleASTTransformation - Class in org.codehaus.groovy.transform
Allows "interrupt-safe" executions of scripts by adding Thread.currentThread().isInterrupted()
checks on loops (for, while, do) and first statement of closures.
- ThreadInterruptibleASTTransformation() - Constructor in ThreadInterruptibleASTTransformation
-
- threadInterruption(java.util.EventObject) - Method in Console
-
Toggles the @ThreadInterrupt transform for future scripts.
- ThreadManagedMetaBeanProperty - Class in org.codehaus.groovy.runtime.metaclass
This MetaBeanProperty will create a pseudo property whose value is bound to an object
using weak references.
- ThreadManagedMetaBeanProperty(java.lang.Class, java.lang.String, java.lang.Class, groovy.lang.Closure) - Constructor in ThreadManagedMetaBeanProperty
-
Constructs a new ThreadManagedBeanProperty for the given arguments
- THREADSAFE() - Method in GroovyParser.KeywordsContext
-
- threshold - Field in ConcurrentReaderHashMap
-
The table is rehashed when its size exceeds this threshold.
- THROW() - Method in GroovyParser.KeywordsContext
-
- THROW() - Method in GroovyParser.ThrowStmtAltContext
-
- throwException(java.lang.String) - Method in AsmClassGenerator
-
- thrown() - Method in ConditionalInterrupt
-
Sets the type of exception which is thrown.
- THROWN_EXCEPTION_TYPE - Field in AbstractInterruptibleASTTransformation
-
- thrown() - Method in ThreadInterrupt
-
Sets the type of exception which is thrown.
- thrown() - Method in TimedInterrupt
-
The type of exception thrown when timeout is reached.
- thrownExceptions() - Method in GroovyExecutableMemberDoc
-
Returns the checked exceptions declared by this executable.
- thrownExceptions() - Method in SimpleGroovyExecutableMemberDoc
-
Returns the checked exceptions declared by this executable.
- Returns:
- the declared exceptions
- thrownExceptionType - Field in AbstractInterruptibleASTTransformation
-
- thrownExceptionTypes() - Method in GroovyExecutableMemberDoc
-
Returns the checked exception types declared by this executable.
- thrownExceptionTypes() - Method in SimpleGroovyExecutableMemberDoc
-
Returns the checked exception types declared by this executable.
- Returns:
- the declared exception types
- throwParserException() - Method in RuntimeParserException
-
- throwRuntimeException(java.lang.Throwable) - Method in Closure
-
Throws the supplied throwable as a runtime exception, wrapping checked throwables.
- throwS(org.codehaus.groovy.ast.expr.Expression) - Method in GeneralUtils
-
- THROWS() - Method in GroovyParser.KeywordsContext
-
- THROWS() - Method in GroovyParser.MethodDeclarationContext
-
- ThrowStatement - Class in org.codehaus.groovy.ast.stmt
Represents a throw statement that raises an exception.
- throwStatement(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a ThrowStatement.
- ThrowStatement(org.codehaus.groovy.ast.expr.Expression) - Constructor in ThrowStatement
-
Constructs a throw statement with the given exception expression.
- ThrowStmtAltContext(StatementContext) - Constructor in GroovyParser.ThrowStmtAltContext
-
- throwSyntaxError(java.lang.String, Tuple2<Integer,Integer>, boolean) - Method in SyntaxErrorReportable
-
- tilde - Field in Entity
-
Entity reference ˜.
- TIME - Field in Sql
-
Stored procedure OUT parameter marker for JDBC type
TIME.
- TimeCategory - Class in groovy.time
Apply a number of methods to allow convenient Date/Time manipulation,such as:
use (groovy.time.TimeCategory) {
// application on numbers:
println 1.minute.from.now
println 10.hours.ago
- TimeDatumDependentDuration - Class in groovy.time
TimeDatumDuration represents a time period which results from an
arithmetic operation between a TimeDuration object and a DatumDuration object
- TimeDatumDependentDuration(int, int, int, int, int, int, int) - Constructor in TimeDatumDependentDuration
-
Creates a mixed time and datum-dependent duration.
- TimedInterrupt - Annotation Type in groovy.transform
Allows safe timed executions of scripts by adding elapsed time checks into loops (for, while)
and at the start of closures and methods and throwing an exception if a timeout occurs.
- TimedInterruptibleASTTransformation - Class in org.codehaus.groovy.transform
Allows "interrupt-safe" executions of scripts by adding timer expiration
checks on loops (for, while, do) and first statement of closures.
- TimedInterruptibleASTTransformation() - Constructor in TimedInterruptibleASTTransformation
-
- TimeDuration - Class in groovy.time
- TimeDuration(int, int, int, int, int) - Constructor in TimeDuration
-
Creates a time duration with an optional day component.
- Timeout - Annotation Type in groovy.http
Overrides the request timeout for a specific method in an
HttpBuilderClient interface.
- timeout - Property in HttpBuilder.RequestSpec
-
Request-specific timeout overriding the builder default.
- times(java.lang.Number, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
Executes the closure this many times, starting from zero.
- times - Field in Entity
-
Entity reference ×.
- TIMESTAMP - Field in Sql
-
Stored procedure OUT parameter marker for JDBC type
TIMESTAMP.
- timezone - Field in DefaultJsonGenerator
-
Time zone used when formatting
Date values.
- timezone - Field in JsonGenerator.Options
-
Time zone used when serializing dates.
- TINYINT - Field in Sql
-
Stored procedure OUT parameter marker for JDBC type
TINYINT.
- title - Property in GDKDocTool
-
Title used for generated documentation pages.
- TitledBorderFactory - Class in groovy.swing.factory
The node must be called with either a value argument or a title: attribute.
- TitledBorderFactory() - Constructor in TitledBorderFactory
-
- to - Field in RangeInfo
-
- TO_SELF - Field in Closure
-
With this resolveStrategy set the closure will resolve property references to itself and go
through the usual MetaClass look-up process.
- toAbsolutePath() - Method in WritablePath
-
{@inheritDoc}
- toAnnotationNode(java.lang.annotation.Annotation) - Method in Java8
-
- toArray(U) - Method in ListWithDefault
-
{@inheritDoc}
- toArray() - Method in ListWrapperListModel
-
Copies the backing list into a new object array.
- toArray(T) - Method in ManagedConcurrentLinkedQueue
-
Returns an array containing all values from this queue in the sequence they
were added.
- toArray(java.lang.Object) - Method in ObservableList
-
{@inheritDoc}
- toArray(T) - Method in ObservableSet
-
{@inheritDoc}
- toArray(Stream<? extends T>, Class<T>) - Method in PluginDefaultGroovyMethods
-
- toArray(Stream<? extends T>, Class<T>) - Method in StreamGroovyMethods
-
Returns an array containing the elements of the stream.
- toArray(T) - Method in Tuple
-
{@inheritDoc}
- toArrayString(java.lang.Object) - Method in DefaultGroovyMethods
-
- toArrayString(java.lang.Object, int, boolean) - Method in FormatHelper
-
A helper method to return the string representation of an array of objects
with brace boundaries "[" and "]".
- toArrayString(java.lang.Object, int, boolean) - Method in InvokerHelper
-
- toAwaitable(java.lang.Object) - Method in AwaitableAdapter
-
Converts the given source object to an
Awaitable.
- toAwaitable(java.lang.Object) - Method in FlowPublisherAdapter
-
- toAwaitable(java.lang.Object) - Method in ReactorAwaitableAdapter
-
Converts a Mono into an
Awaitable backed by the mono's
{@linkplain Mono#toFuture() future view}.
- toAwaitable(java.lang.Object) - Method in RxJavaAwaitableAdapter
-
Converts supported RxJava single-result sources into an
Awaitable.
- toBigDecimal(java.lang.Number) - Method in DefaultGroovyMethods
-
Transforms a Number into a BigDecimal.
- toBigDecimal() - Method in GPathResult
-
Converts the text of this GPathResult to a BigDecimal object.
- toBigDecimal() - Method in Node
-
Converts the text of this GPathResult to a BigDecimal object.
- toBigDecimal(java.lang.Number) - Method in NumberMath
-
- toBigDecimal(java.lang.CharSequence) - Method in StringGroovyMethods
-
Parses a CharSequence into a BigDecimal
- toBigInteger(java.lang.Number) - Method in DefaultGroovyMethods
-
Transforms this Number into a BigInteger.
- toBigInteger() - Method in GPathResult
-
Converts the text of this GPathResult to a BigInteger object.
- toBigInteger() - Method in Node
-
Converts the text of this GPathResult to a BigInteger object.
- toBigInteger(java.lang.Number) - Method in NumberMath
-
- toBigInteger(java.lang.CharSequence) - Method in StringGroovyMethods
-
Parses a CharSequence into a BigInteger
- toBoolean(java.lang.Boolean) - Method in DefaultGroovyMethods
-
Identity conversion which returns Boolean.TRUE for a true Boolean and Boolean.FALSE for a false Boolean.
- toBoolean() - Method in GPathResult
-
Converts the text of this GPathResult to a Boolean object.
- toBoolean(java.lang.String) - Method in StringGroovyMethods
-
Converts the given string into a Boolean object.
- toCalendar(java.time.ZonedDateTime) - Method in DateTimeExtensions
-
Returns a generally equivalent instance of
Calendar.
- toCalendar(java.util.Date) - Method in DateUtilExtensions
-
Convert a Date to a Calendar.
- toCharacter(java.lang.String) - Method in StringGroovyMethods
-
Converts the given string into a Character object
using the first character in the string.
- toCharArray() - Method in CharBuf
-
Returns the backing character array.
- toCharArray(java.lang.String) - Method in DefaultFastStringService
-
- Parameters:
string - string to grab array from.
- Returns:
- char array from string
- toCharArray(java.lang.String) - Method in FastStringService
-
- Parameters:
string - string to grab array from.
- toCharArray(java.lang.CharSequence) - Method in FastStringUtils
-
- Parameters:
charSequence - to grab array from.
- toCharArray() - Method in GStringImpl
-
- toCompilerConfiguration() - Method in FileSystemCompiler.CompilationOptions
-
- toCompletableFuture() - Method in Awaitable
-
Converts this
Awaitable to a JDK
CompletableFuture
for interoperability with APIs that require it.
- toCompletableFuture() - Method in DataflowVariable
-
Converts this
Awaitable to a JDK
CompletableFuture
for interoperability with APIs that require it.
- Returns:
- a
CompletableFuture representing this computation
- toCompletableFuture() - Method in GroovyPromise
-
Converts this
Awaitable to a JDK
CompletableFuture
for interoperability with APIs that require it.
- Returns:
- a
CompletableFuture representing this computation
- toCsv(Collection<T>, Class<T>) - Method in CsvBuilder
-
Convert a collection of typed objects to CSV using Jackson databinding.
- toDate(java.util.TimeZone, int, int, int, int, int, int, int) - Method in Dates
-
Creates a
Date from date-time fields including milliseconds.
- toDate(java.time.ZonedDateTime) - Method in DateTimeExtensions
-
Returns a generally equivalent instance of
Date.
- toDayOfWeek(java.util.Date) - Method in DateTimeExtensions
-
Converts the Date to a corresponding
DayOfWeek.
- toDebugString() - Method in CharBuf
-
Returns a debug view of the current buffer state.
- toDouble(java.lang.Number) - Method in DefaultGroovyMethods
-
Transforms a Number into a Double.
- toDouble() - Method in GPathResult
-
Converts the text of this GPathResult to a Double object.
- toDouble() - Method in Node
-
Converts the text of this GPathResult to a Double object.
- toDouble(java.lang.CharSequence) - Method in StringGroovyMethods
-
Parses a CharSequence into a Double.
- toEnum(Class<T>, int) - Method in CharSequenceValue
-
Resolves an enum constant from its ordinal.
- toEnum(Class<T>, int) - Method in NumberValue
-
Resolves an enum constant from its ordinal.
- toEnum(Class<T>) - Method in Value
-
Converts this token to an enum constant.
- toEnum(Class<T>) - Method in ValueContainer
-
Returns the cached enum instance stored in this wrapper.
- toFile() - Method in WritablePath
-
{@inheritDoc}
- toFloat(java.lang.Number) - Method in DefaultGroovyMethods
-
Transforms a Number into a Float.
- toFloat() - Method in GPathResult
-
Converts the text of this GPathResult to a Float object.
- toFloat() - Method in Node
-
Converts the text of this GPathResult to a Float object.
- toFloat(java.lang.CharSequence) - Method in StringGroovyMethods
-
Parses a CharSequence into a Float.
- toGenericTypesString(org.codehaus.groovy.ast.GenericsType) - Method in GenericsUtils
-
- toInstant(java.util.Calendar) - Method in DateTimeExtensions
-
Convenience method for converting a Calendar to a corresponding
Instant.
- toInteger(java.lang.Number) - Method in DefaultGroovyMethods
-
Transforms a Number into an Integer.
- toInteger() - Method in GPathResult
-
Converts the text of this GPathResult to an Integer object.
- toInteger() - Method in Node
-
Converts the text of this GPathResult to an Integer object.
- toInteger(java.lang.CharSequence) - Method in StringGroovyMethods
-
Parses a CharSequence into an Integer.
- toIntegerWrapper() - Method in CharBuf
-
Parses the buffered characters as either an Integer or Long.
- toIterable(java.lang.Object) - Method in AsyncSupport
-
Converts an arbitrary source to an
Iterable for use in
for await loops.
- toIterable(java.lang.Object) - Method in AwaitableAdapter
-
Converts the given source object to an
Iterable.
- toIterable(java.lang.Object) - Method in AwaitableAdapterRegistry
-
Converts the given source to an
Iterable for
for await.
- toIterable(java.lang.Object) - Method in FlowPublisherAdapter
-
- toIterable(java.lang.Object) - Method in ReactorAwaitableAdapter
-
Converts a Flux into a blocking
Iterable suitable for
for await consumption.
- toIterable(java.lang.Object) - Method in RxJavaAwaitableAdapter
-
Converts supported RxJava multi-result sources into blocking iterables
suitable for for await consumption.
- toJson(java.lang.Object) - Method in DefaultJsonGenerator
-
Converts an object to its JSON representation.
- Parameters:
object - to convert to JSON
- Returns:
- JSON
- toJson(java.lang.Object) - Method in GroovyEngine
-
Converts an object to JSON format.
- toJson(java.lang.Object) - Method in JsonGenerator
-
Converts an object to its JSON representation.
- toJson(java.util.Map) - Method in JsonOutput
-
- Returns:
- a JSON object representation for a map
- toJson(java.lang.Object) - Method in Utils
-
Serializes an object to JSON, pretty-printing structured values when useful.
- Token - Class in org.codehaus.groovy.syntax
A
CSTNode produced by the Lexer during lexical analysis.
- token(java.lang.String) - Method in AstSpecificationCompiler
-
Creates a token.
- token(Closure<Boolean>) - Method in MatchingConstraintsBuilder
-
Configures a token predicate.
- Token(int, java.lang.String, int, int) - Constructor in Token
-
Constructs a Token with the specified type, text, and source position.
- tokenAsSql(org.codehaus.groovy.syntax.Token) - Method in SqlWhereVisitor
-
Maps a Groovy AST token to its SQL operator representation.
- TokenException - Class in org.codehaus.groovy.syntax
Exception thrown when a token-related error is encountered during parsing.
- TokenException(java.lang.String, java.lang.Throwable, int, int, int, int) - Constructor in TokenException
-
Constructs a TokenException with explicit position range and a cause.
- tokenize(java.lang.String) - Method in AbstractASTTransformation
-
Tokenizes a string into a list of individual tokens using comma and space as delimiters.
- tokenize(java.lang.CharSequence, java.lang.CharSequence) - Method in StringGroovyMethods
-
Tokenizes a CharSequence based on the given CharSequence.
- tokenizeUnquoted(java.lang.String) - Method in StringHelper
-
This method tokenizes a string by space characters,
but ignores spaces in quoted parts,that are parts in
'' or "".
- TokenMismatchException - Class in org.codehaus.groovy.syntax
Exception thrown when a parser encounters a token of an unexpected type.
- TokenMismatchException(org.codehaus.groovy.syntax.Token, int) - Constructor in TokenMismatchException
-
Constructs a TokenMismatchException.
- tokenNames - Field in GroovyLexer
-
- tokenNames - Field in GroovyParser
-
- tokenPredicate - Property in MatchingConstraints
-
- tokenPredicate - Property in MatchingConstraintsBuilder
-
Predicate used to compare tokens.
- tokenType() - Method in SimpleGroovyDoc
-
Returns the parsed token type for this element.
- TokenUtil - Class in org.codehaus.groovy.syntax
Utility methods for working with tokens and operators.
- toList(T) - Method in ArrayGroovyMethods
-
Converts this array to a List of the same size, with each element
added to the list.
- toList(T) - Method in DefaultGroovyMethods
-
- toList() - Method in FastArray
-
Returns a list view of the populated elements.
- toList(BaseStream<T,? extends BaseStream>) - Method in PluginDefaultGroovyMethods
-
- toList() - Method in Queryable
-
- toList - Field in RecordOptions
-
If true, this adds a method toList() to the record
which returns the record's components as a list.
- toList(BaseStream<T,? extends BaseStream>) - Method in StreamGroovyMethods
-
Accumulates the elements of stream into a new List.
- toList(java.lang.CharSequence) - Method in StringGroovyMethods
-
Converts the given CharSequence into a List of Strings of one character.
- toListString(java.util.Collection, int) - Method in DefaultGroovyMethods
-
Returns the string representation of the given list.
- toListString(java.util.Collection, int, boolean) - Method in FormatHelper
-
A helper method to return the string representation of a list with bracket boundaries "[" and "]".
- toListString(java.util.Collection, int, boolean) - Method in InvokerHelper
-
- toLocalDate(java.util.Date) - Method in DateTimeExtensions
-
Converts the Date to a corresponding
LocalDate.
- toLocalDateTime(java.util.Date) - Method in DateTimeExtensions
-
- toLocalTime(java.util.Date) - Method in DateTimeExtensions
-
Converts the Date to a corresponding
LocalTime.
- toLong(java.lang.Number) - Method in DefaultGroovyMethods
-
Transforms a Number into a Long.
- toLong() - Method in GPathResult
-
Converts the text of this GPathResult to a Long object.
- toLong() - Method in Node
-
Converts the text of this GPathResult to a Long object.
- toLong(java.lang.CharSequence) - Method in StringGroovyMethods
-
Parses a CharSequence into a Long
- toLowerCase(java.lang.Character) - Method in DefaultGroovyMethods
-
Converts the character to lowercase.
- toLowerCase() - Method in GStringImpl
-
- toMap(java.lang.Object) - Method in GroovyEngine
-
Converts an object to a map representation.
- toMap() - Method in Node
-
Converts this Node tree into a nested Map<String, Object>.
- toMap - Field in RecordOptions
-
If true, this adds a method toMap() to the record.
- toMap(java.lang.Object) - Method in Utils
-
Converts an object into a map representation suited for shell persistence.
- toMapString(java.util.Map, int) - Method in DefaultGroovyMethods
-
Returns the string representation of this map.
- toMapString(java.util.Map, int) - Method in FormatHelper
-
A helper method to return the string representation of a map with bracket boundaries "[" and "]".
- toMapString(java.util.Map, int) - Method in InvokerHelper
-
- toMapStringClosure - Property in AbstractStreamingBuilder
-
Utility closure for rendering map entries as pseudo-attribute text, e.g. in processing instructions.
- toMilliseconds() - Method in BaseDuration
-
Converts this duration to milliseconds.
- toMilliseconds() - Method in DatumDependentDuration
-
- toMilliseconds() - Method in Duration
-
Converts this duration to milliseconds assuming 24-hour days.
- TomlBuilder - Class in groovy.toml
A builder for creating TOML payloads.
- TomlBuilder() - Constructor in TomlBuilder
-
Creates an empty builder ready to assemble a TOML document.
- TomlConverter - Class in org.apache.groovy.toml.util
Converts between TOML and JSON text representations.
- TomlRuntimeException - Class in groovy.toml
Represents a runtime exception raised while parsing or building TOML.
- TomlRuntimeException(java.lang.String, java.lang.Throwable) - Constructor in TomlRuntimeException
-
Creates an exception with both a detail message and an underlying cause.
- TomlSlurper - Class in groovy.toml
Represents a TOML parser
- TomlSlurper() - Constructor in TomlSlurper
-
Creates a TOML parser that produces standard Groovy data structures.
- toMonth(java.util.Date) - Method in DateTimeExtensions
-
Converts the Date to a corresponding
Month.
- toMonthDay(java.util.Date) - Method in DateTimeExtensions
-
Converts the Date to a corresponding
MonthDay.
- toObject(java.lang.String) - Method in Utils
-
Parses JSON text into the corresponding Groovy object graph.
- toOffsetDateTime(java.util.Date) - Method in DateTimeExtensions
-
- toOffsetTime(java.util.Date) - Method in DateTimeExtensions
-
- toolbar - Property in Console
-
Toolbar component shown above the editor.
- toolbar(java.lang.String) - Method in Icons
-
Returns a neutral resizable toolbar icon.
- toolbarAmber(java.lang.String) - Method in Icons
-
Returns an amber resizable toolbar icon.
- toolbarBlue(java.lang.String) - Method in Icons
-
Returns a blue resizable toolbar icon.
- toolbarGreen(java.lang.String) - Method in Icons
-
Returns a green resizable toolbar icon.
- toolbarJavaBlue(java.lang.String) - Method in Icons
-
Returns a Java-brand blue resizable toolbar icon.
- toolbarRed(java.lang.String) - Method in Icons
-
Returns a red resizable toolbar icon.
- toolbarSubtleBlue(java.lang.String) - Method in Icons
-
Returns a muted blue resizable toolbar icon.
- toolbarTeal(java.lang.String) - Method in Icons
-
Returns a teal resizable toolbar icon.
- toolbarViolet(java.lang.String) - Method in Icons
-
Returns a violet resizable toolbar icon.
- TooManyValuesException - Class in org.apache.groovy.ginq.provider.collection.runtime
Thrown when too many values returned by sub-query in the select clause
- TooManyValuesException(java.lang.String) - Constructor in TooManyValuesException
-
Creates an exception for a sub-query that returned too many values.
- toPrettyString() - Method in JsonBuilder
-
Pretty-prints and formats the JSON payload.
- toProcessBuilder(java.util.List) - Method in ProcessGroovyMethods
-
- toProperties(java.lang.String) - Method in ConfigObject
-
Converts this ConfigObject ino the java.util.Properties format, flatten the tree and prefixing all entries with the given prefix
- toRealPath(java.nio.file.LinkOption) - Method in WritablePath
-
{@inheritDoc}
- toRowResult(java.sql.ResultSet) - Method in SqlExtensions
-
Returns a GroovyRowResult given a ResultSet.
- toSet(T) - Method in ArrayGroovyMethods
-
Converts this array to a Set, with each unique element added to the set.
- toSet(double[]) - Method in DefaultGroovyMethods
-
- toSet(BaseStream<T,? extends BaseStream>) - Method in PluginDefaultGroovyMethods
-
- toSet(BaseStream<T,? extends BaseStream>) - Method in StreamGroovyMethods
-
Accumulates the elements of stream into a new Set.
- toSet(java.lang.CharSequence) - Method in StringGroovyMethods
-
Converts the given CharSequence into a Set of unique Strings of one character.
- toShort(java.lang.CharSequence) - Method in StringGroovyMethods
-
Parses a CharSequence into a Short.
- toSorted(T, Closure<?>) - Method in ArrayGroovyMethods
-
Sorts the elements from this array into a newly created array using
the Closure to determine the correct ordering.
- toSorted(T, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
- toSpreadMap(java.lang.Object) - Method in ArrayGroovyMethods
-
Creates a spreadable map from this array.
- toSpreadMap(java.lang.Object) - Method in DefaultGroovyMethods
-
- ToString - Annotation Type in groovy.transform
Class annotation used to assist in the creation of toString() methods in classes.
- toString() - Method in Agent
-
Returns the current value in a diagnostic form.
- toString() - Method in AnnotationConstantExpression
-
- toString() - Method in AnnotationNode
-
- toString() - Method in AntProjectPropertiesDelegate
-
Returns the string form of the delegated property map.
- toString() - Method in ArrayClassDocWrapper
-
The qualified name including any dimension information.
For example, a two-dimensional array of String returns
"java.lang.String[][]", and the parameterized type
List<Integer> returns "java.util.List<java.lang.Integer>".
- toString() - Method in ArrayExpression
-
- toString(java.lang.Object) - Method in ArrayGroovyMethods
-
Returns the string representation of the given array.
- toString() - Method in AwaitResult
-
Returns a human-readable representation of this result:
AwaitResult.Success[value] or AwaitResult.Failure[error].
- toString() - Method in BaseDuration
-
Returns a human-readable representation of this duration.
- toString() - Method in BaseTemplate
-
Renders this template to a string by writing it to an in-memory buffer.
- toString() - Method in BinaryExpression
-
- toString() - Method in BlockStatement
-
- toString() - Method in BytecodeVariable
-
- toString() - Method in CachedClass
-
- toString() - Method in CachedConstructor
-
Returns the string representation of this cached constructor.
- toString() - Method in CachedMethod
-
Returns the string representation of the underlying Java method.
- toString() - Method in CaseStatement
-
- toString() - Method in CastExpression
-
- toString() - Method in ChannelSelect.Result
-
Returns a diagnostic representation of this selection result.
- toString() - Method in CharBuf
-
Returns the buffered characters as a string.
- toString() - Method in CharSequenceReader
-
Return a String representation of the underlying
character sequence.
- toString() - Method in CharSequenceValue
-
Returns the current character slice without additional decoding.
- toString() - Method in ClassExpression
-
- toString(boolean) - Method in ClassNode
-
Returns a string representation of this ClassNode with optional redirect information.
- toString() - Method in ClosureExpression
-
- toString() - Method in CommonCache
-
- toString() - Method in CompilePhaseAdapter
-
Returns the label shown in the phase picker.
- toString() - Method in ConcurrentReaderHashMap.Entry
-
- toString() - Method in ConcurrentReferenceHashMap.SimpleEntry
-
{@inheritDoc}
- toString() - Method in ConfigObject
-
{@inheritDoc}
- toString() - Method in ConstantExpression
-
- toString() - Method in ConstructorCallExpression
-
- toString() - Method in ConversionHandler
-
Returns a String version of the delegate.
- toString() - Method in ConvertedMap
-
- toString() - Method in CSTNode
-
Returns a formatted string representation of this node and its children.
- toString() - Method in CsvBuilder
-
Returns the CSV content built so far, or an empty string if no data has been written yet.
- toString() - Method in DataflowVariable
-
Returns the current bound state in a diagnostic form.
- toString() - Method in DefaultActor
-
- toString() - Method in DefaultAsyncChannel
-
- toString() - Method in DefaultAsyncScope
-
- toString(java.lang.Object) - Method in DefaultGroovyMethods
-
- toString() - Method in DefaultJsonGenerator.ClosureConverter
-
Returns a string form that includes the handled type.
- toString() - Method in DefaultPool
-
- toString() - Method in DefaultTableColumn
-
Returns a debug-friendly description of this column and its backing value model.
- toString() - Method in DelegatingMetaClass
-
{@inheritDoc}
- toString(java.lang.Object) - Method in DOMCategory
-
Renders a DOMCategory value in a GPath-friendly string form.
- toString() - Method in EmptyRange
-
{@inheritDoc}
- toString(java.lang.Exception) - Method in Exceptions
-
Formats an exception and its stack trace for debug output.
- toString() - Method in Expando
-
This allows toString to be overridden by a closure field method attached
to the expando object.
- toString() - Method in ExpressionStatement
-
- toString() - Method in ExtensionModule
-
- toString() - Method in FastArray
-
Returns a list-style string containing the populated elements.
- toString() - Method in FieldExpression
-
- toString(Map<String,Object>, java.lang.Object) - Method in FormatHelper
-
Output the toString for the argument(s) with various options to configure.
- toString() - Method in FromExpression
-
Returns the textual form of this clause.
- toString() - Method in GenericsType
-
- toString() - Method in GenericsType.GenericsTypeName
-
Returns the string representation of this generics type name.
- toString() - Method in GinqExpression
-
Returns the textual form of this expression.
- toString() - Method in GPathResult
-
Returns the text of this GPathResult.
- toString() - Method in GroovyBugError
-
Returns a String representation of this class by calling getMessage().
- toString() - Method in Groovydoc
-
{@inheritDoc}
- toString() - Method in GroovydocTag
-
{@inheritDoc}
- toString(java.lang.Object) - Method in GroovyEngine
-
Converts an object to Groovy string format.
- toString() - Method in GroovyMBean
-
Return an end user readable representation of the underlying MBean
- toString() - Method in GroovyPromise
-
Returns a human-readable representation showing the promise state:
GroovyPromise{pending}, GroovyPromise{completed}, or
GroovyPromise{failed}.
- toString() - Method in GroovyResultSetExtension
-
Returns a string representation of the current row.
- toString() - Method in GroovyRowResult
-
Returns this row in standard map form.
- toString() - Method in GroovyRunnerRegistry
-
- toString() - Method in GroovyType
-
The qualified name including any dimension information.
- toString() - Method in GroupExpression
-
Returns the textual form of this clause.
- toString() - Method in GString
-
{@inheritDoc}
- toString() - Method in GStringExpression
-
- toString() - Method in GStringImpl
-
- toString() - Method in HavingExpression
-
Returns the textual form of this clause.
- toString() - Method in IntRange
-
{@inheritDoc}
- toString(java.lang.Object) - Method in InvokerHelper
-
- toString() - Method in IO.Verbosity
-
- toString() - Method in JoinExpression
-
Returns the textual form of this clause.
- toString() - Method in JsonBuilder
-
Serializes the internal data structure built with the builder to a conformant JSON payload string
- toString() - Method in JsonOutput.JsonUnescaped
-
Returns the wrapped raw JSON text.
- toString() - Method in JsonToken
-
Returns a debug string containing the token text, type, and source positions.
- toString() - Method in LazyMap
-
Hydrates the backing map if needed and returns its string form.
- toString() - Method in LazyReference
-
Returns the current cached value as a string, or <null> when no value is available.
- toString() - Method in LazyValueMap
-
Returns the hydrated map string form, building the backing map if necessary.
- toString() - Method in LimitExpression
-
Returns the textual form of this clause.
- toString() - Method in ListExpression
-
- toString() - Method in MapEntry
-
- toString() - Method in MapEntryExpression
-
- toString() - Method in MapExpression
-
- toString() - Method in MarkupTemplateEngine.TemplateResource
-
Returns the resource path represented by this descriptor.
- toString() - Method in MemJavaFileObject
-
- toString() - Method in MetaClassImpl
-
Returns a string representation of this metaclass
- toString() - Method in MetaMethod
-
{@inheritDoc}
- toString() - Method in MetaMethodIndex.Cache
-
- toString() - Method in MethodCallExpression
-
- toString() - Method in MethodKey
-
- toString() - Method in MethodNode
-
- toString() - Method in MockOutputTool
-
{@inheritDoc}
- toString() - Method in ModifierNode
-
Returns the string representation of this modifier.
- toString() - Method in NamedRecord
-
Returns the tuple-style string form of this record.
- toString(Map<String,Object>) - Method in NamedValue
-
Returns the formatted name=value representation using the supplied formatting options.
- toString() - Method in Node
-
{@inheritDoc}
- toString() - Method in NullObject
-
- toString() - Method in NumberRange
-
{@inheritDoc}
- toString() - Method in NumberValue
-
Returns the current numeric slice as text.
- toString() - Method in ObjectRange
-
{@inheritDoc}
- toString() - Method in OnExpression
-
Returns the textual form of this clause.
- toString() - Method in OperandStack
-
- toString() - Method in OptimizingStatementWriter.StatementMeta
-
- toString() - Method in OrderExpression
-
Returns the textual form of this clause.
- toString() - Method in OwnedMetaClass
-
- toString() - Method in Parameter
-
- toString() - Method in PositionInfo
-
- toString() - Method in PostfixExpression
-
Returns a debug string representation.
- toString() - Method in PowerAssertionError
-
- toString() - Method in PrefixExpression
-
Returns a debug string representation.
- toString() - Method in ProcessResult
-
- toString() - Method in PropertyExpression
-
- toString() - Method in QName
-
Returns a string representation of this QName
- toString() - Method in RawJavaFileObject
-
- toString() - Method in ReadException
-
Returns a string representation of this exception.
- toString() - Method in Realm
-
- toString() - Method in Receiver
-
- toString() - Method in ReferenceManager
-
{@inheritDoc}
- toString() - Method in ReflectionMetaMethod
-
- toString() - Method in ReturnStatement
-
- toString() - Method in ScriptTestAdapter
-
Returns a human-readable description of the adapted script test.
- toString(java.lang.Object) - Method in ScriptToTreeNodeAdapter
-
- toString() - Method in SelectExpression
-
Returns the textual form of this clause.
- toString() - Method in SetOperationExpression
-
Returns the textual form of this expression.
- toString() - Method in ShutdownExpression
-
Returns the textual form of this expression.
- toString() - Method in SimpleCache
-
Returns the underlying cache state as a string.
- toString() - Method in SimpleGroovyDoc
-
Returns a debug-friendly representation of this documented element.
- toString() - Method in SpreadMap
-
- Returns:
- the string expression of
this
- toString() - Method in StaticMethodCallExpression
-
- toString() - Method in StringBufferWriter
-
Return the buffer's current value as a string.
- toString() - Method in StringBuilderWriter
-
- toString() - Method in StructuredSyntaxDocumentFilter.MultiLineRun
-
Returns a textual description of the run bounds.
- toString() - Method in SystemRegistryImpl.CommandData
-
Returns a string representation of this command line.
- toString() - Method in TernaryExpression
-
- toString() - Method in TextNode
-
Returns the display text for this node.
- toString() - Method in TomlBuilder
-
Serializes the internal data structure built with the builder to a conformant TOML payload string
- toString() - Method in TreeContext
-
Returns a string form containing the current node and its parent path.
- toString() - Method in TupleExpression
-
- toString() - Method in TypeCheckingContext.EnclosingClosure
-
- toString(java.lang.Object) - Method in Utils
-
Renders a shell value as a human-readable string.
- toString() - Method in ValueContainer
-
Returns the token name for this wrapper.
- toString() - Method in VariableExpression
-
- toString() - Method in WhereExpression
-
Returns the textual form of this clause.
- toString(boolean) - Method in WideningCategories.LowestUpperBoundClassNode
-
- toString() - Method in WritablePath
-
{@inheritDoc}
- toString() - Method in XmlTemplateEngine
-
Returns a concise engine name for diagnostics.
- toString() - Method in YamlBuilder
-
Serializes the internal data structure built with the builder to a conformant YAML payload string
- toStringAndRecycle() - Method in CharBuf
-
Returns the buffered text and resets the write position.
- ToStringASTStubber - Class in org.codehaus.groovy.transform
- ToStringASTTransformation - Class in org.codehaus.groovy.transform
Handles generation of code for the
- ToString:
- annotation.
- toStringX(org.codehaus.groovy.ast.expr.Expression) - Method in MethodCallUtils
-
Creates an explicit toString() method call expression.
- toTimestamp(java.util.Date) - Method in SqlExtensions
-
Return a java.sql.Timestamp given a java.util.Date.
- toTimeZone(java.time.ZoneOffset) - Method in DateTimeExtensions
-
Returns a generally equivalent
TimeZone.
- toToml(java.lang.Object) - Method in TomlBuilder
-
Serializes a typed object to a TOML string using Jackson databinding.
- toTuple(Map.Entry<K,V>) - Method in DefaultGroovyMethods
-
Create a Tuple from the key and value of this Map Entry.
- toTypeString(java.lang.Object, int) - Method in FormatHelper
-
A helper method to format the arguments types as a comma-separated list.
- toTypeString(java.lang.Object, int) - Method in InvokerHelper
-
- touch(java.lang.Object, java.lang.Object) - Method in NullProtectionStorage
-
Does nothing
- toUnique(T, Closure<?>) - Method in ArrayGroovyMethods
-
Returns a new Array containing the items from the original Array but with duplicates removed with the supplied
closure determining which items are unique.
- toUnique(T, groovy.lang.Closure) - Method in DefaultGroovyMethods
-
- toUpperCase(java.lang.Character) - Method in DefaultGroovyMethods
-
Converts the character to uppercase.
- toUpperCase() - Method in GStringImpl
-
- toURI() - Method in GPathResult
-
Converts the text of this GPathResult to a URI object.
- toURI(java.lang.String) - Method in ResourceGroovyMethods
-
Transforms a String representing a URI into a URI object.
- toUri() - Method in WritablePath
-
{@inheritDoc}
- toURL() - Method in GPathResult
-
Converts the text of this GPathResult to a URL object.
- toURL(java.lang.String) - Method in ResourceGroovyMethods
-
Transforms a String representing a URL into a URL object.
- toValue() - Method in CharSequenceValue
-
Materializes this token as a regular Java value.
- Returns:
- the hydrated value
- toValue() - Method in NumberValue
-
Materializes this token as a regular Java value.
- Returns:
- the hydrated value
- toValue() - Method in Value
-
Materializes this token as a regular Java value.
- toValue() - Method in ValueContainer
-
Materializes this token as a regular Java value.
- Returns:
- the hydrated value
- toYaml(java.lang.Object) - Method in YamlBuilder
-
Serializes a typed object to a YAML string using Jackson databinding.
- toYear(java.util.Date) - Method in DateTimeExtensions
-
Converts the Date to a corresponding
Year.
- toYearMonth(java.util.Date) - Method in DateTimeExtensions
-
Converts the Date to a corresponding
YearMonth.
- toZonedDateTime(java.util.Date) - Method in DateTimeExtensions
-
- toZoneOffset(java.util.TimeZone, java.time.Instant) - Method in DateTimeExtensions
-
Converts this TimeZone to a corresponding
ZoneOffset.
- tr(java.lang.CharSequence, java.lang.CharSequence, java.lang.CharSequence) - Method in StringGroovyMethods
-
Translates a CharSequence by replacing characters from the sourceSet with characters from replacementSet.
- tr(java.lang.String, java.lang.String, java.lang.String) - Method in StringUtil
-
Provides Groovy with functionality similar to the unix tr command
which translates a string replacing characters from a source set
with characters from a replacement set.
- trace(java.lang.System$Logger, java.lang.String, java.lang.Object) - Method in PluginDefaultGroovyMethods
-
Convenience method for logging trace level messages with the platform logger.
- trace(boolean, java.lang.Throwable) - Method in SystemRegistryImpl
-
Reports an exception, optionally printing its full stack trace.
- TracingInterceptor - Class in groovy.lang
This
Interceptor traces method calls on the proxied object to a log.
- track(java.lang.String, java.lang.String, java.lang.String, boolean) - Method in ContractExecutionTracker
-
Attempts to register a contract execution for the current thread.
- track(org.apache.groovy.contracts.AssertionViolation) - Method in ViolationTracker
-
Records a newly observed assertion violation in encounter order.
- tracker - Property in ObjectBrowser
-
Tracks the currently selected inspection card.
- Trait - Annotation Type in groovy.transform
Used to mark a class as being a trait.
- TRAIT_CLASS - Field in Traits
-
- TRAIT_CLASSNODE - Field in Traits
-
- TRAIT_DEF - Field in SimpleGroovyDoc
-
Token type used for traits.
- TRAIT() - Method in GroovyParser.ClassDeclarationContext
-
- TRAIT() - Method in GroovyParser.IdentifierContext
-
- TRAIT() - Method in GroovyParser.KeywordsContext
-
- TRAIT() - Method in GroovyParser.QualifiedNameElementContext
-
- TraitASTTransformation - Class in org.codehaus.groovy.transform.trait
Handles generation of code for the traits (trait keyword is equivalent to using the
- Trait:
- annotation).
- TRAITBRIDGE_CLASSNODE - Field in Traits
-
- traitClass - Field in Traits.TraitBridge
-
- TraitComposer - Class in org.codehaus.groovy.transform.trait
- Traits - Class in org.codehaus.groovy.transform.trait
A collection of utility methods used to deal with traits.
- Traits.Implemented - Annotation Type in org.codehaus.groovy.transform.trait
Internal annotation used to indicate which methods in a trait interface have a
default implementation.
- Traits.TraitBridge - Annotation Type in org.codehaus.groovy.transform.trait
Internal annotation used to indicate that a method is a bridge method to a trait
default implementation.
- TraitTypeCheckingExtension - Class in org.codehaus.groovy.transform.stc
An extension that handles field, super and static method calls within a trait.
- TraitTypeCheckingExtension(org.codehaus.groovy.transform.stc.StaticTypeCheckingVisitor) - Constructor in TraitTypeCheckingExtension
-
- trampoline() - Method in Closure
-
Builds a trampolined variant of the current closure.
- transform(org.codehaus.groovy.ast.expr.Expression) - Method in ClassCodeExpressionTransformer
-
NOTE: This method does not visit Expressions within Closures,
for performance and historical reasons.
- transform(org.codehaus.groovy.ast.expr.Expression) - Method in ExpressionTransformer
-
Transforms the given expression.
- transform(org.codehaus.groovy.ast.expr.Expression) - Method in FieldASTTransformation
-
- transform(org.codehaus.groovy.ast.expr.Expression) - Method in NewifyASTTransformation
-
- transform(org.codehaus.groovy.ast.expr.Expression) - Method in OperatorRenameASTTransformation
-
- transform(org.codehaus.groovy.ast.expr.Expression) - Method in OptimizerVisitor
-
- transform(org.codehaus.groovy.ast.expr.Expression) - Method in ResolveVisitor
-
- transform(org.codehaus.groovy.ast.expr.Expression) - Method in StaticCompilationTransformer
-
- transform(org.codehaus.groovy.ast.expr.Expression) - Method in StaticImportVisitor
-
- transform(org.codehaus.groovy.ast.stmt.TryCatchStatement) - Method in TryWithResourcesASTTransformation
-
- Parameters:
tryCatchStatement - the try-with-resources statement to transform
- transform(org.codehaus.groovy.ast.expr.Expression) - Method in VariableExpressionTransformer
-
- transformAnnotationConstantExpression(org.codehaus.groovy.ast.expr.AnnotationConstantExpression) - Method in ResolveVisitor
-
- transformation - Property in ASTTransformationCustomizer
-
Transformation instance applied by this customizer.
- transformBinaryConstantExpression(org.codehaus.groovy.ast.expr.BinaryExpression, org.codehaus.groovy.ast.ClassNode) - Method in ExpressionUtils
-
Converts expressions like ConstantExpression(40) + ConstantExpression(2)
into the simplified ConstantExpression(42) at compile time.
- transformBinaryExpression(org.codehaus.groovy.ast.expr.BinaryExpression) - Method in BinaryExpressionTransformer
-
- transformBinaryExpression(org.codehaus.groovy.ast.expr.BinaryExpression) - Method in ResolveVisitor
-
- transformBinaryExpression(org.codehaus.groovy.ast.expr.BinaryExpression) - Method in StaticImportVisitor
-
- transformCastExpression(org.codehaus.groovy.ast.expr.CastExpression) - Method in CastExpressionOptimizer
-
- transformChar(java.io.Reader, java.io.Writer, groovy.lang.Closure) - Method in IOGroovyMethods
-
Transforms each character from this reader by passing it to the given
closure.
- transformClass(org.codehaus.groovy.ast.ClassNode) - Method in AnnotationCollectorTransform.ClassChanger
-
- transformClosureExpression(org.codehaus.groovy.ast.expr.ClosureExpression) - Method in ResolveVisitor
-
- transformClosureExpression(org.codehaus.groovy.ast.expr.ClosureExpression) - Method in StaticImportVisitor
-
- transformConstructorCallExpression(org.codehaus.groovy.ast.expr.ConstructorCallExpression) - Method in ResolveVisitor
-
- transformConstructorCallExpression(org.codehaus.groovy.ast.expr.ConstructorCallExpression) - Method in StaticImportVisitor
-
- transformDeclarationExpression(org.codehaus.groovy.ast.expr.DeclarationExpression) - Method in ResolveVisitor
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in AbstractGinqExpression
-
Returns this expression because GINQ expressions are transformed elsewhere.
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in ArgumentListExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in ArrayExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in AttributeExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in BinaryExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in BitwiseNegationExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in BooleanExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in BytecodeExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in CastExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in ClassExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in ClosureExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in ClosureListExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in CompareIdentityExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in CompareToNullExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in ConstantExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in ConstructorCallExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in DeclarationExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in ElvisOperatorExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in EmptyExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in Expression
-
Transforms this expression and any nested expressions according to the provided transformer.
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in FieldExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in GStringExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in ListExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in ListOfExpressionsExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in MapEntryExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in MapExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in MethodCallExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in MethodPointerExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in MethodReferenceExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in NamedArgumentListExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in NotExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in PostfixExpression
-
Transforms this expression by applying the given transformer to the inner expression,
creating a new postfix expression with the transformed operand.
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in PrefixExpression
-
Transforms this expression by applying the given transformer to the inner expression,
creating a new prefix expression with the transformed operand.
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in PropertyExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in RangeExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in SpreadExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in SpreadMapExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in StaticMethodCallExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in TemporaryVariableExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in TernaryExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in TupleExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in UnaryMinusExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in UnaryPlusExpression
-
- transformExpression(org.codehaus.groovy.ast.expr.ExpressionTransformer) - Method in VariableExpression
-
- transformExpressions(List<? extends Expression>, org.codehaus.groovy.ast.expr.ExpressionTransformer, Class<T>) - Method in Expression
-
Transforms a list of expressions and verifies that all transformed expressions have a specific type.
- transformGinqCode(org.codehaus.groovy.control.SourceUnit, org.codehaus.groovy.ast.expr.MapExpression, org.codehaus.groovy.ast.stmt.Statement) - Method in GinqGroovyMethods
-
Transforms parsed GINQ code into the corresponding queryable method calls.
- TransformingCodeVisitor - Class in org.codehaus.groovy.ast
- TransformingCodeVisitor(org.codehaus.groovy.ast.ClassCodeExpressionTransformer) - Constructor in TransformingCodeVisitor
-
Creates a new transforming visitor with the given transformer.
- transformInlineConstants(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.ClassNode) - Method in ExpressionUtils
-
Converts simple expressions of constants into pre-evaluated simple constants.
- transformLine(java.io.Reader, java.io.Writer, groovy.lang.Closure) - Method in IOGroovyMethods
-
Transforms the lines from a reader with a Closure and
write them to a writer.
- transformListOfConstants(org.codehaus.groovy.ast.expr.ListExpression, org.codehaus.groovy.ast.ClassNode) - Method in ExpressionUtils
-
Given a list of constants, transform each item in the list.
- transformLoader - Field in ASTTransformationsContext
-
- TransformMetaMethod - Class in org.codehaus.groovy.runtime.metaclass
A MetaMethod implementation useful for implementing coercion based invocations
- transformMetaMethod(groovy.lang.MetaClass, groovy.lang.MetaMethod, Class<?>) - Method in Java8
-
- transformMetaMethod(groovy.lang.MetaClass, groovy.lang.MetaMethod, Class<?>) - Method in Java9
-
- TransformMetaMethod(groovy.lang.MetaMethod) - Constructor in TransformMetaMethod
-
- transformMetaMethod(groovy.lang.MetaClass, groovy.lang.MetaMethod) - Method in VMPlugin
-
transform meta method.
- transformMethodCallExpression(org.codehaus.groovy.ast.expr.MethodCallExpression) - Method in ResolveVisitor
-
- transformMethodCallExpression(org.codehaus.groovy.ast.expr.MethodCallExpression) - Method in StaticImportVisitor
-
- transformPropertyExpression(org.codehaus.groovy.ast.expr.PropertyExpression) - Method in ResolveVisitor
-
- transformPropertyExpression(org.codehaus.groovy.ast.expr.PropertyExpression) - Method in StaticImportVisitor
-
- transformRangeExpression(org.codehaus.groovy.ast.expr.RangeExpression) - Method in RangeExpressionTransformer
-
- transformResourceAccess(org.codehaus.groovy.ast.expr.Expression) - Method in TryWithResourcesASTTransformation
-
See https://docs.oracle.com/javase/specs/jls/se9/html/jls-14.html
14.20.3.1.
- transformResult(java.lang.Object, List<Closure>) - Method in OutputTransforms
-
Applies the configured transforms until one returns a non-null value.
- TransformTestHelper - Class in org.codehaus.groovy.tools.ast
This TestHarness exists so that a global transform can be run without
using the Jar services mechanism, which requires building a jar.
- TransformTestHelper(org.codehaus.groovy.transform.ASTTransformation, org.codehaus.groovy.control.CompilePhase) - Constructor in TransformTestHelper
-
Creates the test helper.
- transformToPrimitiveConstantIfPossible(org.codehaus.groovy.ast.expr.ConstantExpression) - Method in Verifier
-
When constant expressions are created, the value is always wrapped to a non-primitive type.
- transformToSetterCall(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.ast.expr.Expression, boolean, boolean, boolean, boolean, org.codehaus.groovy.ast.expr.Expression) - Method in StaticPropertyAccessHelper
-
- transformVariableExpression(org.codehaus.groovy.ast.expr.VariableExpression) - Method in ResolveVisitor
-
- transformVariableExpression(org.codehaus.groovy.ast.expr.VariableExpression) - Method in StaticImportVisitor
-
- TransformWithPriority - Interface in org.codehaus.groovy.transform
AST transforms may optionally implement this interface and return a priority value.
- TRANSIENT() - Method in GroovyParser.KeywordsContext
-
- TRANSIENT() - Method in GroovyParser.ModifierContext
-
- transitive - Field in Grab
-
Defaults to true but set to false if you don't want transitive dependencies also to be downloaded.
- transitive - Property in IvyGrabRecord
-
Whether transitive dependencies should be resolved.
- transitive - Property in MavenGrabRecord
-
- transpose(double[][]) - Method in ArrayGroovyMethods
-
A transpose method for 2D double arrays.
- transpose(double[][]) - Method in DefaultGroovyMethods
-
- transpose(java.util.List) - Method in GroovyCollections
-
Transposes the given lists.
- transposing(long[][]) - Method in ArrayGroovyMethods
-
An iterator of the columns of the array.
- traverse(java.nio.file.Path, Map<String,Object>) - Method in NioExtensions
-
Invokes the closure specified with key 'visit' in the options Map
for each descendant file in this directory tree.
- traverse(java.io.File, Map<String,?>) - Method in ResourceGroovyMethods
-
Invokes the closure specified with key 'visit' in the options Map
for each descendant file in this directory tree.
- tree - Property in ClosureCellEditor
-
Tree currently being edited, or null for table editing.
- TreeContext - Class in org.codehaus.groovy.macro.matcher
Holds the current AST node together with its traversal context.
- TreeContextAction - Interface in org.codehaus.groovy.macro.matcher
- TreeNodeBuildingNodeOperation - Class in groovy.console.ui
This Node Operation builds up a root tree node for the viewer.
- TreeNodeBuildingNodeOperation(groovy.console.ui.ScriptToTreeNodeAdapter, java.lang.Object, java.lang.Object, java.lang.Object) - Constructor in TreeNodeBuildingNodeOperation
-
Creates an operation for building the AST tree.
- TreeNodeWithProperties - Class in groovy.console.ui
This class is a TreeNode and you can store additional properties on it.
- TreeNodeWithProperties(java.lang.Object, List<List<?>>) - Constructor in TreeNodeWithProperties
-
Creates a tree node and attaches properties to it.
- TRFactory - Class in groovy.swing.factory
Factory for creating TableLayoutRow nodes.
- TRFactory() - Constructor in TRFactory
-
- TriggerBinding - Interface in org.apache.groovy.swing.binding
Creates a
FullBinding that reacts to changes from a triggering source.
- trim() - Method in GStringImpl
-
- trimEdits(int, int) - Method in TextUndoManager
-
{@inheritDoc}
- trimQuotations(java.lang.String, int) - Method in StringUtils
-
- TRUE - Field in ConstantExpression
-
- TRUE - Field in JsonParserCharArray
-
Character buffer for the true literal.
- TRUE - Field in JsonParserUsingCharacterSource
-
Character buffer for the true literal.
- TRUE - Enum Constant in JsonTokenType
-
true literal token.
- TRUE - Enum Constant in Type
-
Boolean true token.
- TRUE - Field in ValueContainer
-
Shared wrapper for the JSON literal true.
- trunc(java.math.BigDecimal, int) - Method in DefaultGroovyMethods
-
Truncate the value
- TRUTH_VALUE - Field in Types
-
- TRY() - Method in GroovyParser.KeywordsContext
-
- TRY() - Method in GroovyParser.TryCatchStatementContext
-
- tryAcquire(int) - Method in LockableObject
-
{@inheritDoc}
- tryBridgeMethod(org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.ast.expr.Expression, boolean, org.codehaus.groovy.ast.expr.TupleExpression, org.codehaus.groovy.ast.ClassNode) - Method in StaticInvocationWriter
-
Attempts to make a direct method call on a bridge method, if it exists.
- tryCatch(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a TryCatchStatement.
- TryCatchBlockGenerator - Class in org.apache.groovy.contracts.generation
Creates a try-catch block around a given
AssertStatement and catches
a PowerAssertionError to reuse the generated visual output.
- tryCatchS(org.codehaus.groovy.ast.stmt.Statement, org.codehaus.groovy.ast.stmt.Statement, org.codehaus.groovy.ast.stmt.CatchStatement) - Method in GeneralUtils
-
- TryCatchStatement - Class in org.codehaus.groovy.ast.stmt
Represents a try { ... } catch { ... } finally { ... } statement in Groovy.
- tryCatchStatement() - Method in GroovyParser
-
- tryCatchStatement() - Method in GroovyParser.TryCatchStmtAltContext
-
- TryCatchStatement(org.codehaus.groovy.ast.stmt.Statement, org.codehaus.groovy.ast.stmt.Statement) - Constructor in TryCatchStatement
-
Constructs a TryCatchStatement with a try block and optional finally block.
- TryCatchStatementContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.TryCatchStatementContext
-
- TryCatchStmtAltContext(StatementContext) - Constructor in GroovyParser.TryCatchStmtAltContext
-
- tryConstructRenderWriter(java.io.OutputStream) - Method in IO
-
- tryEscape(java.lang.Object) - Method in BaseTemplate
-
Escapes the string representation of the supplied object if it derives from
CharSequence,
otherwise returns the object itself.
- tryFindPossibleMethod(java.lang.String, org.codehaus.groovy.ast.expr.Expression) - Method in ClassNode
-
- tryRelease(int) - Method in LockableObject
-
{@inheritDoc}
- trySetAccessible(java.lang.reflect.AccessibleObject) - Method in Java8
-
- trySetAccessible(java.lang.reflect.AccessibleObject) - Method in Java9
-
- trySetAccessible(java.lang.reflect.AccessibleObject) - Method in ReflectionUtils
-
- trySetAccessible(java.lang.reflect.AccessibleObject) - Method in VMPlugin
-
Set the accessible flag for this reflected object to true
if possible.
- TryWithResourcesASTTransformation - Class in org.apache.groovy.parser.antlr4
Transform try-with-resources to try-catch-finally
Reference JLS "14.20.3. try-with-resources"(https://docs.oracle.com/javase/specs/jls/se7/html/jls-14.html)
- TryWithResourcesASTTransformation(org.apache.groovy.parser.antlr4.AstBuilder) - Constructor in TryWithResourcesASTTransformation
-
- Tuple - Class in groovy.lang
Represents a list of Objects.
- Tuple0 - Class in groovy.lang
Represents a list of 0 typed Object.
- Tuple1 - Class in groovy.lang
Represents a list of 1 typed Object.
- Tuple10 - Class in groovy.lang
Represents a list of 10 typed Objects.
- Tuple10(Tuple10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>) - Constructor in Tuple10
-
Creates a tuple from the supplied tuple.
- Tuple11 - Class in groovy.lang
Represents a list of 10 typed Objects.
- Tuple11(Tuple11<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11>) - Constructor in Tuple11
-
Creates a tuple from the supplied tuple.
- Tuple12 - Class in groovy.lang
Represents a list of 12 typed Objects.
- Tuple12(Tuple12<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12>) - Constructor in Tuple12
-
Creates a tuple from the supplied tuple.
- Tuple13 - Class in groovy.lang
Represents a list of 13 typed Objects.
- Tuple13(Tuple13<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13>) - Constructor in Tuple13
-
Creates a tuple from the supplied tuple.
- Tuple14 - Class in groovy.lang
Represents a list of 14 typed Objects.
- Tuple14(Tuple14<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14>) - Constructor in Tuple14
-
Creates a tuple from the supplied tuple.
- Tuple15 - Class in groovy.lang
Represents a list of 15 typed Objects.
- Tuple15(Tuple15<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15>) - Constructor in Tuple15
-
Creates a tuple from the supplied tuple.
- Tuple16 - Class in groovy.lang
Represents a list of 16 typed Objects.
- Tuple16(Tuple16<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16>) - Constructor in Tuple16
-
Creates a tuple from the supplied tuple.
- Tuple1(Tuple1<T1>) - Constructor in Tuple1
-
Creates a tuple from the supplied tuple.
- Tuple2 - Class in groovy.lang
Represents a list of 2 typed Objects.
- Tuple2(Tuple2<T1,T2>) - Constructor in Tuple2
-
Creates a tuple from the supplied tuple.
- Tuple3 - Class in groovy.lang
Represents a list of 3 typed Objects.
- Tuple3(Tuple3<T1,T2,T3>) - Constructor in Tuple3
-
Creates a tuple from the supplied tuple.
- Tuple4 - Class in groovy.lang
Represents a list of 4 typed Objects.
- Tuple4(Tuple4<T1,T2,T3,T4>) - Constructor in Tuple4
-
Creates a tuple from the supplied tuple.
- Tuple5 - Class in groovy.lang
Represents a list of 5 typed Objects.
- Tuple5(Tuple5<T1,T2,T3,T4,T5>) - Constructor in Tuple5
-
Creates a tuple from the supplied tuple.
- Tuple6 - Class in groovy.lang
Represents a list of 6 typed Objects.
- Tuple6(Tuple6<T1,T2,T3,T4,T5,T6>) - Constructor in Tuple6
-
Creates a tuple from the supplied tuple.
- Tuple7 - Class in groovy.lang
Represents a list of 7 typed Objects.
- Tuple7(Tuple7<T1,T2,T3,T4,T5,T6,T7>) - Constructor in Tuple7
-
Creates a tuple from the supplied tuple.
- Tuple8 - Class in groovy.lang
Represents a list of 8 typed Objects.
- Tuple8(Tuple8<T1,T2,T3,T4,T5,T6,T7,T8>) - Constructor in Tuple8
-
Creates a tuple from the supplied tuple.
- Tuple9 - Class in groovy.lang
Represents a list of 9 typed Objects.
- Tuple9(Tuple9<T1,T2,T3,T4,T5,T6,T7,T8,T9>) - Constructor in Tuple9
-
Creates a tuple from the supplied tuple.
- tuple(groovy.lang.Closure) - Method in AstSpecificationCompiler
-
Creates a TupleExpression.
- TUPLE_CLASSES - Field in ClassHelper
-
- Tuple(Tuple<E>) - Constructor in Tuple
-
Creates a tuple from the supplied tuple.
- TupleConstructor - Annotation Type in groovy.transform
Class annotation used to assist in the creation of tuple constructors in classes.
- TupleConstructorASTStubber - Class in org.codehaus.groovy.transform
Adds a placeholder tuple-style constructor surface for
TupleConstructor
classes during joint compilation.
- TupleConstructorASTTransformation - Class in org.codehaus.groovy.transform
Handles generation of code for the
- TupleConstructor:
- annotation.
- TupleConstructorASTTransformation.SelectedTupleProperties - Record in org.codehaus.groovy.transform
Result of
selectTupleProperties: the super-class properties
and self properties that pass the annotation's filters
(includes / excludes / allNames / includeProperties / includeFields /
includeSuperProperties / includeSuperFields / allProperties).
- TupleExpression - Class in org.codehaus.groovy.ast.expr
Represents a tuple or grouped list of expressions, typically used for method arguments,
multiple assignment targets, or other contexts requiring multiple values.
- TupleExpression(org.codehaus.groovy.ast.expr.Expression) - Constructor in TupleExpression
-
Creates a tuple expression from an array of expressions.
- Type - Enum in org.apache.groovy.json.internal
Token classifications used by the lazy JSON parser.
- type() - Method in AbstractInterruptibleASTTransformation
-
- type - Property in BevelBorderFactory
-
Bevel type used when creating borders.
- type() - Method in ConditionalInterruptibleASTTransformation
-
Returns the annotation type handled by this transformation.
- TYPE_DECLARATION - Field in Types
-
- type - Field in DefaultJsonGenerator.ClosureConverter
-
Type accepted by this converter.
- type - Field in DelegatesTo
-
The type member should be used when the type of the delegate cannot be
represented by
value() or
target().
- type - Property in EtchedBorderFactory
-
Etch type used when creating borders.
- type - Field in Grab
-
The type of the artifact (normally safe to leave at default value of "jar" but other values like "sources" and "javadoc" are sometimes useful).
- type() - Method in GroovyAnnotationRef
-
The annotation being referenced.
- type() - Method in GroovyFieldDoc
-
Returns the declared type of this field.
- type() - Method in GroovyParameter
-
Returns the resolved parameter type.
- type() - Method in GroovyParser
-
- type() - Method in GroovyParser.CastParExpressionContext
-
- type() - Method in GroovyParser.EnhancedForControlContext
-
- type() - Method in GroovyParser.FormalParameterContext
-
- type() - Method in GroovyParser.KeyedPairContext
-
- type() - Method in GroovyParser.MatchingTypeContext
-
- type() - Method in GroovyParser.RelationalExprAltContext
-
- type() - Method in GroovyParser.ReturnTypeContext
-
- type() - Method in GroovyParser.ThisFormalParameterContext
-
- type() - Method in GroovyParser.TypeArgumentContext
-
- type(int) - Method in GroovyParser.TypeBoundContext
-
- type(int) - Method in GroovyParser.TypeListContext
-
- type() - Method in GroovyParser.TypeNamePairContext
-
- type() - Method in GroovyParser.VariableDeclarationContext
-
- type - Property in IvyGrabRecord
-
Requested artifact type.
- TYPE_LIST_TERMINATORS - Field in Types
-
- TYPE_MAP - Property in JmxBuilderTools
-
Maps supported type aliases to concrete Java classes.
- type - Property in MavenGrabRecord
-
- type - Field in MetaProperty
-
Declared property type.
- TYPE_NAME - Field in Types
-
- type - Field in NamedParam
-
Returns the expected value type for the named argument.
- type - Field in OptimizingStatementWriter.StatementMeta
-
- TYPE_PARAMETER_TARGET - Field in AnnotationNode
-
- type() - Method in Sequence
-
- Returns:
- the type of the elements in the sequence or null if there is no
type constraint on this sequence
- type() - Method in SimpleGroovyAnnotationRef
-
The annotation being referenced.
- Returns:
- the annotation being referenced
- type() - Method in SimpleGroovyFieldDoc
-
Returns the declared type of this field.
- Returns:
- the field type
- type() - Method in SimpleGroovyParameter
-
Returns the resolved parameter type.
- Returns:
- the parameter type, or
null if it is unavailable
- type - Property in Snippet
-
Classification assigned to the snippet.
- TYPE - Enum Constant in SnippetType
-
Type declaration snippet.
- TYPE - Enum Constant in StaticTypesMarker
-
- TYPE_TARGET - Field in AnnotationNode
-
- type() - Method in ThreadInterruptibleASTTransformation
-
Returns the annotation type handled by this transformation.
- TYPE_USE_TARGET - Field in AnnotationNode
-
- type - Field in ValueContainer
-
Token type represented by this wrapper.
- type - Field in VisibilityOptions
-
Returns the visibility to apply to generated types.
- typeArgument() - Method in GroovyParser
-
- typeArgument(int) - Method in GroovyParser.TypeArgumentsContext
-
- TypeArgumentContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.TypeArgumentContext
-
- typeArguments() - Method in GroovyParser
-
- typeArguments() - Method in GroovyParser.IdentifierPrmrAltContext
-
- typeArguments() - Method in GroovyParser.ReferenceTypeContext
-
- typeArguments() - Method in GroovyParser.TypeArgumentsOrDiamondContext
-
- TypeArgumentsContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.TypeArgumentsContext
-
- typeArgumentsOrDiamond() - Method in GroovyParser
-
- typeArgumentsOrDiamond() - Method in GroovyParser.CreatedNameContext
-
- TypeArgumentsOrDiamondContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.TypeArgumentsOrDiamondContext
-
- typeBound() - Method in GroovyParser
-
- typeBound() - Method in GroovyParser.TypeParameterContext
-
- TypeBoundContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.TypeBoundContext
-
- typeCheckAssignment(org.codehaus.groovy.ast.expr.BinaryExpression, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.ClassNode) - Method in StaticTypeCheckingVisitor
-
- typeCheckClosureCall(org.codehaus.groovy.ast.expr.Expression, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.Parameter) - Method in StaticTypeCheckingVisitor
-
- TypeChecked - Annotation Type in groovy.transform
This will let the Groovy compiler use compile time checks in the style of Java.
- TypeChecked.TypeCheckingInfo - Annotation Type in groovy.transform
This annotation is added by
- TypeChecked:
- on methods which have type checking turned on.
- TYPECHECKED_CLASSNODE - Field in StaticCompilationVisitor
-
- TYPECHECKED_CLASSNODE - Field in StaticTypeCheckingVisitor
-
- TYPECHECKING_ANNOTATIONS - Field in StaticTypeCheckingVisitor
-
- TYPECHECKING_INFO_NODE - Field in StaticTypeCheckingVisitor
-
- TypeCheckingContext - Class in org.codehaus.groovy.transform.stc
- TypeCheckingContext.EnclosingClosure - Class in org.codehaus.groovy.transform.stc
Represents the context of an enclosing closure.
- typeCheckingContext - Field in StaticTypeCheckingVisitor
-
- TypeCheckingContext(org.codehaus.groovy.transform.stc.StaticTypeCheckingVisitor) - Constructor in TypeCheckingContext
-
- TypeCheckingExtension - Class in org.codehaus.groovy.transform.stc
This interface defines a high-level API for handling type checking errors.
- TypeCheckingExtension(org.codehaus.groovy.transform.stc.StaticTypeCheckingVisitor) - Constructor in TypeCheckingExtension
-
- TypeCheckingMode - Enum in groovy.transform
This enumeration can be used whenever it is preferred to annotate a class as
TypeChecked in general, but where only one or more methods are "dynamic".
- typeCheckingVisitor - Field in TypeCheckingExtension
-
- typeCheckMapConstructor(org.codehaus.groovy.ast.expr.ConstructorCallExpression, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypeCheckingVisitor
-
- typeCheckMethodArgumentWithGenerics(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode, boolean) - Method in StaticTypeCheckingSupport
-
Checks that the parameterized generics of an argument are compatible with the generics of the parameter.
- typeCheckMethodsWithGenerics(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode) - Method in StaticTypeCheckingSupport
-
- typeCheckMethodsWithGenericsOrFail(org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.ClassNode, org.codehaus.groovy.ast.MethodNode, org.codehaus.groovy.ast.expr.Expression) - Method in StaticTypeCheckingVisitor
-
- TypeChooser - Interface in org.codehaus.groovy.classgen.asm
Interface for modules which are capable of resolving the type of an expression.
- TypeContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.TypeContext
-
- typeDeclaration() - Method in GroovyParser
-
- typeDeclaration() - Method in GroovyParser.ScriptStatementContext
-
- TypeDeclarationContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.TypeDeclarationContext
-
- TypedOption - Class in groovy.cli
Map-backed command-line option metadata with a typed default value.
- TypeHelper - Class in org.codehaus.groovy.vmplugin.v8
This class contains helper methods for converting and comparing types.
- typeList() - Method in GroovyParser
-
- typeList(int) - Method in GroovyParser.ClassDeclarationContext
-
- typeList() - Method in GroovyParser.NonWildcardTypeArgumentsContext
-
- TypeListContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.TypeListContext
-
- typeMap - Field in BinaryExpressionMultiTypeDispatcher
-
- typeMapKeyNames - Field in BinaryExpressionMultiTypeDispatcher
-
- typeName() - Method in ArrayClassDocWrapper
-
The unqualified name of this type excluding any dimension information.
For example, a two-dimensional array of String returns "String".
- typeName() - Method in ExternalGroovyClassDoc
-
The unqualified name of this type excluding any dimension information.
For example, a two-dimensional array of String returns "String".
- typeName() - Method in GroovyParameter
-
Returns the parameter type name as declared in source.
- typeName() - Method in GroovyType
-
The unqualified name of this type excluding any dimension information.
- typeName() - Method in SimpleGroovyClassDoc
-
The unqualified name of this type excluding any dimension information.
For example, a two-dimensional array of String returns "String".
- typeName() - Method in SimpleGroovyParameter
-
Returns the parameter type name as declared in source.
- Returns:
- the declared type name
- typeName() - Method in SimpleGroovyType
-
The unqualified name of this type excluding any dimension information.
For example, a two-dimensional array of String returns "String".
- typeNamePair() - Method in GroovyParser
-
- typeNamePair(int) - Method in GroovyParser.TypeNamePairsContext
-
- TypeNamePairContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.TypeNamePairContext
-
- typeNamePairs() - Method in GroovyParser
-
- typeNamePairs() - Method in GroovyParser.VariableDeclarationContext
-
- TypeNamePairsContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.TypeNamePairsContext
-
- typeParameter() - Method in GroovyParser
-
- typeParameter(int) - Method in GroovyParser.TypeParametersContext
-
- TypeParameterContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.TypeParameterContext
-
- typeParameters() - Method in GroovyParser
-
- typeParameters() - Method in GroovyParser.ClassDeclarationContext
-
- typeParameters() - Method in GroovyParser.MethodDeclarationContext
-
- typeParameters() - Method in SimpleGroovyMethodDoc
-
Returns the rendered type parameters for this method.
- TypeParametersContext(org.antlr.v4.runtime.ParserRuleContext, int) - Constructor in GroovyParser.TypeParametersContext
-
- Types - Class in org.codehaus.groovy.syntax
Registry of token type constants and type hierarchy definitions for the concrete syntax tree (CST) system.
- types - Property in ObjectInspector
-
Type hierarchy names collected for the inspected object.
- typesCommand(org.jline.console.CommandInput) - Method in GroovyCommands
-
Lists or removes tracked type declarations.
- TypeTransformers - Class in org.codehaus.groovy.vmplugin.v8
This class contains several transformers for used during method invocation.
- TypeUtil - Class in org.codehaus.groovy.classgen.asm.util
A utility for getting information of types