MCPcopy Create free account

hub / github.com/apache/groovy / functions

Functions19,657 in github.com/apache/groovy

↓ 28 callersMethodsetSafe
Sets whether this should be a safe method call. @param safe true for safe navigation; false otherwise
src/main/java/org/codehaus/groovy/ast/expr/MethodCallExpression.java:257
↓ 28 callersMethodsetType
Sets the type information for this expression. Used during type checking and compilation phases to associate a specific type with this expression resu
src/main/java/org/codehaus/groovy/ast/expr/Expression.java:68
↓ 28 callersMethodsubSequence
{@inheritDoc}
src/main/java/groovy/lang/GString.java:266
↓ 28 callersMethodthrowNoSuchElementIfEmpty
(final int size, final String method)
src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java:11853
↓ 27 callersMethodaddIfFound
(AnnotationNode anno, Map<String, String> nameTable, String origName)
src/main/java/org/codehaus/groovy/transform/OperatorRenameASTTransformation.java:140
↓ 27 callersMethodaddMember
(final String name, final Expression value)
src/main/java/org/codehaus/groovy/ast/AnnotationNode.java:69
↓ 27 callersMethodasType
Converts the given iterable to another type. @param iterable an Iterable @param clazz the desired class @return the object resulting from this typ
src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java:1273
↓ 27 callersMethodcastToBoolean
Method used for coercing an object to a boolean value, thanks to an <code>asBoolean()</code> method added on types. @param object to coerce to a bool
src/main/java/org/codehaus/groovy/runtime/typehandling/DefaultTypeTransformation.java:389
↓ 27 callersMethoddie
Throws a generic internal JSON exception. @return never returns normally
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/Exceptions.java:41
↓ 27 callersMethodgetAST
Returns the Abstract Syntax Tree produced during convert()ing and expanded during later phases.
src/main/java/org/codehaus/groovy/control/SourceUnit.java:131
↓ 27 callersMethodgetPackage
()
src/main/java/org/codehaus/groovy/ast/ClassNode.java:366
↓ 27 callersMethodgetUnresolvedName
()
src/main/java/org/codehaus/groovy/ast/ClassNode.java:392
↓ 27 callersMethodisInStaticContext
Returns true if this variable is declared or used in a static context. A static context includes static initializers, static field declarations, stati
src/main/java/org/codehaus/groovy/ast/Variable.java:108
↓ 27 callersMethodisStatic
Indicates whether this member is declared {@code static}. @return {@code true} if the static modifier is present
src/main/java/groovy/lang/MetaMember.java:95
↓ 27 callersMethodlist
Aggregate function {@code list}. There is no equivalent in standard SQL but various databases support a similar concept named: {@code list}, {@code li
subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/Queryable.java:448
↓ 27 callersMethodloadClass
{@inheritDoc} @see ClassLoader#loadClass(java.lang.String,boolean)
src/main/java/groovy/lang/GroovyClassLoader.java:637
↓ 27 callersMethodpushConstant
Pushes an integer constant onto the operand stack. @param mv the current method visitor @param value the constant value
src/main/java/org/codehaus/groovy/classgen/asm/BytecodeHelper.java:250
↓ 27 callersMethodsort
Modifies this array so that its elements are in sorted order. The array items are assumed to be comparable. @param self the array to be sorted @retur
src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java:8993
↓ 27 callersMethodtest
Tests the given value using the wrapped closure with Groovy truth conversion. @param arg the value to test @return {@code true} if the closure result
src/main/java/org/codehaus/groovy/runtime/BooleanClosurePredicate.java:49
↓ 27 callersMethodtoJson
Converts an object to its JSON representation. @param object to convert to JSON @return JSON
subprojects/groovy-json/src/main/java/groovy/json/JsonGenerator.java:49
↓ 26 callersMethodcloseResources
An extension point allowing derived classes to change the behavior of resource closing. @param connection the connection to close @param statement t
subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java:4879
↓ 26 callersMethodcompleteExceptionally
Called internally when the generator throws an exception.
src/main/java/org/apache/groovy/runtime/async/GeneratorBridge.java:88
↓ 26 callersMethodgetField
Gets the field of this property.
src/main/java/groovy/lang/MetaBeanProperty.java:120
↓ 26 callersMethodgetUnwrapper
(ClassNode cn)
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:440
↓ 26 callersMethodhasNext
{@inheritDoc}
src/main/java/org/codehaus/groovy/util/ArrayIterator.java:42
↓ 26 callersMethodisNullConstant
Indicates whether the expression is the {@code null} constant.
src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingVisitor.java:6175
↓ 26 callersMethodisPrimitiveFloat
(ClassNode type)
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:546
↓ 26 callersMethodisThisExpression
(final Expression expression)
src/main/java/org/codehaus/groovy/classgen/AsmClassGenerator.java:1458
↓ 26 callersMethodnewClass
@since 2.3.0
src/main/java/org/codehaus/groovy/ast/tools/GenericsUtils.java:358
↓ 26 callersMethodonLineNumber
Emits line number information for the supplied node when appropriate. @param node the current source node @param message a debug message retained for
src/main/java/org/codehaus/groovy/classgen/AsmClassGenerator.java:2801
↓ 26 callersMethodprettyPrintTypeName
Returns string representation of type without any type arguments. Arrays are indicated with trailing "[]".
src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingSupport.java:867
↓ 26 callersMethodsetDelegate
Allows the delegate to be changed such as when performing markup building @param delegate the new delegate
src/main/java/groovy/lang/Closure.java:607
↓ 26 callersMethodvisit
Visits an arbitrary GINQ expression. @param expression the expression to visit @return the visit result
subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/dsl/GinqAstVisitor.java:139
↓ 25 callersMethodaddErrorAndContinue
Adds a non-fatal syntax error to this source unit. @param se the syntax error to record
src/main/java/org/codehaus/groovy/control/SourceUnit.java:352
↓ 25 callersMethodcreateEntry
(String key, String value)
subprojects/groovy-json/src/test/java/org/apache/groovy/json/internal/ValueMapImplTest.java:87
↓ 25 callersMethodgetColumnNumber
{@inheritDoc}
subprojects/groovy-ant/src/main/java/groovy/ant/AntBuilder.java:567
↓ 25 callersMethodgetCombinedBoundType
Returns the most representative bound for the supplied generics type.
src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingSupport.java:2070
↓ 25 callersMethodgetDeclaredConstructors
Returns the constructors declared by all delegate types.
src/main/java/org/codehaus/groovy/transform/stc/UnionTypeClassNode.java:302
↓ 25 callersMethodgetDocument
@return The GPathResult instance created by consuming a stream of SAX events Note if one of the parse methods has been called then this return
subprojects/groovy-xml/src/main/java/groovy/xml/XmlSlurper.java:319
↓ 25 callersMethodgetMembers
()
src/main/java/org/codehaus/groovy/ast/AnnotationNode.java:112
↓ 25 callersMethodgetTypeChooser
Returns the TypeChooser used to select appropriate type representations for expressions during compilation, supporting both dynamic and typed paths.
src/main/java/org/codehaus/groovy/classgen/asm/WriterController.java:254
↓ 25 callersMethodisEmpty
Checks whether this module is empty (no classes or statements). An empty module compiles to no bytecode output. @return true if both class list and s
src/main/java/org/codehaus/groovy/ast/ModuleNode.java:842
↓ 25 callersMethodisLongCategory
Checks whether the type belongs to Groovy's integral-long category. @param x the type to test @return {@code true} if the type is treated as a long-l
src/main/java/org/codehaus/groovy/vmplugin/v8/TypeHelper.java:118
↓ 25 callersMethodisPrimitiveByte
(ClassNode type)
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:526
↓ 25 callersMethodisPrimitiveInt
(ClassNode type)
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:530
↓ 25 callersMethodisPrimitiveShort
(ClassNode type)
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:538
↓ 25 callersMethodisStatic
Checks whether this method is declared as static. @return true if this method has the static modifier
src/main/java/org/codehaus/groovy/ast/MethodNode.java:306
↓ 25 callersMethodnewInputStream
Creates a buffered input stream for this file. @param self a Path @return a BufferedInputStream of the file @throws java.io.FileNotFoundException if
subprojects/groovy-nio/src/main/java/org/apache/groovy/nio/extensions/NioExtensions.java:1914
↓ 25 callersMethodof
Creates a {@code GroovyPromise} wrapping the given {@link CompletableFuture}. <p> This is a convenience factory that delegates to {@link #GroovyPromis
src/main/java/org/apache/groovy/runtime/async/GroovyPromise.java:73
↓ 25 callersMethodskipWhiteSpace
Skip white space.
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/CharacterSource.java:29
↓ 24 callersMethodasType
Type conversion method for null. @return null
src/main/java/org/codehaus/groovy/runtime/NullObject.java:139
↓ 24 callersMethodcapitalize
Capitalizes the start of the given bean property name.
src/main/java/org/codehaus/groovy/classgen/Verifier.java:1569
↓ 24 callersMethodcomplete
Called internally when the generator completes normally.
src/main/java/org/apache/groovy/runtime/async/GeneratorBridge.java:74
↓ 24 callersMethodcontains
Indicates whether the delegated property set contains the supplied value. @param value the value to look up @return {@code true} if the value is pres
subprojects/groovy-ant/src/main/java/org/codehaus/groovy/ant/AntProjectPropertiesDelegate.java:116
↓ 24 callersMethodcreateElement
(Document doc, StartElement start)
subprojects/groovy-xml/src/main/java/groovy/xml/StAXSupport.java:204
↓ 24 callersMethoddebug
Logs a debug message. @param msg the message to log
subprojects/groovy-ant/src/main/java/org/codehaus/groovy/ant/LoggingHelper.java:91
↓ 24 callersMethoddescribeMethod
(GroovyMethodDoc method)
subprojects/groovy-groovydoc/src/test/groovy/org/codehaus/groovy/tools/groovydoc/GroovyDocToolTest.java:1123
↓ 24 callersMethoddynamicType
Provides the dynamic type representation, used by Groovy for dynamic typing when type information is unknown. Returns a ClassNode marked with metadata
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:246
↓ 24 callersMethodformat
(String format, Object... args)
subprojects/groovy-servlet/src/main/java/groovy/servlet/ServletBinding.java:222
↓ 24 callersMethodgetCause
()
src/main/java/org/codehaus/groovy/runtime/metaclass/MissingMethodExecutionFailed.java:49
↓ 24 callersMethodgetEnclosingClassNode
Returns the class node which is on the top of the stack, or null if there's no such element.
src/main/java/org/codehaus/groovy/transform/stc/TypeCheckingContext.java:327
↓ 24 callersMethodgetLineNumber
Returns the source line number currently being compiled. Line numbers are tracked for debug attribute generation in the bytecode, allowing debuggers a
src/main/java/org/codehaus/groovy/classgen/asm/WriterController.java:693
↓ 24 callersMethodgetMemberStringList
Retrieves a list of string values from a list-type annotation member. Handles both ListExpression members and comma/space-separated string values. Ret
src/main/java/org/codehaus/groovy/transform/AbstractASTTransformation.java:248
↓ 24 callersMethodgetModifiers
Returns the modifier flags for this {@link ClassNode}, combining visibility and behavioral modifiers. The flags are represented as a bitmask using ASM
src/main/java/org/codehaus/groovy/ast/ClassNode.java:509
↓ 24 callersMethodgetSourceEncoding
Gets the currently configured source file encoding.
src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java:866
↓ 24 callersMethodgetType
Returns the type of this parameter. If the type has not been set, a dynamic type is returned. @return the {@link ClassNode} representing this paramet
src/main/java/org/codehaus/groovy/ast/Parameter.java:95
↓ 24 callersMethodhasUnresolvedGenerics
Checks for any placeholder (aka unresolved) generics. @since 4.0.0
src/main/java/org/codehaus/groovy/ast/tools/GenericsUtils.java:1026
↓ 24 callersMethodisEmpty
{@inheritDoc}
subprojects/groovy-sql/src/main/java/groovy/sql/GroovyRowResult.java:180
↓ 24 callersMethodisResolved
Determines whether this ClassNode has been resolved to an actual Java class. A ClassNode is considered resolved if it represents a real {@link Class}
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1930
↓ 24 callersMethodisVoidMethod
Checks whether this method returns void. @return true if the return type is primitive void
src/main/java/org/codehaus/groovy/ast/MethodNode.java:245
↓ 24 callersMethodkeySet
{@inheritDoc}
src/main/java/org/codehaus/groovy/util/ListHashMap.java:133
↓ 24 callersMethodnextPrefix
()
subprojects/performance/src/jmh/groovy/org/apache/groovy/adhoc/FatFreeLambdaBench.java:101
↓ 24 callersMethodnotNull
Asserts that the supplied object reference is not {@code null}. @param obj the reference to validate
subprojects/groovy-contracts/src/main/java/org/apache/groovy/contracts/util/Validate.java:31
↓ 24 callersMethodshift
(int current)
src/main/java/org/codehaus/groovy/util/HashCodeHelper.java:272
↓ 24 callersMethodtoSet
Converts this array to a Set, with each unique element added to the set. <pre class="language-groovy groovyTestCase"> boolean[] array = [true, false,
src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java:10339
↓ 23 callersMethodasGenericsType
()
src/main/java/org/codehaus/groovy/ast/ClassNode.java:2107
↓ 23 callersMethodcastToType
Performs a comprehensive type cast/coercion of an object to a target class. <p> Handles the following conversions: <ul> <li>Primitive types (delegates
src/main/java/org/codehaus/groovy/runtime/typehandling/DefaultTypeTransformation.java:457
↓ 23 callersMethodentrySet
{@inheritDoc}
subprojects/groovy-sql/src/main/java/groovy/sql/GroovyRowResult.java:149
↓ 23 callersMethodentrySet
{@inheritDoc}
src/main/java/groovy/util/ConfigObject.java:400
↓ 23 callersMethodhasCategoryInCurrentThread
()
src/main/java/org/codehaus/groovy/runtime/GroovyCategorySupport.java:279
↓ 23 callersMethodisEmpty
Indicates whether the delegated property set is empty. @return {@code true} if the project currently has no properties
subprojects/groovy-ant/src/main/java/org/codehaus/groovy/ant/AntProjectPropertiesDelegate.java:94
↓ 23 callersMethodisPrimaryClassNode
Determines whether this ClassNode is a primary node or redirects to one. A primary ClassNode represents actual Groovy source code that will be compile
src/main/java/org/codehaus/groovy/ast/ClassNode.java:326
↓ 23 callersMethodlast
Returns the last item from the boolean array. <pre class="language-groovy groovyTestCase"> boolean[] array = [true, false, true] assert array.last() =
src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java:5809
↓ 23 callersMethodlowestUpperBound
Given a list of types, returns the first common supertype. For example, Double and Float would return Number, while Set and String would return Object
src/main/java/org/codehaus/groovy/ast/tools/WideningCategories.java:187
↓ 23 callersMethodnext
()
src/main/java/org/codehaus/groovy/control/CompilationUnit.java:600
↓ 23 callersMethodprint
Prints out the puzzle.
benchmark/bench/meteor.java:128
↓ 23 callersMethodsameClasses
(Class[] params, Object[] arguments, boolean weakNullCheck)
src/main/java/org/codehaus/groovy/runtime/MetaClassHelper.java:898
↓ 23 callersMethodsetMetaClass
Allows the MetaClass to be replaced with a derived implementation. @param metaClass the new metaclass
src/main/java/groovy/lang/GroovyObject.java:76
↓ 23 callersMethodstream
Returns a sequential {@link Stream} containing a single element. <pre class="language-groovy groovyTestCase"> def item = 'string' assert item.stream(
src/main/java/org/codehaus/groovy/runtime/StreamGroovyMethods.java:304
↓ 23 callersMethodvisitClosureExpression
Visits a closure expression. @param expression the {@link ClosureExpression} to process
src/main/java/org/codehaus/groovy/ast/GroovyCodeVisitor.java:300
↓ 22 callersMethodconvertToTypeArray
Converts array of values (incl. {@code null}) to their respective types. @param arguments the arguments @return the types of the arguments
src/main/java/org/codehaus/groovy/runtime/MetaClassHelper.java:648
↓ 22 callersMethodcreateConnection
An extension point allowing derived classes to change the behavior of connection creation. The default behavior is to either use the supplied connecti
subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java:4852
↓ 22 callersMethodgetClassInfo
Retrieves the {@code ClassInfo} for the given class. Lazily creates one if not already cached. @param cls the class to get information for @return th
src/main/java/org/codehaus/groovy/reflection/ClassInfo.java:199
↓ 22 callersMethodgetFullPathName
Returns the documentation output path for this type. @return the full path used when rendering this type
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/groovydoc/GroovyClassDoc.java:204
↓ 22 callersMethodgetLast
{@inheritDoc}
src/main/java/org/apache/groovy/util/concurrent/concurrentlinkedhashmap/LinkedDeque.java:268
↓ 22 callersMethodgetLastLineNumber
Returns the line number where this AST node ends in the source file. Line numbers start from 1. Returns -1 if position information is unavailable. The
src/main/java/org/codehaus/groovy/ast/ASTNode.java:125
↓ 22 callersMethodgetName
Returns the parameter name. @return the name of this parameter
src/main/java/org/codehaus/groovy/ast/Parameter.java:84
↓ 22 callersMethodgetPlugin
Returns the VM plugin selected for the current runtime. @return the active VM plugin, or {@code null} if initialization failed
src/main/java/org/codehaus/groovy/vmplugin/VMPluginFactory.java:64
↓ 22 callersMethodhasNext
()
src/main/java/org/codehaus/groovy/control/CompilationUnit.java:596
↓ 22 callersMethodisCompatibleWith
Determines if the provided type is compatible with this generic type specification. The check is complete and recursive, including nested generic para
src/main/java/org/codehaus/groovy/ast/GenericsType.java:284
← previousnext →501–600 of 19,657, ranked by callers