MCPcopy Create free account

hub / github.com/apache/groovy / functions

Functions19,657 in github.com/apache/groovy

↓ 120 callersMethodstartsWith
{@inheritDoc}
subprojects/groovy-nio/src/main/java/org/apache/groovy/nio/runtime/WritablePath.java:145
↓ 119 callersMethodgetLeftExpression
Returns the left operand of this binary expression. @return the left operand {@link Expression}; never null
src/main/java/org/codehaus/groovy/ast/expr/BinaryExpression.java:96
↓ 119 callersMethodisPrimitiveType
Test to determine if a ClassNode is a primitive type. Note: this only works for ClassNodes created using a predefined ClassNode @param cn the ClassNo
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:463
↓ 118 callersMethodfilter
Returns a new channel that passes only elements matching the predicate. @param predicate the filter function @return a new filtered channel @since 6.
src/main/java/groovy/concurrent/AsyncChannel.java:136
↓ 118 callersMethodnext
()
src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java:11017
↓ 117 callersMethodclear
Clears the current referent.
src/main/java/org/codehaus/groovy/util/Reference.java:38
↓ 117 callersMethodmake
Creates a writable view of this template using an empty binding. @return a writable object that renders this template
subprojects/groovy-templates/src/main/groovy/groovy/text/Template.java:35
↓ 117 callersMethodstartsWith
(String prefix, int toffset)
src/main/java/org/codehaus/groovy/runtime/GStringImpl.java:367
↓ 116 callersMethodgetRightExpression
Returns the right operand of this binary expression. @return the right operand {@link Expression}; never null
src/main/java/org/codehaus/groovy/ast/expr/BinaryExpression.java:132
↓ 116 callersMethodof
Factory method to create {@link Group} instance @param sourceStream the source stream @param <T> the type of element @return the {@link Group} instan
subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/Group.java:38
↓ 115 callersMethodcharAt
{@inheritDoc}
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/CharBuf.java:665
↓ 115 callersMethodisEmpty
{@inheritDoc}
subprojects/groovy-groovydoc/src/test/groovy/org/codehaus/groovy/tools/groovydoc/testfiles/JavaImplementsMapInheritDoc.java:36
↓ 114 callersMethodvalues
Get all cached values @return all cached values
src/main/java/org/codehaus/groovy/runtime/memoize/EvictableCache.java:60
↓ 112 callersMethodclone
Creates a copy of the given object. @param obj the object to clone @return a copy of the object
subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/jline/GroovyEngine.java:189
↓ 112 callersMethodcollect
Iterates through this Array transforming each item into a new value using the <code>transform</code> closure, returning a list of transformed values.
src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java:890
↓ 112 callersMethodgetNameWithoutPackage
()
src/main/java/org/codehaus/groovy/ast/ClassNode.java:382
↓ 112 callersMethodrenderToOutput
Renders the collected documentation to the given output using the configured templates. @param output the output destination @param destdir the desti
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/GroovyDocTool.java:171
↓ 110 callersMethodclose
Shuts down the pool. Equivalent to {@link #shutdown()}.
src/main/java/groovy/concurrent/Pool.java:174
↓ 110 callersMethodlog
Logs any newly collected bytecode text since the previous visitor callback.
src/main/java/org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java:72
↓ 109 callersMethodgetCompileStack
Returns the CompileStack managing local variable slots, scope boundaries, and control flow labels during method compilation.
src/main/java/org/codehaus/groovy/classgen/asm/WriterController.java:230
↓ 109 callersMethodgetOuterClass
Returns the outer class of this {@link ClassNode}, or {@code null} if this is not an inner class. If this ClassNode has a redirect, returns the outer
src/main/java/org/codehaus/groovy/ast/ClassNode.java:2003
↓ 108 callersMethodarraycopy
(final char[] src, final int srcPos, final char[] dest, final int destPos, final int length)
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/Chr.java:304
↓ 108 callersMethodtransform
Transforms the given expression. @param expression the expression to transform, may be null @return the transformed expression, may be the same insta
src/main/java/org/codehaus/groovy/ast/expr/ExpressionTransformer.java:54
↓ 106 callersMethodgetArguments
()
src/main/java/org/codehaus/groovy/ast/expr/MethodCall.java:31
↓ 105 callersMethodfail
Fails the current test with the supplied message. @param message the failure message; may be {@code null}
subprojects/groovy-test/src/main/java/groovy/test/GroovyAssert.java:116
↓ 105 callersMethodinvokeMethod
<p>Invokes a method on the given receiver for the specified arguments. The sender is the class that invoked the method on the object. The MetaClass wi
src/main/java/groovy/lang/MetaClass.java:54
↓ 103 callersMethodappend
Appends a child to the current node. @param child the child to append @return <code>true</code>
src/main/java/groovy/util/Node.java:164
↓ 103 callersMethodcharAt
{@inheritDoc}
src/main/java/groovy/lang/GString.java:250
↓ 103 callersMethodmakeWithoutCaching
Creates a new ClassNode for the given Java class without caching. Each call creates a unique ClassNode instance, suitable for cases requiring independ
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:328
↓ 103 callersMethodreplace
(char oldChar, char newChar)
src/main/java/org/codehaus/groovy/runtime/GStringImpl.java:423
↓ 103 callersMethodsize
Returns the current number of cached entries. @return the cache size
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/Cache.java:65
↓ 102 callersMethodgetMember
(final String name)
src/main/java/org/codehaus/groovy/ast/AnnotationNode.java:119
↓ 101 callersMethodcall
Invokes the action for the supplied context. @param context the context being popped
subprojects/groovy-macro/src/main/groovy/org/codehaus/groovy/macro/matcher/TreeContextAction.java:32
↓ 98 callersMethodread
Reads the named property from the supplied owner. @param owner the object that owns the property @param propertyName the property name @return the pr
src/main/java/groovy/beans/PropertyReader.java:32
↓ 98 callersMethodsetImplicitThis
Sets whether this method call implicitly refers to the current object. @param implicitThis true if this is an implicit this call; false otherwise
src/main/java/org/codehaus/groovy/ast/expr/MethodCallExpression.java:296
↓ 97 callersMethodindexOf
Returns the first index of the supplied element in the backing list. @param o the element to search for @return the first matching index, or {@code -
subprojects/groovy-swing/src/main/groovy/groovy/swing/impl/ListWrapperListModel.java:141
↓ 96 callersMethodblock
Creates a block statement from statements and optional scope. @param scope the variable scope for the block @param stmts the statements to include in
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:350
↓ 96 callersMethodgetUpperBounds
Returns the upper bounds for this wildcard or placeholder type (e.g., {@code Bound} in {@code ? extends Bound} or {@code Bound1 & Bound2} in {@code T
src/main/java/org/codehaus/groovy/ast/GenericsType.java:272
↓ 96 callersMethodisEmpty
Determines whether the supplied node list is empty. @param self the node list to inspect @return {@code true} if the node list contains no nodes
subprojects/groovy-xml/src/main/java/groovy/xml/dom/DOMCategory.java:765
↓ 96 callersMethodtoList
Convert the {@link Queryable} instance to {@link List<T>} instance @return the result list @since 4.0.0
subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/Queryable.java:512
↓ 95 callersMethodname
Returns the simple name of this documented element. @return the element name
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/groovydoc/GroovyDoc.java:150
↓ 95 callersMethodnewInstance
@param builder the FactoryBuilder @param name the name of the node being built @param value the 'value' argument in the build node @param attributes t
src/main/java/groovy/util/Factory.java:59
↓ 95 callersMethodprintln
Prints a newline to the current 'out' variable which should be a PrintWriter or at least have a println() method defined on it. If there is no 'out' p
src/main/java/groovy/lang/Script.java:155
↓ 95 callersMethodreplace
{@inheritDoc}
subprojects/groovy-console/src/main/groovy/groovy/console/ui/text/SmartDocumentFilter.java:194
↓ 95 callersMethodsingletonList
(Object item)
subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java:1371
↓ 94 callersMethodisEmpty
{@inheritDoc}
src/main/java/groovy/util/ConfigObject.java:340
↓ 93 callersMethodgetStatements
Returns the list of {@link Statement}s in this block. @return an unmodifiable view or direct reference to the statements list
src/main/java/org/codehaus/groovy/ast/stmt/BlockStatement.java:92
↓ 93 callersMethodof
Returns an already-completed {@code Awaitable} with the given value. Useful for returning a pre-computed result from an API that requires an {@code Aw
src/main/java/groovy/concurrent/Awaitable.java:344
↓ 92 callersMethodasList
Hook to allow derived classes to override list of result collection behavior. The default behavior is to return a list of GroovyRowResult objects corr
subprojects/groovy-sql/src/main/java/groovy/sql/Sql.java:4557
↓ 92 callersMethodgetWrapper
Creates a ClassNode containing the wrapper of a ClassNode of primitive type. Any ClassNode representing a primitive type should be created using the p
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:422
↓ 92 callersMethodlog
Logs an Ivy message through platform logging. @param msg the message to log @param level the Ivy message level
subprojects/groovy-grape-ivy/src/main/java/groovy/grape/ivy/PlatformLoggingMessageLogger.java:70
↓ 91 callersMethodgetProxyBuilder
Proxy builders are useful for changing the building context, thus enabling mix &amp; match builders. @return the current builder that serves as a pro
src/main/java/groovy/util/FactoryBuilderSupport.java:1075
↓ 89 callersMethodaddGeneratedMethod
Returns an existing method if one exists or else create a new method and mark it as {@code @Generated}. @see ClassNode#addMethod(String, int, ClassNo
src/main/java/org/apache/groovy/ast/tools/ClassNodeUtils.java:93
↓ 89 callersMethodmemberHasValue
Checks whether an annotation member has a specific value. @param node the annotation node to check @param name the name of the annotation member @par
src/main/java/org/codehaus/groovy/transform/AbstractASTTransformation.java:135
↓ 88 callersMethodaddAll
Adds all items from the iterator to the Collection. @param self the collection @param items the items to add @return true if the collection changed
src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java:345
↓ 88 callersMethodgetOperation
Returns the operation token representing the binary operation. @return the operation {@link Token} (e.g., {@link Types#PLUS}, {@link Types#EQUAL}); n
src/main/java/org/codehaus/groovy/ast/expr/BinaryExpression.java:123
↓ 88 callersMethodvisitClass
Visit a ClassNode.
src/main/java/org/codehaus/groovy/ast/GroovyClassVisitor.java:33
↓ 87 callersMethodclassX
Creates a class literal expression. @param clazz the class reference @return the resulting ClassExpression
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:559
↓ 87 callersMethodgetObjectExpression
()
src/main/java/org/codehaus/groovy/ast/expr/PropertyExpression.java:66
↓ 87 callersMethodtoArray
Returns an array containing the elements of the stream. <pre class="language-groovy groovyTestCase"> import static groovy.test.GroovyAssert.shouldFail
src/main/java/org/codehaus/groovy/runtime/StreamGroovyMethods.java:728
↓ 86 callersMethodparams
Returns the input parameters or {@link Parameter#EMPTY_ARRAY} when input is {@code null}. @param params the parameter array @return the resulting Par
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:1564
↓ 86 callersMethodvisitJumpInsn
{@inheritDoc}
src/main/java/org/codehaus/groovy/classgen/asm/util/LoggableTextifier.java:405
↓ 84 callersMethodfind
Finds variables matching the given pattern. @param name the variable name pattern, or {@code null} to return all variables @return a map of matching
subprojects/groovy-groovysh/src/main/groovy/org/apache/groovy/groovysh/jline/GroovyEngine.java:339
↓ 84 callersMethodgetProperty
Retrieves a property value. @param propertyName the name of the property of interest @return the property value
subprojects/groovy-groovydoc/src/test/groovy/org/codehaus/groovy/tools/groovydoc/testfiles/JavaHiddenInterfaceInheritDoc.java:42
↓ 84 callersMethodisGenericsPlaceHolder
()
src/main/java/org/codehaus/groovy/ast/ClassNode.java:2151
↓ 84 callersMethodpropX
Creates a property access expression. @param owner the owner expression @param property the property name/expression @return the resulting PropertyEx
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:1584
↓ 84 callersMethodreplace
replace top level element with new element of given type
src/main/java/org/codehaus/groovy/classgen/asm/OperandStack.java:314
↓ 83 callersMethodtype
Returns the declared type of this field. @return the field type
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/groovydoc/GroovyFieldDoc.java:55
↓ 82 callersMethodcontains
{@inheritDoc}
src/main/java/groovy/lang/IntRange.java:494
↓ 82 callersMethodgetType
Returns the inferred type for the supplied AST node.
src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingVisitor.java:5961
↓ 82 callersMethodgetTypeDescription
Returns the JVM descriptor for the supplied runtime class. @param c the runtime class @return the ASM type descriptor
src/main/java/org/codehaus/groovy/classgen/asm/BytecodeHelper.java:198
↓ 81 callersMethodgetProperty
<p>Retrieves a property on the given receiver for the specified arguments. The sender is the class that is requesting the property from the object. Th
src/main/java/groovy/lang/MetaClass.java:71
↓ 80 callersMethodgetName
Returns the fully-qualified name of this class after following any redirects. If this ClassNode is a proxy for another ClassNode, the name of the targ
src/main/java/org/codehaus/groovy/ast/ClassNode.java:480
↓ 80 callersMethodremove
Removes the value stored for the supplied key. @param key the cache key
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/Cache.java:58
↓ 80 callersMethodsetProperty
<p>Sets a property on the given receiver for the specified arguments. The sender is the class that is setting the property from the object. The MetaCl
src/main/java/groovy/lang/MetaClass.java:87
↓ 79 callersMethodgetAttribute
Retrieves the value of an attribute (field). This method is to support the Groovy runtime and not for general client API usage. @param sender The cla
src/main/java/groovy/lang/MetaClass.java:123
↓ 79 callersMethodgetOriginType
Returns the original type of this variable before any type wrapping or transformation. For primitive types, this preserves the distinction between box
src/main/java/org/codehaus/groovy/ast/Variable.java:64
↓ 79 callersMethodsplit
Returns two new channels: elements matching the predicate go to the first, non-matching to the second. Both are closed when this channel is exhausted.
src/main/java/groovy/concurrent/AsyncChannel.java:221
↓ 78 callersMethodprintStackTrace
Prints the wrapped stack trace to the supplied stream. @param s the target stream
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/Exceptions.java:152
↓ 77 callersMethodisDerivedFrom
@param type the ClassNode of interest @return true if this node is derived from the given ClassNode
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1321
↓ 75 callersMethodcopyNodeMetaData
Copies all node metadata from the other node to this one @param other the other node
src/main/java/org/codehaus/groovy/ast/NodeMetaDataHandler.java:77
↓ 74 callersMethodaddStaticTypeError
Reports a static type checking error for the supplied node.
src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingVisitor.java:6806
↓ 74 callersMethodforName
Resolves a verbosity level by name. @param name the name to resolve @return the matching verbosity level @throws IllegalArgumentException if the name
src/main/java/org/codehaus/groovy/tools/shell/IO.java:248
↓ 74 callersMethodgetInterfaces
@return the interfaces implemented by this {@code ClassNode}
src/main/java/org/codehaus/groovy/ast/ClassNode.java:569
↓ 74 callersMethodgetMetaClass
(Object object)
src/main/java/org/codehaus/groovy/runtime/InvokerHelper.java:569
↓ 73 callersMethodgetClassInternalName
@return the ASM internal name of the type
src/main/java/org/codehaus/groovy/classgen/asm/BytecodeHelper.java:100
↓ 73 callersMethodgetMethod
Finds a {@link MethodNode} matching the given name and parameter signature in this class or any of its superclasses. This method searches the inherita
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1305
↓ 73 callersMethodisAbstract
Indicates whether this type is declared abstract. @return {@code true} if this type is abstract
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/groovydoc/GroovyClassDoc.java:132
↓ 73 callersMethodtest
(T t)
src/main/java/org/apache/groovy/util/Closures.java:144
↓ 73 callersMethodtoLowerCase
(Locale locale)
src/main/java/org/codehaus/groovy/runtime/GStringImpl.java:455
↓ 72 callersMethodaccept
Performs the operation on the given arguments.
src/main/java/groovy/util/function/TriConsumer.java:37
↓ 72 callersMethodgetDeclaredConstructor
@return the constructor matching the given parameters or {@code null}
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1142
↓ 72 callersMethodgetMessage
Event message getter @return - message that is associated with event.
subprojects/groovy-jmx/src/main/java/groovy/jmx/builder/JmxEventEmitter.java:67
↓ 72 callersMethodunwrap
Unwraps a GroovyRuntimeException, extracting the actual cause if present. Converts GroovyRuntimeException instances that wrap actual exceptions to tho
src/main/java/org/codehaus/groovy/runtime/ScriptBytecodeAdapter.java:76
↓ 71 callersMethodequals
Compares this {@link ClassNode} with another object for equality. Two ClassNodes are considered equal if: <ul> <li>They are the same object (identity
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1737
↓ 71 callersMethodgetClassNode
()
src/main/java/org/codehaus/groovy/ast/AnnotationNode.java:108
↓ 71 callersMethodgetPlainNodeReference
()
src/main/java/org/codehaus/groovy/ast/ClassNode.java:330
↓ 71 callersMethodisObjectType
(ClassNode type)
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:606
↓ 71 callersMethodnewStatic
Creates a MethodCaller for a static method. @param theClass the class containing the method @param name the method name @return a new MethodCaller fo
src/main/java/org/codehaus/groovy/classgen/asm/MethodCaller.java:51
↓ 71 callersMethodprintln
Writes a line through the configured indent printer. @param text line text
subprojects/groovy-xml/src/main/java/org/apache/groovy/xml/tools/DomToGroovy.java:583
← previousnext →101–200 of 19,657, ranked by callers