congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
Util$Wrapper
Code IndexAdd Tabnine to your IDE (free)

How to use
Util$Wrapper
in
javax.el

Best Java code snippets using javax.el.Util$Wrapper (Showing top 20 results out of 315)

origin: codefollower/Tomcat-Research

Class<?>[] mParamTypes = w.getParameterTypes();
int mParamCount;
if (mParamTypes == null) {
    (w.isVarArgs() && paramCount >= mParamCount))) {
  } else if (i == (mParamCount - 1) && w.isVarArgs()) {
    Class<?> varType = mParamTypes[i].getComponentType();
    for (int j = i; j < paramCount; j++) {
origin: org.apache.tomcat.embed/tomcat-embed-el

Class<?>[] mParamTypes = w.getParameterTypes();
int mParamCount;
if (mParamTypes == null) {
if (!w.isVarArgs() && paramCount != mParamCount) {
if (w.isVarArgs() && paramCount < mParamCount -1) {
if (w.isVarArgs() && paramCount == mParamCount && paramValues != null &&
    paramValues.length > paramCount && !paramTypes[mParamCount -1].isArray()) {
if (w.isVarArgs() && paramCount > mParamCount && paramValues != null &&
    paramValues.length != paramCount) {
if (!w.isVarArgs() && paramValues != null && paramCount != paramValues.length) {
for (int i = 0; i < mParamCount; i++) {
  if (w.isVarArgs() && i == (mParamCount - 1)) {
    if (i == paramCount || (paramValues != null && paramValues.length == i)) {
    exactMatch, assignableMatch, coercibleMatch, w.isBridge()));
origin: org.apache.tomcat/tomcat-el-api

Class<?>[] mParamTypes = w.getParameterTypes();
int mParamCount;
if (mParamTypes == null) {
if (!w.isVarArgs() && paramCount != mParamCount) {
if (w.isVarArgs() && paramCount < mParamCount -1) {
if (w.isVarArgs() && paramCount == mParamCount && paramValues != null &&
    paramValues.length > paramCount && !paramTypes[mParamCount -1].isArray()) {
if (w.isVarArgs() && paramCount > mParamCount && paramValues != null &&
    paramValues.length != paramCount) {
if (!w.isVarArgs() && paramValues != null && paramCount != paramValues.length) {
for (int i = 0; i < mParamCount; i++) {
  if (w.isVarArgs() && i == (mParamCount - 1)) {
    if (i == paramCount || (paramValues != null && paramValues.length == i)) {
    exactMatch, assignableMatch, coercibleMatch, w.isBridge()));
origin: org.jboss.weld.se/weld-se-shaded

Class<?>[] mParamTypes = w.getParameterTypes();
int mParamCount;
if (mParamTypes == null) {
    (w.isVarArgs() && paramCount >= mParamCount))) {
  } else if (i == (mParamCount - 1) && w.isVarArgs()) {
    Class<?> varType = mParamTypes[i].getComponentType();
    for (int j = i; j < paramCount; j++) {
    exactMatch, assignableMatch, coercibleMatch, w.isBridge()));
origin: jboss/jboss-javaee-specs

Class<?>[] mParamTypes = w.getParameterTypes();
int mParamCount;
if (mParamTypes == null) {
    (w.isVarArgs() && paramCount >= mParamCount))) {
  } else if (i == (mParamCount - 1) && w.isVarArgs()) {
    Class<?> varType = mParamTypes[i].getComponentType();
    for (int j = i; j < paramCount; j++) {
    exactMatch, assignableMatch, coercibleMatch, w.isBridge()));
origin: org.jboss.spec.javax.el/jboss-el-api_3.0_spec

Class<?>[] mParamTypes = w.getParameterTypes();
int mParamCount;
if (mParamTypes == null) {
    (w.isVarArgs() && paramCount >= mParamCount))) {
  } else if (i == (mParamCount - 1) && w.isVarArgs()) {
    Class<?> varType = mParamTypes[i].getComponentType();
    for (int j = i; j < paramCount; j++) {
    exactMatch, assignableMatch, coercibleMatch, w.isBridge()));
origin: weld/core

Class<?>[] mParamTypes = w.getParameterTypes();
int mParamCount;
if (mParamTypes == null) {
    (w.isVarArgs() && paramCount >= mParamCount))) {
  } else if (i == (mParamCount - 1) && w.isVarArgs()) {
    Class<?> varType = mParamTypes[i].getComponentType();
    for (int j = i; j < paramCount; j++) {
origin: jboss/jboss-javaee-specs

  if (w.getParameterTypes()[i] != paramTypes[i]) {
    nonMatchIndex = i;
    nonMatchClass = paramTypes[i];
  if (c.getParameterTypes()[nonMatchIndex] ==
      paramTypes[nonMatchIndex]) {
  boolean generalMatchFound = false;
  for (Wrapper c : candidates) {
    Class<?> candidateType = c.getParameterTypes()[nonMatchIndex];
    if (mostGeneralType == null) {
      mostGeneralType = candidateType;
while (superClass != null) {
  for (Wrapper c : candidates) {
    if (c.getParameterTypes()[nonMatchIndex].equals(superClass)) {
if (Number.class.isAssignableFrom(nonMatchClass)) {
  for (Wrapper c : candidates) {
    Class<?> candidateType = c.getParameterTypes()[nonMatchIndex];
    if (Number.class.isAssignableFrom(candidateType) ||
        candidateType.isPrimitive()) {
origin: org.jboss.weld.se/weld-se-shaded

  if (w.getParameterTypes()[i] != paramTypes[i]) {
    nonMatchIndex = i;
    nonMatchClass = paramTypes[i];
  if (c.getParameterTypes()[nonMatchIndex] ==
      paramTypes[nonMatchIndex]) {
  boolean generalMatchFound = false;
  for (Wrapper c : candidates) {
    Class<?> candidateType = c.getParameterTypes()[nonMatchIndex];
    if (mostGeneralType == null) {
      mostGeneralType = candidateType;
while (superClass != null) {
  for (Wrapper c : candidates) {
    if (c.getParameterTypes()[nonMatchIndex].equals(superClass)) {
if (Number.class.isAssignableFrom(nonMatchClass)) {
  for (Wrapper c : candidates) {
    Class<?> candidateType = c.getParameterTypes()[nonMatchIndex];
    if (Number.class.isAssignableFrom(candidateType) ||
        candidateType.isPrimitive()) {
origin: org.jboss.spec.javax.el/jboss-el-api_3.0_spec

  if (w.getParameterTypes()[i] != paramTypes[i]) {
    nonMatchIndex = i;
    nonMatchClass = paramTypes[i];
  if (c.getParameterTypes()[nonMatchIndex] ==
      paramTypes[nonMatchIndex]) {
  boolean generalMatchFound = false;
  for (Wrapper c : candidates) {
    Class<?> candidateType = c.getParameterTypes()[nonMatchIndex];
    if (mostGeneralType == null) {
      mostGeneralType = candidateType;
while (superClass != null) {
  for (Wrapper c : candidates) {
    if (c.getParameterTypes()[nonMatchIndex].equals(superClass)) {
if (Number.class.isAssignableFrom(nonMatchClass)) {
  for (Wrapper c : candidates) {
    Class<?> candidateType = c.getParameterTypes()[nonMatchIndex];
    if (Number.class.isAssignableFrom(candidateType) ||
        candidateType.isPrimitive()) {
origin: weld/core

  if (w.getParameterTypes()[i] != paramTypes[i]) {
    nonMatchIndex = i;
    nonMatchClass = paramTypes[i];
  if (c.getParameterTypes()[nonMatchIndex] ==
      paramTypes[nonMatchIndex]) {
  boolean generalMatchFound = false;
  for (Wrapper c : candidates) {
    Class<?> candidateType = c.getParameterTypes()[nonMatchIndex];
    if (mostGeneralType == null) {
      mostGeneralType = candidateType;
while (superClass != null) {
  for (Wrapper c : candidates) {
    if (c.getParameterTypes()[nonMatchIndex].equals(superClass)) {
if (Number.class.isAssignableFrom(nonMatchClass)) {
  for (Wrapper c : candidates) {
    Class<?> candidateType = c.getParameterTypes()[nonMatchIndex];
    if (Number.class.isAssignableFrom(candidateType) ||
        candidateType.isPrimitive()) {
origin: org.apache.tomcat/tomcat-el-api

  if (w.getParameterTypes()[i] != paramTypes[i]) {
    nonMatchIndex = i;
    nonMatchClass = paramTypes[i];
  if (c.getParameterTypes()[nonMatchIndex] ==
      paramTypes[nonMatchIndex]) {
while (superClass != null) {
  for (Wrapper c : candidates) {
    if (c.getParameterTypes()[nonMatchIndex].equals(superClass)) {
if (Number.class.isAssignableFrom(nonMatchClass)) {
  for (Wrapper c : candidates) {
    Class<?> candidateType = c.getParameterTypes()[nonMatchIndex];
    if (Number.class.isAssignableFrom(candidateType) ||
        candidateType.isPrimitive()) {
origin: org.apache.tomcat.embed/tomcat-embed-el

  if (w.getParameterTypes()[i] != paramTypes[i]) {
    nonMatchIndex = i;
    nonMatchClass = paramTypes[i];
  if (c.getParameterTypes()[nonMatchIndex] ==
      paramTypes[nonMatchIndex]) {
while (superClass != null) {
  for (Wrapper c : candidates) {
    if (c.getParameterTypes()[nonMatchIndex].equals(superClass)) {
if (Number.class.isAssignableFrom(nonMatchClass)) {
  for (Wrapper c : candidates) {
    Class<?> candidateType = c.getParameterTypes()[nonMatchIndex];
    if (Number.class.isAssignableFrom(candidateType) ||
        candidateType.isPrimitive()) {
origin: codefollower/Tomcat-Research

  if (w.getParameterTypes()[i] != paramTypes[i]) {
    nonMatchIndex = i;
    nonMatchClass = paramTypes[i];
  if (c.getParameterTypes()[nonMatchIndex] ==
      paramTypes[nonMatchIndex]) {
while (superClass != null) {
  for (Wrapper c : candidates) {
    if (c.getParameterTypes()[nonMatchIndex].equals(superClass)) {
if (Number.class.isAssignableFrom(nonMatchClass)) {
  for (Wrapper c : candidates) {
    Class<?> candidateType = c.getParameterTypes()[nonMatchIndex];
    if (Number.class.isAssignableFrom(candidateType) ||
        candidateType.isPrimitive()) {
origin: org.jboss.weld.se/weld-se-shaded

static Constructor<?> findConstructor(Class<?> clazz, Class<?>[] paramTypes,
    Object[] paramValues) {
  String methodName = "<init>";
  if (clazz == null) {
    throw new MethodNotFoundException(
        message(null, "util.method.notfound", clazz, methodName,
        paramString(paramTypes)));
  }
  if (paramTypes == null) {
    paramTypes = getTypesFromValues(paramValues);
  }
  Constructor<?>[] constructors = clazz.getConstructors();
  List<Wrapper> wrappers = Wrapper.wrap(constructors);
  Wrapper result = findWrapper(
      clazz, wrappers, methodName, paramTypes, paramValues);
  if (result == null) {
    return null;
  }
  return getConstructor(clazz, (Constructor<?>) result.unWrap());
}
origin: codefollower/Tomcat-Research

static Constructor<?> findConstructor(Class<?> clazz, Class<?>[] paramTypes,
    Object[] paramValues) {
  String methodName = "<init>";
  if (clazz == null) {
    throw new MethodNotFoundException(
        message(null, "util.method.notfound", clazz, methodName,
        paramString(paramTypes)));
  }
  if (paramTypes == null) {
    paramTypes = getTypesFromValues(paramValues);
  }
  Constructor<?>[] constructors = clazz.getConstructors();
  List<Wrapper> wrappers = Wrapper.wrap(constructors);
  Wrapper result = findWrapper(
      clazz, wrappers, methodName, paramTypes, paramValues);
  if (result == null) {
    return null;
  }
  return getConstructor(clazz, (Constructor<?>) result.unWrap());
}
origin: org.jboss.spec.javax.el/jboss-el-api_3.0_spec

static Constructor<?> findConstructor(Class<?> clazz, Class<?>[] paramTypes,
    Object[] paramValues) {
  String methodName = "<init>";
  if (clazz == null) {
    throw new MethodNotFoundException(
        message(null, "util.method.notfound", clazz, methodName,
        paramString(paramTypes)));
  }
  if (paramTypes == null) {
    paramTypes = getTypesFromValues(paramValues);
  }
  Constructor<?>[] constructors = clazz.getConstructors();
  List<Wrapper> wrappers = Wrapper.wrap(constructors);
  Wrapper result = findWrapper(
      clazz, wrappers, methodName, paramTypes, paramValues);
  if (result == null) {
    return null;
  }
  return getConstructor(clazz, (Constructor<?>) result.unWrap());
}
origin: codefollower/Tomcat-Research

static Method findMethod(Class<?> clazz, String methodName,
    Class<?>[] paramTypes, Object[] paramValues) {
  if (clazz == null || methodName == null) {
    throw new MethodNotFoundException(
        message(null, "util.method.notfound", clazz, methodName,
        paramString(paramTypes)));
  }
  if (paramTypes == null) {
    paramTypes = getTypesFromValues(paramValues);
  }
  Method[] methods = clazz.getMethods();
  List<Wrapper> wrappers = Wrapper.wrap(methods, methodName);
  Wrapper result = findWrapper(
      clazz, wrappers, methodName, paramTypes, paramValues);
  if (result == null) {
    return null;
  }
  return getMethod(clazz, (Method) result.unWrap());
}
origin: org.jboss.spec.javax.el/jboss-el-api_3.0_spec

static Method findMethod(Class<?> clazz, String methodName,
    Class<?>[] paramTypes, Object[] paramValues) {
  if (clazz == null || methodName == null) {
    throw new MethodNotFoundException(
        message(null, "util.method.notfound", clazz, methodName,
        paramString(paramTypes)));
  }
  if (paramTypes == null) {
    paramTypes = getTypesFromValues(paramValues);
  }
  Method[] methods = clazz.getMethods();
  List<Wrapper> wrappers = Wrapper.wrap(clazz, methods, methodName);
  Wrapper result = findWrapper(
      clazz, wrappers, methodName, paramTypes, paramValues);
  if (result == null) {
    return null;
  }
  return getMethod(clazz, (Method) result.unWrap());
}
origin: weld/core

static Constructor<?> findConstructor(Class<?> clazz, Class<?>[] paramTypes,
    Object[] paramValues) {
  String methodName = "<init>";
  if (clazz == null) {
    throw new MethodNotFoundException(
        message(null, "util.method.notfound", clazz, methodName,
        paramString(paramTypes)));
  }
  if (paramTypes == null) {
    paramTypes = getTypesFromValues(paramValues);
  }
  Constructor<?>[] constructors = clazz.getConstructors();
  List<Wrapper> wrappers = Wrapper.wrap(constructors);
  Wrapper result = findWrapper(
      clazz, wrappers, methodName, paramTypes, paramValues);
  if (result == null) {
    return null;
  }
  return getConstructor(clazz, (Constructor<?>) result.unWrap());
}
javax.elUtil$Wrapper

Most used methods

  • getParameterTypes
  • isVarArgs
  • unWrap
  • wrap
  • isBridge

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (Timer)
  • compareTo (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now