Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/commons-ognl
/ functions
Functions
1,557 in github.com/apache/commons-ognl
⨍
Functions
1,557
◇
Types & classes
334
↓ 194 callers
Method
put
( K key, V value )
src/main/java/org/apache/commons/ognl/internal/Cache.java:33
↓ 114 callers
Method
assertEquals
( Object expected, Object actual )
src/test/java/org/apache/commons/ognl/test/OgnlTestCase.java:158
↓ 109 callers
Method
getName
The name of the assigned variable reference. @return The name of the reference as it will be when compiled.
src/main/java/org/apache/commons/ognl/enhance/LocalReference.java:33
↓ 102 callers
Method
getValue
Extracts the value from the given source object that is appropriate for this node within the given context.
src/main/java/org/apache/commons/ognl/Node.java:69
↓ 98 callers
Method
get
( K key )
src/main/java/org/apache/commons/ognl/internal/Cache.java:30
↓ 88 callers
Method
equals
( Object o )
src/main/java/org/apache/commons/ognl/OgnlContext.java:748
↓ 87 callers
Method
add
( Object v1, Object v2 )
src/main/java/org/apache/commons/ognl/OgnlOps.java:1080
↓ 82 callers
Method
getCurrentType
Gets the current class type being evaluated on the stack, as set by {@link #setCurrentType(Class)}. @return The current object type, may be null.
src/main/java/org/apache/commons/ognl/OgnlContext.java:349
↓ 81 callers
Method
get
( OgnlContext context, Object target, String propertyName )
src/test/java/org/apache/commons/ognl/test/CompilingPropertyAccessor.java:97
↓ 75 callers
Method
setCurrentType
( Class<?> type )
src/main/java/org/apache/commons/ognl/OgnlContext.java:359
↓ 63 callers
Method
getCurrentObject
()
src/main/java/org/apache/commons/ognl/OgnlContext.java:299
↓ 57 callers
Method
setCurrentObject
( Object value )
src/main/java/org/apache/commons/ognl/OgnlContext.java:294
↓ 53 callers
Method
toString
()
src/main/java/org/apache/commons/ognl/internal/Entry.java:66
↓ 48 callers
Method
getRoot
Gets the stored root object for the given context - if any. @param context The context to get the root object from. @return The root object - or null
src/main/java/org/apache/commons/ognl/Ognl.java:373
↓ 46 callers
Method
visit
( ASTSequence node, P data )
src/main/java/org/apache/commons/ognl/NodeVisitor.java:26
↓ 45 callers
Method
createDefaultContext
Creates and returns a new standard naming context for evaluating an OGNL expression. @param root the root of the object graph @return a new Map with
src/main/java/org/apache/commons/ognl/Ognl.java:151
↓ 45 callers
Method
getMap
()
src/test/java/org/apache/commons/ognl/test/objects/Root.java:243
↓ 42 callers
Method
getCompiler
( OgnlContext ognlContext )
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:198
↓ 39 callers
Method
getGetterClass
The type returned from the expression - if any. @return The type.
src/main/java/org/apache/commons/ognl/NodeType.java:34
↓ 39 callers
Method
longValue
Evaluates the given object as a long integer. @param value an object to interpret as a long integer @return the long integer value implied by the giv
src/main/java/org/apache/commons/ognl/OgnlOps.java:208
↓ 37 callers
Method
castToRuntime
Utility method that converts incoming exceptions to {@link RuntimeException} instances - or casts them if they already are. @param t The exception to
src/main/java/org/apache/commons/ognl/OgnlOps.java:1293
↓ 37 callers
Method
setCurrentAccessor
( Class<?> type )
src/main/java/org/apache/commons/ognl/OgnlContext.java:304
↓ 36 callers
Method
getParameterTypes
( Method method )
src/benchmarks/java/org/apache/commons/ognl/performance/runtime/RuntimeWrapper.java:48
↓ 35 callers
Method
isArray
()
src/main/java/org/apache/commons/ognl/ASTCtor.java:70
↓ 34 callers
Method
getAccessor
Gets the compiled bytecode enhanced expression accessor for getting/setting values. @return The accessor for this node, or null if none has been comp
src/main/java/org/apache/commons/ognl/Node.java:83
↓ 33 callers
Method
getName
()
src/test/java/org/apache/commons/ognl/test/objects/ListSource.java:30
↓ 31 callers
Method
parseExpression
Parses the given OGNL expression and returns a tree representation of the expression that can be used by <code>Ognl</code> static methods. @param exp
src/main/java/org/apache/commons/ognl/Ognl.java:106
↓ 29 callers
Method
size
()
src/main/java/org/apache/commons/ognl/OgnlContext.java:516
↓ 27 callers
Method
clear
()
src/main/java/org/apache/commons/ognl/internal/Cache.java:26
↓ 27 callers
Method
getReadMethod
Finds the best possible match for a method on the specified target class with a matching name. <p> The name matched will also try different combinatio
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:1784
↓ 27 callers
Method
toGetSourceString
Expected to return a java source representation of itself such that it could be turned into a literal Java expression to be compiled and executed for
src/main/java/org/apache/commons/ognl/JavaSource.java:36
↓ 26 callers
Method
remove
( Object key )
src/main/java/org/apache/commons/ognl/OgnlContext.java:648
↓ 24 callers
Method
bigIntValue
Evaluates the given object as a BigInteger. @param value an object to interpret as a BigInteger @return the BigInteger value implied by the given obj
src/main/java/org/apache/commons/ognl/OgnlOps.java:268
↓ 23 callers
Method
createLocalReference
Method is used for expressions where multiple inner parameter method calls in generated Java source strings cause javassit failures. It is hacky and c
src/main/java/org/apache/commons/ognl/enhance/OgnlExpressionCompiler.java:124
↓ 22 callers
Method
getValue
Evaluates the given OGNL expression tree to extract a value from the given root object. The default context is set for the given context and root via
src/main/java/org/apache/commons/ognl/Ognl.java:402
↓ 22 callers
Method
isEmpty
()
src/main/java/org/apache/commons/ognl/OgnlContext.java:521
↓ 21 callers
Method
getCurrentAccessor
()
src/main/java/org/apache/commons/ognl/OgnlContext.java:309
↓ 21 callers
Method
getPreviousType
Represents the last known object type on the evaluation stack, will be the value of the last known {@link #getCurrentType()}. @return The previous ty
src/main/java/org/apache/commons/ognl/OgnlContext.java:370
↓ 21 callers
Method
visitExpressionNode
( ExpressionNode node, StringBuilder data )
src/main/java/org/apache/commons/ognl/ToStringVisitor.java:68
↓ 20 callers
Method
getNumericType
Returns a constant from the NumericTypes interface that represents the numeric type of the given object. @param value an object that needs to be inte
src/main/java/org/apache/commons/ognl/OgnlOps.java:376
↓ 20 callers
Method
getPropertyDescriptor
This method returns a PropertyDescriptor for the given class and property name using a Map lookup (using getPropertyDescriptorsMap()). @param targetC
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:1443
↓ 19 callers
Method
getMethod
( OgnlContext context, Class<?> target, String name, Node[] children, bool
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:1686
↓ 19 callers
Method
getRootExpression
Convenience method called by many different property/method resolving AST types to get a root expression resolving string for the given node. The call
src/main/java/org/apache/commons/ognl/enhance/ExpressionCompiler.java:142
↓ 18 callers
Method
booleanValue
( boolean value )
src/main/java/org/apache/commons/ognl/OgnlOps.java:146
↓ 18 callers
Method
doubleValue
Evaluates the given object as a double-precision floating-point number. @param value an object to interpret as a double @return the double value impl
src/main/java/org/apache/commons/ognl/OgnlOps.java:237
↓ 18 callers
Method
getChildSource
Attempts to get the Java source string represented by the specific child expression via the {@link JavaSource#toGetSourceString(OgnlContext, Object)}
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:2032
↓ 18 callers
Method
set
Sets the value represented by this expression path, if possible. @param context The standard ognl context used for variable substitution/etc. @param
src/main/java/org/apache/commons/ognl/enhance/ExpressionAccessor.java:49
↓ 18 callers
Method
setRoot
( Object value )
src/main/java/org/apache/commons/ognl/OgnlContext.java:228
↓ 15 callers
Method
compileExpression
Parses and compiles the given expression using the {@link org.apache.commons.ognl.enhance.OgnlExpressionCompiler} returned from {@link org.apache.comm
src/main/java/org/apache/commons/ognl/Ognl.java:135
↓ 15 callers
Method
getArray
()
src/test/java/org/apache/commons/ognl/test/objects/Root.java:208
↓ 15 callers
Method
getList
()
src/test/java/org/apache/commons/ognl/test/objects/Root.java:253
↓ 15 callers
Method
newInteger
Returns a new Number object of an appropriate type to hold the given integer value. The type of the returned object is consistent with the given type
src/main/java/org/apache/commons/ognl/OgnlOps.java:912
↓ 14 callers
Method
isAccessible
Returns true if the given member is accessible or can be made accessible by this object.
src/main/java/org/apache/commons/ognl/MemberAccess.java:45
↓ 14 callers
Method
jjtGetNumChildren
Return the number of children the node has.
src/main/java/org/apache/commons/ognl/Node.java:62
↓ 14 callers
Method
setElementsAccessor
( Class<?> clazz, ElementsAccessor accessor )
src/main/java/org/apache/commons/ognl/OgnlCache.java:255
↓ 14 callers
Method
setPropertyAccessor
( Class<?> clazz, PropertyAccessor accessor )
src/main/java/org/apache/commons/ognl/OgnlCache.java:186
↓ 13 callers
Method
getCastString
Returns the appropriate casting expression (minus parens) for the specified class type. <p/> For instance, if given an {@link Integer} object the stri
src/main/java/org/apache/commons/ognl/enhance/ExpressionCompiler.java:121
↓ 13 callers
Method
getMemberAccess
Gets the currently stored {@link MemberAccess} object for the given context - if any. @param context The context to get the object from. @return The
src/main/java/org/apache/commons/ognl/Ognl.java:350
↓ 13 callers
Method
getPreviousAccessor
()
src/main/java/org/apache/commons/ognl/OgnlContext.java:319
↓ 13 callers
Method
getRuntime
()
src/benchmarks/java/org/apache/commons/ognl/performance/invocation/RepeatableInvocation.java:154
↓ 13 callers
Method
getSuperOrInterfaceClass
For the given {@link Method} and class finds the highest level interface class this combination can be cast to. @param m The method the class must im
src/main/java/org/apache/commons/ognl/enhance/OgnlExpressionCompiler.java:79
↓ 13 callers
Method
getWriteMethod
( Class<?> target, String name )
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:1884
↓ 12 callers
Method
bigDecValue
Evaluates the given object as a BigDecimal. @param value an object to interpret as a BigDecimal @return the BigDecimal value implied by the given obj
src/main/java/org/apache/commons/ognl/OgnlOps.java:305
↓ 12 callers
Method
format
( String key, Object value )
src/test/java/org/apache/commons/ognl/test/objects/Root.java:223
↓ 12 callers
Method
getPrimitiveWrapperClass
( Class<?> primitiveClass )
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:178
↓ 12 callers
Method
getProperty
Extracts and returns the property of the given name from the given target object. @param context The current execution context. @param target the obj
src/main/java/org/apache/commons/ognl/PropertyAccessor.java:50
↓ 12 callers
Method
jjtAddChild
This method tells the node to add its argument to the node's list of children.
src/main/java/org/apache/commons/ognl/Node.java:54
↓ 11 callers
Method
classForName
( OgnlContext context, String className )
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:647
↓ 11 callers
Method
getClassResolver
Gets the previously stored {@link ClassResolver} for the given context - if any. @param context The context to get the configured resolver from. @ret
src/main/java/org/apache/commons/ognl/Ognl.java:304
↓ 11 callers
Method
getTargetClass
Gets the "target" class of an object for looking up accessors that are registered on the target. If the object is a Class object this will return the
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:226
↓ 11 callers
Method
isIndexedAccess
Returns true if this property is itself an index reference. @return Returns true if this property is itself an index reference.
src/main/java/org/apache/commons/ognl/ASTProperty.java:57
↓ 10 callers
Method
equals
( Object o )
src/test/java/org/apache/commons/ognl/test/objects/Entry.java:38
↓ 10 callers
Method
findParameterTypes
Finds the appropriate parameter types for the given {@link Method} and {@link Class} instance of the type the method is associated with. Correctly fin
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:394
↓ 10 callers
Method
getParameterTypes
Returns the parameter types of the given method.
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:379
↓ 10 callers
Method
isBoolean
( String expression )
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:1991
↓ 10 callers
Method
isInstance
( OgnlContext context, Object value, String className )
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:671
↓ 10 callers
Method
setCurrentNode
( Node value )
src/main/java/org/apache/commons/ognl/OgnlContext.java:405
↓ 10 callers
Method
setValue
Sets the given value in the given target as appropriate for this node within the given context.
src/main/java/org/apache/commons/ognl/Node.java:75
↓ 10 callers
Method
size
()
src/test/java/org/apache/commons/ognl/test/objects/Copy.java:26
↓ 9 callers
Method
addDefaultContext
Appends the standard naming context for evaluating an OGNL expression into the context given so that cached maps can be used as a context. @param roo
src/main/java/org/apache/commons/ognl/Ognl.java:206
↓ 9 callers
Method
done
()
src/test/java/org/apache/commons/ognl/test/Performance.java:304
↓ 9 callers
Method
endTest
()
src/test/java/org/apache/commons/ognl/test/Performance.java:299
↓ 9 callers
Method
flattenTree
This method may be called from subclasses' jjtClose methods. It flattens the tree under this node by eliminating any children that are of the same cla
src/main/java/org/apache/commons/ognl/SimpleNode.java:384
↓ 9 callers
Method
getBean3
()
src/test/java/org/apache/commons/ognl/test/objects/Bean2.java:32
↓ 9 callers
Method
getMethod
( DeclaredMethodCacheEntry declaredMethodCacheEntry )
src/main/java/org/apache/commons/ognl/OgnlCache.java:159
↓ 9 callers
Method
getNumericValueGetter
( Class<?> type )
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:173
↓ 9 callers
Method
getValues
()
src/test/java/org/apache/commons/ognl/test/objects/Indexed.java:49
↓ 9 callers
Method
jjtSetParent
This pair of methods are used to inform the node of its parent.
src/main/java/org/apache/commons/ognl/Node.java:47
↓ 9 callers
Method
recurse
( Node child, StringBuilder data )
src/main/java/org/apache/commons/ognl/ToStringVisitor.java:449
↓ 9 callers
Method
setMethodAccessor
( Class<?> clazz, MethodAccessor accessor )
src/main/java/org/apache/commons/ognl/OgnlCache.java:181
↓ 9 callers
Method
setNullHandler
( Class<?> clazz, NullHandler handler )
src/main/java/org/apache/commons/ognl/OgnlCache.java:270
↓ 9 callers
Method
startTest
()
src/test/java/org/apache/commons/ognl/test/Performance.java:293
↓ 9 callers
Method
stringValue
Evaluates the given object as a String and trims it if the trim flag is true. @param value an object to interpret as a String @param trim if true tri
src/main/java/org/apache/commons/ognl/OgnlOps.java:339
↓ 8 callers
Method
get
Gets the value represented by this expression path, if any. @param context The standard ognl context used for variable substitution/etc. @param targe
src/main/java/org/apache/commons/ognl/enhance/ExpressionAccessor.java:40
↓ 8 callers
Method
getLastExpression
Gets the last expression to be pre-pended with a return <expression> block. @return The expression representing the return portion of a stateme
src/main/java/org/apache/commons/ognl/enhance/OrderedReturn.java:42
↓ 8 callers
Method
getMethods
( Class<?> c, boolean staticMethods )
src/benchmarks/java/org/apache/commons/ognl/performance/runtime/RuntimeWrapper.java:42
↓ 8 callers
Method
getProperty
( OgnlContext context, Object source )
src/main/java/org/apache/commons/ognl/ASTProperty.java:101
↓ 8 callers
Method
isMethodCallable
( Method method )
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:1330
↓ 8 callers
Method
setValue
Called from parser actions. @param value the value to set
src/main/java/org/apache/commons/ognl/ASTConst.java:50
↓ 8 callers
Method
toSetSourceString
Expected to return a java source representation of itself such that it could be turned into a literal Java expression to be compiled and executed for
src/main/java/org/apache/commons/ognl/JavaSource.java:45
next →
1–100 of 1,557, ranked by callers