Codota Logo
Symbol
Code IndexAdd Codota to your IDE (free)

How to use
Symbol
in
org.springframework.asm

Best Java code snippets using org.springframework.asm.Symbol (Showing top 6 results out of 315)

  • Common ways to obtain Symbol
private void myMethod () {
Symbol s =
  • Codota IconSymbolTable symbolTable;String value;symbolTable.addConstantClass(value)
  • Codota IconSymbolTable symbolTable;String value;symbolTable.addConstantUtf8Reference(tag, value)
  • Codota IconSymbolTable symbolTable;Object value;symbolTable.addConstant(value)
  • Smart code suggestions by Codota
}
origin: spring-projects/spring-framework

if (opcode == Opcodes.INVOKEINTERFACE) {
 code.put12(Opcodes.INVOKEINTERFACE, methodrefSymbol.index)
   .put11(methodrefSymbol.getArgumentsAndReturnSizes() >> 2, 0);
} else {
 code.put12(opcode, methodrefSymbol.index);
  currentBasicBlock.frame.execute(opcode, 0, methodrefSymbol, symbolTable);
 } else {
  int argumentsAndReturnSize = methodrefSymbol.getArgumentsAndReturnSizes();
  int stackSizeDelta = (argumentsAndReturnSize & 3) - (argumentsAndReturnSize >> 2);
  int size;
origin: spring-projects/spring-framework

@Override
public void visitInvokeDynamicInsn(
  final String name,
  final String descriptor,
  final Handle bootstrapMethodHandle,
  final Object... bootstrapMethodArguments) {
 lastBytecodeOffset = code.length;
 // Add the instruction to the bytecode of the method.
 Symbol invokeDynamicSymbol =
   symbolTable.addConstantInvokeDynamic(
     name, descriptor, bootstrapMethodHandle, bootstrapMethodArguments);
 code.put12(Opcodes.INVOKEDYNAMIC, invokeDynamicSymbol.index);
 code.putShort(0);
 // If needed, update the maximum stack size and number of locals, and stack map frames.
 if (currentBasicBlock != null) {
  if (compute == COMPUTE_ALL_FRAMES || compute == COMPUTE_INSERTED_FRAMES) {
   currentBasicBlock.frame.execute(Opcodes.INVOKEDYNAMIC, 0, invokeDynamicSymbol, symbolTable);
  } else {
   int argumentsAndReturnSize = invokeDynamicSymbol.getArgumentsAndReturnSizes();
   int stackSizeDelta = (argumentsAndReturnSize & 3) - (argumentsAndReturnSize >> 2) + 1;
   int size = relativeStackSize + stackSizeDelta;
   if (size > maxRelativeStackSize) {
    maxRelativeStackSize = size;
   }
   relativeStackSize = size;
  }
 }
}
origin: org.springframework/spring-core

if (opcode == Opcodes.INVOKEINTERFACE) {
 code.put12(Opcodes.INVOKEINTERFACE, methodrefSymbol.index)
   .put11(methodrefSymbol.getArgumentsAndReturnSizes() >> 2, 0);
} else {
 code.put12(opcode, methodrefSymbol.index);
  currentBasicBlock.frame.execute(opcode, 0, methodrefSymbol, symbolTable);
 } else {
  int argumentsAndReturnSize = methodrefSymbol.getArgumentsAndReturnSizes();
  int stackSizeDelta = (argumentsAndReturnSize & 3) - (argumentsAndReturnSize >> 2);
  int size;
origin: org.springframework/spring-core

@Override
public void visitInvokeDynamicInsn(
  final String name,
  final String descriptor,
  final Handle bootstrapMethodHandle,
  final Object... bootstrapMethodArguments) {
 lastBytecodeOffset = code.length;
 // Add the instruction to the bytecode of the method.
 Symbol invokeDynamicSymbol =
   symbolTable.addConstantInvokeDynamic(
     name, descriptor, bootstrapMethodHandle, bootstrapMethodArguments);
 code.put12(Opcodes.INVOKEDYNAMIC, invokeDynamicSymbol.index);
 code.putShort(0);
 // If needed, update the maximum stack size and number of locals, and stack map frames.
 if (currentBasicBlock != null) {
  if (compute == COMPUTE_ALL_FRAMES || compute == COMPUTE_INSERTED_FRAMES) {
   currentBasicBlock.frame.execute(Opcodes.INVOKEDYNAMIC, 0, invokeDynamicSymbol, symbolTable);
  } else {
   int argumentsAndReturnSize = invokeDynamicSymbol.getArgumentsAndReturnSizes();
   int stackSizeDelta = (argumentsAndReturnSize & 3) - (argumentsAndReturnSize >> 2) + 1;
   int size = relativeStackSize + stackSizeDelta;
   if (size > maxRelativeStackSize) {
    maxRelativeStackSize = size;
   }
   relativeStackSize = size;
  }
 }
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-core

if (opcode == Opcodes.INVOKEINTERFACE) {
 code.put12(Opcodes.INVOKEINTERFACE, methodrefSymbol.index)
   .put11(methodrefSymbol.getArgumentsAndReturnSizes() >> 2, 0);
} else {
 code.put12(opcode, methodrefSymbol.index);
  currentBasicBlock.frame.execute(opcode, 0, methodrefSymbol, symbolTable);
 } else {
  int argumentsAndReturnSize = methodrefSymbol.getArgumentsAndReturnSizes();
  int stackSizeDelta = (argumentsAndReturnSize & 3) - (argumentsAndReturnSize >> 2);
  int size;
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-core

@Override
public void visitInvokeDynamicInsn(
  final String name,
  final String descriptor,
  final Handle bootstrapMethodHandle,
  final Object... bootstrapMethodArguments) {
 lastBytecodeOffset = code.length;
 // Add the instruction to the bytecode of the method.
 Symbol invokeDynamicSymbol =
   symbolTable.addConstantInvokeDynamic(
     name, descriptor, bootstrapMethodHandle, bootstrapMethodArguments);
 code.put12(Opcodes.INVOKEDYNAMIC, invokeDynamicSymbol.index);
 code.putShort(0);
 // If needed, update the maximum stack size and number of locals, and stack map frames.
 if (currentBasicBlock != null) {
  if (compute == COMPUTE_ALL_FRAMES || compute == COMPUTE_INSERTED_FRAMES) {
   currentBasicBlock.frame.execute(Opcodes.INVOKEDYNAMIC, 0, invokeDynamicSymbol, symbolTable);
  } else {
   int argumentsAndReturnSize = invokeDynamicSymbol.getArgumentsAndReturnSizes();
   int stackSizeDelta = (argumentsAndReturnSize & 3) - (argumentsAndReturnSize >> 2) + 1;
   int size = relativeStackSize + stackSizeDelta;
   if (size > maxRelativeStackSize) {
    maxRelativeStackSize = size;
   }
   relativeStackSize = size;
  }
 }
}
org.springframework.asmSymbol

Javadoc

An entry of the constant pool, of the BootstrapMethods attribute, or of the (ASM specific) type table of a class.

Most used methods

  • getArgumentsAndReturnSizes
    Returns the result Type#getArgumentsAndReturnSizes on #value.

Popular in Java

  • Making http requests using okhttp
  • addToBackStack (FragmentTransaction)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • onRequestPermissionsResult (Fragment)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now