Utility methods for this portion of the EL implementation
Methods on this class use a Map instance stored in ThreadLocal storage to minimize the performance impact on operations that take place multiple times on a single Thread. The keys and values of the Map are implementation private.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private abstract static class |
| Modifier and Type | Field and Description |
|---|---|
| public static ExpressionFactory | |
| private static ThreadLocal | instance
The |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static Object[] | |
| pack-priv static Constructor | |
| pack-priv static Method | findMethod(Class<?> klass, String method, Class<?>[] paramTypes, Object[] params, boolean staticOnly)
|
| pack-priv static Method | |
| private static ELUtil. | |
| private static ELUtil. | |
| private static Class | |
| private static Class | |
| pack-priv static Constructor | |
| private static Map | Returns: a Map stored in ThreadLocal storage. This may be used by methods of this class to minimize the performance impact for operations that may take place multiple times on a given Thread instance.
|
| public static String | |
| public static String | |
| pack-priv static ExpressionFactory | |
| pack-priv static Method | |
| private static Class | |
| pack-priv static Object | |
| pack-priv static Object | |
| pack-priv static boolean | |
| private static boolean | |
| private static int | |
| private static int | |
| private static final String | |
| private static void | setCurrentInstance(Map<String, ResourceBundle>
the Map to be stored in ThreadLocal storage. context)Replace the Map with the argument context. |
| exprFactory | back to summary |
|---|---|
| public static ExpressionFactory exprFactory | |
| instance | back to summary |
|---|---|
| private static ThreadLocal<Map<String, ResourceBundle>> instance The | |
| ELUtil | back to summary |
|---|---|
| private ELUtil() This class may not be constructed. | |
| buildParameters | back to summary |
|---|---|
| pack-priv static Object[] buildParameters(ELContext context, Class<?>[] parameterTypes, boolean isVarArgs, Object[] params) | |
| findConstructor | back to summary |
|---|---|
| pack-priv static Constructor | |
| findMethod | back to summary |
|---|---|
| pack-priv static Method findMethod(Class<?> klass, String method, Class<?>[] paramTypes, Object[] params, boolean staticOnly) | |
| findMethod | back to summary |
|---|---|
| pack-priv static Method findMethod(Class<?> clazz, String methodName, Class<?>[] paramTypes, Object[] paramValues) | |
| findMostSpecificWrapper | back to summary |
|---|---|
| private static ELUtil. | |
| findWrapper | back to summary |
|---|---|
| private static ELUtil. | |
| getBoxingTypeIfPrimitive | back to summary |
|---|---|
| private static Class | |
| getComparingParamTypesForVarArgsMethod | back to summary |
|---|---|
| private static Class | |
| getConstructor | back to summary |
|---|---|
| pack-priv static Constructor | |
| getCurrentInstance | back to summary |
|---|---|
private static Map
| |
| getExceptionMessageString | back to summary |
|---|---|
| public static String getExceptionMessageString(ELContext context, String messageId) | |
| getExceptionMessageString | back to summary |
|---|---|
| public static String getExceptionMessageString(ELContext context, String messageId, Object[] params) | |
| getExpressionFactory | back to summary |
|---|---|
| pack-priv static ExpressionFactory getExpressionFactory() | |
| getMethod | back to summary |
|---|---|
| pack-priv static Method getMethod(Class<?> type, Method m) | |
| getTypesFromValues | back to summary |
|---|---|
| private static Class | |
| invokeConstructor | back to summary |
|---|---|
| pack-priv static Object invokeConstructor(ELContext context, Constructor<?> c, Object[] params) | |
| invokeMethod | back to summary |
|---|---|
| pack-priv static Object invokeMethod(ELContext context, Method m, Object base, Object[] params) | |
| isAssignableFrom | back to summary |
|---|---|
| pack-priv static boolean isAssignableFrom(Class<?> src, Class<?> target) | |
| isCoercibleFrom | back to summary |
|---|---|
| private static boolean isCoercibleFrom(Object src, Class<?> target) | |
| isMoreSpecific | back to summary |
|---|---|
| private static int isMoreSpecific(ELUtil. | |
| isMoreSpecific | back to summary |
|---|---|
| private static int isMoreSpecific(Class<?> type1, Class<?> type2, Class<?> matchingType, boolean elSpecific) | |
| paramString | back to summary |
|---|---|
| private static final String paramString(Class<?>[] types) | |
| setCurrentInstance | back to summary |
|---|---|
| private static void setCurrentInstance(Map<String, ResourceBundle> context) Replace the Map with the argument context.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Constructor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Class | |
| public boolean | |
| public boolean | |
| public Object |
| c | back to summary |
|---|---|
| private final Constructor<?> c | |
| ConstructorWrapper | back to summary |
|---|---|
| public ConstructorWrapper(Constructor<?> c) | |
| getParameterTypes | back to summary |
|---|---|
| public Class Implements abstract javax.
| |
| isBridge | back to summary |
|---|---|
| public boolean isBridge() Implements abstract javax.
| |
| isVarArgs | back to summary |
|---|---|
| public boolean isVarArgs() Implements abstract javax.
| |
| unWrap | back to summary |
|---|---|
| public Object unWrap() Implements abstract javax.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Class | |
| public boolean | |
| public boolean | |
| public Object |
| m | back to summary |
|---|---|
| private final Method m | |
| MethodWrapper | back to summary |
|---|---|
| public MethodWrapper(Method m) | |
| getParameterTypes | back to summary |
|---|---|
| public Class Implements abstract javax.
| |
| isBridge | back to summary |
|---|---|
| public boolean isBridge() Implements abstract javax.
| |
| isVarArgs | back to summary |
|---|---|
| public boolean isVarArgs() Implements abstract javax.
| |
| unWrap | back to summary |
|---|---|
| public Object unWrap() Implements abstract javax.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public abstract Class | |
| public abstract boolean | |
| public abstract boolean | |
| public abstract Object | |
| public static List | |
| public static List |
| Wrapper | back to summary |
|---|---|
| private Wrapper() | |
| getParameterTypes | back to summary |
|---|---|
| public abstract Class | |
| isBridge | back to summary |
|---|---|
| public abstract boolean isBridge() | |
| isVarArgs | back to summary |
|---|---|
| public abstract boolean isVarArgs() | |
| unWrap | back to summary |
|---|---|
| public abstract Object unWrap() | |
| wrap | back to summary |
|---|---|
| public static List | |
| wrap | back to summary |
|---|---|
| public static List | |