MCPcopy Create free account

hub / github.com/jboss-javassist/javassist / functions

Functions5,108 in github.com/jboss-javassist/javassist

↓ 10 callersMethodlength
Returns the length of this block.
src/main/javassist/bytecode/analysis/ControlFlow.java:293
↓ 10 callersMethodprint
()
examples/sample/hotswap/HelloWorld.java:2
↓ 10 callersMethodput
(String oldname, String newname)
src/main/javassist/CtClass.java:535
↓ 10 callersMethodreadObject
(ObjectInputStream in)
examples/src/main/javassist/tools/reflect/Metaobject.java:84
↓ 10 callersMethodrecordLocalVariables
Records local variables available at the specified program counter. If the LocalVariableAttribute is not available, this method does not record any lo
src/main/javassist/compiler/Javac.java:276
↓ 10 callersMethodrecordVariable
Makes the given variable available. @param type variable type @param name variable name
src/main/javassist/compiler/Javac.java:423
↓ 10 callersMethods16bitAt
Returns the signed 16bit value at the given index.
src/main/javassist/bytecode/CodeIterator.java:176
↓ 10 callersMethodsetMaxLocals
Sets <code>max_locals</code>.
src/main/javassist/bytecode/Bytecode.java:243
↓ 10 callersMethodtestSubtypeOf2
(String s, String t, boolean b)
src/test/javassist/JvstTest.java:875
↓ 10 callersMethodtoAnnoType
(Annotation anno, ClassPool cp)
src/main/javassist/CtClassType.java:779
↓ 10 callersMethodtoString
Returns a human-readable representation of the given descriptor. For example, <code>Ljava/lang/Object;</code> is converted into <code>java.lang.Objec
src/main/javassist/bytecode/Descriptor.java:716
↓ 10 callersMethodzeroExtend
(Type type)
src/main/javassist/bytecode/analysis/Executor.java:628
↓ 9 callersMethodaddAttribute
Appends an attribute. If there is already an attribute with the same name, the new one substitutes for it. @see #getAttributes()
src/main/javassist/bytecode/MethodInfo.java:350
↓ 9 callersMethodaddInterface
Adds an interface. @param anInterface the added interface.
src/main/javassist/CtClass.java:773
↓ 9 callersMethodaddIstore
Appends ISTORE or (WIDE) ISTORE_&lt;n&gt; @param n an index into the local variable array.
src/main/javassist/bytecode/Bytecode.java:568
↓ 9 callersMethodaddLongInfo
Adds a new <code>CONSTANT_Long_info</code> structure. @return the index of the added entry.
src/main/javassist/bytecode/ConstPool.java:1171
↓ 9 callersMethodaddMemberValue
Adds a new member. @param nameIndex the index into the constant pool table. The entry at that index must be
src/main/javassist/bytecode/annotation/Annotation.java:177
↓ 9 callersMethodaddStore
Appends an instruction for storing a value into the local variable at the index <code>n</code>. @param n the index. @param type the type
src/main/javassist/bytecode/Bytecode.java:773
↓ 9 callersMethodcacheCtClass
Provides a hook so that subclasses can do their own caching of classes. @see #getCached(String) @see #removeCached(String)
src/main/javassist/ClassPool.java:235
↓ 9 callersMethodclone
()
src/test/test3/InvokeIntf.java:4
↓ 9 callersMethodconstant
Makes an initializer that assigns a constant integer value. The field must be integer, short, char, or byte type.
src/main/javassist/CtField.java:511
↓ 9 callersMethodcontains
Returns {@code true} if this queue contains the specified element. More formally, returns {@code true} if and only if this queue contains at least one
src/test/test/javassist/convert/InstrumentationTarget.java:446
↓ 9 callersMethodcreate
Creates a proxy class and returns an instance of that class. @param paramTypes parameter types for a constructor. @param args arguments p
src/main/javassist/util/proxy/ProxyFactory.java:809
↓ 9 callersMethoddefineClass
(String name, byte[] b, int off, int len, Class<?> neighbor, ClassLoader l
src/main/javassist/util/proxy/DefineClassHelper.java:136
↓ 9 callersMethoddefrost
Defrosts the class so that the class can be modified again. <p>To avoid changes that will be never reflected, the class is frozen to be unmodifiable
src/main/javassist/CtClass.java:319
↓ 9 callersMethodedit
Edits a <code>new</code> expression (overridable). The default implementation performs nothing. @param e the <code>new</code> expression crea
src/main/javassist/expr/ExprEditor.java:267
↓ 9 callersMethodenlarge
(int delta)
src/main/javassist/bytecode/ByteStream.java:188
↓ 9 callersMethodequals
(Object o)
src/main/javassist/bytecode/analysis/Type.java:571
↓ 9 callersMethoderror
(String sig)
src/main/javassist/bytecode/SignatureAttribute.java:1284
↓ 9 callersMethodgetAnnotations
()
src/main/javassist/CtClassType.java:636
↓ 9 callersMethodgetBytecode
Returns the produced bytecode.
src/main/javassist/compiler/Javac.java:82
↓ 9 callersMethodgetCtClass
()
src/main/javassist/bytecode/analysis/MultiArrayType.java:37
↓ 9 callersMethodgetDescriptor
Returns the descriptor representing this type. For example, if the type is int, then the descriptor is I.
src/main/javassist/CtPrimitiveType.java:68
↓ 9 callersMethodgetField
()
src/main/javassist/compiler/ast/Member.java:39
↓ 9 callersMethodgetMaxLocals
Gets <code>max_locals</code>.
src/main/javassist/bytecode/Bytecode.java:238
↓ 9 callersMethodgetName
Returns the name of the field.
src/main/javassist/CtField.java:220
↓ 9 callersMethodgetReturnType
Obtains the type of the returned value.
src/main/javassist/CtMethod.java:231
↓ 9 callersMethodgetStack
Returns the type on the stack at the specified index. @param index the position on the stack @return the type of the stack position
src/main/javassist/bytecode/analysis/Frame.java:69
↓ 9 callersMethodgetTopIndex
Gets the index of the type sitting at the top of the stack. This is not to be confused with a length operation which would return the number of elemen
src/main/javassist/bytecode/analysis/Frame.java:98
↓ 9 callersMethodisInterface
Returns true if this is an interface.
src/main/javassist/bytecode/ClassFile.java:316
↓ 9 callersMethodlastMethod
()
src/main/javassist/CtMember.java:74
↓ 9 callersMethodmake
Compiles the given source code and creates a field. Examples of the source code are: <pre> "public String name;" "public int k = 3;"</pre> <p>Note t
src/main/javassist/CtField.java:163
↓ 9 callersMethodmake
(int size)
src/main/javassist/bytecode/stackmap/TypeData.java:38
↓ 9 callersMethodmethodHead
()
src/main/javassist/CtMember.java:73
↓ 9 callersMethodofMethod
Returns the descriptor representing a method that receives the given parameter types and returns the given type. @param returnType return type @param
src/main/javassist/bytecode/Descriptor.java:286
↓ 9 callersMethodrecordProceed
Prepares to use $proceed(). If the return type of $proceed() is void, null is pushed on the stack. @param target an expression specifying the targ
src/main/javassist/compiler/Javac.java:438
↓ 9 callersMethodsetLeft
(ASTree _left)
src/main/javassist/compiler/ast/Pair.java:56
↓ 9 callersMethodtestBlock
(Block b, int[] incoming, int[] outgoing)
src/test/test/javassist/bytecode/analysis/DomTreeTest.java:38
↓ 9 callersMethodtoNearPc
Returns the index into the code array at which the code for the specified line (or the nearest line after the specified one) begins. @param line
src/main/javassist/bytecode/LineNumberAttribute.java:129
↓ 8 callersMethodaccessFlags
Returns <code>classes[nth].inner_class_access_flags</code>.
src/main/javassist/bytecode/InnerClassesAttribute.java:146
↓ 8 callersMethodadd
(X e)
examples/sample/vector/Sample.java:4
↓ 8 callersMethodaddDstore
Appends DSTORE or (WIDE) DSTORE_&lt;n&gt; @param n an index into the local variable array.
src/main/javassist/bytecode/Bytecode.java:668
↓ 8 callersMethodaddElement
(ConstInfo value)
src/main/javassist/bytecode/LongVector.java:48
↓ 8 callersMethodaddFstore
Appends FSTORE or FSTORE_&lt;n&gt; @param n an index into the local variable array.
src/main/javassist/bytecode/Bytecode.java:718
↓ 8 callersMethodaddGetstatic
Appends GETSTATIC. @param c the class @param name the field name @param type the descriptor of the field type. @see Descriptor#of(
src/main/javassist/bytecode/Bytecode.java:887
↓ 8 callersMethodaddLconst
Appends LCONST or LCONST_&lt;n&gt; @param n the pushed long integer constant.
src/main/javassist/bytecode/Bytecode.java:587
↓ 8 callersMethodaddLstore
Appends LSTORE or LSTORE_&lt;n&gt; @param n an index into the local variable array.
src/main/javassist/bytecode/Bytecode.java:618
↓ 8 callersMethodaddNullIfVoid
()
src/main/javassist/compiler/JvstCodeGen.java:82
↓ 8 callersMethodaddStringInfo
Adds a new <code>CONSTANT_String_info</code> structure. <p>This also adds a new <code>CONSTANT_Utf8_info</code> structure. @return the inde
src/main/javassist/bytecode/ConstPool.java:1137
↓ 8 callersMethodappendSystemPath
Appends the system search path to the end of the search path. The system search path usually includes the platform library, extension libraries, and
src/main/javassist/ClassPool.java:919
↓ 8 callersMethodatMethodArgs
(ASTList args, int[] types, int[] dims, String[] cnames)
src/main/javassist/compiler/TypeChecker.java:790
↓ 8 callersMethodbadType
(Expr expr)
src/main/javassist/compiler/CodeGen.java:1640
↓ 8 callersMethodcheckNotFrozen
(String classname)
src/main/javassist/ClassPool.java:580
↓ 8 callersMethodcompile
Compiles a method, constructor, or field declaration to a class. A field declaration can declare only one field. <p>In a method or constructor body,
src/main/javassist/compiler/Javac.java:96
↓ 8 callersMethodget
Returns the class name to wihch the given <code>jvmClassName</code> is mapped. A subclass of this class should override this method. <p>This method
src/main/javassist/ClassMap.java:141
↓ 8 callersMethodgetCallerClass
Since Java 9 abruptly removed <code>Reflection.getCallerClass()</code> in favour of <code>StackWalker</code> we are left having to find a solution for
src/main/javassist/util/proxy/SecurityActions.java:53
↓ 8 callersMethodgetClassInitializer
Gets the class initializer (static constructor) declared in the class. This method returns <code>null</code> if no class initializer is not declared.
src/main/javassist/CtClass.java:966
↓ 8 callersMethodgetConstPool
Returns a constant pool table used by this method.
src/main/javassist/bytecode/MethodInfo.java:244
↓ 8 callersMethodgetExceptionTable
Returns <code>exception_table[]</code>.
src/main/javassist/bytecode/CodeAttribute.java:303
↓ 8 callersMethodgetExceptionsAttribute
Returns an Exceptions attribute. @return an Exceptions attribute or null if it is not specified.
src/main/javassist/bytecode/MethodInfo.java:363
↓ 8 callersMethodgetIntegerInfo
Reads <code>CONSTANT_Integer_info</code> structure at the given index. @return the value specified by this entry.
src/main/javassist/bytecode/ConstPool.java:612
↓ 8 callersMethodgetInterfaces
Returns the names of the interfaces implemented by the class. The returned array is read only.
src/main/javassist/bytecode/ClassFile.java:529
↓ 8 callersMethodgetLineNumber
Returns the line number of the source line containing the expression. @return -1 if this information is not available.
src/main/javassist/expr/Expr.java:193
↓ 8 callersMethodgetType
Returns the <code>CtClass</code> object representing the type specified by the cast.
src/main/javassist/expr/Cast.java:81
↓ 8 callersMethodisFinal
Returns true if the modifiers include the <code>final</code> modifier.
src/main/javassist/Modifier.java:92
↓ 8 callersMethodisNullType
Returns false if getName() returns a valid type name.
src/main/javassist/bytecode/stackmap/TypeData.java:76
↓ 8 callersMethodmakeReflective
Produces a reflective class. If the super class is also made reflective, it must be done before the sub class. @param clazz the reflectiv
examples/src/main/javassist/tools/reflect/Loader.java:156
↓ 8 callersMethodmerge
(IntQueue queue, Frame frame, int target)
src/main/javassist/bytecode/analysis/Analyzer.java:275
↓ 8 callersMethodpeek
Gets the top of the stack without altering it @return the top of the stack
src/main/javassist/bytecode/analysis/Frame.java:117
↓ 8 callersMethodprint
Prints all the methods declared in the given class.
src/main/javassist/bytecode/analysis/FramePrinter.java:51
↓ 8 callersMethodput
Inserts the specified element at the tail of this queue, waiting for space to become available if the queue is full. @throws InterruptedException {@i
src/test/test/javassist/convert/InstrumentationTarget.java:272
↓ 8 callersMethodredirectMethodCall
Modify method invocations in a method body so that a different method will be invoked. <p>Note that the target object, the parameters, or the type of
src/main/javassist/CodeConverter.java:362
↓ 8 callersMethodremove
Removes the mapping for the given <code>key</code> from this map, if present. @param key The key whose mapping is to be removed. @return
src/main/javassist/scopedpool/SoftValueHashMap.java:231
↓ 8 callersMethodrenameClass
(String oldname, String newname)
src/main/javassist/bytecode/AttributeInfo.java:268
↓ 8 callersMethodscan
(MethodInfo method)
src/main/javassist/bytecode/analysis/SubroutineScanner.java:42
↓ 8 callersMethodsetBody
Sets a constructor body. @param src the source code representing the constructor body. It must be a single statement or block.
src/main/javassist/CtConstructor.java:220
↓ 8 callersMethodsetLocal
Sets the local variable table entry at index to a type. @param index the position in the table @param type the type to set at the position
src/main/javassist/bytecode/analysis/Frame.java:58
↓ 8 callersMethodsize
Returns <code>exception_table_length</code>, which is the number of entries in the <code>exception_table[]</code>.
src/main/javassist/bytecode/ExceptionTable.java:88
↓ 8 callersMethodsort
(int[] data)
src/test/test1/LineNumber.java:6
↓ 8 callersMethodtableLength
Returns <code>local_variable_table_length</code>. This represents the number of entries in the table.
src/main/javassist/bytecode/LocalVariableAttribute.java:155
↓ 8 callersMethodtoString
Return a string describing the access modifier flags in the specified modifier. @param mod modifier flags.
src/main/javassist/Modifier.java:224
↓ 8 callersMethodverifyReturn
(CtMethod method, String expected)
src/test/test/javassist/bytecode/analysis/AnalyzerTest.java:93
↓ 8 callersMethodwrite16
(int value)
src/main/javassist/bytecode/StackMapTable.java:703
↓ 7 callersMethodadd32bit
Appends a 32bit value to the end of the bytecode sequence.
src/main/javassist/bytecode/Bytecode.java:395
↓ 7 callersMethodaddAnewarray
Appends ANEWARRAY. @param classname the qualified class name of the element type.
src/main/javassist/bytecode/Bytecode.java:1310
↓ 7 callersMethodaddCheckcast
Appends CHECKCAST. @param c the type.
src/main/javassist/bytecode/Bytecode.java:821
↓ 7 callersMethodaddDeadCode
(CtClass cc, String meth)
src/test/javassist/JvstTest4.java:1076
↓ 7 callersMethodaddDload
Appends DLOAD or (WIDE) DLOAD_&lt;n&gt; @param n an index into the local variable array.
src/main/javassist/bytecode/Bytecode.java:649
↓ 7 callersMethodaddFconst
Appends FCONST or FCONST_&lt;n&gt; @param f the pushed float constant.
src/main/javassist/bytecode/Bytecode.java:687
↓ 7 callersMethodaddFload
Appends FLOAD or (WIDE) FLOAD_&lt;n&gt; @param n an index into the local variable array.
src/main/javassist/bytecode/Bytecode.java:699
← previousnext →301–400 of 5,108, ranked by callers