congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Making http requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getApplicationContext (Context)
  • getSupportFragmentManager (FragmentActivity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JFileChooser (javax.swing)
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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