MCPcopy Create free account

hub / github.com/apache/groovy / functions

Functions19,657 in github.com/apache/groovy

↓ 18 callersMethodflush
Flush the stream.
src/main/java/org/codehaus/groovy/runtime/StringBufferWriter.java:97
↓ 18 callersMethodgetAST
(String source, int untilPhase)
src/test/groovy/org/codehaus/groovy/ast/ASTTest.java:32
↓ 18 callersMethodgetCause
Returns the wrapped cause. @return the wrapped cause, or {@code null}
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/Exceptions.java:209
↓ 18 callersMethodgetColumn
Returns the current column index. @return the current column index, or {@code -1}
subprojects/groovy-swing/src/main/groovy/groovy/swing/impl/ClosureRenderer.java:330
↓ 18 callersMethodgetMethod
()
src/main/java/org/codehaus/groovy/runtime/MethodClosure.java:127
↓ 18 callersMethodgetParameterCount
()
src/main/java/org/codehaus/groovy/runtime/MethodKey.java:120
↓ 18 callersMethodgetReader
Returns a reader for the named resource. @param resourceName the resource to open @return a reader for the resource @throws IOException if the resour
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/ResourceManager.java:35
↓ 18 callersMethodgetStyle
(AnnotationNode node, String name)
src/main/java/org/codehaus/groovy/transform/AutoCloneASTTransformation.java:348
↓ 18 callersMethodgetType
Returns the actual type of this token as determined by the lexer. @return the token type from {@link Types}
src/main/java/org/codehaus/groovy/syntax/Token.java:112
↓ 18 callersMethodgetType
Returns the {@link ClassNode} being imported or providing static members. @return the imported type, or null if this is a package-level wildcard impo
src/main/java/org/codehaus/groovy/ast/ImportNode.java:186
↓ 18 callersMethodhasNext
Iterator method to know if another token follows, or if we've reached the end of the stream. @return true if there are more tokens
subprojects/groovy-json/src/main/java/groovy/json/JsonLexer.java:238
↓ 18 callersMethodimplementsInterface
Indicates whether every delegate implements the supplied interface.
src/main/java/org/codehaus/groovy/transform/stc/UnionTypeClassNode.java:496
↓ 18 callersMethodinvokeMethod
Invokes the given method. @param name the name of the method to call @param args the arguments to use for the method call @return the result of invok
subprojects/groovy-groovydoc/src/test/groovy/org/codehaus/groovy/tools/groovydoc/testfiles/JavaHiddenInterfaceInheritDoc.java:31
↓ 18 callersMethodisClassClassNodeWrappingConcreteType
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. For
src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingSupport.java:2432
↓ 18 callersMethodisStatic
Indicates whether this element is declared {@code static}. @return {@code true} if this element is static
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/groovydoc/GroovyProgramElementDoc.java:87
↓ 18 callersMethodpeekFirst
{@inheritDoc}
src/main/java/org/apache/groovy/util/concurrent/concurrentlinkedhashmap/LinkedDeque.java:249
↓ 18 callersMethodsetModifiers
Sets the modifiers (access flags) for this parameter. @param modifiers the modifier flags from {@code org.objectweb.asm.Opcodes}
src/main/java/org/codehaus/groovy/ast/Parameter.java:222
↓ 18 callersMethodsetSpreadSafe
Sets whether this method call should use spread-safe navigation. @param value true to enable spread-safe navigation; false otherwise
src/main/java/org/codehaus/groovy/ast/expr/MethodCallExpression.java:276
↓ 18 callersMethodsize
{@inheritDoc}
src/main/java/groovy/util/ObservableList.java:419
↓ 18 callersMethodstep
Steps through the range, calling a closure for each item. @param step the amount by which to step. If negative, steps through the range backwards.
src/main/java/groovy/lang/Range.java:95
↓ 18 callersMethodternaryX
Creates a ternary expression. @param cond the condition expression @param trueExpr the true-branch expression @param elseExpr the false-branch expres
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:1715
↓ 18 callersMethodtoBigDecimal
Converts the text of this GPathResult to a BigDecimal object. @return the GPathResult, converted to a <code>BigDecimal</code>
subprojects/groovy-xml/src/main/java/groovy/xml/slurpersupport/GPathResult.java:382
↓ 18 callersMethodtransform
<strong>NOTE</strong>: This method does not visit Expressions within Closures, for performance and historical reasons. If you want those Expressions t
src/main/java/org/codehaus/groovy/ast/ClassCodeExpressionTransformer.java:67
↓ 18 callersMethodvisitBlockStatement
Visits a block statement (list of statements enclosed in braces). @param statement the {@link BlockStatement} to process
src/main/java/org/codehaus/groovy/ast/GroovyCodeVisitor.java:102
↓ 18 callersMethodvisitMethodCallExpression
Visits a method call expression. @param expression the {@link MethodCallExpression} to process
src/main/java/org/codehaus/groovy/ast/GroovyCodeVisitor.java:237
↓ 18 callersMethodvisitVariableExpression
Visits a variable expression. @param expression the {@link VariableExpression} to process
src/main/java/org/codehaus/groovy/ast/GroovyCodeVisitor.java:398
↓ 17 callersMethodasSql
Hook to allow derived classes to override sql generation from GStrings. @param gstring a GString containing the SQL query with embedded params @param
subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java:4624
↓ 17 callersMethodcompareTo
{@inheritDoc}
src/main/java/groovy/lang/Tuple.java:153
↓ 17 callersMethodcount
Aggregate function {@code count}, similar to SQL's {@code count} @return count result @since 4.0.0
subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/Queryable.java:389
↓ 17 callersMethoddelete
delete the Java source file @return <code>true</code> if deleted successfully
src/main/java/org/codehaus/groovy/tools/javac/RawJavaFileObject.java:72
↓ 17 callersMethoddoCast
Generates bytecode for casting a value to the specified type. @param mv the MethodVisitor used to generate bytecode instructions @param type the ta
src/main/java/org/codehaus/groovy/classgen/asm/BytecodeHelper.java:526
↓ 17 callersMethodend
Returns the inclusive end offset. @return the end offset
subprojects/groovy-console/src/main/groovy/groovy/console/ui/text/StructuredSyntaxDocumentFilter.java:587
↓ 17 callersMethodgetCause
()
subprojects/groovy-test-junit6/src/main/java/groovy/junit6/plugin/ExpectedToFailContext.java:49
↓ 17 callersMethodgetExtensionMethodNode
Returns the original extension method represented by this synthetic node.
src/main/java/org/codehaus/groovy/transform/stc/ExtensionMethodNode.java:51
↓ 17 callersMethodgetFileName
{@inheritDoc}
subprojects/groovy-nio/src/main/java/org/apache/groovy/nio/runtime/WritablePath.java:115
↓ 17 callersMethodgetGetterNameOrDefault
Returns the default getter method name for this property. If an explicit name has been set, returns that; otherwise returns the conventional name. For
src/main/java/org/codehaus/groovy/ast/PropertyNode.java:291
↓ 17 callersMethodgetLength
Provides a {@code getLength} alias for {@code length} for {@link StringBuilder}, supporting assignment arithmetic operator expressions involving the o
src/main/java/org/codehaus/groovy/runtime/StringGroovyMethods.java:3054
↓ 17 callersMethodgetMapEntryExpressions
()
src/main/java/org/codehaus/groovy/ast/expr/MapExpression.java:48
↓ 17 callersMethodgetName
Returns the field name. @return the field's identifier
src/main/java/org/codehaus/groovy/ast/FieldNode.java:97
↓ 17 callersMethodgetOwner
Returns the class that declares this field. @return the declaring {@link ClassNode}, or null if not yet set
src/main/java/org/codehaus/groovy/ast/FieldNode.java:131
↓ 17 callersMethodgetParameters
Returns the parameter definitions for this closure. @return an array of {@link Parameter} definitions, empty if no explicit parameters are provided
src/main/java/org/codehaus/groovy/ast/expr/ClosureExpression.java:87
↓ 17 callersMethodgetType
Returns the token type. @return the token type
subprojects/groovy-json/src/main/java/groovy/json/JsonToken.java:187
↓ 17 callersMethodhasDeclaredMethod
Tests whether a method with the given name and parameter signature is declared directly in this class (not inherited from a superclass). This is a con
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1179
↓ 17 callersMethodisClosureSharedVariable
Returns true if this variable is shared with and accessed by nested closures. Shared variables require special handling in bytecode generation to ensu
src/main/java/org/codehaus/groovy/ast/Variable.java:88
↓ 17 callersMethodisLHS
Returns {@code true} if the current expression is being compiled as a left-hand side.
src/main/java/org/codehaus/groovy/classgen/asm/CompileStack.java:1044
↓ 17 callersMethodisUpperCase
Determines if a Character is uppercase. Synonym for 'Character.isUpperCase(this)'. @param self a Character @return true if the character is uppercase
src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java:10953
↓ 17 callersMethoditem
{@inheritDoc}
subprojects/groovy-xml/src/main/java/groovy/xml/dom/DOMCategory.java:843
↓ 17 callersFunctionob
(a)
src/spec/doc/assets/js/jquery-2.1.1.min.js:2
↓ 17 callersMethodpostVisitStatement
Handles statement-exit bookkeeping. @param statement the statement being exited
src/main/java/org/codehaus/groovy/control/LabelVerifier.java:276
↓ 17 callersMethodpushLHS
Pushes a new left-hand-side flag onto the LHS stack. @param lhs {@code true} if the next expression is compiled as an assignment target
src/main/java/org/codehaus/groovy/classgen/asm/CompileStack.java:1053
↓ 17 callersMethodrespondsTo
<p>Returns an object satisfying Groovy truth if the implementing MetaClass responds to a method with the given name and arguments types. <p>Note that
src/main/java/groovy/lang/MetaObjectProtocol.java:60
↓ 17 callersMethodset
Sets the value of the referenced variable. @param value the value to set in the script binding
src/main/java/org/codehaus/groovy/runtime/ScriptReference.java:61
↓ 17 callersMethodsetResolveStrategy
Sets the strategy which the closure uses to resolve property references and methods. The default is Closure.OWNER_FIRST @param resolveStrategy The re
src/main/java/groovy/lang/Closure.java:320
↓ 17 callersMethodstream
Returns a reusable stream over the current elements. @return the element stream
subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/QueryableCollection.java:691
↓ 17 callersMethodsubmit
Submits a value-returning task for execution and returns a {@link Future} representing the pending results of the task. <pre class="language-groovy g
src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java:15568
↓ 17 callersMethodswap
Swaps two elements at the specified positions. <p> Example: <pre class="language-groovy groovyTestCase"> assert ([false, true, false, true] as boolean
src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java:9604
↓ 17 callersMethodunwrap
(Object[] arguments)
src/main/java/org/codehaus/groovy/runtime/MetaClassHelper.java:1000
↓ 17 callersMethodvisitAnnotations
Visits annotations on an {@link AnnotatedNode}, delegating to {@link #visitAnnotation(AnnotationNode)}. @param node the annotated node containing ann
src/main/java/org/codehaus/groovy/ast/ClassCodeVisitorSupport.java:94
↓ 17 callersMethodwithCurrentFJP
Obtains the current ForkJoinPool from Pool.current() or falls back to the common pool, then executes the operation on it.
src/main/java/org/codehaus/groovy/runtime/ParallelCollectionExtensions.java:277
↓ 16 callersMethodaddChars
Appends a character array using {@link System#arraycopy(Object, int, Object, int, int)}.
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/CharBuf.java:350
↓ 16 callersMethodaddConstructor
(ConstructorNode node)
src/main/java/org/codehaus/groovy/ast/ClassNode.java:903
↓ 16 callersMethodaddMapEntryExpression
(MapEntryExpression expression)
src/main/java/org/codehaus/groovy/ast/expr/MapExpression.java:44
↓ 16 callersMethodandSlow
(byte op1, byte op2)
src/main/java/org/codehaus/groovy/runtime/typehandling/NumberMathModificationInfo.java:3997
↓ 16 callersMethodandX
Creates a binary expression with the AND operator joining two expressions. @param lhv the left-hand-side operand @param rhv the right-hand-side opera
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:194
↓ 16 callersMethodassertStatementAuthorized
Checks that a given statement is either in the allowed list or not in the disallowed list. @param statement the statement to be checked @throws Secur
src/main/java/org/codehaus/groovy/control/customizers/SecureASTCustomizer.java:1318
↓ 16 callersMethodawait
(CountDownLatch latch)
subprojects/stress/src/stressTest/java/org/apache/groovy/stress/util/ThreadUtils.java:28
↓ 16 callersMethodcompareTo
(String anotherString)
src/main/java/org/codehaus/groovy/runtime/GStringImpl.java:351
↓ 16 callersMethodcompareTo
(final Object left, final Object right)
src/main/java/org/codehaus/groovy/runtime/ScriptBytecodeAdapter.java:840
↓ 16 callersMethodconcat
Concatenate arrays and ignore null array @param arrays arrays to merge @param <T> array component type @return the concatenated array
src/main/java/org/apache/groovy/util/Arrays.java:38
↓ 16 callersMethodcreateArray
()
src/main/java/org/codehaus/groovy/runtime/ArrayUtil.java:86
↓ 16 callersMethodcreateSimilarArray
(final T[] orig, final int newCapacity)
src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethodsSupport.java:275
↓ 16 callersMethoddup
duplicate top element
src/main/java/org/codehaus/groovy/classgen/asm/OperandStack.java:225
↓ 16 callersMethodentrySet
{@inheritDoc}
subprojects/groovy-groovydoc/src/test/groovy/org/codehaus/groovy/tools/groovydoc/testfiles/JavaImplementsMapInheritDoc.java:96
↓ 16 callersMethodevaluate
Evaluates some script against the current Binding and returns the result @param codeSource @throws CompilationFailedException
src/main/java/groovy/lang/GroovyShell.java:551
↓ 16 callersMethodevaluateBinaryExpression
Evaluates a dynamic binary operator by invoking the named helper method. @param message the operator method name @param expression the expression to
src/main/java/org/codehaus/groovy/classgen/asm/BinaryExpressionHelper.java:1002
↓ 16 callersMethodfindFirst
@return the first match in document order, if any; stops at the first match
src/main/java/org/codehaus/groovy/ast/query/AstQuery.java:264
↓ 16 callersMethodget
{@inheritDoc}
src/main/java/org/codehaus/groovy/runtime/memoize/CommonCache.java:125
↓ 16 callersMethodgetAdaptee
Returns the MetaClass that this adapter adapts @return The MetaClass instance
src/main/java/groovy/lang/AdaptingMetaClass.java:34
↓ 16 callersMethodgetClassLoader
Returns the class loader in use by this ProcessingUnit.
src/main/java/org/codehaus/groovy/control/ProcessingUnit.java:90
↓ 16 callersMethodgetCollectionExpression
Returns the {@link Expression} that produces the iterable to loop over. For classic for loops, this is a {@link ClosureListExpression} containing init
src/main/java/org/codehaus/groovy/ast/stmt/ForStatement.java:184
↓ 16 callersMethodgetElseBlock
Returns the {@link Statement} to execute when the condition is false. Returns {@link EmptyStatement#INSTANCE} if no else clause was specified. @retur
src/main/java/org/codehaus/groovy/ast/stmt/IfStatement.java:122
↓ 16 callersMethodgetIfBlock
Returns the {@link Statement} to execute when the condition is true. @return the then-block {@link Statement}
src/main/java/org/codehaus/groovy/ast/stmt/IfStatement.java:112
↓ 16 callersMethodgetInitialValueExpression
Returns the initial value expression for this field. Provides direct access to the initializer expression if one is defined. @return the {@link Expre
src/main/java/org/codehaus/groovy/ast/FieldNode.java:233
↓ 16 callersMethodgetLastColumnNumber
Returns the column number where this AST node ends in the source file. Column numbers are 0-indexed. Returns -1 if position information is unavailable
src/main/java/org/codehaus/groovy/ast/ASTNode.java:147
↓ 16 callersMethodgetMessage
()
subprojects/groovy-test-junit6/src/main/java/groovy/junit6/plugin/ExpectedToFailContext.java:45
↓ 16 callersMethodgetName
Returns the variable name represented by this expression. @return the variable name; never null
src/main/java/org/codehaus/groovy/ast/expr/VariableExpression.java:223
↓ 16 callersMethodgetOwner
@return the owner Object to which method calls will go which is typically the outer class when the closure is constructed
src/main/java/groovy/lang/Closure.java:590
↓ 16 callersMethodgetParameterTypes
Returns the cached class representations of the parameter types. Lazily initializes the types on first access. @return an array of cached parameter t
src/main/java/org/codehaus/groovy/reflection/ParameterTypes.java:102
↓ 16 callersMethodgetPath
Returns the package-style path for the supplied source file name. @param filename the source file name to inspect @return the parent path, or {@code
subprojects/groovy-groovydoc/src/main/java/org/apache/groovy/groovydoc/tools/GroovyDocUtil.java:33
↓ 16 callersMethodgetProperties
Returns all {@link PropertyNode}s declared in this ClassNode. If this node is a proxy (has a redirect), the call is forwarded to the redirect target.
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1011
↓ 16 callersMethodgetProperty
()
src/main/java/org/codehaus/groovy/ast/expr/PropertyExpression.java:74
↓ 16 callersMethodgetResource
{@inheritDoc}
src/main/java/org/codehaus/groovy/tools/RootLoader.java:166
↓ 16 callersMethodgetTypeChooser
{@inheritDoc}
src/main/java/org/codehaus/groovy/classgen/asm/sc/StaticTypesWriterController.java:216
↓ 16 callersMethodgetValues
Returns the values that should be expanded into positional placeholders. @return the values for the expanded {@code IN} list
subprojects/groovy-sql/src/main/java/groovy/sql/InListParameter.java:37
↓ 16 callersMethodgetVariableExpression
This method returns the left hand side of the declaration cast to the VariableExpression type. This is an unsafe method to call. In a multiple assignm
src/main/java/org/codehaus/groovy/ast/expr/DeclarationExpression.java:105
↓ 16 callersMethodhighlight
Schedules highlighting for the delimiter nearest the caret.
subprojects/groovy-console/src/main/groovy/groovy/console/ui/text/MatchingHighlighter.java:99
↓ 16 callersMethodinspect
Returns an inspectable string representation of the given object. @param self the object to inspect @return a detailed string representation
src/main/java/org/codehaus/groovy/runtime/FormatHelper.java:109
↓ 16 callersMethodintdivSlow
(byte op1, byte op2)
src/main/java/org/codehaus/groovy/runtime/typehandling/NumberMathModificationInfo.java:4701
↓ 16 callersMethodisEmpty
Returns true if the GPathResult is empty, i.e. if, and only if, <code>size()</code> is 0. @return true if the GPathResult is empty
subprojects/groovy-xml/src/main/java/groovy/xml/slurpersupport/GPathResult.java:675
↓ 16 callersMethodisEmpty
{@inheritDoc}
src/main/java/groovy/lang/MapWithDefault.java:90
← previousnext →701–800 of 19,657, ranked by callers