MCPcopy Create free account

hub / github.com/apache/groovy / functions

Functions19,657 in github.com/apache/groovy

↓ 36 callersMethodgetMetaClassRegistry
Returns Groovy's global {@link MetaClassRegistry}. @return the runtime meta class registry
src/main/java/groovy/lang/GroovySystem.java:84
↓ 36 callersMethodindexOf
(int ch)
src/main/java/org/codehaus/groovy/runtime/GStringImpl.java:379
↓ 36 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
src/main/java/groovy/lang/GroovyObject.java:37
↓ 36 callersMethodminusSlow
(byte op1, byte op2)
src/main/java/org/codehaus/groovy/runtime/typehandling/NumberMathModificationInfo.java:1269
↓ 36 callersMethodmultiplySlow
(byte op1, byte op2)
src/main/java/org/codehaus/groovy/runtime/typehandling/NumberMathModificationInfo.java:2061
↓ 36 callersMethodplusSlow
(byte op1, byte op2)
src/main/java/org/codehaus/groovy/runtime/typehandling/NumberMathModificationInfo.java:477
↓ 36 callersMethodtoCharArray
@param string string to grab array from. @return char array from string
subprojects/groovy-json/src/main/java/org/apache/groovy/json/FastStringService.java:29
↓ 36 callersMethodtoList
Converts this array to a List of the same size, with each element added to the list. @param self a boolean array @return A list containing the conten
src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java:10084
↓ 36 callersMethodtoUpperCase
(Locale locale)
src/main/java/org/codehaus/groovy/runtime/GStringImpl.java:463
↓ 35 callersMethodassertExpressionAuthorized
Checks that a given expression is either in the allowed list or not in the disallowed list. @param expression the expression to be checked @throws Se
src/main/java/org/codehaus/groovy/control/customizers/SecureASTCustomizer.java:1338
↓ 35 callersMethodgetLineNumber
{@inheritDoc}
subprojects/groovy-ant/src/main/java/groovy/ant/AntBuilder.java:575
↓ 35 callersMethodgetMaximumNumberOfParameters
Returns the maximum number of parameters accepted by the closure's {@code doCall} methods. @return the maximum number of parameters, or {@code 0} if
src/main/java/org/codehaus/groovy/reflection/stdclasses/CachedClosureClass.java:79
↓ 35 callersMethodgetProperty
(Object object, String property)
src/main/java/org/codehaus/groovy/runtime/InvokerHelper.java:156
↓ 35 callersMethodgetReturnType
Returns the method's return type as a {@link ClassNode}. @return the return type (defaults to {@link ClassHelper#OBJECT_TYPE} if not set)
src/main/java/org/codehaus/groovy/ast/MethodNode.java:213
↓ 35 callersMethodgetTo
The upper value in the range. @return the upper value in the range
src/main/java/groovy/lang/Range.java:64
↓ 35 callersMethodindexOf
{@inheritDoc}
src/main/java/groovy/util/ObservableList.java:288
↓ 35 callersMethodisUsingGenerics
()
src/main/java/org/codehaus/groovy/ast/ClassNode.java:2164
↓ 35 callersMethodprint
Writes the Groovy builder form of the supplied DOM document. @param document source DOM document
subprojects/groovy-xml/src/main/java/org/apache/groovy/xml/tools/DomToGroovy.java:95
↓ 35 callersMethodwrapTypeIfNecessary
Returns a wrapped type if, and only if, the provided class node is a primitive type. This method differs from {@link ClassHelper#getWrapper(org.codeha
src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingVisitor.java:6949
↓ 34 callersMethodappend
Append the GString to the StringBuilder using a more efficient approach than Java's default approach for a CharSequence. @param sb a StringBuilder @p
src/main/java/org/codehaus/groovy/runtime/StringGroovyMethods.java:231
↓ 34 callersMethodgetLoopBlock
Gets the loop block.
src/main/java/org/codehaus/groovy/ast/stmt/LoopingStatement.java:31
↓ 34 callersMethodgetOwner
Returns the owner object whose MetaClass should be used for delegated operations. @return the owner object
src/main/java/org/codehaus/groovy/runtime/metaclass/OwnedMetaClass.java:67
↓ 34 callersMethodgetReturnType
Returns the return type for this method. @return the return type of this method
src/main/java/groovy/lang/MetaMethod.java:76
↓ 34 callersMethodifElseS
Creates an if/else statement. @param cond the condition expression @param thenStmt the true-branch statement @param elseStmt the false-branch stateme
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:1244
↓ 34 callersMethodisAssignableFrom
(Class classToTransformTo, Class classToTransformFrom)
src/main/java/org/codehaus/groovy/runtime/MetaClassHelper.java:747
↓ 34 callersMethodisPrimitive
Indicates whether this type is a Java primitive type. @return {@code true} if this type is primitive
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/groovydoc/GroovyType.java:31
↓ 34 callersMethodisProtected
Returns true if this variable is declared with the {@code protected} modifier. @return true if protected @since 5.0.0
src/main/java/org/codehaus/groovy/ast/Variable.java:152
↓ 33 callersMethodaddPhaseOperation
Adds a Groovy class operation to the output phase. @param op the operation to run for generated classes
src/main/java/org/codehaus/groovy/control/CompilationUnit.java:368
↓ 33 callersMethodcall
Handles one generated argument list for a default-parameter variant. @param arguments the arguments to pass to the generated member @param parameters
src/main/java/org/codehaus/groovy/classgen/Verifier.java:1072
↓ 33 callersMethodcommentText
Returns the processed comment text for this element. @return the rendered comment text
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/groovydoc/GroovyDoc.java:31
↓ 33 callersMethodcreateSimilarCollection
(Iterable<T> iterable)
src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethodsSupport.java:234
↓ 33 callersMethodgetContext
@return the context of the current node.
src/main/java/groovy/util/FactoryBuilderSupport.java:496
↓ 33 callersMethodgetInputStream
Opens the named resource as an input stream. @param resourceName the classpath resource to load @return the resource stream, or {@code null} if the r
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/ClasspathResourceManager.java:57
↓ 33 callersMethodgetTypeDescriptor
The type descriptor for a method node is a string containing the name of the method, its return type, and its parameter types in a canonical form. For
src/main/java/org/codehaus/groovy/ast/MethodNode.java:91
↓ 33 callersMethodisClassType
(ClassNode type)
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:614
↓ 33 callersMethodnext
Returns the successor of an {@code int} value. @param i the input value @return {@code i + 1}
src/main/java/org/codehaus/groovy/vmplugin/v8/IndyMath.java:431
↓ 33 callersMethodnullX
Creates a {@code null} constant expression. @return the resulting ConstantExpression
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:1520
↓ 33 callersMethodset
Support mutating a Calendar with a Map. <p> The map values are the normal values provided as the second parameter to <code>java.util.Calendar#set(int,
subprojects/groovy-dateutil/src/main/java/org/apache/groovy/dateutil/extensions/DateUtilExtensions.java:198
↓ 33 callersMethodsetSourcePosition
(ASTNode node)
src/main/java/org/codehaus/groovy/ast/expr/EmptyExpression.java:93
↓ 33 callersMethodvisitField
Visit a FieldNode.
src/main/java/org/codehaus/groovy/ast/GroovyClassVisitor.java:48
↓ 33 callersMethodvisitLdcInsn
{@inheritDoc}
src/main/java/org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java:419
↓ 32 callersMethodaddAnnotations
Attaches a list of annotations to this AST node. Individually adds each annotation in the list. @param annotations list of {@link AnnotationNode} obj
src/main/java/org/codehaus/groovy/ast/AnnotatedNode.java:97
↓ 32 callersMethodapplyGenericsContext
Applies the supplied generics context to the given generic arguments.
src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingSupport.java:1918
↓ 32 callersMethodcheckPojoMetaClass
()
src/main/java/org/codehaus/groovy/runtime/callsite/PojoMetaMethodSite.java:62
↓ 32 callersMethodequalsIgnoreCase
(String anotherString)
src/main/java/org/codehaus/groovy/runtime/GStringImpl.java:347
↓ 32 callersMethodgetType
The JDBC data type. @return the type
subprojects/groovy-sql/src/main/java/groovy/sql/InParameter.java:30
↓ 32 callersMethodimplementsInterfaceOrIsSubclassOf
Indicates whether {@code type} implements or inherits from {@code superOrInterface}.
src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingSupport.java:884
↓ 32 callersMethodin
Create a new InParameter @param type the JDBC data type @param value the object value @return an InParameter
subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java:1069
↓ 32 callersMethodisEmpty
Check whether an <code>Iterable</code> has elements <pre class="language-groovy groovyTestCase"> def items = [1] def iterable = { [ hasNext:{ !items.i
src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java:10670
↓ 32 callersMethodisPrimitiveVoid
(ClassNode type)
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:550
↓ 32 callersMethodprimitiveArrayGet
Implements the getAt(int) method for primitive type arrays. @param self an array object @param index the index of interest @return the returned valu
src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java:11805
↓ 32 callersMethodprint
Prints the supplied node and its descendants. @param node the root node to serialize
subprojects/groovy-xml/src/main/java/groovy/xml/XmlNodePrinter.java:126
↓ 32 callersMethodsetNodeMetaData
Sets the node metadata. @param key the metadata key @param value the metadata value @throws GroovyBugError if key is null or there is already metad
src/main/java/org/codehaus/groovy/ast/NodeMetaDataHandler.java:98
↓ 32 callersMethodtoURI
Transforms a CharSequence representing a URI into a URI object. @param self the CharSequence representing a URI @return a URI @throws java.net.URISyn
src/main/java/org/codehaus/groovy/runtime/ResourceGroovyMethods.java:2697
↓ 31 callersMethodaddChar
Appends a byte as a single character.
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/CharBuf.java:286
↓ 31 callersMethodcheckErrorMessage
(String expectedErrorMessage)
src/test/groovy/org/codehaus/groovy/classgen/ClassCompletionVerifierTest.java:297
↓ 31 callersMethoddefineTemporaryVariable
Creates a temporary variable. @param var specifies name and type @param store defines if the toplevel argument of the stack should be stored @return
src/main/java/org/codehaus/groovy/classgen/asm/CompileStack.java:336
↓ 31 callersMethodgetDeclaredMethods
Returns a list of all {@link MethodNode}s with the given name declared directly in this class. This method does not search superclasses; to include in
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1238
↓ 31 callersMethodgetMethodDescriptor
Returns a method descriptor for the given {@link org.codehaus.groovy.ast.MethodNode}. @param methodNode the method node for which to create the descr
src/main/java/org/codehaus/groovy/classgen/asm/BytecodeHelper.java:127
↓ 31 callersMethodgetNativeParameterTypes
Returns the native Java {@code Class} objects for the parameter types. Lazily initializes the types on first access. @return an array of native param
src/main/java/org/codehaus/groovy/reflection/ParameterTypes.java:132
↓ 31 callersMethodgetSourceUnit
Returns the source unit collecting syntax errors. @return the source unit used for reporting
subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/dsl/SyntaxErrorReportable.java:36
↓ 31 callersMethodgetVersion
Gives the version the plugin is made for @return 7 for jdk7, 8 for jdk8, 9 for jdk9 or higher
src/main/java/org/codehaus/groovy/vmplugin/VMPlugin.java:116
↓ 31 callersMethodnonGeneric
@since 2.3.0
src/main/java/org/codehaus/groovy/ast/tools/GenericsUtils.java:336
↓ 30 callersMethodappend
Appends a single character to this Writer. @param value The character to append @return This writer instance
src/main/java/org/apache/groovy/io/StringBuilderWriter.java:79
↓ 30 callersMethodcompareEqual
Compares two objects for equality, handling nulls and type coercion. <p> Performs semantic equality comparison with proper handling of null values, nu
src/main/java/org/codehaus/groovy/runtime/typehandling/DefaultTypeTransformation.java:1220
↓ 30 callersMethodcreateGenericsSpec
@since 2.4.0
src/main/java/org/codehaus/groovy/ast/tools/GenericsUtils.java:548
↓ 30 callersMethoddelDistance
This is a slightly modified version of the Damerau Levenshtein distance algorithm. It has an additional test to see if a character has switched case,
src/main/java/org/codehaus/groovy/runtime/MethodRankHelper.java:349
↓ 30 callersMethodgetClasses
Returns the module's class definitions. If {@code createClassForStatements} is true and there are module-level statements, methods, or this is a packa
src/main/java/org/codehaus/groovy/ast/ModuleNode.java:115
↓ 30 callersMethodgetMethodAsString
()
src/main/java/org/codehaus/groovy/ast/expr/MethodCall.java:30
↓ 30 callersMethodgetName
Returns the name of this generic type. For wildcard types, returns "?"; otherwise returns the type name. @return the type name
src/main/java/org/codehaus/groovy/ast/GenericsType.java:180
↓ 30 callersMethodgetOwnerMetaClass
Returns the MetaClass of the owner object. @param owner the owner object @return the owner's MetaClass
src/main/java/org/codehaus/groovy/runtime/metaclass/OwnedMetaClass.java:223
↓ 30 callersMethodgetPackageName
()
src/main/java/org/codehaus/groovy/ast/ClassNode.java:370
↓ 30 callersMethodgetState
()
src/main/java/org/codehaus/groovy/classgen/FinalVariableAnalyzer.java:144
↓ 30 callersMethodisArray
(final Expression expression)
src/main/java/org/codehaus/groovy/classgen/asm/InvocationWriter.java:346
↓ 30 callersMethodisDirectory
Returns whether this entry is a directory. @return {@code true} when the entry is a directory
subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/jline/GroovyPosixCommands.java:529
↓ 30 callersMethodisPrimitiveChar
(ClassNode type)
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:522
↓ 30 callersMethodisWhitespace
Determines if a character is a whitespace character. Synonym for 'Character.isWhitespace(this)'. @param self a Character @return true if the characte
src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java:10969
↓ 30 callersMethodremoveIf
(Predicate filter)
src/main/java/org/codehaus/groovy/runtime/typehandling/DefaultTypeTransformation.java:1111
↓ 30 callersMethodremoveNodeMetaData
Removes a node metadata entry. @param key the metadata key @throws GroovyBugError if the key is null
src/main/java/org/codehaus/groovy/ast/NodeMetaDataHandler.java:127
↓ 30 callersMethodsetValue
Updates the current value exposed by this model. @param value the new value
subprojects/groovy-swing/src/main/java/groovy/swing/model/ValueModel.java:37
↓ 30 callersMethodtoBigDecimal
Converts a number to a BigDecimal. <p> Handles BigDecimal, BigInteger, integral types, and floating-point types. Floating-point numbers are converted
src/main/java/org/codehaus/groovy/runtime/typehandling/NumberMath.java:358
↓ 29 callersMethodget
(Class<?> type)
src/main/java/org/codehaus/groovy/reflection/GroovyClassValue.java:32
↓ 29 callersMethodgetDeclaredMethod
Returns the first matching declared method found across delegate types.
src/main/java/org/codehaus/groovy/transform/stc/UnionTypeClassNode.java:326
↓ 29 callersMethodgetMethods
Returns all {@link MethodNode}s declared in this ClassNode, including inherited and synthetic methods. If this node is a proxy (has a redirect), the c
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1072
↓ 29 callersMethodgetName
Returns the method name. Special names: "&lt;init&gt;" for constructors, "&lt;clinit&gt;" for static initializers. @return the method's identifier
src/main/java/org/codehaus/groovy/ast/MethodNode.java:160
↓ 29 callersMethodgetVariableScope
Returns the variable scope for this method. The scope tracks declared variables and parameters. @return the {@link VariableScope} for this method
src/main/java/org/codehaus/groovy/ast/MethodNode.java:255
↓ 29 callersMethodhasNext
()
src/main/java/org/codehaus/groovy/runtime/IOGroovyMethods.java:948
↓ 29 callersMethodinvoke
Invokes this method. @param object The object this method should be invoked on @param arguments The arguments for the method if applicable @return Th
src/main/java/groovy/lang/MetaMethod.java:283
↓ 29 callersMethodisPrimitiveDouble
(ClassNode type)
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:542
↓ 29 callersMethodisPrimitiveLong
(ClassNode type)
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:534
↓ 29 callersMethodisPrimitiveType
Tests whether the supplied ASM type is primitive.
src/main/java/org/codehaus/groovy/classgen/asm/util/TypeUtil.java:105
↓ 29 callersMethodlength
Returns the run length. @return the number of characters in the run
subprojects/groovy-console/src/main/groovy/groovy/console/ui/text/StructuredSyntaxDocumentFilter.java:596
↓ 29 callersMethodnext
()
src/main/java/org/codehaus/groovy/runtime/IOGroovyMethods.java:961
↓ 29 callersMethodremoveFirst
{@inheritDoc}
src/main/java/org/apache/groovy/util/concurrent/concurrentlinkedhashmap/LinkedDeque.java:375
↓ 29 callersMethodvisitMaxs
{@inheritDoc}
src/main/java/org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java:499
↓ 28 callersMethodaddExpression
Appends an expression to this container. @param expression the expression to add
src/main/java/org/codehaus/groovy/transform/sc/ListOfExpressionsExpression.java:80
↓ 28 callersMethodgetType
Returns the declared type of this field as a {@link ClassNode}. The type may be dynamically determined or may reference generics. @return the field's
src/main/java/org/codehaus/groovy/ast/FieldNode.java:108
↓ 28 callersMethodisStringType
(ClassNode type)
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:598
↓ 28 callersMethodlastIndexOf
(int ch)
src/main/java/org/codehaus/groovy/runtime/GStringImpl.java:387
↓ 28 callersMethodparameterizeType
Interface class nodes retrieved from {@link org.codehaus.groovy.ast.ClassNode#getInterfaces()} or {@link org.codehaus.groovy.ast.ClassNode#getAllInter
src/main/java/org/codehaus/groovy/ast/tools/GenericsUtils.java:294
← previousnext →401–500 of 19,657, ranked by callers