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

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

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

origin: org.apache.openejb/openejb-core

/**
 * pushes an array of the specified size to the method visitor. The generated bytecode will leave
 * the new array at the top of the stack.
 *
 * @param mv   MethodVisitor to use
 * @param size Size of the array to create
 * @param type Type of array to create
 * @throws ProxyGenerationException
 */
private static void createArrayDefinition(final MethodVisitor mv, final int size, final Class<?> type) throws ProxyGenerationException {
  // create a new array of java.lang.class (2)
  if (size < 0) {
    throw new ProxyGenerationException("Array size cannot be less than zero");
  }
  pushIntOntoStack(mv, size);
  mv.visitTypeInsn(ANEWARRAY, type.getCanonicalName().replace('.', '/'));
}
origin: org.apache.tomee/openejb-core

/**
 * pushes an array of the specified size to the method visitor. The generated bytecode will leave
 * the new array at the top of the stack.
 *
 * @param mv   MethodVisitor to use
 * @param size Size of the array to create
 * @param type Type of array to create
 * @throws ProxyGenerationException
 */
private static void createArrayDefinition(final MethodVisitor mv, final int size, final Class<?> type) throws ProxyGenerationException {
  // create a new array of java.lang.class (2)
  if (size < 0) {
    throw new ProxyGenerationException("Array size cannot be less than zero");
  }
  pushIntOntoStack(mv, size);
  mv.visitTypeInsn(ANEWARRAY, type.getCanonicalName().replace('.', '/'));
}
origin: org.apache.openejb/openejb-core

pushIntOntoStack(mv, i);
pushIntOntoStack(mv, i);
origin: org.apache.tomee/openejb-core

pushIntOntoStack(mv, i);
pushIntOntoStack(mv, i);
org.apache.openejb.util.proxyLocalBeanProxyFactorypushIntOntoStack

Javadoc

Invokes the most appropriate bytecode instruction to put a number on the stack

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,
  • isOverridden,
  • processMethod

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • getSystemService (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Best plugins for Eclipse
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