Tabnine Logo
MethodVisitor.visitAnnotableParameterCount
Code IndexAdd Tabnine to your IDE (free)

How to use
visitAnnotableParameterCount
method
in
org.objectweb.asm.MethodVisitor

Best Java code snippets using org.objectweb.asm.MethodVisitor.visitAnnotableParameterCount (Showing top 14 results out of 315)

origin: org.ow2.asm/asm

/**
 * Visits the number of method parameters that can have annotations. By default (i.e. when this
 * method is not called), all the method parameters defined by the method descriptor can have
 * annotations.
 *
 * @param parameterCount the number of method parameters than can have annotations. This number
 *     must be less or equal than the number of parameter types in the method descriptor. It can
 *     be strictly less when a method has synthetic parameters and when these parameters are
 *     ignored when computing parameter indices for the purpose of parameter annotations (see
 *     https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7.18).
 * @param visible {@literal true} to define the number of method parameters that can have
 *     annotations visible at runtime, {@literal false} to define the number of method parameters
 *     that can have annotations invisible at runtime.
 */
public void visitAnnotableParameterCount(final int parameterCount, final boolean visible) {
 if (mv != null) {
  mv.visitAnnotableParameterCount(parameterCount, visible);
 }
}
origin: org.ow2.asm/asm

int currentOffset = runtimeParameterAnnotationsOffset;
int numParameters = b[currentOffset++] & 0xFF;
methodVisitor.visitAnnotableParameterCount(numParameters, visible);
char[] charBuffer = context.charBuffer;
for (int i = 0; i < numParameters; ++i) {
origin: com.bladejava/blade-asm

/**
 * Visits the number of method parameters that can have annotations. By default (i.e. when this
 * method is not called), all the method parameters defined by the method descriptor can have
 * annotations.
 *
 * @param parameterCount the number of method parameters than can have annotations. This number
 *     must be less or equal than the number of parameter types in the method descriptor. It can
 *     be strictly less when a method has synthetic parameters and when these parameters are
 *     ignored when computing parameter indices for the purpose of parameter annotations (see
 *     https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7.18).
 * @param visible <tt>true</tt> to define the number of method parameters that can have
 *     annotations visible at runtime, <tt>false</tt> to define the number of method parameters
 *     that can have annotations invisible at runtime.
 */
public void visitAnnotableParameterCount(final int parameterCount, final boolean visible) {
 if (mv != null) {
  mv.visitAnnotableParameterCount(parameterCount, visible);
 }
}
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle

/**
 * Visits the number of method parameters that can have annotations. By default (i.e. when this
 * method is not called), all the method parameters defined by the method descriptor can have
 * annotations.
 *
 * @param parameterCount the number of method parameters than can have annotations. This number
 *     must be less or equal than the number of parameter types in the method descriptor. It can
 *     be strictly less when a method has synthetic parameters and when these parameters are
 *     ignored when computing parameter indices for the purpose of parameter annotations (see
 *     https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7.18).
 * @param visible {@literal true} to define the number of method parameters that can have
 *     annotations visible at runtime, {@literal false} to define the number of method parameters
 *     that can have annotations invisible at runtime.
 */
public void visitAnnotableParameterCount(final int parameterCount, final boolean visible) {
 if (mv != null) {
  mv.visitAnnotableParameterCount(parameterCount, visible);
 }
}
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.framework.extension

/**
 * Visits the number of method parameters that can have annotations. By default (i.e. when this
 * method is not called), all the method parameters defined by the method descriptor can have
 * annotations.
 *
 * @param parameterCount the number of method parameters than can have annotations. This number
 *     must be less or equal than the number of parameter types in the method descriptor. It can
 *     be strictly less when a method has synthetic parameters and when these parameters are
 *     ignored when computing parameter indices for the purpose of parameter annotations (see
 *     https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7.18).
 * @param visible {@literal true} to define the number of method parameters that can have
 *     annotations visible at runtime, {@literal false} to define the number of method parameters
 *     that can have annotations invisible at runtime.
 */
public void visitAnnotableParameterCount(final int parameterCount, final boolean visible) {
 if (mv != null) {
  mv.visitAnnotableParameterCount(parameterCount, visible);
 }
}
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle

@Override
public void visitAnnotableParameterCount(final int parameterCount, final boolean visible) {
 checkVisitEndNotCalled();
 if (visible) {
  visibleAnnotableParameterCount = parameterCount;
 } else {
  invisibleAnnotableParameterCount = parameterCount;
 }
 super.visitAnnotableParameterCount(parameterCount, visible);
}
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle

@Override
public void visitAnnotableParameterCount(final int parameterCount, final boolean visible) {
 p.visitAnnotableParameterCount(parameterCount, visible);
 super.visitAnnotableParameterCount(parameterCount, visible);
}
origin: org.ow2.asm/asm-xml

 @Override
 public void begin(final String name, final Attributes attrs) {
  int parameterCount = Integer.parseInt(attrs.getValue("count"));
  boolean visible = Boolean.valueOf(attrs.getValue("visible")).booleanValue();
  ((MethodVisitor) peek()).visitAnnotableParameterCount(parameterCount, visible);
 }
}
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.framework.extension

