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

  • Updating database using SQL prepared statement
  • runOnUiThread (Activity)
  • getSharedPreferences (Context)
  • putExtra (Intent)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • 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