MCPcopy Create free account

hub / github.com/apache/groovy / functions

Functions19,657 in github.com/apache/groovy

↓ 49 callersMethodtoArray
{@inheritDoc}
src/main/java/groovy/lang/Tuple.java:77
↓ 49 callersMethodtoString
()
src/main/java/org/codehaus/groovy/runtime/GStringImpl.java:479
↓ 48 callersMethodaddField
Adds a {@link FieldNode} to this ClassNode. The field is added to the end of the field list and its declaring class is set to this node's redirect tar
src/main/java/org/codehaus/groovy/ast/ClassNode.java:725
↓ 48 callersMethodgetComponentType
Unsupported for union types.
src/main/java/org/codehaus/groovy/transform/stc/UnionTypeClassNode.java:294
↓ 48 callersMethodgetDeclaredMethod
Finds a {@link MethodNode} matching the given name and parameter signature declared directly in this class. This method does not search superclasses;
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1279
↓ 48 callersMethodgetExpression
Returns the expression revisited during the second pass.
src/main/java/org/codehaus/groovy/transform/stc/SecondPassExpression.java:54
↓ 48 callersMethodisPrimitiveBoolean
(ClassNode type)
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:518
↓ 48 callersMethodmakeArray
(Class<T> clazz)
src/test/groovy/bugs/groovy8468/Factory.java:22
↓ 48 callersMethodparse
Parses JSON text from a {@link String}. @param jsonString the JSON text to parse @return the parsed JSON data structure
subprojects/groovy-json/src/main/java/groovy/json/JsonParser.java:39
↓ 48 callersMethodprintln
()
src/test/groovy/groovy/lang/MockWriter.java:38
↓ 48 callersMethodreplaceAll
(String regex, String replacement)
src/main/java/org/codehaus/groovy/runtime/GStringImpl.java:439
↓ 48 callersMethodtoString
Returns the buffered characters as a string.
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/CharBuf.java:677
↓ 47 callersMethodaddStatement
Adds a statement to the module's statement block. Module-level statements are collected and later wrapped in a synthetic class during compilation (con
src/main/java/org/codehaus/groovy/ast/ModuleNode.java:365
↓ 47 callersMethodgetErrorCollector
Errors found during the compilation should be reported through the ErrorCollector.
src/main/java/org/codehaus/groovy/control/ProcessingUnit.java:110
↓ 47 callersMethodprint
Writes raw markup fragments or names to the output stream. Subclasses may override to customize low-level emission. @param node the value to print
subprojects/groovy-xml/src/main/java/groovy/xml/MarkupBuilder.java:447
↓ 46 callersMethodcall
Invokes the closure with no arguments, returning any value if applicable. @return The value if applicable or null if there is no return statement in
src/main/java/groovy/lang/Closure.java:515
↓ 46 callersMethodgetReturnType
Returns the declared return type of the current method or constructor. The return type reflects the method signature from the source code. @return th
src/main/java/org/codehaus/groovy/classgen/asm/WriterController.java:470
↓ 46 callersMethodisEmpty
Returns true if this statement is empty or produces no side effects. Typically only {@link org.codehaus.groovy.ast.stmt.EmptyStatement} returns true.
src/main/java/org/codehaus/groovy/ast/stmt/Statement.java:146
↓ 46 callersMethodisOrImplements
Checks whether a type equals or implements an interface type. @param type the target type @param interfaceType the interface to test against @return
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:2079
↓ 46 callersMethodnext
{@inheritDoc}
src/main/java/groovy/lang/IntRange.java:92
↓ 46 callersMethodsetDeclaringClass
Sets the class that declares this annotated node. Establishes the ownership relationship for class members. @param declaringClass the declaring {@lin
src/main/java/org/codehaus/groovy/ast/AnnotatedNode.java:120
↓ 46 callersMethodstoreType
Stores the inferred type for the supplied expression.
src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingVisitor.java:5301
↓ 45 callersMethodcallThisX
Creates a method call expression on {@code this}. @param methodName the method name @return the resulting MethodCallExpression
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:446
↓ 45 callersMethodgetDays
Returns a day-based duration for the supplied number of days. @param self the number of days @return the corresponding duration
src/main/java/groovy/time/TimeCategory.java:226
↓ 45 callersMethodgetDeclaredConstructors
()
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1130
↓ 45 callersMethodresolve
Resolves dependency coordinates to artifact URIs. @param args resolve arguments @param dependencies dependency descriptors @return the resolved artif
src/main/java/groovy/grape/GrapeEngine.java:79
↓ 44 callersMethodasIterator
(Object o)
src/main/java/org/codehaus/groovy/runtime/InvokerHelper.java:682
↓ 44 callersMethodgetUnresolvedSuperClass
Returns the unresolved super class of this {@link ClassNode}, using redirect resolution by default. The unresolved super class represents the raw clas
src/main/java/org/codehaus/groovy/ast/ClassNode.java:404
↓ 44 callersMethodisInterface
Returns whether this {@link ClassNode} represents an interface type. A class is an interface if the {@code ACC_INTERFACE} modifier flag is set in its
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1869
↓ 44 callersFunctionn
(a,b)
src/spec/doc/assets/js/jquery-2.1.1.min.js:2
↓ 44 callersMethodnewReader
Create a buffered reader for this file. @param file a File @return a BufferedReader @throws IOException if an IOException occurs. @since 1.0
src/main/java/org/codehaus/groovy/runtime/ResourceGroovyMethods.java:1890
↓ 44 callersMethodthrowUnsupportedOperationIfEmpty
(final int size, final String method)
src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java:11859
↓ 43 callersMethodcastX
Creates a cast expression. @param type the target type @param expression the expression @return the resulting CastExpression
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:529
↓ 43 callersMethodcreateValue
Creates a value in the range. @param value the value to create. @return a value in the range.
src/test/groovy/groovy/lang/NumberRangeTestCase.java:82
↓ 43 callersMethodgetDescription
(final ClassNode node)
src/main/java/org/codehaus/groovy/classgen/ClassCompletionVerifier.java:291
↓ 43 callersMethodgetHours
Returns an hour-based duration for the supplied number of hours. @param self the number of hours @return the corresponding duration
src/main/java/groovy/time/TimeCategory.java:246
↓ 43 callersMethodgetMinutes
Returns a minute-based duration for the supplied number of minutes. @param self the number of minutes @return the corresponding duration
src/main/java/groovy/time/TimeCategory.java:266
↓ 43 callersMethodgetReturnType
()
src/main/java/org/codehaus/groovy/transform/stc/AbstractTypeCheckingExtension.java:178
↓ 43 callersMethodgetSeconds
Returns a second-based duration for the supplied number of seconds. @param self the number of seconds @return the corresponding duration
src/main/java/groovy/time/TimeCategory.java:286
↓ 43 callersMethodgetTheClass
Returns the underlying Java {@code Class} object wrapped by this cached class. @return the class object
src/main/java/org/codehaus/groovy/reflection/CachedClass.java:486
↓ 43 callersMethodset
Sets the contents of this sequence to that of the given collection.
src/main/java/groovy/lang/Sequence.java:72
↓ 43 callersMethodtoList
Convert an iterator to a List. The iterator will become exhausted of elements after making this conversion. @param self an iterator @return a List of
src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java:16576
↓ 43 callersMethodupdate
Causes the values to be propagated from the source to the target
subprojects/groovy-swing/src/main/java/org/apache/groovy/swing/binding/BindingUpdatable.java:50
↓ 42 callersMethodadd
{@inheritDoc}
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/CharBuf.java:63
↓ 42 callersMethodaddFirst
{@inheritDoc}
src/main/java/org/apache/groovy/util/concurrent/concurrentlinkedhashmap/LinkedDeque.java:313
↓ 42 callersMethodbinX
Creates a binary expression from operands and an operator token. @param left the left-hand operand @param token the operator token @param right the r
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:340
↓ 42 callersMethodgetInstance
Get GroovydocHolder instance @return GroovydocHolder instance
src/main/java/groovy/lang/groovydoc/GroovydocHolder.java:39
↓ 42 callersMethodgetMillis
Returns the millisecond component. @return the millisecond component
src/main/java/groovy/time/BaseDuration.java:157
↓ 42 callersMethodhasNext
{@inheritDoc}
src/main/java/groovy/lang/IntRange.java:84
↓ 42 callersMethodisSafe
Indicates whether this binary expression uses safe navigation. Safe operations return null instead of throwing a NullPointerException when the left op
src/main/java/org/codehaus/groovy/ast/expr/BinaryExpression.java:150
↓ 42 callersMethodisSpreadSafe
()
src/main/java/org/codehaus/groovy/ast/expr/PropertyExpression.java:112
↓ 42 callersMethodisSynthetic
Indicates whether this member is synthetic from the JVM's perspective. @return {@code true} if the synthetic modifier bit is present
src/main/java/groovy/lang/MetaMember.java:104
↓ 42 callersMethodsetMethodTarget
Sets a direct method target for this method call. When set, the method call will invoke the specified target directly, bypassing the MOP (method resol
src/main/java/org/codehaus/groovy/ast/expr/MethodCallExpression.java:347
↓ 41 callersMethodfieldX
Creates a field expression. @param fieldNode the fieldNode @return the resulting FieldExpression
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:799
↓ 41 callersMethodgetDeclaredField
Finds a {@link FieldNode} matching the given name declared directly in this class. This method does not search superclasses; to include inherited fiel
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1193
↓ 41 callersMethodgetField
Finds a {@link FieldNode} matching the given name in this class or any of its superclasses. This method searches the inheritance hierarchy starting fr
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1211
↓ 41 callersMethodgetStackLength
Returns the number of tracked entries on the operand stack.
src/main/java/org/codehaus/groovy/classgen/asm/OperandStack.java:113
↓ 41 callersMethodisEnum
Indicates whether this element represents an enum type. @return {@code true} if this element is an enum
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/groovydoc/GroovyDoc.java:80
↓ 41 callersMethodsetGenericsTypes
Sets the generic type parameters for this {@link ClassNode}. Setting generics types updates the generics usage indicator for this class. This method i
src/main/java/org/codehaus/groovy/ast/ClassNode.java:2142
↓ 41 callersMethodtoArray
Copies the backing list into the supplied destination array. @param ts the destination array @param <T> the array component type @return the populate
subprojects/groovy-swing/src/main/groovy/groovy/swing/impl/ListWrapperListModel.java:269
↓ 40 callersMethodaddAnnotation
Adds a new annotation of the specified type to this node. Creates an {@link AnnotationNode} and attaches it. @param type the annotation type as a {@l
src/main/java/org/codehaus/groovy/ast/AnnotatedNode.java:70
↓ 40 callersMethodaddStubMethod
Add a placeholder method via {@link ClassNodeUtils#addGeneratedMethod} and tag it with {@link #STUB_METADATA_KEY}.
src/main/java/org/codehaus/groovy/transform/StubberSupport.java:57
↓ 40 callersMethodboolX
Wraps an expression in a {@link BooleanExpression}. @param expr the expression @return the resulting BooleanExpression
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:392
↓ 40 callersMethodisEmpty
Copied from Apache commons-lang3-3.6 <p>Checks if a CharSequence is empty ("") or null.</p> <pre> StringUtils.isEmpty(null) = true StringUtils.
src/main/java/org/apache/groovy/parser/antlr4/util/StringUtils.java:168
↓ 40 callersMethodsetCode
Sets the method body statement. Typically a {@link BlockStatement}. Setting null indicates an abstract method. @param code the statement representing
src/main/java/org/codehaus/groovy/ast/MethodNode.java:127
↓ 40 callersMethodvisitEnd
Called when ASM parser completes parsing of a class type (with or without type arguments). <p> This method is called after parsing all components of a
src/main/java/org/codehaus/groovy/ast/decompiled/TypeSignatureParser.java:317
↓ 39 callersMethodadd
{@inheritDoc}
src/main/java/groovy/lang/Sequence.java:145
↓ 39 callersMethodappend
(final StringBuilder target, Position targetPosition, char c)
subprojects/groovy-templates/src/main/groovy/groovy/text/StreamingTemplateEngine.java:928
↓ 39 callersMethodasCollection
Converts this Iterable to a Collection. Returns the original argument if it is already a Collection. <p> Example usage: <pre class="language-groovy gr
src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java:983
↓ 39 callersMethodcall
Normal closure call with boolean conversion.
src/main/java/org/codehaus/groovy/runtime/BooleanClosureWrapper.java:51
↓ 39 callersMethodcreateRange
(int from, int to)
src/test/groovy/groovy/lang/ObjectRangeTest.java:380
↓ 39 callersMethodgetCause
()
src/main/java/org/codehaus/groovy/GroovyBugError.java:94
↓ 39 callersMethodgetLine
Returns a line from the source, or null, if unavailable. If you supply a Janitor, resources will be cached. @param lineNumber the number of the line
src/main/java/org/codehaus/groovy/control/io/ReaderSource.java:55
↓ 39 callersMethodgetMethod
Returns the reflected {@link java.lang.reflect.Method} for this caller, matching by name and, if specified, by parameter count. @return the matching
src/main/java/org/codehaus/groovy/classgen/asm/MethodCaller.java:150
↓ 39 callersMethodhasInitialExpression
Returns true if this variable has an initialization expression. @return true if initialized
src/main/java/org/codehaus/groovy/ast/Variable.java:80
↓ 39 callersMethodinvoke
(Object object, String method, Object args)
src/test/groovy/org/codehaus/groovy/runtime/InvokeMethodTest.java:458
↓ 39 callersMethodremoveVar
Indicates that the specified temporary variable is no longer used.
src/main/java/org/codehaus/groovy/classgen/asm/CompileStack.java:294
↓ 39 callersMethodtoString
Returns {@link StringBuilder#toString()}. @return The contents of the String builder.
src/main/java/org/apache/groovy/io/StringBuilderWriter.java:141
↓ 38 callersMethodappend
{@inheritDoc}
subprojects/groovy-templates/src/main/groovy/groovy/text/markup/DelegatingIndentWriter.java:105
↓ 38 callersMethodassertArrayEquals
Asserts that the arrays are equivalent and contain the same values @param expected @param value
subprojects/groovy-test/src/main/java/groovy/test/GroovyTestCase.java:81
↓ 38 callersMethodgetObjectExpression
Returns the expression being compared with {@code null}. @return the compared expression
src/main/java/org/codehaus/groovy/transform/sc/transformers/CompareToNullExpression.java:62
↓ 38 callersMethodgetParent
Returns the parent scope, or {@code null} if this is a root scope. <p> When a scope is created inside another scope (via {@link #withScope}), the oute
src/main/java/groovy/concurrent/AsyncScope.java:86
↓ 38 callersMethodhashCode
()
src/test/groovy/org/codehaus/groovy/runtime/typehandling/EqualityTestAbstractClass.java:70
↓ 38 callersMethodsetSourcePosition
(ASTNode node)
src/main/java/org/codehaus/groovy/ast/expr/MethodCallExpression.java:356
↓ 38 callersMethodtoBigInteger
Converts a number to a BigInteger. <p> Handles BigInteger, integral types, floating-point types, and BigDecimal. Floating-point numbers are first conv
src/main/java/org/codehaus/groovy/runtime/typehandling/NumberMath.java:384
↓ 37 callersMethodgetAt
Supports the subscript operator for a boolean array with a range giving the desired indices. <pre class="language-groovy groovyTestCase"> boolean[] ar
src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java:3638
↓ 37 callersMethodgetBooleanExpression
Returns the {@link BooleanExpression} that is evaluated to determine which code path to execute. @return the {@link BooleanExpression} representing t
src/main/java/org/codehaus/groovy/ast/stmt/IfStatement.java:103
↓ 37 callersMethodgetFrom
The lower value in the range. @return the lower value in the range.
src/main/java/groovy/lang/Range.java:57
↓ 37 callersMethodgetGenericsTypes
Gets the generic type parameters for this method. Triggers lazy initialization. @return an array of generic type specifications @see MethodNode#getGe
src/main/java/org/codehaus/groovy/ast/decompiled/LazyMethodNode.java:450
↓ 37 callersMethodgetLength
{@inheritDoc}
subprojects/groovy-xml/src/main/java/groovy/xml/dom/DOMCategory.java:835
↓ 37 callersMethodgetTopOperand
Returns the type of the top element on the tracked operand stack without removing it.
src/main/java/org/codehaus/groovy/classgen/asm/OperandStack.java:743
↓ 37 callersMethodnewSymbol
Factory method to create a symbol token from a type constant. The symbol text is looked up from the Types registry. @param type the symbol type from
src/main/java/org/codehaus/groovy/syntax/Token.java:338
↓ 37 callersMethodremove
Remove the cached value by the key @param key of the cached value @return returns the removed value
src/main/java/org/codehaus/groovy/runtime/memoize/EvictableCache.java:38
↓ 36 callersMethodcorrectToGenericsSpecRecurse
@since 2.3.0
src/main/java/org/codehaus/groovy/ast/tools/GenericsUtils.java:429
↓ 36 callersMethoddivSlow
(byte op1, byte op2)
src/main/java/org/codehaus/groovy/runtime/typehandling/NumberMathModificationInfo.java:2853
↓ 36 callersMethodgetClassLoader
Returns the class loader currently used for script compilation. @return the active Groovy class loader
subprojects/groovy-jsr223/src/main/java/org/codehaus/groovy/jsr223/GroovyScriptEngineImpl.java:519
↓ 36 callersMethodgetConfiguration
Returns the visitor configuration. @return the current configuration
subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/dsl/GinqAstVisitor.java:151
↓ 36 callersMethodgetErrorCollector
Returns the current error collector, or {@code null} if none is active.
src/main/java/org/codehaus/groovy/transform/stc/TypeCheckingContext.java:130
↓ 36 callersMethodgetLocation
()
subprojects/groovy-jmx/src/test/java/groovy/jmx/DummyMBean.java:26
↓ 36 callersMethodgetMemberStringValue
Retrieves the string value of an annotation member with a default fallback. Returns the default value if the member is undefined (see {@link groovy.tr
src/main/java/org/codehaus/groovy/transform/AbstractASTTransformation.java:162
← previousnext →301–400 of 19,657, ranked by callers