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
↓ 7 callers
Method
callMethod
Invokes the specified method against the target object. @param context The current execution context. @param target The object to invoke the m
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:968
↓ 7 callers
Method
compileExpression
The core method executed to compile a specific expression. It is expected that this expression always return a {@link Node} with a non null {@link org
src/main/java/org/apache/commons/ognl/enhance/OgnlExpressionCompiler.java:49
↓ 7 callers
Method
containsKey
( Object key )
src/test/java/org/apache/commons/ognl/test/objects/MyMapImpl.java:38
↓ 7 callers
Method
createCache
( CacheEntryFactory<K, V> entryFactory )
src/main/java/org/apache/commons/ognl/internal/CacheFactory.java:32
↓ 7 callers
Method
createClassCache
()
src/main/java/org/apache/commons/ognl/internal/CacheFactory.java:34
↓ 7 callers
Method
getBean2
()
src/test/java/org/apache/commons/ognl/test/objects/Root.java:333
↓ 7 callers
Method
getClassName
Gets a javassist safe class string for the given class instance. This is especially useful for handling array vs. normal class casting strings. @para
src/main/java/org/apache/commons/ognl/enhance/OgnlExpressionCompiler.java:59
↓ 7 callers
Method
getField
( Class<?> inClass, String name )
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:1135
↓ 7 callers
Method
getKey
()
src/main/java/org/apache/commons/ognl/internal/Entry.java:41
↓ 7 callers
Method
getMethods
@param targetClass @param staticMethods if true (false) returns only the (non-)static methods @return Returns the map of methods for a given class
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:1116
↓ 7 callers
Method
getType
The type of reference. @return The type.
src/main/java/org/apache/commons/ognl/enhance/LocalReference.java:47
↓ 7 callers
Method
getTypeConverter
Gets the currently configured {@link TypeConverter} for the given context - if any. @param context The context to get the converter from. @return The
src/main/java/org/apache/commons/ognl/Ognl.java:327
↓ 7 callers
Method
hasMoreElements
{@inheritDoc}
src/main/java/org/apache/commons/ognl/IteratorEnumeration.java:47
↓ 7 callers
Method
nextElement
{@inheritDoc}
src/main/java/org/apache/commons/ognl/IteratorEnumeration.java:55
↓ 7 callers
Method
setRoot
Sets the root object to use for all expressions in the given context - doesn't necessarily replace root object instances explicitly passed in to other
src/main/java/org/apache/commons/ognl/Ognl.java:362
↓ 6 callers
Method
concatInfix
( SimpleNode node, String infix, StringBuilder data )
src/main/java/org/apache/commons/ognl/ToStringVisitor.java:155
↓ 6 callers
Method
contains
( K key )
src/main/java/org/apache/commons/ognl/internal/HashMapCache.java:92
↓ 6 callers
Method
getBean
Gets a bean by name. @param name @return the related bean by name
src/test/java/org/apache/commons/ognl/test/objects/BeanProvider.java:36
↓ 6 callers
Method
getDeclaredMethods
@param targetClass @param propertyName @param findSets @return Returns the list of (g)setter of a class for a given property name @
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:1296
↓ 6 callers
Method
getFlag
()
src/main/java/org/apache/commons/ognl/DynamicSubscript.java:52
↓ 6 callers
Method
getIndexedReadMethod
()
src/main/java/org/apache/commons/ognl/ObjectIndexedPropertyDescriptor.java:103
↓ 6 callers
Method
getPropertyAccessor
( Class<?> clazz )
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:1506
↓ 6 callers
Method
getSetMethod
( OgnlContext context, Class<?> targetClass, String propertyName )
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:1371
↓ 6 callers
Method
getSourceAccessor
Returns a Java string representing the textual method that should be called to access a particular element. (ie "get") @param context The current exe
src/main/java/org/apache/commons/ognl/PropertyAccessor.java:74
↓ 6 callers
Method
isAccessible
()
src/main/java/org/apache/commons/ognl/internal/entry/MethodAccessEntryValue.java:42
↓ 6 callers
Method
lastChild
( OgnlContext context )
src/main/java/org/apache/commons/ognl/SimpleNode.java:375
↓ 6 callers
Method
setIndexedAccess
( boolean value )
src/main/java/org/apache/commons/ognl/ASTProperty.java:47
↓ 6 callers
Method
setValue
( OgnlContext context, Object target, Object value )
src/main/java/org/apache/commons/ognl/SimpleNode.java:275
↓ 6 callers
Method
toString
()
src/test/java/org/apache/commons/ognl/test/objects/MenuItem.java:62
↓ 5 callers
Method
convertValue
Converts the given value to a given type. The OGNL context, target, member and name of property being set are given. This method should be able to han
src/main/java/org/apache/commons/ognl/TypeConverter.java:45
↓ 5 callers
Method
getConstructors
( Class<?> c )
src/benchmarks/java/org/apache/commons/ognl/performance/runtime/RuntimeWrapper.java:39
↓ 5 callers
Method
getCoreExpression
Gets the core expression to execute first before any return foo logic is started. @return The core standalone expression that shouldn't be pre-pended
src/main/java/org/apache/commons/ognl/enhance/OrderedReturn.java:35
↓ 5 callers
Method
getElements
Returns an iterator over the elements of the given target object. @param target the object to get the elements of @return an iterator over the elemen
src/main/java/org/apache/commons/ognl/ElementsAccessor.java:42
↓ 5 callers
Method
getElementsAccessor
( Class<?> clazz )
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:1512
↓ 5 callers
Method
getExpression
The expression that sets the value, ie the part after <code><class type> refName = <expression></code>. @return The setting expression.
src/main/java/org/apache/commons/ognl/enhance/LocalReference.java:40
↓ 5 callers
Method
getGetMethod
( OgnlContext unused, Class<?> targetClass, String propertyName )
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:1336
↓ 5 callers
Method
getIndexedPropertyType
Returns true if this property is described by an IndexedPropertyDescriptor and that if followed by an index specifier it will call the index get/set m
src/main/java/org/apache/commons/ognl/ASTProperty.java:71
↓ 5 callers
Method
getInterfaceClass
Used in places where the preferred {@link #getSuperOrInterfaceClass(java.lang.reflect.Method, Class)} isn't possible because the method isn't known fo
src/main/java/org/apache/commons/ognl/enhance/OgnlExpressionCompiler.java:70
↓ 5 callers
Method
getProperty
()
src/test/java/org/apache/commons/ognl/test/PropertySetterTest.java:43
↓ 5 callers
Method
invoke
( Class<?> c )
src/benchmarks/java/org/apache/commons/ognl/performance/invocation/FieldInvocation.java:45
↓ 5 callers
Method
isTypeCompatible
Tells whether the given object is compatible with the given class ---that is, whether the given object can be passed as an argument to a method or con
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:550
↓ 5 callers
Method
jjtGetChild
This method returns a child node. The children are numbered from zero, left to right.
src/main/java/org/apache/commons/ognl/Node.java:59
↓ 5 callers
Method
newReal
Returns a new Number object of an appropriate type to hold the given real value. The type of the returned object is always either Float or Double, and
src/main/java/org/apache/commons/ognl/OgnlOps.java:956
↓ 5 callers
Method
printStackTrace
Prints the stack trace for this (and possibly the encapsulated) exception on System.err.
src/main/java/org/apache/commons/ognl/OgnlException.java:151
↓ 5 callers
Method
setAttribute
( String name, Object value )
src/test/java/org/apache/commons/ognl/test/objects/BaseObjectIndexed.java:42
↓ 5 callers
Method
setPreviousType
( Class<?> type )
src/main/java/org/apache/commons/ognl/OgnlContext.java:385
↓ 5 callers
Method
setValue
Evaluates the given OGNL expression tree to insert a value into the object graph rooted at the given root object. The default context is set for the g
src/main/java/org/apache/commons/ognl/Ognl.java:608
↓ 5 callers
Method
shouldCast
Used by {@link #getRootExpression(org.apache.commons.ognl.Node, Object, org.apache.commons.ognl.OgnlContext)} to determine if the expression needs to
src/main/java/org/apache/commons/ognl/enhance/ExpressionCompiler.java:190
↓ 5 callers
Method
surroundedNode
( String open, Node inner, String close, StringBuilder data )
src/main/java/org/apache/commons/ognl/ToStringVisitor.java:428
↓ 4 callers
Method
castExpression
Used primarily by AST types like {@link org.apache.commons.ognl.ASTChain} where <code>foo.bar.id</code> type references may need to be cast multiple t
src/main/java/org/apache/commons/ognl/enhance/OgnlExpressionCompiler.java:106
↓ 4 callers
Method
convertValue
( char value, Class<T> toType )
src/main/java/org/apache/commons/ognl/OgnlOps.java:467
↓ 4 callers
Method
equals
{@inheritDoc}
src/main/java/org/apache/commons/ognl/enhance/LocalReferenceImpl.java:69
↓ 4 callers
Method
getConstructors
( Class<?> targetClass )
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:1106
↓ 4 callers
Method
getCtClass
Loads a new class definition via javassist for the specified class. @param searchClass The class to load. @return The javassist class equivalent. @th
src/main/java/org/apache/commons/ognl/enhance/ExpressionCompiler.java:817
↓ 4 callers
Method
getField
( Class<?> clazz )
src/main/java/org/apache/commons/ognl/OgnlCache.java:155
↓ 4 callers
Method
getFields
( Class<?> targetClass )
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:1130
↓ 4 callers
Method
getHandler
( Class<?> forClass, ClassCache<T> handlers )
src/main/java/org/apache/commons/ognl/internal/ClassCacheHandler.java:31
↓ 4 callers
Method
getMyMap
()
src/test/java/org/apache/commons/ognl/test/objects/Root.java:248
↓ 4 callers
Method
getObject
()
src/test/java/org/apache/commons/ognl/test/PropertySetterTest.java:85
↓ 4 callers
Method
getParmString
( OgnlContext context, Object root, Node child, Class prevType )
src/main/java/org/apache/commons/ognl/ASTMethodUtil.java:34
↓ 4 callers
Method
getPropertyDescriptors
This method returns the property descriptors for the given class as a Map. @param targetClass The class to get the descriptors for. @return Map map o
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:1427
↓ 4 callers
Method
getSize
()
src/main/java/org/apache/commons/ognl/internal/Cache.java:28
↓ 4 callers
Method
getStringValue
()
src/test/java/org/apache/commons/ognl/test/objects/Root.java:303
↓ 4 callers
Method
getTraceEvaluations
()
src/main/java/org/apache/commons/ognl/OgnlContext.java:246
↓ 4 callers
Method
invokeMethod
( Object target, Method method, Object[] argsArray )
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:454
↓ 4 callers
Method
isEqual
Returns true if object1 is equal to object2 in either the sense that they are the same object or, if both are non-null if they are equal in the <CODE>
src/test/java/org/apache/commons/ognl/test/OgnlTestCase.java:62
↓ 4 callers
Method
isNotPublic
()
src/main/java/org/apache/commons/ognl/internal/entry/MethodAccessEntryValue.java:47
↓ 4 callers
Method
jjtGetParent
()
src/main/java/org/apache/commons/ognl/Node.java:49
↓ 4 callers
Method
setClassResolver
( ClassResolver value )
src/main/java/org/apache/commons/ognl/OgnlContext.java:186
↓ 4 callers
Method
setMemberAccess
( MemberAccess value )
src/main/java/org/apache/commons/ognl/OgnlContext.java:214
↓ 4 callers
Method
setTypeConverter
( TypeConverter value )
src/main/java/org/apache/commons/ognl/OgnlContext.java:200
↓ 4 callers
Method
shouldCache
Invoked just before storing a class type within a cache instance. @param type The class that is to be stored. @return True if the class can be cached
src/main/java/org/apache/commons/ognl/ClassCacheInspector.java:35
↓ 4 callers
Method
toGetSourceString
( OgnlContext context, Object target )
src/main/java/org/apache/commons/ognl/ASTProperty.java:146
↓ 4 callers
Method
values
()
src/main/java/org/apache/commons/ognl/OgnlContext.java:736
↓ 4 callers
Method
wrappedCommaSeparatedChildren
( String prefix, SimpleNode node, String suffix, Stri
src/main/java/org/apache/commons/ognl/ToStringVisitor.java:386
↓ 3 callers
Method
addCastString
Used by {@link #castExpression(org.apache.commons.ognl.OgnlContext, org.apache.commons.ognl.Node, String)} to store the cast Java source string in to
src/main/java/org/apache/commons/ognl/enhance/ExpressionCompiler.java:95
↓ 3 callers
Method
appendPrefixed
( String prefix, SimpleNode node, StringBuilder data )
src/main/java/org/apache/commons/ognl/ToStringVisitor.java:221
↓ 3 callers
Method
areArgsCompatible
Tells whether the given array of objects is compatible with the given array of classes---that is, whether the given array of objects can be passed as
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:576
↓ 3 callers
Method
callAppropriateMethod
( OgnlContext context, Object source, Object target, String methodName,
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:847
↓ 3 callers
Method
classForName
( String className, Map<String, Object> context )
src/main/java/org/apache/commons/ognl/ClassResolver.java:29
↓ 3 callers
Method
clearCache
Clears all of the cached reflection information normally used to improve the speed of expressions that operate on the same classes or are executed mul
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:168
↓ 3 callers
Method
coerceToNumeric
( String source, OgnlContext context, Node child )
src/main/java/org/apache/commons/ognl/ASTBitAnd.java:58
↓ 3 callers
Method
compareWithConversion
Compares two objects for equality, even if it has to convert one of them to the other type. If both objects are numeric they are converted to the wide
src/main/java/org/apache/commons/ognl/OgnlOps.java:51
↓ 3 callers
Method
create
( K key )
src/main/java/org/apache/commons/ognl/internal/entry/CacheEntryFactory.java:29
↓ 3 callers
Method
entrySet
()
src/main/java/org/apache/commons/ognl/OgnlContext.java:742
↓ 3 callers
Method
equal
( Object v1, Object v2 )
src/main/java/org/apache/commons/ognl/OgnlOps.java:995
↓ 3 callers
Method
getBeans
()
src/test/java/org/apache/commons/ognl/test/objects/Root.java:348
↓ 3 callers
Method
getClassResolver
()
src/main/java/org/apache/commons/ognl/OgnlContext.java:195
↓ 3 callers
Method
getConvertedType
( OgnlContext context, Object target, Member member, String propertyName,
src/main/java/org/apache/commons/ognl/OgnlRuntime.java:695
↓ 3 callers
Method
getCurrentNode
()
src/main/java/org/apache/commons/ognl/OgnlContext.java:410
↓ 3 callers
Method
getDeclaredMethods
( Class<?> c, String propertyName, boolean setters )
src/benchmarks/java/org/apache/commons/ognl/performance/runtime/RuntimeWrapper.java:45
↓ 3 callers
Method
getEscapedChar
( char ch )
src/main/java/org/apache/commons/ognl/OgnlOps.java:1213
↓ 3 callers
Method
getExpectedResult
()
src/test/java/org/apache/commons/ognl/test/OgnlTestCase.java:153
↓ 3 callers
Method
getExpressionOperator
( int index )
src/main/java/org/apache/commons/ognl/ASTEq.java:45
↓ 3 callers
Method
getFirstAccessor
()
src/main/java/org/apache/commons/ognl/OgnlContext.java:334
↓ 3 callers
Method
getIndex
()
src/test/java/org/apache/commons/ognl/test/objects/Root.java:268
↓ 3 callers
Method
getIndexedWriteMethod
()
src/main/java/org/apache/commons/ognl/ObjectIndexedPropertyDescriptor.java:108
↓ 3 callers
Method
getKeepLastEvaluation
Returns true if the last evaluation that was done on this context is retained and available through <code>getLastEvaluation()</code>. The default is t
src/main/java/org/apache/commons/ognl/OgnlContext.java:280
↓ 3 callers
Method
getMemberAccess
()
src/main/java/org/apache/commons/ognl/OgnlContext.java:223
↓ 3 callers
Method
getMessage
( String mes )
src/test/java/org/apache/commons/ognl/test/objects/Two.java:26
← previous
next →
101–200 of 1,557, ranked by callers