Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jboss-javassist/javassist
/ functions
Functions
5,108 in github.com/jboss-javassist/javassist
⨍
Functions
5,108
◇
Types & classes
989
↓ 10 callers
Method
length
Returns the length of this block.
src/main/javassist/bytecode/analysis/ControlFlow.java:293
↓ 10 callers
Method
print
()
examples/sample/hotswap/HelloWorld.java:2
↓ 10 callers
Method
put
(String oldname, String newname)
src/main/javassist/CtClass.java:535
↓ 10 callers
Method
readObject
(ObjectInputStream in)
examples/src/main/javassist/tools/reflect/Metaobject.java:84
↓ 10 callers
Method
recordLocalVariables
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 callers
Method
recordVariable
Makes the given variable available. @param type variable type @param name variable name
src/main/javassist/compiler/Javac.java:423
↓ 10 callers
Method
s16bitAt
Returns the signed 16bit value at the given index.
src/main/javassist/bytecode/CodeIterator.java:176
↓ 10 callers
Method
setMaxLocals
Sets <code>max_locals</code>.
src/main/javassist/bytecode/Bytecode.java:243
↓ 10 callers
Method
testSubtypeOf2
(String s, String t, boolean b)
src/test/javassist/JvstTest.java:875
↓ 10 callers
Method
toAnnoType
(Annotation anno, ClassPool cp)
src/main/javassist/CtClassType.java:779
↓ 10 callers
Method
toString
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 callers
Method
zeroExtend
(Type type)
src/main/javassist/bytecode/analysis/Executor.java:628
↓ 9 callers
Method
addAttribute
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 callers
Method
addInterface
Adds an interface. @param anInterface the added interface.
src/main/javassist/CtClass.java:773
↓ 9 callers
Method
addIstore
Appends ISTORE or (WIDE) ISTORE_<n> @param n an index into the local variable array.
src/main/javassist/bytecode/Bytecode.java:568
↓ 9 callers
Method
addLongInfo
Adds a new <code>CONSTANT_Long_info</code> structure. @return the index of the added entry.
src/main/javassist/bytecode/ConstPool.java:1171
↓ 9 callers
Method
addMemberValue
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 callers
Method
addStore
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 callers
Method
cacheCtClass
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 callers
Method
clone
()
src/test/test3/InvokeIntf.java:4
↓ 9 callers
Method
constant
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 callers
Method
contains
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 callers
Method
create
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 callers
Method
defineClass
(String name, byte[] b, int off, int len, Class<?> neighbor, ClassLoader l
src/main/javassist/util/proxy/DefineClassHelper.java:136
↓ 9 callers
Method
defrost
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 callers
Method
edit
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 callers
Method
enlarge
(int delta)
src/main/javassist/bytecode/ByteStream.java:188
↓ 9 callers
Method
equals
(Object o)
src/main/javassist/bytecode/analysis/Type.java:571
↓ 9 callers
Method
error
(String sig)
src/main/javassist/bytecode/SignatureAttribute.java:1284
↓ 9 callers
Method
getAnnotations
()
src/main/javassist/CtClassType.java:636
↓ 9 callers
Method
getBytecode
Returns the produced bytecode.
src/main/javassist/compiler/Javac.java:82
↓ 9 callers
Method
getCtClass
()
src/main/javassist/bytecode/analysis/MultiArrayType.java:37
↓ 9 callers
Method
getDescriptor
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 callers
Method
getField
()
src/main/javassist/compiler/ast/Member.java:39
↓ 9 callers
Method
getMaxLocals
Gets <code>max_locals</code>.
src/main/javassist/bytecode/Bytecode.java:238
↓ 9 callers
Method
getName
Returns the name of the field.
src/main/javassist/CtField.java:220
↓ 9 callers
Method
getReturnType
Obtains the type of the returned value.
src/main/javassist/CtMethod.java:231
↓ 9 callers
Method
getStack
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 callers
Method
getTopIndex
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 callers
Method
isInterface
Returns true if this is an interface.
src/main/javassist/bytecode/ClassFile.java:316
↓ 9 callers
Method
lastMethod
()
src/main/javassist/CtMember.java:74
↓ 9 callers
Method
make
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 callers
Method
make
(int size)
src/main/javassist/bytecode/stackmap/TypeData.java:38
↓ 9 callers
Method
methodHead
()
src/main/javassist/CtMember.java:73
↓ 9 callers
Method
ofMethod
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 callers
Method
recordProceed
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 callers
Method
setLeft
(ASTree _left)
src/main/javassist/compiler/ast/Pair.java:56
↓ 9 callers
Method
testBlock
(Block b, int[] incoming, int[] outgoing)
src/test/test/javassist/bytecode/analysis/DomTreeTest.java:38
↓ 9 callers
Method
toNearPc
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 callers
Method
accessFlags
Returns <code>classes[nth].inner_class_access_flags</code>.
src/main/javassist/bytecode/InnerClassesAttribute.java:146
↓ 8 callers
Method
add
(X e)
examples/sample/vector/Sample.java:4
↓ 8 callers
Method
addDstore
Appends DSTORE or (WIDE) DSTORE_<n> @param n an index into the local variable array.
src/main/javassist/bytecode/Bytecode.java:668
↓ 8 callers
Method
addElement
(ConstInfo value)
src/main/javassist/bytecode/LongVector.java:48
↓ 8 callers
Method
addFstore
Appends FSTORE or FSTORE_<n> @param n an index into the local variable array.
src/main/javassist/bytecode/Bytecode.java:718
↓ 8 callers
Method
addGetstatic
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 callers
Method
addLconst
Appends LCONST or LCONST_<n> @param n the pushed long integer constant.
src/main/javassist/bytecode/Bytecode.java:587
↓ 8 callers
Method
addLstore
Appends LSTORE or LSTORE_<n> @param n an index into the local variable array.
src/main/javassist/bytecode/Bytecode.java:618
↓ 8 callers
Method
addNullIfVoid
()
src/main/javassist/compiler/JvstCodeGen.java:82
↓ 8 callers
Method
addStringInfo
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 callers
Method
appendSystemPath
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 callers
Method
atMethodArgs
(ASTList args, int[] types, int[] dims, String[] cnames)
src/main/javassist/compiler/TypeChecker.java:790
↓ 8 callers
Method
badType
(Expr expr)
src/main/javassist/compiler/CodeGen.java:1640
↓ 8 callers
Method
checkNotFrozen
(String classname)
src/main/javassist/ClassPool.java:580
↓ 8 callers
Method
compile
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 callers
Method
get
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 callers
Method
getCallerClass
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 callers
Method
getClassInitializer
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 callers
Method
getConstPool
Returns a constant pool table used by this method.
src/main/javassist/bytecode/MethodInfo.java:244
↓ 8 callers
Method
getExceptionTable
Returns <code>exception_table[]</code>.
src/main/javassist/bytecode/CodeAttribute.java:303
↓ 8 callers
Method
getExceptionsAttribute
Returns an Exceptions attribute. @return an Exceptions attribute or null if it is not specified.
src/main/javassist/bytecode/MethodInfo.java:363
↓ 8 callers
Method
getIntegerInfo
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 callers
Method
getInterfaces
Returns the names of the interfaces implemented by the class. The returned array is read only.
src/main/javassist/bytecode/ClassFile.java:529
↓ 8 callers
Method
getLineNumber
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 callers
Method
getType
Returns the <code>CtClass</code> object representing the type specified by the cast.
src/main/javassist/expr/Cast.java:81
↓ 8 callers
Method
isFinal
Returns true if the modifiers include the <code>final</code> modifier.
src/main/javassist/Modifier.java:92
↓ 8 callers
Method
isNullType
Returns false if getName() returns a valid type name.
src/main/javassist/bytecode/stackmap/TypeData.java:76
↓ 8 callers
Method
makeReflective
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 callers
Method
merge
(IntQueue queue, Frame frame, int target)
src/main/javassist/bytecode/analysis/Analyzer.java:275
↓ 8 callers
Method
peek
Gets the top of the stack without altering it @return the top of the stack
src/main/javassist/bytecode/analysis/Frame.java:117
↓ 8 callers
Method
print
Prints all the methods declared in the given class.
src/main/javassist/bytecode/analysis/FramePrinter.java:51
↓ 8 callers
Method
put
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 callers
Method
redirectMethodCall
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 callers
Method
remove
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 callers
Method
renameClass
(String oldname, String newname)
src/main/javassist/bytecode/AttributeInfo.java:268
↓ 8 callers
Method
scan
(MethodInfo method)
src/main/javassist/bytecode/analysis/SubroutineScanner.java:42
↓ 8 callers
Method
setBody
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 callers
Method
setLocal
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 callers
Method
size
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 callers
Method
sort
(int[] data)
src/test/test1/LineNumber.java:6
↓ 8 callers
Method
tableLength
Returns <code>local_variable_table_length</code>. This represents the number of entries in the table.
src/main/javassist/bytecode/LocalVariableAttribute.java:155
↓ 8 callers
Method
toString
Return a string describing the access modifier flags in the specified modifier. @param mod modifier flags.
src/main/javassist/Modifier.java:224
↓ 8 callers
Method
verifyReturn
(CtMethod method, String expected)
src/test/test/javassist/bytecode/analysis/AnalyzerTest.java:93
↓ 8 callers
Method
write16
(int value)
src/main/javassist/bytecode/StackMapTable.java:703
↓ 7 callers
Method
add32bit
Appends a 32bit value to the end of the bytecode sequence.
src/main/javassist/bytecode/Bytecode.java:395
↓ 7 callers
Method
addAnewarray
Appends ANEWARRAY. @param classname the qualified class name of the element type.
src/main/javassist/bytecode/Bytecode.java:1310
↓ 7 callers
Method
addCheckcast
Appends CHECKCAST. @param c the type.
src/main/javassist/bytecode/Bytecode.java:821
↓ 7 callers
Method
addDeadCode
(CtClass cc, String meth)
src/test/javassist/JvstTest4.java:1076
↓ 7 callers
Method
addDload
Appends DLOAD or (WIDE) DLOAD_<n> @param n an index into the local variable array.
src/main/javassist/bytecode/Bytecode.java:649
↓ 7 callers
Method
addFconst
Appends FCONST or FCONST_<n> @param f the pushed float constant.
src/main/javassist/bytecode/Bytecode.java:687
↓ 7 callers
Method
addFload
Appends FLOAD or (WIDE) FLOAD_<n> @param n an index into the local variable array.
src/main/javassist/bytecode/Bytecode.java:699
← previous
next →
301–400 of 5,108, ranked by callers