MCPcopy Create free account

hub / github.com/apache/groovy / functions

Functions19,657 in github.com/apache/groovy

↓ 5,428 callersMethodput
Associates the specified value with the specified key in the cache. @param key key with which the specified value is to be associated @param value val
src/main/java/org/codehaus/groovy/runtime/memoize/MemoizeCache.java:34
↓ 1,796 callersMethodadd
Adds a new row to this result set @param values the new values to add @throws SQLException if a database error occurs
subprojects/groovy-sql/src/main/java/groovy/sql/GroovyResultSet.java:79
↓ 1,515 callersMethodequals
Compares two AST nodes. @param a the first node @param b the second node @return {@code true} if the nodes are considered equal
subprojects/groovy-macro/src/main/groovy/org/codehaus/groovy/macro/matcher/NodeComparator.java:36
↓ 909 callersMethodgetName
Returns the name of the variable. @return the variable name
src/main/java/org/codehaus/groovy/ast/Variable.java:48
↓ 890 callersMethodtoString
The qualified name including any dimension information. For example, a two-dimensional array of String returns "<code>java.lang.String[][]</code>", an
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/groovydoc/GroovyType.java:57
↓ 850 callersMethodassertEquals
(String msg, int expected, Object value)
src/test/groovy/groovy/lang/ObjectRangeTest.java:388
↓ 743 callersMethodsize
Get the size of the cache @return the size of the cache
src/main/java/org/codehaus/groovy/runtime/memoize/EvictableCache.java:81
↓ 704 callersMethodgetType
Returns the type of the variable. If the type is not yet determined, implementations may return a dynamic or placeholder type. @return the {@link Cla
src/main/java/org/codehaus/groovy/ast/Variable.java:56
↓ 513 callersMethodgetClass
Looks up a class by its fully qualified name, checking both compiled classes and classes pending compilation. Returns {@code null} if the name does no
src/main/java/org/codehaus/groovy/ast/CompileUnit.java:163
↓ 457 callersMethodget
Returns the current referent. @return the referent, or {@code null} if it is no longer available
src/main/java/org/codehaus/groovy/util/Reference.java:33
↓ 436 callersMethodcall
(Object receiver, Object[] args)
src/main/java/org/codehaus/groovy/runtime/callsite/CallSite.java:35
↓ 434 callersMethodvisit
Convenience method to visit a statement if it is not null. Delegates to the statement's visit method. @param statement the {@link Statement} to proce
src/main/java/org/codehaus/groovy/ast/GroovyCodeVisitor.java:223
↓ 408 callersMethodget
Blocks until the computation completes and returns the result. @return the computed result @throws InterruptedException if the calling thread is inte
src/main/java/groovy/concurrent/Awaitable.java:113
↓ 389 callersMethodsubstring
(int beginIndex)
src/main/java/org/codehaus/groovy/runtime/GStringImpl.java:411
↓ 385 callersMethodinvokeMethod
Invokes the given method on the object.
src/main/java/org/codehaus/groovy/runtime/InvokerHelper.java:586
↓ 383 callersMethodappend
Append the text at the end of the Path without writing a BOM. @param self a Path @param text the text to append at the end of the Path @throws java.i
subprojects/groovy-nio/src/main/java/org/apache/groovy/nio/extensions/NioExtensions.java:661
↓ 378 callersMethodcontains
Tests whether the supplied range contains a character. @param chars the array to scan @param c the character to find @param start the inclusive scan
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/Chr.java:262
↓ 376 callersMethodappend
Appends an object to an Appendable using Groovy's default representation for the object. @param out the appendable to write to @param object the obje
src/main/java/org/codehaus/groovy/runtime/FormatHelper.java:614
↓ 361 callersMethodvarX
Creates a variable expression. @param name the property name @return the resulting VariableExpression
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:1782
↓ 346 callersMethodvisitInsn
{@inheritDoc}
src/main/java/org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java:348
↓ 342 callersMethodput
Stores a value under the supplied key. @param key the cache key @param value the cached value
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/Cache.java:35
↓ 333 callersMethodvalueOf
Returns a QName holding the value of the specified String. <p> The string must be in the form returned by the QName.toString() method, i.e. "{namespac
src/main/java/groovy/namespace/QName.java:249
↓ 330 callersMethodstream
Create {@link Stream<T>} object for the {@link Queryable} instance @return the result stream @since 4.0.0
subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/Queryable.java:528
↓ 324 callersMethodgetText
()
src/main/java/org/codehaus/groovy/ast/expr/MethodCall.java:32
↓ 320 callersMethodget
Retrieves a value and updates cache state as needed. @param key the cache key @return the cached value, or {@code null} if absent
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/Cache.java:43
↓ 313 callersMethodgetNodeMetaData
Gets the node metadata. @param key the metadata key @return the node metadata value for this key
src/main/java/org/codehaus/groovy/ast/NodeMetaDataHandler.java:51
↓ 298 callersMethodisEmpty
Returns {@code true} if this node is completely empty (no root element). @return {@code true} if empty, {@code false} otherwise
src/main/java/org/codehaus/groovy/syntax/CSTNode.java:225
↓ 294 callersMethodlength
{@inheritDoc}
src/main/java/groovy/lang/GString.java:258
↓ 292 callersMethodgetName
Returns the simple name of this meta member. @return the member name
src/main/java/groovy/lang/MetaMember.java:35
↓ 287 callersMethodaddError
(String msg, ASTNode expr)
src/main/java/org/codehaus/groovy/transform/ErrorCollecting.java:29
↓ 284 callersMethoditerator
Gets a snapshot of the current constant metaclasses and returns it as Iterator. Modifications done using this Iterator will not cause a ConcurrentModi
src/main/java/groovy/lang/MetaClassRegistry.java:115
↓ 277 callersMethodputNodeMetaData
Sets the node metadata but allows overwriting values. @param key the metadata key @param value the metadata value @return the old node metadata val
src/main/java/org/codehaus/groovy/ast/NodeMetaDataHandler.java:111
↓ 274 callersMethodgetName
()
subprojects/groovy-jmx/src/test/java/groovy/jmx/DummyMBean.java:30
↓ 273 callersMethodconfigureAST
Sets location(lineNumber, colNumber, lastLineNumber, lastColumnNumber) for node using standard context information. Note: this method is implemented t
src/main/java/org/apache/groovy/parser/antlr4/util/PositionConfigureUtils.java:42
↓ 269 callersMethodasBoolean
A null object coerces to false. @return false
src/main/java/org/codehaus/groovy/runtime/NullObject.java:130
↓ 256 callersMethodgetGenericsTypes
Returns the generic type parameters for this {@link ClassNode}, or {@code null} if none are defined. Generic types represent type parameters and their
src/main/java/org/codehaus/groovy/ast/ClassNode.java:2129
↓ 255 callersMethodmap
Returns a new channel that transforms each element using the function. @param transform the mapping function @param <R> the output element type
src/main/java/groovy/concurrent/AsyncChannel.java:162
↓ 254 callersMethodwrite
Writes the named property on the supplied owner. @param owner the object that owns the property @param propertyName the property name @param value th
src/main/java/groovy/beans/PropertyWriter.java:32
↓ 248 callersMethodgetValue
()
src/test/groovy/org/codehaus/groovy/runtime/typehandling/EqualityTestInterface.java:23
↓ 246 callersMethodcallX
Creates a method call expression. @param receiver the call receiver @param methodName the method name @return the resulting MethodCallExpression
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:466
↓ 245 callersMethodassertEquals
Asserts that two values compare equal using Groovy's coercion-aware equality semantics. @param message the message to use if the assertion fails @par
subprojects/groovy-test/src/main/java/groovy/test/GroovyTestCase.java:292
↓ 233 callersMethodgetDeclaringClass
Returns the class that declares this annotated node. For class members (fields, methods), this is the enclosing class. Returns null for top-level decl
src/main/java/org/codehaus/groovy/ast/AnnotatedNode.java:110
↓ 231 callersMethodisStatic
Returns true if this variable is declared with the {@code static} modifier. @return true if static @since 5.0.0
src/main/java/org/codehaus/groovy/ast/Variable.java:172
↓ 229 callersMethodgetClassNode
Obtains a reference to the original AST for the MetaClass if it is available at runtime @return The original AST or null if it cannot be returned
src/main/java/groovy/lang/MetaClass.java:172
↓ 229 callersMethodgetKey
Returns the group key. For single-key groupby, this is the raw key value. For multi-key groupby, this is a {@link NamedRecord} with named access. @re
subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/GroupResult.java:43
↓ 226 callersMethodconstX
Creates a constant expression. @param val the val @return the resulting ConstantExpression
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:628
↓ 224 callersMethodintValue
Converts this token to an int value. @return the int representation
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/Value.java:49
↓ 215 callersMethodisArray
Determines whether this ClassNode represents an array type. A ClassNode is an array if its component type has been set. The component type represents
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1961
↓ 212 callersMethodgetModifiers
Returns the modifiers (access flags) for this variable as per {@code org.objectweb.asm.Opcodes}. May include visibility modifiers (public, protected,
src/main/java/org/codehaus/groovy/ast/Variable.java:124
↓ 204 callersMethodgetParameters
Returns the parameter list for this method. Each {@link Parameter} may have an initial value expression for default parameters. @return array of para
src/main/java/org/codehaus/groovy/ast/MethodNode.java:170
↓ 203 callersMethodcompile
Compiles the supplied Java source files into the context of the provided Groovy compilation unit. @param files the Java source files to compile @para
src/main/java/org/codehaus/groovy/tools/javac/JavaCompiler.java:37
↓ 203 callersMethoddoubleValue
Converts this token to a double value. @return the double representation
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/Value.java:84
↓ 197 callersMethodremove
(Class<?> type)
src/main/java/org/codehaus/groovy/reflection/GroovyClassValue.java:34
↓ 196 callersMethodassertNotNull
(CharSequence actual)
src/test/groovy/org/codehaus/groovy/classgen/asm/sc/bugs/support/Groovy7538Support.java:56
↓ 195 callersMethodgetOperandStack
Returns the OperandStack managing the JVM operand stack, tracking stack depth and type information for bytecode verification and optimization.
src/main/java/org/codehaus/groovy/classgen/asm/WriterController.java:238
↓ 189 callersMethodlazyInit
Initializes this instance once on first access.
src/main/java/org/apache/groovy/util/concurrent/LazyInitializable.java:31
↓ 185 callersMethodgetAnnotations
Returns the list of annotations attached to this class member. @return list of {@link AnnotationStub} objects, or {@code null} if no annotations pres
src/main/java/org/codehaus/groovy/ast/decompiled/ClassStub.java:146
↓ 182 callersMethodgetExpressions
()
src/main/java/org/codehaus/groovy/ast/expr/ListExpression.java:49
↓ 180 callersMethodgetName
()
src/main/java/org/codehaus/groovy/runtime/callsite/CallSite.java:27
↓ 179 callersMethodcontains
(CharSequence s)
src/main/java/org/codehaus/groovy/runtime/GStringImpl.java:431
↓ 179 callersMethodsetSourcePosition
Sets the source position information using another ASTNode as reference. Copies all position data (line/column start and end) from the source node, en
src/main/java/org/codehaus/groovy/ast/ASTNode.java:169
↓ 177 callersMethodmake
Creates an array of ClassNodes using an array of Java classes, using caching where available. Each class is converted to a ClassNode via {@link #make(
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:280
↓ 172 callersMethodlength
{@inheritDoc}
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/CharBuf.java:659
↓ 165 callersMethodlongValue
Converts this token to a long value. @return the long representation
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/Value.java:56
↓ 165 callersMethodredirect
Returns the {@code ClassNode} this node is a proxy for or the node itself. If this ClassNode has been set as a proxy to another ClassNode via {@link #
src/main/java/org/codehaus/groovy/ast/ClassNode.java:283
↓ 163 callersMethodgetAcg
Returns the AsmClassGenerator managing overall compilation for this class. Provides access to source units, compiler configuration, and other compilat
src/main/java/org/codehaus/groovy/classgen/asm/WriterController.java:177
↓ 160 callersMethodaddStatement
Appends a {@link Statement} to this block. @param statement the {@link Statement} to add; must not be null
src/main/java/org/codehaus/groovy/ast/stmt/BlockStatement.java:102
↓ 158 callersMethodargs
Creates an ArgumentListExpression from individual expression arguments. @param expressions the argument expressions (may be empty) @return an Argumen
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:204
↓ 158 callersMethodgetComponentType
Returns the component type of this array ClassNode. If this ClassNode does not represent an array type, returns {@code null}. For array types, this re
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1991
↓ 156 callersMethodisInterface
Indicates whether this element represents an interface. @return {@code true} if this element is an interface
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/groovydoc/GroovyDoc.java:129
↓ 155 callersMethodgetMethodVisitor
Returns the ASM MethodVisitor for emitting bytecode instructions within the currently-active method or constructor. Null if no method is active.
src/main/java/org/codehaus/groovy/classgen/asm/WriterController.java:204
↓ 155 callersMethodgetText
Returns the content written to the given filename by {@link #writeToOutput}, or {@code null} if no content has been written.
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/MockOutputTool.java:113
↓ 153 callersMethodvisitVarInsn
{@inheritDoc}
src/main/java/org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java:362
↓ 150 callersMethodcontainsKey
Determines if the cache contains an entry for the specified key. @param key key whose presence in this cache is to be tested. @return true if the cach
src/main/java/org/codehaus/groovy/runtime/memoize/EvictableCache.java:74
↓ 150 callersMethodgetCode
Returns the method body as a Statement. Typically a {@link BlockStatement} containing the method's instructions. Returns null for abstract methods or
src/main/java/org/codehaus/groovy/ast/MethodNode.java:117
↓ 147 callersMethodisAssignableFrom
Returns whether the argument class is assignable to this class. Returns {@code true} for {@code null} arguments. @param argument the class to check @
src/main/java/org/codehaus/groovy/reflection/CachedClass.java:649
↓ 147 callersMethodpush
push operand on stack
src/main/java/org/codehaus/groovy/classgen/asm/OperandStack.java:269
↓ 145 callersMethodget
Gets a value from the cache @param key the key whose associated value is to be returned @return the value, or null, if it does not exist.
src/main/java/org/codehaus/groovy/runtime/memoize/MemoizeCache.java:41
↓ 144 callersMethodgetExpression
Returns the pattern expression matched against the switch control expression. @return the pattern {@link Expression}
src/main/java/org/codehaus/groovy/ast/stmt/CaseStatement.java:73
↓ 143 callersMethodreturnS
Creates a return statement. @param expr the expression @return the resulting Statement
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:1636
↓ 141 callersMethodtrim
()
src/main/java/org/codehaus/groovy/runtime/GStringImpl.java:148
↓ 139 callersMethodasList
(Object value)
src/main/java/org/codehaus/groovy/runtime/InvokerHelper.java:107
↓ 137 callersMethodgetMetaClass
Returns the metaclass for a given class. @return the metaClass of this instance
src/main/java/groovy/lang/GroovyObject.java:69
↓ 136 callersMethodgetSuperClass
@return the {@code ClassNode} of the super class of this type
src/main/java/org/codehaus/groovy/ast/ClassNode.java:532
↓ 135 callersMethodget
()
src/main/java/org/apache/groovy/internal/util/Supplier.java:30
↓ 135 callersMethodgetTheClass
Retrieves that Java Class that the attached Meta behaviours apply to @return The java.lang.Class instance
src/main/java/groovy/lang/MetaObjectProtocol.java:123
↓ 135 callersMethodvisitLabel
{@inheritDoc}
src/main/java/org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java:412
↓ 134 callersMethodget
Returns a named component of the group key. Enables {@code g.name} property-style access and {@code g.get("name")} calls. For multi-key groupby, looks
subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/GroupResult.java:54
↓ 134 callersMethodgetMethods
Retrieves a list of MetaMethods held by the class. This list does not include MetaMethods added by groovy.lang.ExpandoMetaClass. @return A list of Me
src/main/java/groovy/lang/MetaClass.java:164
↓ 134 callersMethodhasNext
()
src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java:11012
↓ 131 callersMethodcreateParsingFailedException
(final String msg, final GroovyParserRuleContext ctx)
src/main/java/org/apache/groovy/parser/antlr4/AstBuilder.java:4839
↓ 131 callersMethodgetProperty
(Object receiver)
src/main/java/org/codehaus/groovy/runtime/callsite/CallSite.java:29
↓ 131 callersMethodvisitMethodInsn
{@inheritDoc}
src/main/java/org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java:383
↓ 129 callersMethodprint
Print a value formatted Groovy style to self if it is a Writer, otherwise to the standard output stream. @param self any Object @param value the val
src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java:13304
↓ 126 callersMethodforEach
Performs the given action for each match in document order. @param action the action
src/main/java/org/codehaus/groovy/ast/query/AstQuery.java:281
↓ 125 callersMethodaddAll
Appends the populated contents of another {@code FastArray}. @param newData the source array to append
src/main/java/org/codehaus/groovy/util/FastArray.java:136
↓ 123 callersMethodparam
The optional parameter for tags like "throws" and "param".
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/groovydoc/GroovyTag.java:34
↓ 122 callersMethodstmt
Wraps an expression in an {@link ExpressionStatement}. @param expr the expression @return the resulting Statement
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:1665
↓ 121 callersMethodmatches
Tests whether the supplied node matches. @param node the node to test @return {@code true} if the node matches
subprojects/groovy-macro/src/main/groovy/org/codehaus/groovy/macro/matcher/ASTNodePredicate.java:35
↓ 120 callersMethodgetParameters
Returns true if parameter metadata generation has been enabled.
src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java:981
next →1–100 of 19,657, ranked by callers