< prev index next >

src/java.base/share/classes/jdk/internal/org/objectweb/asm/MethodVisitor.java

Print this page

        

*** 60,78 **** /** * A visitor to visit a Java method. The methods of this class must be called in * the following order: ( <tt>visitParameter</tt> )* [ * <tt>visitAnnotationDefault</tt> ] ( <tt>visitAnnotation</tt> | ! * <tt>visitTypeAnnotation</tt> | <tt>visitAttribute</tt> )* [ ! * <tt>visitCode</tt> ( <tt>visitFrame</tt> | <tt>visit<i>X</i>Insn</tt> | ! * <tt>visitLabel</tt> | <tt>visitInsnAnnotation</tt> | ! * <tt>visitTryCatchBlock</tt> | <tt>visitTryCatchBlockAnnotation</tt> | ! * <tt>visitLocalVariable</tt> | <tt>visitLocalVariableAnnotation</tt> | ! * <tt>visitLineNumber</tt> )* <tt>visitMaxs</tt> ] <tt>visitEnd</tt>. In ! * addition, the <tt>visit<i>X</i>Insn</tt> and <tt>visitLabel</tt> methods must ! * be called in the sequential order of the bytecode instructions of the visited ! * code, <tt>visitInsnAnnotation</tt> must be called <i>after</i> the annotated * instruction, <tt>visitTryCatchBlock</tt> must be called <i>before</i> the * labels passed as arguments have been visited, * <tt>visitTryCatchBlockAnnotation</tt> must be called <i>after</i> the * corresponding try catch block has been visited, and the * <tt>visitLocalVariable</tt>, <tt>visitLocalVariableAnnotation</tt> and --- 60,79 ---- /** * A visitor to visit a Java method. The methods of this class must be called in * the following order: ( <tt>visitParameter</tt> )* [ * <tt>visitAnnotationDefault</tt> ] ( <tt>visitAnnotation</tt> | ! * <tt>visitParameterAnnotation</tt> <tt>visitTypeAnnotation</tt> | ! * <tt>visitAttribute</tt> )* [ <tt>visitCode</tt> ( <tt>visitFrame</tt> | ! * <tt>visit<i>X</i>Insn</tt> | <tt>visitLabel</tt> | ! * <tt>visitInsnAnnotation</tt> | <tt>visitTryCatchBlock</tt> | ! * <tt>visitTryCatchAnnotation</tt> | <tt>visitLocalVariable</tt> | ! * <tt>visitLocalVariableAnnotation</tt> | <tt>visitLineNumber</tt> )* ! * <tt>visitMaxs</tt> ] <tt>visitEnd</tt>. In addition, the ! * <tt>visit<i>X</i>Insn</tt> and <tt>visitLabel</tt> methods must be called in ! * the sequential order of the bytecode instructions of the visited code, ! * <tt>visitInsnAnnotation</tt> must be called <i>after</i> the annotated * instruction, <tt>visitTryCatchBlock</tt> must be called <i>before</i> the * labels passed as arguments have been visited, * <tt>visitTryCatchBlockAnnotation</tt> must be called <i>after</i> the * corresponding try catch block has been visited, and the * <tt>visitLocalVariable</tt>, <tt>visitLocalVariableAnnotation</tt> and
< prev index next >