Tabnine Logo
LocalBeanProxyFactory.isOverridden
Code IndexAdd Tabnine to your IDE (free)

How to use
isOverridden
method
in
org.apache.openejb.util.proxy.LocalBeanProxyFactory

Best Java code snippets using org.apache.openejb.util.proxy.LocalBeanProxyFactory.isOverridden (Showing top 2 results out of 315)

origin: org.apache.openejb/openejb-core

private static void getNonPrivateMethods(Class<?> clazz, final Map<String, List<Method>> methodMap) {
  while (clazz != null) {
    for (final Method method : clazz.getDeclaredMethods()) {
      if (method.isBridge()) {
        continue;
      }
      final int modifiers = method.getModifiers();
      if (Modifier.isFinal(modifiers)
        || Modifier.isPrivate(modifiers)
        || Modifier.isStatic(modifiers)) {
        continue;
      }
      List<Method> methods = methodMap.get(method.getName());
      if (methods == null) {
        methods = new ArrayList<Method>();
        methods.add(method);
        methodMap.put(method.getName(), methods);
      } else {
        if (!isOverridden(methods, method)) {
          // method is not overridden, so add it
          methods.add(method);
        } // else method is overridden in superclass, so do nothing
      }
    }
    clazz = clazz.getSuperclass();
  }
}
origin: org.apache.tomee/openejb-core

private static void getNonPrivateMethods(Class<?> clazz, final Map<String, List<Method>> methodMap) {
  while (clazz != null) {
    for (final Method method : clazz.getDeclaredMethods()) {
      if (method.isBridge()) {
        continue;
      }
      final int modifiers = method.getModifiers();
      if (Modifier.isFinal(modifiers)
        || Modifier.isPrivate(modifiers)
        || Modifier.isStatic(modifiers)) {
        continue;
      }
      List<Method> methods = methodMap.get(method.getName());
      if (methods == null) {
        methods = new ArrayList<Method>();
        methods.add(method);
        methodMap.put(method.getName(), methods);
      } else {
        if (!isOverridden(methods, method)) {
          // method is not overridden, so add it
          methods.add(method);
        } // else method is overridden in superclass, so do nothing
      }
    }
    clazz = clazz.getSuperclass();
  }
}
org.apache.openejb.util.proxyLocalBeanProxyFactoryisOverridden

Popular methods of LocalBeanProxyFactory

  • createProxy
  • isProxy
  • newProxyInstance
  • constructProxy
  • createArrayDefinition
    pushes an array of the specified size to the method visitor. The generated bytecode will leave the n
  • generateProxy
  • getAsmTypeAsString
    Converts a class to a String suitable for ASM.
  • getCastType
    Gets the string to use for CHECKCAST instruction, returning the correct value for any type, includin
  • getDeclaredField
  • getInvocationHandler
  • getMethodSignatureAsString
  • getNonPrivateMethods
  • getMethodSignatureAsString,
  • getNonPrivateMethods,
  • getPrimitiveLetter,
  • getPrimitiveMethod,
  • getReturnInsn,
  • getVarInsn,
  • getWrapperType,
  • processMethod,
  • pushIntOntoStack

Popular in Java

  • Start an intent from android
  • onCreateOptionsMenu (Activity)
  • runOnUiThread (Activity)
  • compareTo (BigDecimal)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • JPanel (javax.swing)
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top plugins for Android Studio
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