MCPcopy Create free account

hub / github.com/apache/groovy / functions

Functions19,657 in github.com/apache/groovy

↓ 14 callersMethodgetContext
Returns the source unit for this module (single-file compilation context). Provides access to source code, line mappings, and error reporting. @retur
src/main/java/org/codehaus/groovy/ast/ModuleNode.java:538
↓ 14 callersMethodgetGetter
Gets the getter method of this property.
src/main/java/groovy/lang/MetaBeanProperty.java:127
↓ 14 callersMethodgetGetterMethod
Finds a getter {@link MethodNode} matching the given name, optionally searching superclasses. A getter method is defined as a method with no parameter
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1443
↓ 14 callersMethodgetIndex
()
src/main/java/org/codehaus/groovy/runtime/callsite/CallSite.java:26
↓ 14 callersMethodgetInterfacesAndSuperInterfaces
Collects interfaces implemented directly or transitively. @param cNode the class node @return the resulting Set<ClassNode>
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:966
↓ 14 callersMethodgetIvyParts
Parses a dependency coordinate in Maven or Ivy shorthand form into its component parts. <p> Recognized forms: <ul> <li>Maven: {@code group:module:ve
src/main/java/org/codehaus/groovy/tools/GrapeUtil.java:42
↓ 14 callersMethodgetMap
Lazily initialize and load the backing Map. A {@link LinkedHashMap} is used to preserve insertion order. <p> Do not call while holding a read lock. @
src/main/java/org/apache/groovy/plugin/GroovyRunnerRegistry.java:123
↓ 14 callersMethodgetMessage
Returns the message, including the wrapped cause summary when present. @return the formatted exception message
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/Exceptions.java:169
↓ 14 callersMethodgetMessage
Returns the exception message. Equivalent to {@link #toString()} for this exception type. @return the exception message or I/O cause message
src/main/java/org/codehaus/groovy/syntax/ReadException.java:89
↓ 14 callersMethodgetMethod
@return the name of the method that could not be found
src/main/java/groovy/lang/MissingMethodException.java:102
↓ 14 callersMethodgetMethodName
Extracts the constant method name string from a message expression. Returns {@code null} if the expression is not a constant string. @param message t
src/main/java/org/codehaus/groovy/classgen/asm/InvocationWriter.java:578
↓ 14 callersMethodgetMonths
Returns a month-based duration for the supplied number of months. @param self the number of months @return the corresponding duration
src/main/java/groovy/time/TimeCategory.java:162
↓ 14 callersMethodgetObjectInitializerStatements
()
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1221
↓ 14 callersMethodgetOriginType
Returns the original type used when this variable expression was created. For example, {@link #getType()} may return a boxed type while this method re
src/main/java/org/codehaus/groovy/ast/expr/VariableExpression.java:260
↓ 14 callersMethodgetOuterClasses
Returns a list of all outer classes enclosing this {@link ClassNode} in hierarchical order. The innermost outer class appears first in the list. Retur
src/main/java/org/codehaus/groovy/ast/ClassNode.java:2019
↓ 14 callersMethodgetStackTrace
Returns the wrapped stack trace when a cause is present. @return the effective stack trace
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/Exceptions.java:195
↓ 14 callersMethodgetStatementWriter
Returns the StatementWriter for compiling Groovy statements into bytecode. Selection depends on optimization mode: OptimizingStatementWriter for {@lin
src/main/java/org/codehaus/groovy/classgen/asm/WriterController.java:344
↓ 14 callersMethodgetStaticImports
Returns static import declarations (e.g., {@code import static java.lang.Math.PI}). Maps simple names to {@link ImportNode} objects for static member
src/main/java/org/codehaus/groovy/ast/ModuleNode.java:164
↓ 14 callersMethodgetSystemPropertySafe
Retrieves a System property, or returns some default value if: <ul> <li>the property isn't found</li> <li>the property name is null or empty</li> </ul
src/main/java/org/apache/groovy/util/SystemUtil.java:80
↓ 14 callersMethodgetText
Read the content of the File using the specified encoding and return it as a String. @param file the file whose content we want to read @param cha
src/main/java/org/codehaus/groovy/runtime/ResourceGroovyMethods.java:635
↓ 14 callersMethodgetTimeZone
Retrieves the default TimeZone for a date by using the default Locale settings. Recommended that you use {@code TimeZone.getDefault()} instead. @para
src/main/java/groovy/time/TimeCategory.java:86
↓ 14 callersMethodgetValueExpression
()
src/main/java/org/codehaus/groovy/ast/expr/MapEntryExpression.java:57
↓ 14 callersMethodgetYears
Returns a year-based duration for the supplied number of years. @param self the number of years @return the corresponding duration
src/main/java/groovy/time/TimeCategory.java:182
↓ 14 callersMethodidentity
Returns the identity float unary operator. @return a unary operator that always returns its input argument
src/main/java/groovy/util/function/FloatUnaryOperator.java:79
↓ 14 callersMethodinvokeStaticMethod
(String klass, String methodName, Object arguments)
src/main/java/org/codehaus/groovy/runtime/InvokerHelper.java:85
↓ 14 callersMethodisDone
Returns {@code true} if the computation has completed (normally, exceptionally, or via cancellation). @return {@code true} if complete
src/main/java/groovy/concurrent/Awaitable.java:133
↓ 14 callersMethodisDoubleCategory
Checks whether the type belongs to Groovy's floating-point category. @param x the type to test @return {@code true} if the type is treated as a doubl
src/main/java/org/codehaus/groovy/vmplugin/v8/TypeHelper.java:143
↓ 14 callersMethodisNullExpression
Indicates whether this constant expression represents a null value. @return true if this expression represents null; false otherwise
src/main/java/org/codehaus/groovy/ast/expr/ConstantExpression.java:151
↓ 14 callersMethodisScriptBody
Returns whether this inner class or closure was declared inside a script body. This flag distinguishes between inner classes/closures defined within a
src/main/java/org/codehaus/groovy/ast/ClassNode.java:2216
↓ 14 callersMethodmakeClassSafeWithGenerics
@since 2.4.0
src/main/java/org/codehaus/groovy/ast/tools/GenericsUtils.java:372
↓ 14 callersMethodnewOutputStream
Create a buffered output stream for this file. @param self a file object @return the created OutputStream @throws java.io.IOException if an IOExcepti
subprojects/groovy-nio/src/main/java/org/apache/groovy/nio/extensions/NioExtensions.java:1580
↓ 14 callersMethodpeekLast
{@inheritDoc}
src/main/java/org/apache/groovy/util/concurrent/concurrentlinkedhashmap/LinkedDeque.java:255
↓ 14 callersMethodrange
Define the window bounds by values, similar to MySQL's {@code range between 1.0 preceding and 1.0 following } of window definition @return range defi
subprojects/groovy-ginq/src/main/groovy/org/apache/groovy/ginq/provider/collection/runtime/WindowDefinition.java:192
↓ 14 callersMethodreadLine
Read a single, whole line from the given Reader. This method is designed for use with Readers that support the {@code mark()} operation like BufferRea
src/main/java/org/codehaus/groovy/runtime/IOGroovyMethods.java:648
↓ 14 callersMethodrecord
Records the current stack value for the supplied token position. @param token the token whose source position should be recorded
src/main/java/org/codehaus/groovy/classgen/asm/AssertionWriter.java:272
↓ 14 callersMethodreplaceFirst
(String regex, String replacement)
src/main/java/org/codehaus/groovy/runtime/GStringImpl.java:435
↓ 14 callersMethodsetExpression
Sets the pattern expression matched against the switch control expression. @param e the pattern {@link Expression}
src/main/java/org/codehaus/groovy/ast/stmt/CaseStatement.java:82
↓ 14 callersMethodsetInitialValueExpression
Sets the initial value expression for this field. The expression will be evaluated during field initialization. @param initialValueExpression the {@l
src/main/java/org/codehaus/groovy/ast/FieldNode.java:243
↓ 14 callersMethodsetParametersTypes
Sets the cached parameter types and determines if this is a varargs method. @param pt the array of cached parameter types
src/main/java/org/codehaus/groovy/reflection/ParameterTypes.java:91
↓ 14 callersMethodtest
Tests whether the supplied method contains at least one recursive call. @param method the method to inspect @return {@code true} if the method contai
src/main/java/org/codehaus/groovy/transform/tailrec/HasRecursiveCalls.java:38
↓ 14 callersMethodtoArrayString
A helper method to return the string representation of an array of objects with brace boundaries "[" and "]". @param arguments the array to process @
src/main/java/org/codehaus/groovy/runtime/FormatHelper.java:525
↓ 14 callersMethodtoCharArray
@param string string to grab array from. @return char array from string
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/FastStringUtils.java:68
↓ 14 callersMethodtryCatchS
Creates a try/catch/finally statement. @param tryStatement the try-block statement @return the resulting TryCatchStatement
src/main/java/org/codehaus/groovy/ast/tools/GeneralUtils.java:1748
↓ 14 callersMethodunsupportedAttribute
(BuilderASTTransformation transform, AnnotationNode anno, String memberName)
src/main/java/org/codehaus/groovy/transform/BuilderASTTransformation.java:178
↓ 14 callersMethodvisitBinaryExpression
Visits a binary expression (left op right). @param expression the {@link BinaryExpression} to process
src/main/java/org/codehaus/groovy/ast/GroovyCodeVisitor.java:272
↓ 13 callersMethodaddClass
Adds a class definition to this module. If this is the first class added, its name is recorded as the main class name. The class's containing module i
src/main/java/org/codehaus/groovy/ast/ModuleNode.java:378
↓ 13 callersMethodaddMeta
(final ASTNode node)
src/main/java/org/codehaus/groovy/classgen/asm/OptimizingStatementWriter.java:449
↓ 13 callersMethodallMatch
Combines predicates with logical AND. @param expressions match predicates to combine @return conjunction of all predicates @throws IllegalArgumentExc
src/main/java/org/codehaus/groovy/classgen/asm/sc/AbstractFunctionalInterfaceWriter.java:413
↓ 13 callersMethodassertScript
Asserts the script runs without any exceptions.
src/testFixtures/groovy/org/codehaus/groovy/classgen/TestSupport.java:59
↓ 13 callersMethodbind
Causes automatic updating of bound values to be turned on. This is idempotent between calls to unbind and rebind; i.e. multiple calls to bind will hav
subprojects/groovy-swing/src/main/java/org/apache/groovy/swing/binding/BindingUpdatable.java:31
↓ 13 callersMethodclear
Clear the cache @see #clearAll()
src/main/java/org/codehaus/groovy/runtime/memoize/EvictableCache.java:51
↓ 13 callersMethodcontains
{@inheritDoc}
src/main/java/groovy/util/ObservableSet.java:258
↓ 13 callersMethodcreateGroovyToken
(final Token token)
src/main/java/org/apache/groovy/parser/antlr4/AstBuilder.java:4794
↓ 13 callersMethoddefineVariable
Defines a new Variable using an AST variable. @param initFromStack if true the last element of the stack will be used to initiali
src/main/java/org/codehaus/groovy/classgen/asm/CompileStack.java:818
↓ 13 callersMethoddoCheckNumberOps
(Class klazz, Consumer<Class> byteConsumer, Consumer<Class> shortConsumer, Consumer<Class> intConsumer, Consum
src/main/java/org/codehaus/groovy/runtime/typehandling/NumberMathModificationInfo.java:110
↓ 13 callersMethodentrySet
Returns the hydrated entry set, building the backing map if necessary. @return hydrated entry set
subprojects/groovy-json/src/main/java/org/apache/groovy/json/internal/LazyMap.java:105
↓ 13 callersMethodevaluateCompoundAssign
GEP-15: dynamic-mode compound-assign codegen. Routes through {@link ScriptBytecodeAdapter#compoundAssign(Object, Object, String, String)} which dispat
src/main/java/org/codehaus/groovy/classgen/asm/BinaryExpressionHelper.java:1084
↓ 13 callersMethodexit
Restore the enclosing invocation's measure on return from {@code key} (a no-op when checks were disabled). @param key the method's signature key @pa
subprojects/groovy-contracts/src/main/java/org/apache/groovy/contracts/MethodVariantSupport.java:87
↓ 13 callersMethodfind
Returns the found classes @param classpathEntryURI the classpath entry @param packageName the package under which we find classes @return the found c
src/main/java/org/codehaus/groovy/vmplugin/v9/ClassFinder.java:75
↓ 13 callersMethodgetAST
Returns the CompileUnit that roots our AST.
src/main/java/org/codehaus/groovy/control/CompilationUnit.java:436
↓ 13 callersMethodgetBooleanSafe
Retrieves a Boolean System property, or returns false if: <ul> <li>the property isn't found</li> <li>the property name is null or empty</li> </ul> @p
src/main/java/org/apache/groovy/util/SystemUtil.java:113
↓ 13 callersMethodgetClassUnderInspection
Gets the class of the inspected object. @return the inspected class
src/main/java/groovy/inspect/Inspector.java:350
↓ 13 callersMethodgetDebug
Returns true if debugging operation has been requested.
src/main/java/org/codehaus/groovy/control/CompilerConfiguration.java:967
↓ 13 callersMethodgetEnclosingClosure
Returns the closure expression 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:296
↓ 13 callersMethodgetFalseExpression
()
src/main/java/org/codehaus/groovy/ast/expr/TernaryExpression.java:49
↓ 13 callersMethodgetFeature
(String name)
subprojects/groovy-xml/src/test/groovy/groovy/xml/FactorySupportTest.java:246
↓ 13 callersMethodgetMethodTarget
Returns the target {@link MethodNode} if this method call has been resolved to a specific method. When a target is set, the method call will execute t
src/main/java/org/codehaus/groovy/ast/expr/MethodCallExpression.java:335
↓ 13 callersMethodgetNamespaceURI
Gets the Namespace URI for this QName @return Namespace URI
src/main/java/groovy/namespace/QName.java:96
↓ 13 callersMethodgetOutputStream
()
subprojects/groovy-servlet/src/main/java/groovy/servlet/ServletBinding.java:134
↓ 13 callersMethodgetParametersSafe
@return the parameters for the ClosureExpression
src/main/java/org/codehaus/groovy/ast/tools/ClosureUtils.java:80
↓ 13 callersMethodgetPath
Gets path from a <code>List</code> of <code>String</code>s. @param pathStack <code>List</code> of <code>String</code>s to be concatenated as a path.
src/main/java/org/codehaus/groovy/runtime/ResourceGroovyMethods.java:2763
↓ 13 callersMethodgetResultSet
Gets the current result set. @return the result set @throws SQLException if the result set can not be returned
subprojects/groovy-sql/src/main/java/groovy/sql/GroovyResultSetExtension.java:56
↓ 13 callersMethodgetSourceUnit
{@inheritDoc}
src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingVisitor.java:464
↓ 13 callersMethodgetStarImports
Returns wildcard (star) import declarations (e.g., {@code import java.util. }). These imports make all public classes in a package available without q
src/main/java/org/codehaus/groovy/ast/ModuleNode.java:154
↓ 13 callersMethodgetTarget
(Variable v)
src/main/java/org/codehaus/groovy/classgen/FinalVariableAnalyzer.java:131
↓ 13 callersMethodgetTrueExpression
()
src/main/java/org/codehaus/groovy/ast/expr/TernaryExpression.java:45
↓ 13 callersMethodindexOf
(Object o)
src/main/java/org/codehaus/groovy/runtime/StringGroovyMethods.java:1750
↓ 13 callersMethodinvoke
(CachedMethod method, Object object, Object[] arguments)
src/main/java/org/codehaus/groovy/runtime/Reflector.java:30
↓ 13 callersMethodisAnnotationDefinition
Returns whether this {@link ClassNode} represents an annotation type (annotation definition). Annotation types are always interfaces with both the {@c
src/main/java/org/codehaus/groovy/ast/ClassNode.java:1883
↓ 13 callersMethodisFinal
Indicates whether this member is declared {@code final}. @return {@code true} if the final modifier is present
src/main/java/groovy/lang/MetaMember.java:49
↓ 13 callersMethodisMultipleAssignmentDeclaration
This method tells you if this declaration is a multiple assignment declaration, which has the form "def (x, y) = ..." in Groovy. If this method return
src/main/java/org/codehaus/groovy/ast/expr/DeclarationExpression.java:212
↓ 13 callersMethodisRedirectNode
Returns whether this {@link ClassNode} is a redirect (proxy) node for another ClassNode. A redirect node acts as a placeholder that forwards most meth
src/main/java/org/codehaus/groovy/ast/ClassNode.java:298
↓ 13 callersMethodisSAMType
(final ClassNode type)
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:622
↓ 13 callersMethodisSynthetic
Indicates whether this member was synthesized rather than declared directly in source. @return {@code true} if this member is synthetic
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/groovydoc/GroovyMemberDoc.java:30
↓ 13 callersMethodisThisExpression
Indicates whether the expression represents {@code this}.
src/main/java/org/codehaus/groovy/transform/stc/StaticTypeCheckingVisitor.java:6182
↓ 13 callersMethodisUsingAnonymousInnerClass
Indicates whether this constructor call uses an anonymous inner class. @return true if an anonymous inner class is being created, false for regular c
src/main/java/org/codehaus/groovy/ast/expr/ConstructorCallExpression.java:144
↓ 13 callersMethodisWrapperInteger
(ClassNode type)
src/main/java/org/codehaus/groovy/ast/ClassHelper.java:566
↓ 13 callersMethodjoin
Concatenates the <code>toString()</code> representation of each item from the Iterator. The iterator will be exhausted of elements. @param self an It
src/main/java/org/codehaus/groovy/runtime/DefaultGroovyMethods.java:11049
↓ 13 callersMethodmakeMapEntry
(String method, MethodType[] keys, MethodType[] values)
src/main/java/org/codehaus/groovy/vmplugin/v8/IndyMath.java:64
↓ 13 callersMethodmultiply
Multiplies two {@code int} values. @param a the left operand @param b the right operand @return the product
src/main/java/org/codehaus/groovy/vmplugin/v8/IndyMath.java:187
↓ 13 callersMethodnext
()
subprojects/groovy-xml/src/main/java/groovy/xml/slurpersupport/Node.java:206
↓ 13 callersMethodparameters
Returns the parameters declared by this executable. @return the declared parameters
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/groovydoc/GroovyExecutableMemberDoc.java:54
↓ 13 callersMethodpeek
If a value is present in the {@code OptionalInt}, executes the specified {@code action} with the value as input and then returns {@code self}. <pre c
src/main/java/org/codehaus/groovy/vmplugin/v8/PluginDefaultGroovyMethods.java:307
↓ 13 callersMethodplus
Returns a {@link java.time.Duration} that is {@code seconds} seconds longer than this duration. @param self a Duration @param seconds the number o
subprojects/groovy-datetime/src/main/java/org/apache/groovy/datetime/extensions/DateTimeExtensions.java:355
↓ 13 callersMethodprintIndent
Writes the current indentation through the configured indent printer.
subprojects/groovy-xml/src/main/java/org/apache/groovy/xml/tools/DomToGroovy.java:599
↓ 13 callersMethodput
{@inheritDoc}
src/main/java/org/codehaus/groovy/runtime/memoize/CommonCache.java:133
↓ 13 callersMethodqualifiedTypeName
The qualified name of this type excluding any dimension information. For example, a two-dimensional array of String returns "<code>java.lang.String</c
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/groovydoc/GroovyType.java:37
↓ 13 callersMethodread
(final Reader reader, Position position, StringBuilder lookAhead)
subprojects/groovy-templates/src/main/groovy/groovy/text/StreamingTemplateEngine.java:946
↓ 13 callersMethodreplaceExpressionPropertyWhenNecessary
(final ASTNode node, final String propName, final Class propClass)
src/main/java/org/codehaus/groovy/transform/tailrec/VariableExpressionReplacer.java:166
↓ 13 callersMethodresolveClass
(GroovyRootDoc rootDoc, String name)
subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/SimpleGroovyClassDoc.java:739
← previousnext →901–1,000 of 19,657, ranked by callers