@Override
public void visitAnnotableParameterCount(final int parameterCount, final boolean visible) {
 checkVisitEndNotCalled();
 if (visible) {
  visibleAnnotableParameterCount = parameterCount;
 } else {
  invisibleAnnotableParameterCount = parameterCount;
 }
 super.visitAnnotableParameterCount(parameterCount, visible);
}
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.framework.extension

@Override
public void visitAnnotableParameterCount(final int parameterCount, final boolean visible) {
 p.visitAnnotableParameterCount(parameterCount, visible);
 super.visitAnnotableParameterCount(parameterCount, visible);
}
origin: org.ow2.asm/asm-tree

methodVisitor.visitAnnotableParameterCount(visibleAnnotableParameterCount, true);
methodVisitor.visitAnnotableParameterCount(invisibleAnnotableParameterCount, false);
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle

int currentOffset = runtimeParameterAnnotationsOffset;
int numParameters = b[currentOffset++] & 0xFF;
methodVisitor.visitAnnotableParameterCount(numParameters, visible);
char[] charBuffer = context.charBuffer;
for (int i = 0; i < numParameters; ++i) {
origin: com.bladejava/blade-asm

int currentOffset = runtimeParameterAnnotationsOffset;
int numParameters = b[currentOffset++] & 0xFF;
methodVisitor.visitAnnotableParameterCount(numParameters, visible);
char[] charBuffer = context.charBuffer;
for (int i = 0; i < numParameters; ++i) {
origin: org.apache.aries.spifly/org.apache.aries.spifly.dynamic.framework.extension

int currentOffset = runtimeParameterAnnotationsOffset;
int numParameters = b[currentOffset++] & 0xFF;
methodVisitor.visitAnnotableParameterCount(numParameters, visible);
char[] charBuffer = context.charBuffer;
for (int i = 0; i < numParameters; ++i) {
org.objectweb.asmMethodVisitorvisitAnnotableParameterCount

Javadoc

Visits the number of method parameters that can have annotations. By default (i.e. when this method is not called), all the method parameters defined by the method descriptor can have annotations.

Popular methods of MethodVisitor

  • visitMethodInsn
    Visits a method instruction. A method instruction is an instruction that invokes a method.
  • visitInsn
    Visits a zero operand instruction.
  • visitVarInsn
    Visits a local variable instruction. A local variable instruction is an instruction that loads or st
  • visitMaxs
    Visits the maximum stack size and the maximum number of local variables of the method.
  • visitEnd
    Visits the end of the method. This method, which is the last one to be called, is used to inform the
  • visitCode
    Starts the visit of the method's code, if any (i.e. non abstract method).
  • visitFieldInsn
    Visits a field instruction. A field instruction is an instruction that loads or stores the value of
  • visitTypeInsn
    Visits a type instruction. A type instruction is an instruction that takes the internal name of a cl
  • visitLabel
    Visits a label. A label designates the instruction that will be visited just after it.
  • visitLdcInsn
    Visits a LDC instruction. Note that new constant types may be added in future versions of the Java V
  • visitJumpInsn
    Visits a jump instruction. A jump instruction is an instruction that may jump to another instruction
  • visitIntInsn
    Visits an instruction with a single int operand.
  • visitJumpInsn,
  • visitIntInsn,
  • visitLocalVariable,
  • visitAnnotation,
  • visitTryCatchBlock,
  • visitLineNumber,
  • visitFrame,
  • visitTableSwitchInsn,
  • visitParameterAnnotation,
  • visitIincInsn

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (Timer)
  • notifyDataSetChanged (ArrayAdapter)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Reference (javax.naming)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top Sublime Text plugins
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