MCPcopy Create free account

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

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

↓ 444 callersMethodgetName
()
src/test/test/javassist/proxy/ProxySerializationTest.java:158
↓ 382 callersMethodget
()
src/test/javassist/proxyfactory/ProxyFactoryTest.java:88
↓ 342 callersMethodget
Returns a unique class name. @param classname the super class name of the proxy class.
src/main/javassist/util/proxy/ProxyFactory.java:866
↓ 280 callersMethodprintln
Prints the stack table map.
src/main/javassist/bytecode/StackMapTable.java:712
↓ 248 callersMethodaddOpcode
Appends an 8bit opcode to the end of the bytecode sequence. The current stack depth is updated. <code>max_stack</code> is updated if the current stack
src/main/javassist/bytecode/Bytecode.java:420
↓ 228 callersMethodgetLineNumber
()
src/main/javassist/compiler/Lex.java:538
↓ 228 callersMethodwriteFile
Writes a class file represented by this <code>CtClass</code> object in the current directory. Once this method is called, further modifications are no
src/main/javassist/CtClass.java:1538
↓ 226 callersMethodgetName
Obtains the fully-qualified name of the class.
src/main/javassist/CtClass.java:365
↓ 217 callersMethodgetDeclaredMethod
Retrieves the method with the specified name and parameter types among the methods declared in the class. <p>Note: this method does not search the su
src/main/javassist/CtClass.java:1018
↓ 214 callersMethodappend
Appends an object to a list.
src/main/javassist/compiler/ast/ASTList.java:149
↓ 213 callersMethodinvoke
(Object self, Method m, Object[] args)
src/test/test3/Enhancer.java:44
↓ 210 callersMethodtoString
()
src/test/testproxy/Target3.java:5
↓ 196 callersMethodappend
Appends the given bytecode sequence at the end. @param code the bytecode appended. @return the position of the first byte of the appended bytec
src/main/javassist/bytecode/CodeIterator.java:714
↓ 188 callersMethodaddMethod
Adds a method.
src/main/javassist/CtClass.java:1089
↓ 159 callersMethodadd
Appends an 8bit value to the end of the bytecode sequence.
src/main/javassist/bytecode/Bytecode.java:387
↓ 157 callersMethodwrite
Writes all the contents of the attributes. The binary representation of the contents is an array of <code>attribute_info</code>.
src/main/javassist/bytecode/ClassFileWriter.java:232
↓ 154 callersMethodmake
(String name)
src/test/javassist/JvstTestRoot.java:32
↓ 147 callersMethodequals
(Object obj)
src/main/javassist/bytecode/ConstPool.java:2050
↓ 140 callersMethodmake
Compiles the given source code and creates a method. The source code must include not only the method body but the whole declaration, for example, <p
src/main/javassist/CtNewMethod.java:47
↓ 119 callersMethodreadU16bit
Reads an unsigned 16bit integer at the index.
src/main/javassist/bytecode/ByteArray.java:26
↓ 119 callersMethodwriteShort
(int s)
src/main/javassist/bytecode/ByteStream.java:61
↓ 100 callersMethodcurrentPc
Returns the length of bytecode sequence that have been added so far.
src/main/javassist/bytecode/Bytecode.java:320
↓ 92 callersMethodaddClassInfo
Adds a new <code>CONSTANT_Class_info</code> structure. <p>This also adds a <code>CONSTANT_Utf8_info</code> structure for storing the class name. @re
src/main/javassist/bytecode/ConstPool.java:968
↓ 92 callersMethodsize
Returns the number of attributes that this writer will write.
src/main/javassist/bytecode/ClassFileWriter.java:226
↓ 81 callersMethodaddUtf8Info
Adds a new <code>CONSTANT_Utf8_info</code> structure. @return the index of the added entry.
src/main/javassist/bytecode/ConstPool.java:1201
↓ 80 callersMethodwrite16bit
Writes a 16bit integer at the index.
src/main/javassist/bytecode/ByteArray.java:40
↓ 79 callersMethodgetUtf8Info
Reads <code>CONSTANT_utf8_info</code> structure at the given index. @return the string specified by this entry.
src/main/javassist/bytecode/ConstPool.java:672
↓ 76 callersMethodaddAload
Appends ALOAD or (WIDE) ALOAD_&lt;n&gt; @param n an index into the local variable array.
src/main/javassist/bytecode/Bytecode.java:467
↓ 76 callersMethodequals
(Object o)
src/test/test/javassist/convert/ArrayAccessReplaceTest.java:239
↓ 76 callersMethodgetModifiers
Returns the modifiers for this class, encoded in an integer. For decoding, use <code>javassist.Modifier</code>. <p>If the class is a static nested cl
src/main/javassist/CtClass.java:592
↓ 76 callersMethodinstrument
Applies the given converter to all methods and constructors declared in the class. This method calls <code>instrument()</code> on every <code>CtMetho
src/main/javassist/CtClass.java:1245
↓ 75 callersMethodaddIndex
Appends a 16bit value to the end of the bytecode sequence. It never changes the current stack depth.
src/main/javassist/bytecode/Bytecode.java:458
↓ 74 callersMethodmakeClass
(String id)
src/test/javassist/ConcurrentClassDefinitionTest.java:67
↓ 72 callersMethodgetConstructor
Returns the constructor with the given signature, which is represented by a character string called method descriptor. For details of the method descr
src/main/javassist/CtClass.java:930
↓ 72 callersMethodnewInstance
Creates a new instance of the class. @param args the arguments passed to the constructor.
examples/src/main/javassist/tools/reflect/ClassMetaobject.java:135
↓ 72 callersMethodput
Updates this map so that the given <code>key</code> maps to the given <code>value</code>. If the map previously contained a mapping for <code>key</cod
src/main/javassist/scopedpool/SoftValueHashMap.java:215
↓ 71 callersMethodbyteAt
Returns the unsigned 8bit value at the given index.
src/main/javassist/bytecode/CodeIterator.java:152
↓ 71 callersMethodreplace
(Object[] args)
src/test/test1/BenchProceed.java:61
↓ 69 callersMethodgetDefault
Returns the default class pool. The returned object is always identical since this method is a singleton factory. <p>The default class pool searches
src/main/javassist/ClassPool.java:206
↓ 69 callersMethodgetField
Returns the field with the specified name. The returned field may be a private field declared in a super class or interface.
src/main/javassist/CtClass.java:847
↓ 66 callersMethodverifyAssignable
(Type expected, Type type)
src/main/javassist/bytecode/analysis/Executor.java:1043
↓ 65 callersMethodget
()
src/test/test5/JIRA246.java:11
↓ 65 callersMethodlookAhead
Looks at the next token.
src/main/javassist/compiler/Lex.java:69
↓ 64 callersMethodgetConstPool
()
src/main/javassist/expr/Expr.java:73
↓ 63 callersMethodlength
Returns the length of the bytecode sequence.
src/main/javassist/bytecode/Bytecode.java:201
↓ 62 callersMethodfail
(ClassNotFoundException e)
src/main/javassist/runtime/DotClass.java:26
↓ 61 callersMethodget
Reads a class file from the source and returns a reference to the <code>CtClass</code> object representing that class file. If that class file has be
src/main/javassist/ClassPool.java:422
↓ 61 callersMethodgetMethodInfo2
Returns the <code>MethodInfo</code> representing the method/constructor in the class file (read only). Normal applications do not need calling this me
src/main/javassist/CtBehavior.java:153
↓ 61 callersMethodwriteByte
Writes an 8bit value at the given index.
src/main/javassist/bytecode/CodeIterator.java:162
↓ 60 callersMethodu16bitAt
Returns the unsigned 16bit value at the given index.
src/main/javassist/bytecode/CodeIterator.java:169
↓ 59 callersMethodgetDescriptor
Returns the field descriptor. @see Descriptor
src/main/javassist/bytecode/FieldInfo.java:182
↓ 59 callersMethodgetItem
(int n)
src/main/javassist/bytecode/ConstPool.java:243
↓ 54 callersMethodequals
Indicates whether <code>obj</code> has the same name and the same signature as this method.
src/main/javassist/CtMethod.java:194
↓ 54 callersMethodhead
Returns the car part of the list.
src/main/javassist/compiler/ast/ASTList.java:62
↓ 53 callersMethodaddField
Adds a field. <p>The <code>CtField</code> belonging to another <code>CtClass</code> cannot be directly added to this class. Only a field created for
src/main/javassist/CtClass.java:1112
↓ 51 callersMethodcreateClass
Generates a proxy class using the current filter. The module or package where a proxy class is created has to be opened to this package or the Javassi
src/main/javassist/util/proxy/ProxyFactory.java:477
↓ 51 callersMethodgetClassFile
Returns a class file for this class. <p>This method is not available if <code>isFrozen()</code> is true.
src/main/javassist/CtClass.java:233
↓ 50 callersMethodaccept
(Visitor v)
src/main/javassist/compiler/ast/Expr.java:70
↓ 50 callersMethodsimplePop
(Frame frame)
src/main/javassist/bytecode/analysis/Executor.java:985
↓ 49 callersMethodreplace
Replaces this expression with the bytecode derived from the given source text. @param statement a Java statement except try-catch.
src/main/javassist/expr/Expr.java:265
↓ 48 callersMethodgetCodeAttribute
Returns a Code attribute. @return a Code attribute or null if it is not specified.
src/main/javassist/bytecode/MethodInfo.java:374
↓ 46 callersMethodcheckModify
()
src/main/javassist/CtClass.java:297
↓ 46 callersMethodclose
()
src/main/javassist/CtClass.java:1659
↓ 46 callersMethodgetClassInfo
Reads <code>CONSTANT_Class_info</code> structure at the given index. @return a fully-qualified class or interface name specified by <code>n
src/main/javassist/bytecode/ConstPool.java:271
↓ 45 callersMethodindexOf
(String s, int ch)
src/main/javassist/bytecode/SignatureAttribute.java:282
↓ 45 callersMethodsetSuperclass
Sets the super class of a proxy class.
src/main/javassist/util/proxy/ProxyFactory.java:404
↓ 44 callersMethodgetMessage
()
src/main/javassist/compiler/CompileError.java:59
↓ 44 callersMethodinsertAfter
Inserts bytecode at the end of the body. The bytecode is inserted just before every return instruction. It is not executed when an exception is thrown
src/main/javassist/CtBehavior.java:821
↓ 44 callersMethodtail
Returns the cdr part of the list.
src/main/javassist/compiler/ast/ASTList.java:71
↓ 43 callersMethodgetDeclaringClass
If this class is a member class or interface of another class, then the class enclosing this class is returned. @return null if this class is a top-l
src/main/javassist/CtClass.java:783
↓ 42 callersMethodaddIconst
Appends ICONST or ICONST_&lt;n&gt; @param n the pushed integer constant.
src/main/javassist/bytecode/Bytecode.java:505
↓ 42 callersMethodgetClassFile2
Returns a class file for this class (read only). Normal applications do not need calling this method. Use <code>getClassFile()</code>. <p>The <code>
src/main/javassist/CtClass.java:256
↓ 42 callersMethodoprand1
()
src/main/javassist/compiler/ast/Expr.java:58
↓ 42 callersMethodsetModifiers
Sets the modifiers. <p>If the class is a nested class, this method also modifies the class declaring that nested class (i.e. the enclosing class is m
src/main/javassist/CtClass.java:697
↓ 41 callersMethodgetAttribute
Returns the attribute with the specified name. If there are multiple attributes with that name, this method returns either of them. It returns null
src/main/javassist/bytecode/ClassFile.java:744
↓ 41 callersMethodnext
Returns the index of the next instruction (not the operand following the current opcode). <p>Note that the index is into the byte array returned by <
src/main/javassist/bytecode/CodeIterator.java:227
↓ 41 callersMethods32bitAt
Returns the signed 32bit value at the given index.
src/main/javassist/bytecode/CodeIterator.java:190
↓ 40 callersMethodadd
Inserts the specified element at the tail of this queue if it is possible to do so immediately without exceeding the queue's capacity, returning {@cod
src/test/test/javassist/convert/InstrumentationTarget.java:236
↓ 40 callersMethodgetClassPool
Returns a <code>ClassPool</code> for this class.
src/main/javassist/CtClass.java:225
↓ 40 callersMethodgetMethod
Returns the method with the given name and signature. The returned method may be declared in a super class. The method signature is represented by a c
src/main/javassist/CtClass.java:992
↓ 40 callersMethodoprand2
()
src/main/javassist/compiler/ast/Expr.java:64
↓ 38 callersMethodinsertBefore
Inserts bytecode at the beginning of the catch clause. The caught exception is stored in <code>$1</code>. @param src the source code representi
src/main/javassist/expr/Handler.java:122
↓ 36 callersMethodaddAstore
Appends ASTORE or (WIDE) ASTORE_&lt;n&gt; @param n an index into the local variable array.
src/main/javassist/bytecode/Bytecode.java:486
↓ 36 callersMethodgetClassFile2
()
src/main/javassist/CtClassType.java:176
↓ 36 callersMethodof
Converts to a descriptor from a Java class name
src/main/javassist/bytecode/Descriptor.java:123
↓ 36 callersMethodsubtypeOf
Returns <code>true</code> if this class extends or implements <code>clazz</code>. It also returns <code>true</code> if this class is the same as <cod
src/main/javassist/CtClass.java:358
↓ 35 callersMethoditerator
Makes a new iterator for reading this code attribute.
src/main/javassist/bytecode/CodeAttribute.java:296
↓ 35 callersMethodsetHandler
Sets a handler. It can be used for changing handlers during runtime.
src/main/javassist/util/proxy/Proxy.java:32
↓ 33 callersMethoddataSize
Computes the data size specified by the given descriptor. For example, if the descriptor is "D", this method returns 2. <p>If the descriptor represen
src/main/javassist/bytecode/Descriptor.java:650
↓ 33 callersMethodisStatic
Returns true if the modifiers include the <code>static</code> modifier.
src/main/javassist/Modifier.java:84
↓ 33 callersMethodverifySubroutine
(Subroutine[] subs, int pos, int start, int[] callers)
src/test/test/javassist/bytecode/analysis/ScannerTest.java:69
↓ 33 callersMethodwrite16bit
Writes an 16bit value at the offset from the beginning of the bytecode sequence.
src/main/javassist/bytecode/Bytecode.java:370
↓ 32 callersMethodgetOperator
()
src/main/javassist/compiler/ast/Expr.java:54
↓ 32 callersMethodtoCodeAttribute
Converts to a <code>CodeAttribute</code>.
src/main/javassist/bytecode/Bytecode.java:193
↓ 31 callersMethodgetSuperclass
Obtains the class object representing the superclass of the class. It returns null if this object represents the <code>java.lang.Object</code> class a
src/main/javassist/CtClass.java:725
↓ 31 callersMethodsetCodeAttribute
Adds a Code attribute. <p> The added attribute must share the same constant pool table as this <code>method_info</code> structure.
src/main/javassist/bytecode/MethodInfo.java:415
↓ 31 callersMethodwriteInt
(int i)
src/main/javassist/bytecode/ByteStream.java:69
↓ 30 callersMethodgetConstPool
Gets a constant pool table.
src/main/javassist/bytecode/Bytecode.java:183
↓ 30 callersMethodgetMethodInfo
(ClassFile cf, String name, String desc)
src/test/javassist/bytecode/StackMapTest.java:823
↓ 30 callersMethodput
(int pc, ASTree tree)
src/main/javassist/bytecode/LineNumberAttributeBuilder.java:14
next →1–100 of 5,108, ranked by callers